Passing dataset to datatable

Is it possible to pass in a dataset to the datatable? I haven't figured out a way to do this and am not sure if this a feature.

The table component can be DOM sourced or it can pick up its data from the Source URL.
If you're wanting to add a component from an IEnumeerable<T> I don't think I've added support for that ye as it's not something I've used mysrlf. That said I think it should be straightforward to add.

Yeah it would be a nice feature if I could pass an object of data to the datatable kind of like this
Object dataset = GetData();

<DataTable data="dataset">
    ...
    ...
</DataTable>

Currently, I have a component that passes data to a js function that does this, but it would be nice to get away from this and use your package.

Hi Jonathan - having refreshed myself on this, it seems this behaviour is already possible when using the DataTableOptions.Data property.
That said, in an attempt to improve type safety (at least within the list of objects), and usability I've added a Dataset<T> class, and a property on the DataTable component in https://github.com/JustinWilkinson/DataTables.Blazor/pull/13.
I've updated the demo to show the usage but it's worth noting that at the moment you'll need to adjust the casing of the Column.Data property yourself to ensure it matches post serialization.
public record RowObject
{
	public Column1 { get; init; }

	public Column2 { get; init; }

	public Column3 { get; init; }
}

var lst = GetSomeList<RowObject>();
var dataset = new Dataset<RowObject>(lst);

<DataTable Id="MyObjectSourceData" Class="table table-striped table-bordered w-100" Data=dataset>
	<Column Title="Column 1" Data="column1" />
	<Column Title="Column 2" Data="column2" />
	<Column Title="Column 3" Data="column3" />
</DataTable>


Location URL with special symbols

Currently is not possible to create the location with url like this: 'news/edit/:groupCode',
where the groupCode contains special symbols like this: '!@#$%^&*test'. Thus, my URL looks like this: 'news/edit/!@#$%^&*test'.
I can manualy encode this url using the encodeURIComponent function, but your createLocation function uses decodeURI function. So, my changes will be incorrectly modified.
Is it possible to solve this problem in the nearest future?

I see there is some related issue https://github.com/ReactTraining/history/issues/505
So, the fix was found.
Is it possible to merge this fix to master?


undefined: math.MaxInt when trying to install it locally on my linux workstation

rakshithv@linuxcloud:~/ws/go-rakshith/$ go get github.com/briandowns/spinner
github.com/briandowns/spinner
../../../../../../.gvm/pkgsets/go1.16.5/global/pkg/mod/github.com/briandowns/spinner@v1.21.0/spinner.go:490:19: undefined: math.MaxInt
go verison go1.16.5 linux/amd64
os Debian x86_64 GNU/Linux

MaxInt was added in Go 1.17, but go.mod has a minimum of 1.14.

I've updated master.


URIError: URI malformed

Describe the bug
I access my route with this url: http://localhost:3000/login?redirect=http:/%localhost:3000/standalone/policies-new/15MRZKHBCC/CAR_COMPREHENSIVE
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue

Define a normal route

Expected behavior
It should not throw any internal bugs
Screenshots or Videos

Platform

OS: Windows
Browser: Chrome
Version: 125.0.6422.113

Additional context
No response

decoding http:/%localhost:3000/standalone/policies-new/15MRZKHBCC/CAR_COMPREHENSIVE with decodeURIComponent yields this error, so not a router problem:

Looks like you got a % instead of a / in your search param and thus its not correctly encoded.

I mean if someone intend to make this error. How can I prevent this. My Sentry service just make an alarm about this all the time.

I hate the way you close the issue like this before you can clearly understand the context.

please provide all the necessary context in the issue description in future

what would you expect to happen when you pass a wrongly encoded query string?


DnsQueryContext: include query id and question info in exception message

Motivation:
When we fail the query with timeout or any other error, exception message includes the address of the remote resolver but no info about what query was sent.
Modifications:

Include id of the query and question in the exception message;

Result:
Users can see in logs what was the query id and question (address, record type) that failed.

@idelpivnitskiy thanks... thats a good one


SDK 3 / Homey v5 update is under way.

Yes! The app IS to be updated to support SDK 3 / Homey firmware v5.
I am working on it and will release a new version asap.
Thanks for all the support!
The new version will initially replace the current test version.
Until then no new devices will be added to the app.. focusing on the update for now.
// Johan

Test version för SDK3 is now published and here on Github.


Mutually recursive definitions may crash

If you define mutually recursive values in certain ways, you can run into issues. Sometimes this means adding Decode.lazy or Parser.lazy or the equivalent. The problem is probably made worse by code that turns into var f = function(...) { ... }; rather than function f(...) { ... }.
Examples: #1575, #1516, #1527, #1529, #1560

This is resolved in my development build using the technique outlined here. I will reproduce the basic trick here:
Say there are three mutually recursive declarations (a, b, and c) at the top-level. They will produce code like this:
function _delayed_a() { return ... _delayed_c() ... }
function _delayed_b() { return ... _delayed_a() ... }
function _delayed_c() { return ... _delayed_b() ... }

var a = _delayed_a();
_delayed_a = function() { return a };

var b = _delayed_b();
_delayed_b = function() { return b };

var c = _delayed_c();
_delayed_c = function() { return c };

You are only able to define mutually recursive values if the following restrictions hold:

Mutually recursive values may only be defined at the top-level.
There must be at least one lambda in the cycle, so there is a chance it terminates.

As a result, the only cyclic values we can have will be known statically. They cannot be created at compile time. That should simplify the things some future GC has to worry about. Furthermore, by being quite restrictive, we are able to give better error messages to folks who create cycles by accident in let expressions. Those accidents are far more common than doing it on purpose, and anyone who wants this can always do it at the top-level. So expressiveness is preserved, errors get better, and we will have a fundamentally easier problem when it comes to GC.


updated tun_number issue for unlimited support

Current GET_TUN() function did not support tun values over 2, likely due to awk,
Fixed with use of tr and sort.

This is working, very thank you 🙌


Double #include insertion with clangd

Hi, there.  (Additionally, the function signature is entered, but that may just be a clangd "feature.")
Here's a brief video:
https://github.com/user-attachments/assets/4b948808-c992-467b-b5a1-07c843a01334

Looks like a bug. I will investigate tomorrow.

https://github.com/yegappan/lsp/issues/545

This looks like LSP client issue (https://github.com/yegappan/lsp/issues/545). In the meantime, you can set  completionTextEdit to false in LSP client configuration.

This is a LSP issue. The undesirable side-effect is for typescript server (and others maybe) that make text edits available at a later time. I have opened an issue in LSP, and it needs to be tracked there. This plugin should not set or unset completionTextEdit at all.


*110 upstream timed out (110: Operation timed out) while reading response header from upstream

Summary
Kong Version 2.3.2 - (same issue in previous version)
I have the problem that http(s) calls timeout in a repeatable pattern. The first login call is okay. Then after logout and immediate login for the 2nd time the login call times out with "*110 upstream timed out (110: Operation timed out) while reading response header from upstream". (please see details below)
I did play around with setting dns_valid_ttl and dns_stale_ttl to 0 without any affect.
I have second nginx server running on a different port and when I point the router to this port directly (bypassing Kong) everything works as expected and without problems.
The end point (nodejs) is also okay as in debugger mode you can see the callback being executed for the login request. So it appears that Kong stops listening to the callback.
If someone could help me that would be great.

I wasn't sure what you meant by "Kong is not listening to the callback"; did the second login request reach the upstream node.js or did it not?
What would be ideal to investigate this would be if with the same configuration, would were to provide us with a packet capture (.pcap) spanning over the same requests as provided above. Something like tcpdump can do the job.
An idea is to disable upstream connection pools (latency will increase) with upstream_keepalive_pool_size = 0 (details in config file) and see how Kong behaves then.

Thank you very much. Attached the tcpdumps from both network adapters during failed requests. Public traffic (from where the request originates from) is coming of ens38.
Setting upstream_keepalive_pool_size = 0 does solve the problem!
And to answer your question, yes the second login call does reach the upstream nodejs server and completes successfully.
Please let me know if I can assist further to investigate this.
Best, Nils
tcpdump.zip

At this time, the sheer number of HTTP/2 fixes in more recent Nginx core versions (1.17.x and 1.19.x) are highly suspicious to me especially the recv_timeout and lingering_close fixes for h2 given the error logs and packet captures you provided. Kong 2.4 will ship with the latest Nginx 1.19.x, although I am not sure when. @bungle?

@NilsFrkal how long your requests in question normally take to complete?

@NilsFrkal how long your requests in question normally take to complete?
I had an issue with long running requests ( ~80s) and also "played around" with dns_* settings and observed very similar errors.

The request is typically very quick <100ms

ow, ok, then its something different.

Dear contributor,
We're closing this issue as there hasn't been any update to it for a long time. If the issue is still relevant in the latest version, please feel free to reopen it. We're more than happy to revisit it again.
Please have a look at our pledge to the community for more information.
Sincerely,
Kong Gateway Team


feat: add ability to use s3 storage

Openspout can not open xlsx writer directly on s3, so we have to write the file locally first. If s3_disk is used (see config file change), then at the end of writing into xlsx file, we upload the generated file to s3 bucket. When downloading, we again check if the s3_disk is used, and download the file accordingly.
Sometimes queue process and web process do not share the storage, and have no access to each others local storage. Therefore, I believe this feature can come in handy to others as well.

Also related #16

Unfortunately, I don't have an s3 resource to check this. But per code review on a previous project where I integrated the export to s3, the code looks correct.
I also used a similar approach, didn't stream the file, and had to zip the export as it included images.
Storage::disk('s3')->put('exports/'.$zipFileName, Storage::disk('tmp')->get($zipFileName));

@challgren do you approve of this PR?

We tested it locally and it works, we can improve it by adding tests but that's minor.

Released on v1.1.0 🚀 Thanks!

@yajra and @uchajk one thing I forgot to mention is we should fix the cleanup command too since it references the old method https://github.com/yajra/laravel-datatables-export/blob/master/src/Commands/DataTablesPurgeExportCommand.php#L34

Well since rackspace and digital ocean have s3 like file storage we may want to stick to the command. The user could always configure retention/purging on the bucket if they desire. But I would say the purge command should purge s3. But one thing I did notice was the temp local file is not deleted so we'll need to add that in


Logging query - single POST shows as 3 entries in log

Hello again!
This could be a logging quirk, or something deeper, but when I POST to a session just one query (via Python) I always see 3 lines logged in the application access.log file. Is this expected?
onnxresponse = requests.post(api_url, json=json_array)

2024-12-28 08-47-50.535 [Info] <IP_ADDRESS>:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 253103
2024-12-28 08-47-50.788 [Info] <IP_ADDRESS>:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 252756
2024-12-28 08-47-51.042 [Info] <IP_ADDRESS>:38686 task: POST /api/sessions/quantized/v1 status: 200 duration: 254132

This issue also seems to stem from the operational behavior of the HTTP/HTTPS server. I’ll review it along with the parallelism issue(#75) involving thread usage.


Is there a plan to support QNX operating system?

I don't know of anyone working on it. I suggest asking on golang-nuts to see if anyone is working on a port.


Respond() method returns error for success response

The following error is returned from the success respond action. Occurs after runtime env.
[ballerina/http] started HTTP/WS listener <IP_ADDRESS>:8080
[ballerina/http] started HTTP/WS listener <IP_ADDRESS>:9090
2020-11-26 18:43:45,008 ERROR [chamil/projectapi] - Error sending response from mock service : error("Connection between remote client and host is closed")

Sample
import ballerina/http;
import ballerina/log;
import ballerina/runtime;

// Create an endpoint with port 8080 for the mock backend services.
listener http:Listener backendEP = new (8080);

// Define the failover client endpoint to call the backend services.
http:FailoverClient foBackendEP = new ({

    timeoutInMillis: 5000,
    failoverCodes: [501, 502, 503],
    intervalInMillis: 5000,
    // Define a set of HTTP Clients that are targeted for failover.
    targets: [
            {url: "http://nonexistentEP/mock1"},
            {url: "http://localhost:8080/echo"},
            {url: "http://localhost:8080/mock"}
        ]
});

@http:ServiceConfig {
    basePath: "/fo"
}
service failoverDemoService on new http:Listener(9090) {
    @http:ResourceConfig {
        methods: ["GET", "POST"],
        path: "/"
    }
    resource function invokeEndpoint(http:Caller caller, http:Request request) {
        var backendResponse = foBackendEP->get("/", <@untainted>request);

        // If `backendResponse` is an `http:Response`, it is sent back to the
        // client. If `backendResponse` is an `http:ClientError`, an internal
        // server error is returned to the client.
        if (backendResponse is http:Response) {
            var responseToCaller = caller->respond(<@untainted>backendResponse);
            if (responseToCaller is error) {
                log:printError("Error sending response", responseToCaller);
            }
        } else {
            http:Response response = new;
            response.statusCode = http:STATUS_INTERNAL_SERVER_ERROR;
            response.setPayload((<@untainted error>backendResponse).message());
            var responseToCaller = caller->respond(response);
            if (responseToCaller is error) {
                log:printError("Error sending response", responseToCaller);
            }
        }

    }
}

@http:ServiceConfig {
    basePath: "/echo"
}
// Define the sample service to mock connection timeouts and service outages.
service echo on backendEP {

    @http:ResourceConfig {
        methods: ["POST", "PUT", "GET"],
        path: "/"
    }
    resource function echoResource(http:Caller caller, http:Request req) {
        // Delay the response for 30000 milliseconds to mimic network level
        // delays.
        runtime:sleep(30000);

        var result = caller->respond("echo Resource is invoked");
        if (result is error) {
            log:printError("Error sending response from mock service", result);
        }
    }
}

@http:ServiceConfig {
    basePath: "/mock"
}
// Define the sample service to mock a healthy service.
service mock on backendEP {

    @http:ResourceConfig {
        methods: ["POST", "PUT", "GET"],
        path: "/"
    }
    resource function mockResource(http:Caller caller, http:Request req) {
        var result = caller->respond("Mock Resource is Invoked.");
        if (result is error) {
            log:printError("Error sending response from mock service", result);
        }
    }
}

Request : (Send multiple times)
curl -v http://localhost:9090/fo

Tested with SL beta1 by changing the error log of echoResource to Error sending response from echo service
[ballerina/http] started HTTP/WS listener <IP_ADDRESS>:9090
[ballerina/http] started HTTP/WS listener <IP_ADDRESS>:8080
time = 2021-06-10T16:17:49.122+05:30 level = ERROR module = chamil/1projectapi message = "Error sending response from echo service" error = "Connection between remote client and host is closed"

Version
Ballerina Swan Lake Beta 1
Language specification 2021R1
Update Tool 1.3.5

Works as expected, hence closing the issue.


File/Folder icon

Hi.
How I can get file/folder icon?

Creating/Fetching Icon for a file is out of scope for this library. However you can get appropriate thumbnail via thumbnailOfFile(path:, completionHandler:) method.


address page breaks

This issue will be closed when page breaks are addressed in the wrangling process. This is needed before #2 since some pages may break with a hyphen!

This feels like an important next step. Can it happen in parallel with the footnote processing? Let's talk.

We need to figure out what we want to keep when addressing the page breaks. We could perhaps keep the page numbers because they are referenced in other places. Perhaps keep the page number along with the first word or line. Some questions to think of:

Do we want to keep the page number?
Where do we store the page number and corresponding line? New table perhaps
How do we reference back to the chapter? Keep the first 4 words? Need to remember to adjust for hyphens.

We created a table that extracts the page number, page header (the text next to the page number), and the first line of the page. Our next steps are to remove the extra spaces that make up the page break.

Thanks for your work on this front. Where can we find the table?

@nicholasjhorton here is the table we were working on last class: d6ff211

It's great to see how this is coming together: nice work!
If the code isn't already being organized in a Quarto file (with associated pdf) can you please move your code into there so that we can track the workflow (I've already fixed some things that will need to be run through one more time).
Same thing will be needed for the code that generates the page subtitles.

Any updates on this front? It would be great to have a pdf which listed the subtitles as a side effect of processing the workflow for this issue. (This would address open issues #11.)

And #23!

@nicholasjhorton
Completed this with commit: df01cc7e289a5a222c31b2fa2f87ea330834f993
See the pdf with the subtitles here: https://github.com/STAT325-S24/HistoryAmherstCollege/blob/main/data-raw/subtitles.pdf
Closing the issue.

Nick and Justin will work through changing the working directory of the qmd file

This is looking good but I'm only seeing subtitles.pdf not subtitles.qmd. Any guidance welcomed.

Thanks for your work on this front.
Is the appendix change needed (since I renamed it to chapter29.txt)?

@jpapagelis24 @tknightly24 might you be willing to update this issue with the current status of this work? Thanks in advance, Nick

@nicholasjhorton This is complete. Closing the issue.


Unexpected value of context from detached node

While fixing up some tests, I ran into this mysterious issue. For no particular reason, I assumed that a detached node should return the default value for a given context: someContext.get(detachedNode) === defaultValue;
Instead, it's returning a value that would only have been set by the previous test. I spent a lot of time making absolutely sure I was creating new nodes for each test and not sharing any other state. Is there some sort of context cleanup I need to be running after each test? Are contexts resolved by any manner other than by object identity? Or are the values of contexts simply not to be trusted for detached nodes?
I can provide more details about my code once we've agreed that there isn't something very obvious about how contexts work that I missed.

As long as the context is set to one of the detached node's parents and not the node itself that is what should happen. This unit test shows that:
test("context is back to default when the parent providing the context is no longer there", () => {
  const ctx = createContext(1)

  const p = createP() // p = { p2: {...} }
  ctx.set(p, 2)

  expect(ctx.get(p)).toBe(2)
  const p2 = p.p2!
  expect(ctx.get(p2)).toBe(2)

  p.setP2(undefined)

  // now that p is no longer providing the context, it should be back to the default
  expect(ctx.get(p2)).toBe(1)
})

Thank you for your quick response. I'm afraid this seems to be an issue with our test tools, but more specifically with registering and unregistering root nodes before and after tests. If I have time to look more carefully or create a minimal reproduction, I will report back here. I am still rather vexed by the persistence of context data between tests which generate new keystone nodes each time -- so that it's clear to me the stale data is hiding out in the context, and I'd like to know exactly why so I can avoid it in the future. In the meantime, I was able to successfully resolve it.


perlPackages.libapreq2: 2.16 -> 2.17

Description of changes
Fixes CVE-2022-22728.
https://httpd.apache.org/apreq/docs/libapreq2/apreq_changes.html

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)
[ ] 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.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

perl534Packages.libapreq2
perl536Packages.libapreq2

@GrahamcOfBorg build perlPackages.libapreq2


Application hangs when trying to close file replay pipeline

Required Info

Camera Model
D415

Firmware Version
5.10.3

Operating System & Version
Win 10

Platform
PC

SDK Version
2.16.1

Language
C++

Issue Description
It seems like since I upgraded to sdk version 2.16.1, my application sometimes hang when trying to close a replay pipeline (I'm playing bag files that have been recorded with a former sdk version). I'm starting to investigate, and it appears I get stuck in the pipeline::unsafe_stop() method, and more precisely when calling _active_profile->_multistream.stop(). This looks like a deadlock case, but I'm not really sure.
I'm going further in my investigations, but if someone has encountered the same problem and has a solution I'll be glad to hear.
Regards,
Albert

EDIT : seems like I'm permanently stuck in the while loop at line 224 of concurrency.h, in the dispatcher thread.

Hi @RealSense-Customer-Engineering, my previous working version of the sdk was 2.15.0.
I also forgot to mention I was using the newly functional realtime mode during my replay.
I will collect the logs asap.

When the app exits fine get:
04/10 11:23:53,442 DEBUG [10696] (ros_reader.h:60) Next message is a frame
 04/10 11:23:53,442 DEBUG [10696] (ros_reader.h:435) Trying to create an image frame from message
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020197832500 stopped
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020197832500 stopped
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020196C603C0 stopped
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020196C603C0 stopped
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020196C603C0 stopped
 04/10 11:23:53,442 INFO [2896] (archive.cpp:316) The user was holding on to 1 frames after stream 0x0000020196C603C0 stopped
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Depth,316,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:256) Frame Callback [Depth#316] overdue. (Duration: 35261.6ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x0000020196C603C0 are now released by the user
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Depth,5af,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:256) Frame Callback [Depth#1455] overdue. (Duration: 1.53865e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x000002019FC77DC0 are now released by the user
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Color,0,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x0000020197533020 are now released by the user
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Depth,5af,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:256) Frame Callback [Depth#1455] overdue. (Duration: 1.53865e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x0000020197762DC0 are now released by the user
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Color,5a3,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:256) Frame Callback [Color#1443] overdue. (Duration: 1.53865e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x00000201975F3030 are now released by the user
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:249) CallbackFinished,Depth,0,DispatchedAt,1.53865e+12
 04/10 11:23:53,442 DEBUG [2896] (archive.cpp:256) Frame Callback [Depth#0] overdue. (Duration: 1.53865e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,442 INFO [2896] (archive.cpp:326) All frames from stream 0x0000020197832500 are now released by the user
 04/10 11:23:53,442 DEBUG [10696] (ros_reader.h:476) Created image frame: 0/1/2/0 500x2d0 5
 04/10 11:23:53,442 DEBUG [10696] (playback_device.cpp:370) Updating Time Base... m_base_sys_time 44f9cbf5c3b3 m_base_timestamp 16f
 04/10 11:23:53,442 DEBUG [10696] (playback_device.cpp:578) Dispatching frame 0/1/2/0
 04/10 11:23:53,457 DEBUG [10696] (archive.cpp:249) CallbackFinished,Color,77,DispatchedAt,1.53865e+12
 04/10 11:23:53,457 DEBUG [10696] (archive.cpp:256) Frame Callback [Color#119] overdue. (Duration: 1.53865e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:23:53,457 ERROR [10696] (playback_device.cpp:470) Failed to read next frame from file: invalid map<K, T> key
 04/10 11:23:53,457 DEBUG [10696] (playback_sensor.cpp:141) Stop sensor 0
 04/10 11:23:53,457 DEBUG [10696] (playback_sensor.cpp:141) Stop sensor 1
 04/10 11:23:53,504 DEBUG [10696] (ros_file_format.h:430) RegexTopicQuery with expression: /device_0/sensor_(\d)+/info
 04/10 11:23:53,504 DEBUG [10696] (ros_file_format.h:430) RegexTopicQuery with expression: /device_0/sensor_0/(\w)+_(\d)+/info
 04/10 11:23:53,504 DEBUG [10696] (ros_file_format.h:430) RegexTopicQuery with expression: /device_0/sensor_0/Depth_0/tf
 04/10 11:23:53,504 DEBUG [10696] (ros_file_format.h:430) RegexTopicQuery with expression: /device_0/sensor_1/(\w)+_(\d)+/info
 04/10 11:23:53,520 DEBUG [10696] (ros_file_format.h:430) RegexTopicQuery with expression: /device_0/sensor_1/Color_0/tf
 04/10 11:23:53,520 DEBUG [10696] (playback_device.cpp:625) Catching up

When the app hangs I get:
04/10 11:19:21,747 DEBUG [4072] (ros_reader.h:60) Next message is a frame
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:99) I Depth--> Depth 122,<PHONE_NUMBER>095.207520

 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:258) SYNC (TS: )--> Depth<PHONE_NUMBER>932095.207520

 04/10 11:19:21,747 DEBUG [4072] (ros_reader.h:435) Trying to create an image frame from message
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:516) fps 0 Depth<PHONE_NUMBER>932095.207520
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:529) (TS: )Depth<PHONE_NUMBER>932095.207520 fps 30 gap 33.3333 next_expected: 1.53625e+12
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:516) fps 0 Depth<PHONE_NUMBER>932095.207520
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932093.854492
 04/10 11:19:21,747 DEBUG [12792] (syncer-processing-block.cpp:28) SYNCED: Color 121,<PHONE_NUMBER>093.854492 Depth 122,<PHONE_NUMBER>095.207520
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932127.213623
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932127.213623
 04/10 11:19:21,747 DEBUG [12792] (sync.cpp:334) (TS: ) Color<PHONE_NUMBER>932127.213623  Wait for missing stream: 0 next expected<PHONE_NUMBER>128.540771
 04/10 11:19:21,747 DEBUG [12792] (archive.cpp:463) CallbackStarted,Color,121,DispatchedAt,1.53864e+12
 04/10 11:19:21,755 DEBUG [4072] (ros_reader.h:476) Created image frame: 0/1/2/0 1280x720 5
 04/10 11:19:21,755 DEBUG [4072] (playback_device.cpp:578) Dispatching frame 0/1/2/0
 04/10 11:19:21,755 DEBUG [4072] (playback_device.cpp:534) Read action invoked
 04/10 11:19:21,755 DEBUG [4072] (ros_reader.h:60) Next message is a frame
 04/10 11:19:21,755 DEBUG [4072] (ros_reader.h:435) Trying to create an image frame from message
 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:143) DISPATCH (TS: )--> Color<PHONE_NUMBER>932160.734863

 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:99) I Color--> Color 123,<PHONE_NUMBER>160.734863

 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:258) SYNC (TS: )--> Color<PHONE_NUMBER>932160.734863

 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932160.734863
 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:529) (TS: )Color<PHONE_NUMBER>932160.734863 fps 30 gap 33.3333 next_expected: 1.53625e+12
 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932127.213623
 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:516) fps 0 Color<PHONE_NUMBER>932127.213623
 04/10 11:19:21,755 DEBUG [4296] (sync.cpp:334) (TS: ) Color<PHONE_NUMBER>932127.213623  Wait for missing stream: 0 next expected<PHONE_NUMBER>128.540771
 04/10 11:19:21,756 DEBUG [4072] (ros_reader.h:476) Created image frame: 0/0/1/0 640x480 1
 04/10 11:19:21,756 DEBUG [4072] (playback_device.cpp:578) Dispatching frame 0/0/1/0
 04/10 11:19:21,815 INFO [3012] (environment.cpp:85) Found 1 unreachable streams, 5 extrinsics deleted
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:249) CallbackFinished,Color,0,DispatchedAt,1.53864e+12
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:256) Frame Callback [Color#0] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:463) CallbackStarted,Color,1443,DispatchedAt,1.53864e+12
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:249) CallbackFinished,Color,1442,DispatchedAt,1.53864e+12
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:256) Frame Callback [Color#1442] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:249) CallbackFinished,Depth,1453,DispatchedAt,1.53864e+12
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:256) Frame Callback [Depth#1453] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:249) CallbackFinished,Depth,1453,DispatchedAt,1.53864e+12
 04/10 11:19:21,829 DEBUG [3012] (archive.cpp:256) Frame Callback [Depth#1453] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,829 INFO [3012] (archive.cpp:326) All frames from stream 0x00000188DD7EA020 are now released by the user
 04/10 11:19:21,830 DEBUG [3012] (archive.cpp:249) CallbackFinished,Color,0,DispatchedAt,1.53864e+12
 04/10 11:19:21,830 DEBUG [3012] (archive.cpp:256) Frame Callback [Color#0] overdue. (Duration: 177.022ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,830 INFO [3012] (archive.cpp:326) All frames from stream 0x00000188DCF6D070 are now released by the user
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD7FB6F0 stopped
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD81C490 stopped
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD7FB6F0 stopped
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD81C490 stopped
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD7FB6F0 stopped
 04/10 11:19:21,832 INFO [3012] (archive.cpp:316) The user was holding on to 1 frames after stream 0x00000188DD81C490 stopped
 04/10 11:19:21,924 DEBUG [3012] (playback_sensor.cpp:141) Stop sensor 0
 04/10 11:19:21,924 DEBUG [3012] (archive.cpp:249) CallbackFinished,Depth,123,DispatchedAt,1.53864e+12
 04/10 11:19:21,924 DEBUG [3012] (archive.cpp:256) Frame Callback [Depth#123] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)
 04/10 11:19:21,924 DEBUG [3012] (archive.cpp:249) CallbackFinished,Depth,124,DispatchedAt,1.53864e+12
 04/10 11:19:21,924 DEBUG [3012] (archive.cpp:256) Frame Callback [Depth#124] overdue. (Duration: 1.53864e+12ms, FPS: 30, Max Duration: 32ms)

In the latter case I don't get the Stop sensor 1 log.

@matkatz please take a look

Hi @blackccpie
Regarding:

I'm using the pipeline::poll_for_frames method to query my frames, but it sometimes returns false even when the stream has not ended. In non-realtime mode, I would have expected to get all the frames of the file, without having poll_for_frames to return false, isn't that right?

When working in non-realtime mode, poll_for_frames is still limited by the file reading speed from the HDD, so it is possible for poll_for_frames to return false.
Regarding the hang issue:
#2849 fix an issue that may be related to the hang that you saw, it is currently merged to the development branch and will be part of the next release.

Hi @matkatz , thanks for the explanation, it's clearer for me now.
I'll have a give a try with the next release to see if my problem is solved.
By the way do you have an opinion concerning my question about the playback stop condition in this comment?
Regards

@blackccpie Could you please have a try with latest release to see if still have issue? Thanks!

Hi @RealSenseCustomerSupport, in fact since matkatz answer I was waiting for a release version to spent some time on upgrading/testing, but since then there only have been pre-releases. Do you know when the next major release version will be out? thx

@RealSenseCustomerSupport : I took some time to test the pre-release v2.18.1, and the issue seems fixed. Anyway I'm still interested to know when the next official release will be available.
Regards


consistent top bar in doc

top nav needs to be from main site or replicated the same as main site

top bar is generated by docfx,  It is possible to override the footer and provide our own to copy the wordpress one.   But this is just too much effort and too little gain.


should readdir, not files, add tests

Found a bug that I missed in the review on #47 which should be using readdir instead of readFile. I've also cleaned up the formatting of the code a little bit and added the necessary mocks/tests for the new method.

Coverage increased (+2.5%) to 100.0% when pulling d4054146e643065eef9143060ec9a7ba9dbd31a8 on add-tests into 23fb38f93b9eb9a3da5a362f6fad9d48ecc6c1f8 on develop.


Only run Travis on master branch changes

There's no need to run Travis on branch and PR changes for each PR. It should only be run on the master branch changes to check merges.

Coverage remained the same at 98.942% when pulling 94762ad00bb6c3a140d2ff151045b61d83ac9f8f on only-run-on-master-branch into c537d619b37ca1b158bc4c51c8e9cb957765b0e5 on master.


New files don't display on explorer

VSCode Version: 1.8.2
OS Version:
10.11.4
Steps to Reproduce:
1.Create a file outside of the editor with the editor open
2.Check editor, file listing on explorer do not change

@fififofo can you make a video so that I can see your setup? I am using liCeCap typically on Mac.


autocompletion not working

Versions:

ide-helper Version: 2.13.0
Laravel Version: 10.12.0
PHP Version: 8.1.0

Autocompletion not working inside of controller.
for exmple :
User::find or User::where..etc. but inside web.php works  fine, or inside factories.
how can I make it to work inside of controller as well ? please!

same issue! :(

It seems like no one cares about this problem...

same issue
IDE : VSCode

Here it does not work in any part of the application.


Gtm enhanced

This PR enhances our segment/gtm integration to push ecommerce events to the dataLayer.

@StephenGrable1 can u implement the other methods we need?
most of it can just be translated from: https://github.com/segmentio/analytics.js-integrations/blob/6d5c76167c4018b1b9c922abe542bbd9db1ac69a/integrations/google-analytics/lib/index.js#L934


Replace open and close methods with toggle method

Replaced open and close methods with toggle method for improved code simplicity and readability. Toggle method allows for easier switching between open and closed states, and also reduces code size. Also capitalized first letter on one close button.

@microsoft-github-policy-service agree

Looks great, thanks!


Provide an example with PFS usage

To use this, run a local PFS and set the correct claims file, e.g.
--claims-file ~/.raiden/scenario-player/scenarios/raiddit-pfs/claims.jsonl
Also reduce default-reveal-timeout in raiddit.yaml to 10 to fix
reveal/settle timeout problems.

Closed by https://github.com/raiden-network/raiden/pull/6420


[VS Code] When selecting an API, we should notify the user of the next step

Depending where the user is starting from, it can be confusing to select an API and then just load it in the sidebar. Especially when coming from another extension (TTK) of from the command palette.
Providing a notification with "You can now select the required endpoints from "Name of the API"" would be a simple yet effective way to let the user know that we opened up the sidebar and have users move on the next step.
Acceptance Criteria

[ ] In the integration scenario (not just "ttk"), display a notification "You can now select the required endpoints from " (replace the placeholder with the actual API name) when the "kiota.openApiExplorer.searchOrOpenApiDescription" is triggered
[ ] The notification shall not require any user interaction as it will be shown every time and the user can not disable it.

This is how it looks like @sebastienlevert & @petrhollayms


Allow removal of config values

With this change, config values can be removed entirely.
For example, this will remove the date.timezone configuration entry:
class { '::php':
  settings => {
    'Date/date.timezone' => undef
  }
}

Why did you remove the section?

Oops, that happens when you think a change is so small you can make it in the GitHub web editor. Will fix that.

Oh and probably the build will fail because ensure is not the first parameter %)

Updated.

Thanks, I'll give you a :star: for that :smiley:

Thanks for the PR :beers:


Refactoring regions

Splits up the existing regions file into a few separate files
adds a few hooks for easily accessing regions from url params
convert simple functions to properties on Region object

Looks good in general, I have some recommendations.

Maybe it would be better to split in 3 parts:

a file with classes and enums
a file that parses the data and creates states, counties, statesByFips and countiesByFips
the regions db

I would recommend not to implement functionality based on state code and state name (or transitional hooks), that might hurt us as we try to refactor. Let's integrate MSAs before we start refactoring to ensure that we do it in a way that works for MSA

I think these are necessary to get ourselves out of the holes we're in now.  These functions are used sparingly and will help us consolidate the logic for some of these state edge cases.  Though I do think with useRegionFromParams we don't need the legacy location id logic nearly as much.
I guess I think that we won't be able to integrate MSAs until most of the code is using regions - these helper functions will help keep the refactors small and allow us to make incremental progress.  The idea is that we'll have another PR that will allow us to rip out these functions at the end.


how to save model

Laravel Version: 5.7.2
PHP Version: 7.2.9
Laravel-admin: 1.5.19

Hi there,
I successfully created my own model Game, and controller using admin:make command, then I added these routes:
$router->get('games', 'GameController@index');
$router->get('games/create', 'GameController@create');
but when I click submit, how to save the model? which route to add and where to save?
thanks a lot

You need store action but you can use resource  method to handle variety of actions.
$router->resource('games', 'GameController');
https://laravel.com/docs/5.6/controllers#resource-controllers

great, thanks a lot!


server crashes using cluster with shards

Hi,
We are using ioredis(5.3.2) in our nodejs application. when we use the cluster with shards, only in Azure the server crashes with the following trace:
Exit status 1
at readableAddChunk (node:internal/streams/readable:297:9)
at JavascriptRedisParser.returnError (/home/vcap/app/node_modules/ioredis/built/DataHandler.js:15:22)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
at EventEmitter.handleReconnection (/home/vcap/app/node_modules/ioredis/built/Redis.js:509:30)
at command.reject (/home/vcap/app/node_modules/ioredis/built/cluster/index.js:362:23)
at DataHandler.returnError (/home/vcap/app/node_modules/ioredis/built/DataHandler.js:41:20)
at TLSSocket.emit (node:events:513:28)
at TLSSocket. (/home/vcap/app/node_modules/ioredis/built/DataHandler.js:25:20)
at Readable.push (node:internal/streams/readable:234:10)
at addChunk (node:internal/streams/readable:324:12)
at JavascriptRedisParser.execute (/home/vcap/app/node_modules/redis-parser/lib/parser.js:542:14)
at EventEmitter.handleError (/home/vcap/app/node_modules/ioredis/built/cluster/index.js:508:38)
handlers.maxRedirections(new Error("Too many Cluster redirections. Last error: " + error));
Error: Too many Cluster redirections. Last error: ReplyError: MOVED 14861 <IP_ADDRESS>:15001
/home/vcap/app/node_modules/ioredis/built/cluster/index.js:508
we use following to connect:
client = new Redis.Cluster(startupNodes, RedisClusterOptions);
the options contains redisOptions with tls= {host: host, port: port}) and retryStrategy
and we also have error handler:
client.on("error", (err) => {...

Any idea what can cause this?
Why is server crashes , altough we have error handler, and also try /catch in all our usages of the client.
we use client.set , client.get ,  etc.

Thanks,
Tal

Further internal analysis shown the following:

Using ioredis 4.19.4 issue is not reproduced, so it seems like a regression.
Using ioredis 5.3.2 and tls settings with digicert root ca  --> issue solved and redis can be accessed
 redisOptions.tls = {                      ca:  fs.readFileSync(${__dirname}/cert.pem, 'utf-8'),           rejectUnauthorized: false       };
cert.pem from here: https://cacerts.digicert.com/DigiCertGlobalRootG2.crt.pem


using grid pickers for pins

@pelikhan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


feat: details card admin dashboard

after clicking the link, it's redirecting to the OSD deployer page.

On clicking the Data federation url shouldn't we reach to mcg-osd deployer?

I still don't understand what is cluster in title  and version? This is confusing to me

the URL was not mentioned, I followed the same which we do in ODF

@cloudbehl updated the redirection to mcg-osd-deployer

/assign @SanjalKatiyar

/retest

/approve
/lgtm


WIP: Single win32 assembly

Merge Avalonia.Win32 assemblies. Previously we had two Avalonia.Win32 assemblies, one targeting net461 and one targetting netstandard2.0. This merges both assemblies into a single Avalonia.Win32 assembly targeting netstandard2.0.

It uses System.Drawing.Common to implement the System.Drawing types
It p/invokes to Win32 instead of using System.Windows.Forms
It moves WinFormsAvaloniaControlHost to Avalonia.Win32.Interop

We should also in theory be able to merge Avalonia.DotNetCoreRuntime and Avalonia.DotNetFrameworkRuntime now, but when doing so D2D crashes when there's a bitmap in the application (which I assume is #1320).
The build scripts etc still need to be updated but I wanted to get some early input from @kekekeks and @jkoritzinsky to see if this is a valid approach.

@grokys You mention that when merging the runtime support libraries, that D2D crashes. Can you put together a repro of that and send it over? It'd be nice to have a repro that's smaller than AvalonStudio.

Hmm, that doesn't seem to be happening any more. If I manage to repro it again, I'll commit.

@kekekeks @jkoritzinsky i think this is ready for a proper review now.

@kekekeks done!


Missing hyphen in shortauthor

Starting a project with the template currently leads to an error because there is a missing hyphen in
shortauthor: ("Andersen et. al."),

instead of
short-author: ("Andersen et. al."),

Whoops, embarrasing, fixed


Handle large numbers safely

@DanielContrerasAladro
In this PR, I have implemented a workaround for safely handling large numbers in Javascript, based on your initial approach.
Feel free to test it out and give feedback


Added StringHelper::ensurePrefix

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues
none

Closing for the reason @cebe described. Proper handling is more complex than that...


Enhancing a Flask Chatbot Application: Code Review and Best Practices - routes.py

Unused Imports: The import from crypt import methods is not used in the code. This should be removed to clean up the code.
Error Handling: Consider adding more comprehensive error handling, especially in database operations
User Feedback: Flash messages for actions like creating and updating chatbots are missing, which could improve user experience.
Security: Ensure all user inputs are validated and sanitized to prevent SQL injection and XSS attacks.
Route Decorators: The route decorators could include more HTTP methods for better RESTful practices (e.g., using PATCH for updates).
Code Duplication: The checks for chatbot.user_id != current_user.uid are repeated in several places. This logic could be abstracted into a helper function.
Response Handling: When getting a response from the chat_with_chatbot function, handle potential failures gracefully to avoid breaking the flow.
Redirect after POST: After certain POST requests, ensure the user is redirected appropriately to avoid double submissions.
Can you please assign this to me @kom-senapati

There are so many issues here. Create an issue for one bug or feature only.

There are so many issues here. Create an issue for one bug or feature only.

Would you like to assign any one bug/feature to me? Or if it was for me to choose i would like to work on the security aspects of it


Support joins in the orm framework

Refactor some of the functionality of the core, to separate then into new helper classes.
Add support for joins and relations in the querys.

The joins work now but they need more work after the orm is refactored.


FranceP2P / Framework to help local P2P chapters

This issue to track the discussions and ideas about creating a framework and supporting local communities to bootstrap P2P events in other cities, and finally, put an umbrella organization that lists those communities and encourage collaborations

@cpieri will stay in Lyon for multiple months soon, we can help to bootstrap a new chapter there :) I will open a new dedicated issue to see if other people are interested

@lpieri based on your experience with Lyon P2P #0 (#48), can you tell us if you have ideas of improvements to help local chapter bootstrap their first event?

Hello @moul
I think we need to communicate 1 month before the bootstrap and contact the local communities.
For example, contact local schools or enterprises (tech, p2p...).
I think too, we need to create the process more easy for propose a Talk at the bootstrap because it can be a brake for the local communities.

thanks for your feedback :)
we are actually talking with peers from Rouen for RouenP2P #22
I will link them to your comment


Tighten JSHint options

Lint will pass after #906

Yeah I can't figure it out why either. I only managed to get this to work the first time I cloned the repo. Then, all subsequent mocha runs fail, but not always on the same test.


[Dynamic Regions] tikv oom frequently when create table

Bug Report

What version of TiKV are you using?

47b4c474e73f6f51c19f137814c7daba78e9c093
What operating system and CPU are you using?

Linux tc-tikv-0 5.18.12-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 15 07:03:42 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce

deploy a cluster with some tikv and tiflash nodes using tidb-operator
enable multi rocksdb
create some table

What did you expect?

create table success

What did happened?

create table return error  Error 8027: Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV
tikv oom and restart frequently
tikv.log

tiflash is not supported yet (under development, not ready for test yet)

Due with #15269


Wing structure and logo redirect to home

-Added a button to change the wing structure picture
-Made the logo on the top left of the screen link back to the home page (default.jpg)(header.php)

dope


multiselect dropdown won't open inside vue-awesome-swiper

Hello,
I have an issue when using multiselect inside a swiper-slide from vue-awesome-swiper, it seems that the event that opens the dropdown menu isn't firing so the menu won't open. When checking with Vue dev tools, the isOpen property is not changing inside the multiselect component
https://jsfiddle.net/nx51L3zs/
edit: nevermind, it was the vue-awesome-swiper focus event that was triggering prior to the multiselect one

Hi @ig1na,
Did you find a solution to this in the end? How did you configure vue-awesome swiper to get around the focus event?

@ig1na @lewiswilby  Did you ever find a solution for this?


VisIt Users Telecon / Webcon

Mark suggested we hold a wide audience telecon for users.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2051
Status: Pending
Project: VisIt
Tracker: Feature
Priority: High
Subject: VisIt Users Telecon / Webcon
Assigned to: -
Category: -
Target version: -
Author: Cyrus Harrison
Start: 10/31/2014
Due date:
% Done: 0%
Estimated time:
Created: 10/31/2014 04:09 pm
Updated: 11/12/2014 04:55 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
Mark suggested we hold a wide audience telecon for users.
Comments:

Closing because this was 6 years ago.


Update Turkish localization strings

Hi @nesimtunc, thanks for your contribution, could you provide more info about the proposed changes?
We only accept translations tweaks that fix actual issues (typos, grammatical errors) and won't accept minor changes that are only focused on tweaking the wording. Contribution guidelines

Hi,
I fixed the grammatical errors as well ambiguity in the sentences.

On Jun 21, 2021, at 20:48, Cristian Monforte @.***> wrote:

Hi @nesimtunc, thanks for your contribution, could you provide more info about the proposed changes?
We only accept translations tweaks that fix actual issues (typos, grammatical errors) and won't accept minor changes that are only focused on tweaking the wording. Contribution guidelines
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@nesimtunc could you give us more information about each of the changes? See this contribution as a good example to follow -> https://github.com/duckduckgo/Android/pull/1186

Thanks for the reference. Will do.

Hi @nesimtunc,
I just updated the PR's description. Sorry, it took a while.
Thank you!

Hi @cmonfortep,
I just updated the PR's description. Sorry, it took a while.
Thank you!

Thanks @nesimtunc. I'm open to apply the changes you proposed for defaultBrowserDescriptionNoDefault and omnibarInputHint. However, for the rest of the proposed changes, I prefer keeping them as they are and do not change them. could you update the PR to reflect this? Thanks. Once you push your changes, I will merge it.

Hi @cmonfortep,
I did it. I slightly changed the messages to polite and formal way.


Catch TopicNotExistError and report it properly

Based on morning discussion with @d00rman - do not crash if topic doesn't exist.
However, I still think we need to crash the service. Non existent topic in a static config means that the service is misconfigured, so we should take it down. As workers do not load updated config when they're respawned any more, on config deployment we will immediately notice that something is wrong, because rolling restart will fail on the first node, while if we swallow an error and just log it, all nodes will be restarted before we notice an error in logstash, thus putting the whole change prop cluster in a loose state. So I propose to add process.exit(1) in that catch block.
When we have dynamic subscriptions, this will change, but we can separate the subscribe method to subscribeStatic and subscribeDynamic - the first one will fail on non-existent topic, the second one will just throw, log error and return 400 to the subscription request origin.
cc @wikimedia/services

Coverage increased (+0.05%) to 93.469% when pulling 4b89f9dfe0cdfe569d3c1929b280cd37b418c0f7 on Pchelolo:no_topic into 98a865aea548074df8a9cba7576aacc8b477dde0 on wikimedia:master.

Coverage decreased (-0.7%) to 92.683% when pulling be3874eb2d663a1a6dade0f4a77b2cdb70130f0a on Pchelolo:no_topic into 98a865aea548074df8a9cba7576aacc8b477dde0 on wikimedia:master.

I agree that failing early & loudly is better than failing later, at runtime. In production, this will immediately abort a deploy, rather than possibly proceeding to take out the entire cluster.
For subscribeDynamic, are there use cases where it would not make sense to dynamically create those topics if they are missing?

@gwicke the subscribeDynamic is not really in scope of this PR, we will have to make a decision on it later and it's not an easy one. Both dynamic and static topics have their pros and cons, so let have this discussion separately

Coverage decreased (-0.7%) to 92.683% when pulling<PHONE_NUMBER>986671fdf8264755a7cb46fa15a663 on Pchelolo:no_topic into 98a865aea548074df8a9cba7576aacc8b477dde0 on wikimedia:master.

My main motivation for not failing were exactly dynamic rules. For static rules, I can concede that it makes sense to fail, but failing on dynamic rules would mean that workers would be slowly taken out one by one which is far from desirable.
As for failing, I think this would a case where it would be more desirable to fail the master rather than only the worker. I think that this needs to be fixed in general in service-runner and/or hyperswitch - if there is a failure during start-up don't restart the failing workers over and over, but fail completely. In the current state of affairs, systemd doesn't categorise that as a start-up failure because the master is still up and running.

I would expect the port checks to detect the worker failure.

And they do on deploy, but when you're on the node, systemctl status X and ps -ef | grep X would both tell you the service is running, which is misleading. We shouldn't make it hard to detect whether the service is up or not, IMHO.

@d00rman I can file a ticket for service runner to support a 'dead letter' in master and fail it. After that we can update this.

Cool, thnx! Maybe I'm wrong, but given that we are talking about stateless services, I can't find a case where one worker would be able to start up, while another wouldn't. So I think it makes sense to simply fail the master if the worker fails on start-up.

@d00rman filed https://phabricator.wikimedia.org/T134002


weight file request

Hi! Is it possible to get trained model weights for my research?  My email is<EMAIL_ADDRESS>Thank you in advance!

Hello all!
We trained the model but only for 1000 epochs. You can download and find more details here: - https://github.com/111Kaushal/Testing-and-validation-of-TransBTSV2


Cannot find context with specified id

Our tests are very flaky. We sometimes get the stacktrace you can see below when using the goto function to navigate to a URL. Any input on a probable cause would be appreciated.
11:09:02          Error Message: Error: Cannot find context with specified id
11:09:02          Stacktrace:
11:09:02          Error: Cannot find context with specified id
11:09:02              at /opt/integration-tests/node_modules/chrome-remote-interface/lib/chrome.js:93:35
11:09:02              at Chrome._handleMessage (/opt/integration-tests/node_modules/chrome-remote-interface/lib/chrome.js:256:17)
11:09:02              at WebSocket.<anonymous> (/opt/integration-tests/node_modules/chrome-remote-interface/lib/chrome.js:234:22)
11:09:02              at WebSocket.emit (events.js:315:20)
11:09:02              at Receiver.receiverOnMessage (/opt/integration-tests/node_modules/ws/lib/websocket.js:800:20)
11:09:02              at Receiver.emit (events.js:315:20)
11:09:02              at Receiver.dataMessage (/opt/integration-tests/node_modules/ws/lib/receiver.js:436:14)
11:09:02              at /opt/integration-tests/node_modules/ws/lib/receiver.js:393:23
11:09:02              at /opt/integration-tests/node_modules/ws/lib/permessage-deflate.js:306:9
11:09:02              at /opt/integration-tests/node_modules/ws/lib/permessage-deflate.js:385:7

Versions
node: v13.14.0
taiko: 1.0.14

This should not be happening, Taiko tries to handle this exception seems like a missed case. Thanks for reporting we will be fixing this soon. Any repro for this issue will be of great help to identify the case sooner.

Thanks for taking care of this, @NivedhaSenthil!
I am not sure if I can help you reproduce the issue, probably has something to do with the application we are testing. But if I can provide more information like logs or verbose output, then please let me know.

There is new release(1.0.16) with a fix for one of the missed cases, can you please try and let us know if that fixes your problem?

taiko --version
Version: 1.0.16 (Chromium: 85.0.4168.0) RELEASE

node --version
v10.16.3

gauge --version
Gauge version: 1.1.1
Commit Hash: 6e0d83f

Plugins
-------
html-report (4.0.12)
js (2.3.12)
screenshot (0.0.1)

Have the same issue:
{ Error: Cannot find context with specified id
at _enqueueCommand (E:\programs\quest\ondemand-seed\e2e\node_modules\chrome-remote-interface\lib\chrome.js:93:35)
at Chrome._handleMessage (E:\programs\quest\ondemand-seed\e2e\node_modules\chrome-remote-interface\lib\chrome.js:256:17)
at WebSocket._ws.on (E:\programs\quest\ondemand-seed\e2e\node_modules\chrome-remote-interface\lib\chrome.js:234:22)
at WebSocket.emit (events.js:198:13)
at Receiver.receiverOnMessage (E:\programs\quest\ondemand-seed\e2e\node_modules\ws\lib\websocket.js:800:20)
at Receiver.emit (events.js:198:13)
at Receiver.dataMessage (E:\programs\quest\ondemand-seed\e2e\node_modules\ws\lib\receiver.js:436:14)
at perMessageDeflate.decompress (E:\programs\quest\ondemand-seed\e2e\node_modules\ws\lib\receiver.js:393:23)
at _decompress (E:\programs\quest\ondemand-seed\e2e\node_modules\ws\lib\permessage-deflate.js:306:9)
at _inflate.flush (E:\programs\quest\ondemand-seed\e2e\node_modules\ws\lib\permessage-deflate.js:385:7)
request:
{ method: 'Runtime.getProperties',
params:
{ type: 'object',
subtype: 'array',
className: 'Array',
description: 'Array(0)',
objectId: '{"injectedScriptId":18,"id":394}' } },
response:
{ code: -32000,
message: 'Cannot find context with specified id' } }

Thanks for the logs it helps.. have never seen Cannot find context with specified id error before in 'Runtime.getProperties'

Should be fixed in version 1.0.21

Should be fixed in version 1.0.21

Thanks for the support. Our problem was not fixed with 1.0.16. We just upgraded to 1.0.21, and I will provide feedback if the error persists

I have the same issue.
ProtocolError: Cannot find context with specified id
at /workspace/test/node_modules/chrome-remote-interface/lib/chrome.js:93:35
at Chrome._handleMessage (/workspace/test/node_modules/chrome-remote-interface/lib/chrome.js:256:17)
at WebSocket.<anonymous> (/workspace/test/node_modules/chrome-remote-interface/lib/chrome.js:234:22)
at WebSocket.emit (events.js:314:20)
at Receiver.receiverOnMessage (/workspace/test/node_modules/ws/lib/websocket.js:797:20)
at Receiver.emit (events.js:314:20)
at Receiver.dataMessage (/workspace/test/node_modules/ws/lib/receiver.js:437:14)
at /workspace/test/node_modules/ws/lib/receiver.js:394:23
at /workspace/test/node_modules/ws/lib/permessage-deflate.js:306:9
at /workspace/test/node_modules/ws/lib/permessage-deflate.js:385:7 {
request: {
method: 'DOM.getBoxModel',
params: { objectId: '{"injectedScriptId":9,"id":504}' }
},
response: { code: -32000, message: 'Cannot find context with specified id' }
}
[Gauge] [CRITICAL] js runner quit unexpectedly. Check logs for more details.
ErrorMessage: transport is closing

Node: v14.11.0
Taiko: 1.0.23 (Chromium: 86.0.4240.0) RELEASE

Gauge version: 1.1.4
Commit Hash: c982558

Plugins
-------
html-report (4.0.12)
js (2.3.12)
screenshot (0.0.1)

I am still having the same issue with version 1.2.0.
The good news is that I found a workaround. I am simply waiting for 1 second after calling goto:
step('Navigate to <url>', async url => {
    await goto(url)
    await new Promise(resolve => setTimeout(resolve, 1000)) // Hack to prevent "Error Message: Error: Cannot find context with specified id"
});

Maybe this helps @NivedhaSenthil @zabil to solve the issue


Lab E3 Step2 wrong reference to a file named env.env.local

Should be env.local only.

Fixed - thanks @cristianoag


Prompt Panel doesn't get destroyed

When I do an Expand with Abbreviation, ctr-w by default, I get the prompt at the bottom. As soon as I'm finished the text entry disappears but there is a sliver of an 'atom-panel' that remains in place. So, when I do this ten times in a row they build up at the bottom of the editor. I tried disabling some of my other packages I use, but to no avail.
Atom 1.10.2 / OSX 10.11.6 (El Capitan)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Looks like the problem is here https://github.com/emmetio/emmet-atom/blob/f542f5e5c7fc370776b862e4cb8be81f7454bff2/lib/prompt.coffee#L69
I tried $('.panel-bottom').hide() in the console and got 'Uncaught TypeError: $(...).hide is not a function'


Feature Request: Option to create more logins from extension if a login already exists for a domain

Hi there! It appears that, currently (6.4.3), the only time a new login can be created from the extension is if a login does not already exist for a domain.
We are working on implementing 1Password support in a situation where users may already have an entry for a given domain and it would be helpful for them to generate a second entry from within the extension for that domain. Please consider adding support for this workflow.
Thanks!!
Steve

Hello Steve,
Thanks for taking the time to request this feature. 👍

a situation where users may already have an entry for a given domain and it would be helpful for them to generate a second entry from within the extension for that domain.

We have considered this feature in the past and we decided agaist it. And here is why:
Our goal is to facilitate Login for our mutual users. We want users to spend the least amount of time in the 1Password Extension. We want them to quickly login using it so that they can use your app instead.
In fact, the last thing we want is for users to "fiddle" in the extension instead of logging in ASAP. The whole purpose of findLoginForURLString: is to show all matching logins and allow the user to quickly fill her credentials. Adding the ability to create new Logins in findLoginForURLString: might upset some developers who will notice that their users are spending a lot of time in the extension rather than quickly login and use their app instead.
If users want to create a new Login the have the option to do so in the main app (while using 1Password and not your app) or if you, as a third party developer, add the storeLoginForURLString: capability.
That said, I am closing this issue as won't do. If you have any other questions or concerns, please do let me know.
Cheers!

Completely understandable—thanks for the explanation, @radazzouz ! Seems like storeLoginForURLString: will be the way to go for this secondary password (but sadly, it won't allow folks to use 1Password's strong password generator!)

Thanks for getting back to me, @papernapkinhead !
I am really glad to hear that you will opt for storeLoginForURLString: in your app.
I also wanted to point out that storeLoginForURLString: does allow users to use the password generator. And here's how to to it.

Tap on "Generate New Password"

Tap on "Show Password Recipe"

Swipe left and right to toggle between the Characters and Words password generators.

Hope that this helps!
All the Best,

Aha—that's fantastic! Thanks @radazzouz  👍


SVG images are not shown in markdown preview with disabled security police

Issue Type: Bug
Even if Markdown Security Police is disabled,  .svg images are still not loading and warning of disabled content appears.

 Neither "Allow insecure content" or "Disable" options work.
![alt](./Test.svg)

The workaround is to inline the SVG, but that's undesirable for larger SVG images.

Have the same problem


Support client certificate on cli and nginx

In order to increase the security of auth, it is necessary to add client
certificate on cli and nginx. So user can use wsk -i property set --cert
openwhisk-client-cert.pem --key openwhisk-client-key.pem to pass client
certificate to nginx.

LGTM.
If you are trying to open a pr in upstraem and get feedbacks, it would be great to specify that this is the first pr of two subsequent prs(server side).
But I am anxious that they will not accept it without server side changes.

The whole logic is that if add client certificate, there has two authenticate method

When use wsk -i property --cert cert.pem --key key.pem............, the controller will ignore --auth verfiy, directly passed.
keep original logic for authenticate, if execute like this wsk -i property --auth ${auth}.....

But to pass authentication, we need changes in controller, right?

yes, in order to keep the whole logic (already said above), should make changes in controller,
if controller identities nginx has verified the client certificate, the controller has no need to verify auth key.

see here:https://github.com/apache/incubator-openwhisk/pull/2427


Struct add field tab control sequence improvements

 Issue by maheeka
Thursday Aug 10, 2017 at 10:25 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/2690

Now, tab after typing type will navigate to annotation. Since this is the expectation, can we move the control to name editor instead of annotate?

Implementation has differed


Framework: Reference cycle with HFTextView delegate

I have an NSWindowController with an IBOutlet for an HFTextView. The window controller is also set as the text view's delegate so I can receive the properties changed callback.
My problem is the controller isn't released when closing the window and I've worked out that the cycle is caused by the delegate link. Is this an issue with the framework or am I doing something wrong?
Obviously I can just register for notifications instead of using the delegate, but using the delegate is simpler.
I'm working in Swift, if that matters. Framework v2.13.1.

I think this should be fixed now. If you're able to test with master that'd be helpful.

Yup, works now! Thanks heaps.


Enable "TrinityCore settings" by default in tc_recast_demo branch

Enable "TrinityCore settings" by default in tc_recast_demo branch

PR opened

after 8bd192131d80586bfc3966a8caeddbaf7721eefb it's bugged
6d5b0eda6bc02b6579592d656883001874b7c53d works.

fixed in https://github.com/TrinityCore/recastnavigation/commit/8655a1b54830d26314ce8c28e1c22ecb2aae031a


Asymmetric matches should be formatted

What is the current behavior?
Jasmine gives you special values that you can use at the right side of toEqual, to make the comparison more flexible. After #2213 this also will be landed as a part of Jest API.
However, there is a problem with error message formatting. Given the following assertion:
expect({
  a: 1,
  b: {
    test: false
  }
}).toEqual({
  a: 1,
  b: jasmine.objectContaining({
    test: true
  })
})

Produces the following error message:
Expected value to equal:
      {"a": 1, "b": {"sample": {"test": true}}}
    Received:
      {"a": 1, "b": {"test": false}}

What is the expected behavior?
I expect to have printed special format for asymmetric comparison value.
For example, pure Jasmine detects special value and formats it accordingly:
Expected
  Object({ a: 1, b: Object({ test: false }) })
to equal
   Object({ a: 1, b: <jasmine.objectContaining(Object({ test: true }))> }).

It would be nice to do this in Jest as well. It also worth to mention that all asymmetric values have a special method .jasmineToString that gives pretty-printed value for message.

We're actively working on this here: #2397. Feel free to join the discussion. Closing the issue.


Stop syntax checking inside comments and docstrings

Issue Report Checklist

[* ] Searched the issues page for similar reports
[ *] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ *] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

Inside a comment or docstring, inclue Python punctuation, such as ( or :
Note the Spyder highlights and indents as if it were 'live code'
Stifle your annoyance and work around it.

What is the expected output? What do you see instead?  In the case of, say opening a parenthetical expression I expect the ( to be gray like the rest of the comment, not red because it is not yet terminated.  If I end a line with a colon, the next line is indented, but in a comment that's annoying.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 6.0.1
Python version: 3.11.9
Qt version: ?
PyQt version: ?
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hey @radlyeel, thanks for reporting. We'll try to fix these small issues in a 6.0.2, to be released next week.

Sorry, I'm going to leave this for 6.1.0 because it could come as a surprise for users in bugfix release.

Not that this overly affects me, but it might be worth considering if this would impact people using doctest. I would personally still lean towards not syntax checking inside docstrings for the simplicity.


when moving away from component keep getting error in console

Once the script back working from issue #15
when moving away from component by navigating to a new route where i don't load the stripe module, I see this error in the console :
Uncaught TypeError: Cannot read property 'close' of undefined     at eval (eval at <anonymous> (app.js:1305), <anonymous>:97:24)     at pushHash (eval at <anonymous> (app.js:1814), <anonymous>:2028:24)     at eval (eval at <anonymous> (app.js:1814), <anonymous>:1970:7)     at eval (eval at <anonymous> (app.js:1814), <anonymous>:1581:19)     at eval (eval at <anonymous> (app.js:1814), <anonymous>:1658:7)     at step (eval at <anonymous> (app.js:1814), <anonymous>:1536:7)     at step (eval at <anonymous> (app.js:1814), <anonymous>:1543:9)     at runQueue (eval at <anonymous> (app.js:1814), <anonymous>:1547:3)     at eval (eval at <anonymous> (app.js:1814), <anonymous>:1653:5)     at step (eval at <anonymous> (app.js:1814), <anonymous>:1536:7)
I see that you create an eventlistener that is still running when moving away to an other route, I think this is causing the problem :
  window.addEventListener('popstate', function () {                 this.stripe.close();             });
any fix ?

Fixed by commit c605770


”Mârșa” is listed in the drop-down menu

Description:
"Mârșa" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Mârșa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Mârșa, GIURGIU".


Google Tag Manager Connector - Delete connection not working

Description of bug
When going to Settings -> Connectors -> Google Tag Manager and hitting the "Delete connection" button, nothing happens. A new admin log entry shows up.
Steps to reproduce
List the precise steps to reproduce the bug:

Go to Settings -> Connectors -> Google Tag Manager
Delete connection
Go to Manage -> Admin Logs
See error

Current behavior
Can't delete GTM connection
Expected behavior
Delete GTM connection
Screenshots
If applicable, provide screenshots to help explain the bug.
Error information
Analytics.AnalyticsConfiguration:GetConfig Failed
FilePath:D:\websites\sierzega.com\Portals\0\GoogleAnalytics.config
ExceptionMessage:Object reference not set to an instance of an object.
Additional context
Note the double backslash in the error file path. Coming from (?) https://github.com/dnnsoftware/Dnn.Platform/blob/399a89c292cc8fe1a3ce66a7c592f15104bfbaae/DNN Platform/Library/Services/Analytics/Config/AnalyticsConfiguration.cs#L67
Affected version

[ ] 10.00.00 alpha build
[ X ] 09.08.01 latest supported release

Affected browser

[ ] Chrome
[ X ] Firefox
[ ] Safari
[ ] Internet Explorer 11
[ ] Microsoft Edge (Classic)
[ ] Microsoft Edge Chromium

Considering that I contributed it, I'll look into this, thanks.


🐛 Use of force athena load errors

Describe the bug.
Tables statements and statements_amendments in hmpps_use_of_force land in raw, but do not make it through to curated.
The error logs show this as a failure to cast a string value to BIGINT. This suggests something is going wrong in the inferring of data, or perhaps it's somehow something else.
To Reproduce
Try athena load on s3://data-development20231011135451999500000005/raw/hmpps_use_of_force/v1.0/statement/load_timestamp=20231031T000038Z/105ab58f-4199-4d8d-a2b0-47d674aa51c2.csv
Sample error:
[ERROR] ValueError: INVALID_CAST_ARGUMENT: Cannot cast ' consectetur adipiscing elit' to BIGINT. You may need to manually clean the data at location 's3://athena-data-product-query-results-013433889002/tables/9c454a7a-fc9b-4fc7-9de0-652d5d639eb4' before retrying. Athena will not delete data in your account.

Expected Behaviour
No response
Additional context
No response

Looks like this is a CSV parsing issue, it's broken up a quoted string, but the string has curly quotes (U+201C) rather than regular double quotes:
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”

Hacky code to detect this issue:
import pyarrow.compute as pc
import pyarrow.csv as csv
from pyarrow.lib import StringArray

streaming_reader = csv.open_csv('105ab58f-4199-4d8d-a2b0-47d674aa51c2.csv')
for chunk in streaming_reader:
    for i, column in enumerate(chunk):
        if type(column) is StringArray:
            problems = column.filter(pc.match_substring(column, "\n"))
            if problems:
                print(f"Column {i} has embedded newlines")
                print(problems[0])

Maybe we can include this in landing to raw

This happened with pathfinder data as well:
Query_id 7cbfd72f-0a3f-4a07-b514-7b9ca5f4946b, failed with response: INVALID_CAST_ARGUMENT: Cannot cast 'add update text goes here.  add update text goes here.  add update text goes here.  ' to BIGINT. You may need to manually clean the data at location 's3://athena-data-product-query-results-013433889002/tables/7cbfd72f-0a3f-4a07-b514-7b9ca5f4946b' before retrying. Athena will not delete data in your account. |

Yup looks like the same issue with pathfinder.
e.g. row 2 in s3://data-development20231011135451999500000005/raw/hmpps_pathfinder/v1.0/active_control_comments/load_timestamp=20231031T171405Z/6a2a81a5-0026-4cb6-9a2d-c7b61e08628e.csv
starts with
comment 2 line 3",2000-01-22,2020-08-07 16:19:20.271932+00,Ppl User,485929
3,300,"add update text goes here.  add update text goes here.  add update text goes here.  add update text goes here.  add update text goes here.  add update text goes here.  add update text goes here.  add update text goes here.

add update text goes here.  add update text goes here.  add update text goes here.

Moving this back out of sprint, as the suggested fix is to preprocess the data, but this is not straightforward

if we handle it in the ingestion api, we will need to write an intermediate CSV file between raw/ and curated/

we cannot use athena to do the preprocessing, because the preprocessing is specifically to clean up files athena can't handle (at least when OpenCSVSerde is used)
we need to be careful that 5gb datasets don't exhaust the resources of the lambda (memory, execution time)
Possibly this could be done with pyarrow, which supports chunked reading/writing - but haven't tried this

I'm not sure if it would be possible to modify the data extractor COPY statement to include some preprocessing there instead

This is still happening even though we should be filtering out in landing to raw
2023-11-03T02:05:11.447+00:00 | INFO \| 2023-11-03 02:05:11 \| file is: s3://data-development20231011135451999500000005/raw/hmpps_pathfinder/v1.0/risk_banding_assessment/load_timestamp=20231103T020150Z/93d46c02-0eb8-4af4-aa54-167ec231b388.csv
-- | --
  | 2023-11-03T02:05:11.719+00:00 | INFO \| 2023-11-03 02:05:11 \| extracted 1.5MB sample of csv
  | 2023-11-03T02:05:12.052+00:00 | INFO \| 2023-11-03 02:05:12 \| temp_table_name='risk_banding_assessment_515b8821_08c0_43af_933e_34450f9f808f_raw' temp_database_name='data_products_raw'
  | 2023-11-03T02:05:12.194+00:00 | INFO \| 2023-11-03 02:05:12 \| extraction.timestamp=datetime.datetime(2023, 11, 3, 2, 1, 50) data_product_element.curated_data_table=QueryTable(database='hmpps_pathfinder', name='risk_banding_assessment')
  | 2023-11-03T02:05:12.609+00:00 | INFO \| 2023-11-03 02:05:12 \| created table data_products_raw.risk_banding_assessment_515b8821_08c0_43af_933e_34450f9f808f_raw
  | 2023-11-03T02:05:12.845+00:00 | ERROR \| 2023-11-03 02:05:12 \| No 'Contents' key found at data product curated path – the database doesn't exist and will be created
  | 2023-11-03T02:05:12.989+00:00 | INFO \| 2023-11-03 02:05:12 \| load_timestamp=20231103T020150Z exists = False
  | 2023-11-03T02:05:13.127+00:00 | INFO \| 2023-11-03 02:05:13 \| This is a new data product.
  | 2023-11-03T02:05:14.545+00:00 | ERROR \| 2023-11-03 02:05:14 \| Query_id 0c1711a4-e128-4005-980f-d5d9ba4a90ca, failed with response: INVALID_CAST_ARGUMENT: Cannot cast 'just checking I can add 500 chars to the 'provide details' field when disagreeing with a banding suggestion on the banding-approval page. just checking I can add 500 chars to the 'provide details' field when disagreeing with a banding suggestion on the banding-approval page. ' to BIGINT. You may need to manually clean the data at location 's3://athena-data-product-query-results-013433889002/tables/0c1711a4-e128-4005-980f-d5d9ba4a90ca' before retrying. Athena will not delete data in your account.
  | 2023-11-03T02:05:14.946+00:00 | INFO \| 2023-11-03 02:05:14 \| removed raw table data_products_raw.risk_banding_assessment_515b8821_08c0_43af_933e_34450f9f808f_raw

Have got a work around to create a new preprocessed csv with embedded line breaks removed that i've tested works from within a lambda container function.
Have tested this out in a lambda called csv_pp in the development account on files up to 500mb, to gauge viability of running this preprocess step from a lambda function.
Not yet thought about approach for implementing within the data ingestion flow.
Preprocess code below (used in lcsv_pp lambda for testing):
import csv
from smart_open import smart_open
import os

def handler(event, context):
    """
    Removes embedded \n line break characters from csv file values
    and writes a new csv file with these line breaks removed.

    Enabling csv with the embedded characters to be properly parsed via athena.
    """
    destination_bucket = os.getenv("data_bucket")
    bucket_name = event["detail"]["bucket"]["name"]
    in_file_key = event["detail"]["object"]["key"]

    destination_key = in_file_key.replace("landing/", "preprocess/")
    full_s3_path = os.path.join("s3://", bucket_name, in_file_key)
    with smart_open(
        full_s3_path,
        "rb",
        encoding="utf-8",
    ) as infile:
        reader = csv.reader(infile, delimiter=",")
        with smart_open(
            f"s3://{destination_bucket}/{destination_key}",
            "w",
        ) as outfile:
            writer = csv.writer(outfile)
            for line in reader:
                newline = [val.replace("\n", " ") for val in line]
                writer.writerow(newline)

fyi, the above solution works via a lambda function but for a 5GB file it timed out (>15minutes). I think it would need approximately 90s more time so this wouldn't be a suitable solution where ingested data are at the maximum 5GB size


Unexpected token in Safari

Thanks for sharing your work! I’m excited to try it out. It may not be working as expected. I’ll look into why, but here are the details.

URL: https://vanillawc.github.io/wc-monaco-editor/demo/demo.html
Browser: Safari 13.0.2 (156<IP_ADDRESS>.1)
Error: SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list.

Upon further investigation, the issue I am experiencing in Safari is because field declarations are not yet supported in that browser.

Chrome Platform Status: https://www.chromestatus.com/feature/6001727933251584
Safari Status: https://bugs.webkit.org/show_bug.cgi?id=174212

This can be worked around by putting those declarations in the constructor; from:
export class WCMonacoEditor extends HTMLElement {
  __element = null;
  __editor = null;

To:
export class WCMonacoEditor extends HTMLElement {
  constructor () {
    super();
    __element = null;
    __editor = null;
  }

Thanks for taking the time to file this issue. Awesome quality bug report :+1:
This should be fixed in the 1.0 release. I'm going to close this issue for now. If you're still have issues after updating the package, don't hesitate to reopen it.


ProgressDialog

Is it possible to use "materialization" of ProgressDialog with the library?

Changing the progress bar's theme color will be a feature in the next release: https://github.com/afollestad/material-dialogs/commit/92eac3e5541f4066a52eaf496ed75c82d28c5af2

https://github.com/afollestad/material-dialogs/releases/tag/v<IP_ADDRESS>

Hi, I found that progress dialog not with the rounded corner as AlertDialog, how to do like that


problem with vuex-persistedstate

Hi guys! I have a problem:
I have store:
import Vuex from 'vuex';
import auth from 'src/store/modules/auth';
import createPersistedState from 'vuex-persistedstate';

export const plugins = [
  createPersistedState(),
];

export default new Vuex.Store({
  strict: process.env.NODE_ENV !== 'production',
  modules: {
    auth,
  },
});

and I got a error:
ReferenceError: window is not defined
    at createPersistedState (D:\Projects\Vue\Smart Landing\smart-landing-client\node_modules\vuex-persistedstate\dist\vuex-persistedstate.js:54:66)
    at Object.module.exports.Object.defineProperty.value (src/store/index.js:6:2)
    at __webpack_require__ (webpack:/webpack/bootstrap 9f07d01ff16351a90719:25:0)
    at webpackContext (webpack:/src/store ^\.\/.*\.js$:6:0)
    at getModule (.nuxt/store.js:9:13)
    at Object.module.exports.Object.defineProperty.value (.nuxt/store.js:31:19)
    at __webpack_require__ (webpack:/webpack/bootstrap 9f07d01ff16351a90719:25:0)
    at Object.<anonymous> (.nuxt/index.js:6:0)
    at __webpack_require__ (webpack:/webpack/bootstrap 9f07d01ff16351a90719:25:0)
    at Object.module.exports.Object.defineProperty.value (.nuxt/server.js:10:0)
    at __webpack_require__ (webpack:/webpack/bootstrap 9f07d01ff16351a90719:25:0)
    at module.exports.$Object (webpack:/webpack/bootstrap 9f07d01ff16351a90719:93:0)
    at Object.<anonymous> (server-bundle.js:98:10)
    at evaluateModule (D:\Projects\Vue\Smart Landing\smart-landing-client\node_modules\vue-server-renderer\build.js:6967:21)
    at D:\Projects\Vue\Smart Landing\smart-landing-client\node_modules\vue-server-renderer\build.js:6985:15
    at D:\Projects\Vue\Smart Landing\smart-landing-client\node_modules\vue-server-renderer\build.js:6983:12

what do I do  wrong?

vuex-persistedstate uses window.localStorage to save the state and it's not available on the server.
You'll have to add mode: 'spa' to your nuxt.config.js so it only runs on the client side.

@cretueusebiu thank you! but I have Nuxt v 1.0.5, how can I update my project with<EMAIL_ADDRESS>to rc5?

Just run yarn add nuxt or npm install nuxt. Then see what changes you have to make to your project: https://github.com/nuxt/nuxt.js/releases

and what about files in dir .nuxt  will they changes automatic?

Yes, when you build it the env variables from your code will be replaced with the actual values.

@cretueusebiu answers are the same as mine :)

@cretueusebiu @Atinux
I updated Nuxt and set mode: SPA and vuex-persistedstate works good, but I got new problem, ssr stopped works, when I refresh page I see empty page and localhost:3000 - return html without current
rendered page, how can I fix it?


Controller parameter inference and complex types for query strings

Is this a Bug or Feature request?:
Feature request
Steps to reproduce (preferably a link to a GitHub repo with a repro project):
Decorate a controller with [ApiController]
Create a controller method with a complex object as a parameter, decorated with [FromQuery].
Calling the controller method will return an HTTP 400.
Description of the problem:
I believe using parameter inference causes a 400 response when passing in a complex object as a query string parameter.
I assume this is because complex objects are inferred as coming from the body, as noted here: https://docs.microsoft.com/en-us/aspnet/core/web-api/index?view=aspnetcore-2.1
However, there are times when I both want inference in a controller but also be able to override inference on a specific action method.  For instance when passing in a complex object for a query string:
        [HttpGet("")]
        public async Task<IActionResult> Get([FromQuery] PositionFilterViewModel filter)
        {
            PagedViewModel<PositionViewModel> positions = await _domain.GetPositionsAsync(filter);

            return Ok(positions);
        }

Unless I'm misunderstanding something, even when I specify [FromQuery] here, I still get an http 400 response because I assume inference is expecting the object in the body.  To me using a complex object as a query string seems like a common scenario.
It'd be nice to not have to go "all or nothing", forcing me to either have the controller decorated with [ApiController] or leave it out altogether.  I may perhaps want to add another controller method where inference is enforced.
Version of Microsoft.AspNetCore.Mvc or Microsoft.AspNetCore.App or Microsoft.AspNetCore.All:
Microsoft.AspNetCore.Mvc 2.1.1

You're most likely getting a 400 error because the model is failing validation. API controllers will automatically check ModelState.IsValid and return back 400 if there are errors.
Can you show the code for PositionFilterViewModel?
Do you have any non-nullable propertied that you're omitting?

If you want to disable the ModelStateInvalidFilter, you can set the SuppressModelStateInvalidFilter option in your Startup:
services.Configure<ApiBehaviorOptions>(o => o.SuppressModelStateInvalidFilter = true);

@khellang Thanks for the response.  I do not necessarily want to suppress the model state validation.  Here is my view model:
    public class PositionFilterViewModel : PagedViewModel
    {
        public List<string> Workstation { get; set; } = new List<string>();
        public List<string> Adloc { get; set; } = new List<string>();
        public List<string> Pin { get; set; } = new List<string>();
        public List<string> JobProfile { get; set; } = new List<string>();
        public List<string> Worker { get; set; } = new List<string>();
        public bool? IsVacant { get; set; }
        public bool? HasPrepAllocations { get; set; }
        public bool? HasErrorsOrWarnings { get; set; }
    }

And PagedViewModel?

Here is PagedViewModel.    I believe all properties on this class are set when making the call to the controller.
    public class PagedViewModel
    {
        public int CurrentPageNumber { get; set; }
        public int ItemsPerPage { get; set; }
    }

@dougbu, isn't this an effect of https://github.com/aspnet/Mvc/issues/7712 ?

@mkArtakMSFT this is not directly related to #7712.
@kakins you're combining two Mvc features that are not intended to work together. [ApiController] adds new conventions specific to API controllers while your controller is a view controller.
That said, you seem to appreciate the ModelStateInvalidFilter. Suggest adding that instead of trying to use [ApiController] for views e.g.
[TypeFilter(typeof(ModelStateInvalidFilter))]
public class YourController : Controller
{
    [HttpGet("")]
    public async Task<IActionResult> Get([FromQuery] PositionFilterViewModel filter)
    {
        PagedViewModel<PositionViewModel> positions = await _domain.GetPositionsAsync(filter);

        return Ok(positions);
    }
}

By the way, binding a complex type from the query string is entirely supported. I suspect [ApiController] causes model state errors in this particular case because values are submitted with names like filter.Workstation. [ApiController] doesn't use the parameter name unless your code is explicit e.g. public async Task<IActionResult> Get([FromQuery(Name="filter")] PositionFilterViewModel filter). But, again, use the filter rather than opting out of the many conventions that are not intended for your scenario.

@dougbu I guess I'm a little confused on what you mean by a view controller?  My controller is indeed supposed to be an API controller, no views are being returned -- and by that I mean nowhere am I returning View().  I also inherit from ControllerBase per the documentation for the new conventions.
You may be inferring that I am using a view controller by my use of a "view model"?  If so, know that this controller is called from an Angular front end.  The "view model" is just the shape of the JSON data I wish to return to the caller.
So with that said, I'm still not quite sure I understand what you meant by values submitted with names like filter.Workstation.  If you mean the values passed in from the query string in the URL, I'm fairly certain they look like the following: http://myurl.com/api/controller?workstation=A&workstation=B

Are you always including CurrentPageNumber and ItemsPerPage in your query strings? If not, I'd make them nullable.

@kakins you're correct I was confused by your "view model" types.
What you're doing should Just Work:tm: because [FromQuery] will override the BindingSource.Body inference. As @khellang suggests, http://myurl.com/api/controller?currentPageNumber=3&itemsPerPage=15 should silence the most likely model binding errors (int properties are implicitly required).
If other errors occur, please provide us with a minimal repro project that illustrates the problem, preferably hosted in a GitHub repo.

@kakins thank-you for your feedback. We're closing this issue as the questions asked here have been answered.


Story Download

Hi there !
i use this code to download all stories from user id
stories = cl.user_stories(user_id)
for story in stories :
        cl.story_download_by_url(story.pk,folder='stories/')

and then this error acuired
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='scontent-dfw5-2.cdninstagram.com', port=443): Read timed out.

story_download_by_url required url, not pk
https://adw0rd.github.io/instagrapi/usage-guide/story.html


Sankey: Better sizing logic

This PR fixes Sankey sizing issues #126 and #52, and adds a new example to the dev app.
https://user-images.githubusercontent.com/755708/216675769-688913d1-744c-4ed5-a2fa-e8bc9419f66f.mp4

@reb-dev At some point yes, but no as part of this PR. I've created a dedicated ticket for it.


Use locale keys to correctly pluralize signature counts

The i18n gem has a feature where if you pass it an option called count then it will use the sub key called one if the value of count is 1 and if the value of count is more than 1 then it uses other. Coupled with the use of the html key to mark the output as HTML-safe allows us to localize the language and formatting if needed at some point.

The spec feels a little like gold-plating but it only took 5 minutes to write so I though I'd add it anyway.

Gonna merge this so I can rebase #128 and use this technique where it writes some signature counts to the page.


Add two arguments for gzip compression to save network traffic

add initial arguments for gzip compression:
gzip_compression_level: the default compression level is 6, and can't change
compression_lower_bound: the gzip will compression all data even the data size is tiny
After adding these two arguments,  we can cut off 50% of network traffic in sacrifice of 5%-10% cpu.

@markdroth already fixed some comments, we can move on this

@markdroth let's move on

I think there's mixing of concepts going on. Compression level for gzip is trivial and requires no negotiation. What's going on here is there was a concept of general-purpose level like "low" which sets the algorithm and level, like gzip level 3 or lzo. https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-levels-and-algorithms
Channel arguments seems a poor fit; this sort of configuration should really be per-RPC. I think we had thrown around an idea earlier that we could have algorithms "gzip-9" and "gzip-1" to specify levels if needed.

Channel arguments seems a poor fit; this sort of configuration should really be per-RPC.

I think there is already compression options in channel settings. This compression level settings can act as the default choices.
By the way, I found the original level implementation is quite confusing. Giving that we already set a compression algorithm and a compression level, everyone would expect the level is just a different compression level of the same algorithm. But now it will actually change the compression algorithm instead.

I think we should step back here and figure out how we want this to work in a cross-language way.  I don't want to add options in C-core that are semantically different from what we support in other languages.
I suggest you put together a gRFC to propose how you think this should work.  Once we have consensus on that, we can come back to talk about the implementation.

This needs a gRFC for the design before it can go anywhere, so I'm going to close this for now.


Modified our team page to the current version of EvalAI

Screenshot:

Codecov Report

Merging #137 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #137   +/-   ##
=======================================
  Coverage   53.35%   53.35%
=======================================
  Files          55       55
  Lines        2356     2356
  Branches      253      253
=======================================
  Hits         1257     1257
  Misses       1026     1026
  Partials       73       73

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 a5c7cae...781cbdf. Read the comment docs.

@Sanji515  Actually, I was unable to see it on the surge and not sure if it's working on all the devices. You may want to add tests and resolve a minor comment.

You may want to add tests and resolve a minor comment

done. Please review


add css for printing tasks directly from courseware

This basically hides header, footer, menu and a few other elements, so that is is possible to comfortably print tasks directly from courseware page

@encukou Can you review and merge this? Thanks.

@encukou @messa @brabemi @frenzymadness Can you review and merge this? Thanks.

The diff looks good to me but I don't have time to test it. Could you please attach a test print (to pdf) here before and after this change?

I like the result, thank you. If nobody wants to block this, I'm gonna merge it tomorrow.