@timestamp in search and NOW

Hello.
Why if I do a search by @timestamp in the search field I have to add +01:00 to match my local time and if I do the same using the NOW button it is not necessary??
The problem is that I need to make a range search and with NOW button It can't be done.

What is the local timezone in your browser? Now converts the time into UTC before sending to server.

how can I convert it to UTC in the search bar without knowing the local timezone? Because I know that putting +01:00 works, but if another person that doesn't kniw the local timezone uses it it will be so annoying

Currently logtrail does not parse/ pre-process the search text. Local timezone is the current timezone of the machine.

Also I noticed that if I use multi logtrail system, in the first one, putting display_timezone to UTC it shows the hour correctly, but in the second one, it allways shows 1 hour less although I change the display_timezone of the second one.
The first one is about syslog, and the second are PINGs of our network. Can it be because syslog sends the data in UTC, and PING sends with local timezone? But setting the second display_timezone to local doesn't work either.

I have a multi logtrail json file, one part is for syslog, and the other is for PINGs of network machines. Can it be that the syslog sends the timestamp in UTC, and the PINGs are in local timestamp? Because setting the dislplay_timezone as mentioned, now the syslog time search works ok, but the PING shows the time 1 hour less and the search has to be with +01:00


Video lost when we swap between map and video in main screen (Applies to "WORK" branch)

We now got the google map working, and can set the street map of the satellite image, however when we swap back and forth between the small map and video (by hitting the small tile), we lose video.

See new vars useOutputSurface and useCustomDecoder.
The video code is a mess and must be cleaned and separated from MainActivity.
The new Plugin interface could be used to keep the code easier to maintain.
The video code should also be remerged with the latest version of the DJI Video Sample App.
This version includes Rosetta's RTP streaming code:
https://github.com/kripper/DJI-Android-VideoStreamDecodingSample

I'm sure every line of code costed many hours of research and testing.

Mostly the video stuff, but also mostly because DJI code was super cursed for over a dozen versions of my S21, so i was essential hunting ghosts to get whatever implementation doesnt choke the hw decoder in kernel :P

Yeah, I ended up sending YUV frames via TCP.
RTMP was too slow and RTP has issues with the NALU splitting on the Mini (I believe).
The latest video sample app from DJI does things we are not doing on Rosetta.
For example, they add a keyframe to the queue which is obtained by a magic resource ID that is different for every drone model.
Can you please check if it works with your mini 2?
https://github.com/kripper/DJI-Android-VideoStreamDecodingSample
Winter is only good for hacking at home on stuff like the video issues.
Regarding the code, we need to:

separate the video code from the MainActivity and use classes like the VideoService class.
keep the code easy to compare and merge with upstream changes in the Dji sample app.
remerge with upstream (eg. add keyframes and magic resource IDs like in the sample app)
define clear video mode variables to determine which code is executed and when (like the demoType variable usted by the sample app). If you mix two video modes (eg. use MediaCodec and texture surface at the same time) the video buffer gets corrupted.
use enums or booleans. We have two video mode integer variables that control who knows what
identify similar code and replace code that is specific for one model for generic code
in general, replace our hacks for latest upstream code
etc

For example, they add a keyframe to the queue which is obtained by a magic resource ID that is different for every drone model.

Its just a prepared keyframe for the drones, their reference impl absolutely did nott work (on my phone) and hence i needed to do a roundabout

Basically you need to transcode to recieve proper periodic keyframes

Please note that I never merged your pull request and I also rewrote the PID motion routines recently (and removed the incomplete cruising mode which was the only code I started to merge from your fork), so all your effort and time you worked hacking on the video is only preserved at the moment in your own experience and knowledge, but not in Rosetta's codebase.
It would be nice if you could somehow share the valuable results of your hard work (FWIW) via a pull request based on master.

Cruising mode was not incomplete, the only thing missing was flying proper arcs on early wp handoff.
Any change in behaviour to that will likely not lead to the desired result, didnt look at your changes tho.
Regarding PID you essentially can't change it. The algos don't change and thus the values dont change if u feed it the same data.
 :P

Btw, i added an internal simulator to test and debug PID code
You can now fly a virtual drone in QGC without a real drone.
It is enabled when your enter test mode (5 clicks on the logo)

Btw, i added an internal simulator to test and debug PID code You can now fly a virtual drone in QGC without a real drone. It is enabled when your enter test mode (5 clicks on the logo)

Yea that doesnt work, simulator also simulates wind speed, drag coefficient among maner other things

Also without proper PID, even in your sim, it might not show that, but it will constantly stop-counteract-stop-resume when its closing in on the target values if they arent finely tuned. The values will constantly be too high or too low and it needs precision to walk that edge

I didn't remove the PIDs of course. Just the code using the PID for cruising mode that I found on your pull request.

Oh thats mandatory. If you set integral (iirc) not to zero it WILL counteract, thus removing the whole purpose of cruise mode.
Its supposed to stop SHORT of the target, let inertia do the rest and then continue to the next waypoint.
Yours will stick for a while on target until it confirms the GPS target, thats approx 3-5sec overhead per waypoint, quickly sums up!

To do it with PID's and have the same behaviour you would need to calculate a arc from the pos, the target and the new waypoint and fly that and hijack the motion complete logic

Also, relevant for this issue (#47), did you also fix when its running in the background?
I had to move it to a EGL offscreen buffer so QGC stream works when switching to the QGC app

Also, relevant for this issue (#47), did you also fix when its running in the background? I had to move it to a EGL offscreen buffer so QGC stream works when switching to the QGC app (rosetta in bg)

I fixed some related issues (for  example, there was a crash when MediaCodec was being used at the same time), but the code changed a lot and must be tested again.

Regarding video, I won't continue maintaining or working on video reated code until 1) the DJI sample app + Rosetta's streaming code [1] works for me (DJI Mini SE) and 2) we replace all the video code in Rosetta for this (upstream maintained) code.
[1] : https://github.com/kripper/DJI-Android-VideoStreamDecodingSample

Or because I was changing the PID components when close to the target.
BTW, do you think we should reset the PID under some circumstances?

reset it to prevent a overfit on the data (wind may change etc), so should be done periodically, the sweet spot i cant tell u.

also you absolutely have to reset when changing the pid values

I believe we should reset explicitly the PID every time we change significantly the setpoint (target value). For example, when we receive a new GOTO command or when we reached a WP.
Anyway it seems that in MiniPID.getOutput() the accumualted error is automatically reset when it is too big.

I believe we should reset explicitly the PID every time we change significantly the setpoint (target value). For example, when we receive a new GOTO command or when we reached a WP.
Anyway it seems that in MiniPID.getOutput() the accumualted error is automatically reset when it is too big.

I should remind you, this is a system where human lives could be on the line. By the time the error accumulated it may be too late already, generally a good reset point is between wp's, but it then also might show a boundary-jumping behaviour on the first signal inputs. PID isnt smart, it goes one direction until the signal doesnt go the way it wants to.
So at first it may send output to go in the wrong direction and correct it next iter

That is the problem. If the WP are rounded and continous (connected, non-stop) and if we reset the PID in the middle we will have the boundary jumping behaviour.
Currently we are not resetting at all.
MiniPID.getOutput() is exectued each 50 ms and resets this way:
        // Figure out what we're doing with the error.
        if (minOutput != maxOutput && !bounded(output, minOutput, maxOutput)) {
            errorSum = error;
            // reset the error sum to a sane level
            // Setting to current error ensures a smooth transition when the P term
            // decreases enough for the I term to start acting upon the controller
            // From that point the I term will build up as would be expected
        } else if (outputRampRate != 0 && !bounded(output, lastOutput - outputRampRate, lastOutput + outputRampRate)) {
            errorSum = error;
        } else if (maxIOutput != 0) {
            errorSum = constrain(errorSum + error, -maxError, maxError);
            // In addition to output limiting directly, we also want to prevent I term
            // buildup, so restrict the error directly
        } else {
            errorSum += error;
        }

ramp it up?
Slight overshoots are normal pid behaviour tho, you just need to minimize on the start.
Ofc this costs latency


✨feat: Add maxLines, maxTokens and temperature settings

Introduce 'maxLines' and 'maxTokens' configurations to provide finer control over the inference engine
Introduce 'temperature' configuration to control the creativity level of model responses (lower is better in coding and by default ollama use 0.8)

Perfect! Thanks!


Fix memory leakr in reward modeling

This PR fixes a memory leak: see the chart below. No evidence of regression but this PR uses much less memory through the course of training.

Tested it extensively. Merging as is.


MacOS Monterey or older: The Dock widget disappeared after Lock screen

Describe the bug
This is supper annoying to me since I lock my screen pretty often when away, every time I log back in, the Dock widget gone, but the app still running.
How to reproduce
Steps to reproduce the behavior:
1. Go to Apple logo -> 'Lock Screen'
2. Log back in
3. See error

Versions:

macOS version: 12.0.1 (Monterey)
Pock version:  0.9.0-22

same issue

Same here

A compromise approach is to double click ctr key when it unexpectly switch to default layout.
By my painful test:

when logout and login in short time. Mac os will reset touchbar to the system dedault layout and Pock don't override system layout (however override with long time logout).

It also encounter this situation is unintentionally double click ctr key.

So getting used to Pock' function that double press ctr key to switch system layout and pock layout.

A compromise approach is to double click ctr key when it unexpectly switch to default layout.
By my painful test:
when logout and login in short time. Mac os will reset touchbar to the system dedault layout and Pock don't override system layout (however override with long time logout and login).
It also encounter this situation when unintentionally double click ctr key.
So getting used to Pock' function that double press ctr key to switch system layout and pock layout.


Standalone pods lost after Kubernetes upgrade

Rancher versions:
rancher/server or rancher/rancher:
Steps to Reproduce:

Create a Kubernetes setup with v1.6.21 .
 I am unable to reproduce this issue using rc3.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Add shields?

Is there an add shields plugin? If not, I'll make it now. :)

Nope, not yet! The tests in this module and this project might be useful though!

Great, thanks!


Memos should display in multi-sig transactions

With the deploy of RC14 to production, memos are no longer visible in Alberto multi-sig transactions.

Confirmed working here: https://alphatestnet.liftedinit.tech/#/accounts/mqdjnydq6funtibfdehemay6lwirrgeroazmqqhhac2jaq5yaaaaayf


Openning GLTF models in Sample Project

Hi, I'm trying to explore the sample project. I could load sample models in scene "TestSceneScene" in Unity 5.6 and could see the models. However I tried to put my own exported gltf models in the same folder and load them by changing the path in GLTFComponent script. But every time it gives me the error :

404 - http://localhost:8080/TestScene/myModel.gltf
UnityEngine.Debug:LogErrorFormat(String, Object[])
UnityGLTF.Loader.c__Iterator1:MoveNext() (at Assets/UnityGLTF/Scripts/Loader/WebRequestLoader.cs:48)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

and also this error :

Exception: Response code invalid
UnityGLTF.Loader.WebRequestLoader+c__Iterator1.MoveNext () (at Assets/UnityGLTF/Scripts/Loader/WebRequestLoader.cs:49)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

I'll appreciate if someone can help me with this.
Thanks

anyone knows why?

Hello, sorry for pushing this old issue, but I have the exact same errors and couldn't find any solution for it.
I'm totally new to glTF and after a little bit of trouble building/compiling the visual studio project I finally managed to get it done, but now when playing the example scenes I also get the 404 and Exception error. At first there was also a "Starting web server..." message but after copying the models  to the www folder (and commenting out one line of code, which did nothing) like this thread suggested https://github.com/KhronosGroup/UnityGLTF/issues/162 the message disappeared, but I still can't see any models just the floor plane and those two error messages remained.
Now I'm wondering if it's trying to start or reach a web server and if the problem might have to do with me being required to work behind a proxy from my company. I have already set the HTTPS_PROXY and HTTP_PROXY as system environment variables in Windows and want to know if UnityGLTF needs any further special settings?

Confirming this error in 2018. The resolution posted in issue #162 worked for me though.
See the steps here

I get this with Unity 2018.2.4f1 and even 5.6.5f1, but it was nothing to do with the Unity version for me.
It was because I had downloaded the First built unity package release of UnityGLTF UnityGLTF.unitypackage (804 Kb) which comes with the Example .unity scenes but not the www folder that is needed at the same level as the Assets folder.
Downloading the UnityGLTF-master.zip of the project and copying the www directory into my local Unity project directory fixed the problem, as shown here:

Hopefully this helps others who get the same Exception: Response code invalid error. message.

I got this error with the current released version. Will there be a new one without this issue?


[Feature Idea] Remove Padding of built-in images

Before, there was a 1px gap around all images in divoom_pixoo/img (weather not affected).

(This is how it looked in PyCharm. The black around the shape is black, and not transparent, which could "overwrite" stuff that's under it.)

I think I used the wrong word. I think "border" would be more appropriate than padding. My PR removed the black border around the built-in images.

hey i'm sorry that i'm only reacting now. so in this case the border doesn't really bother, but in case the pictures are used for own pages you are right if you need a border you can put a rectangle underneath ;D... I will merge the PR but will not make a new version for it now but with the next release


InMemory: after adding LoggerFactory to dbContext,  dbContext can't access data (all tables are empty).

create dbcontext over inMemory data provider
add some data using first instance of dbContext
check that data exists with second instance of dbContext (yes it is exists)
create third instance of dbContext (but this time add LoggerFactory for custom logging)
4b. try to return data from third dbContext - data source is empty

expected behaviour - data added on step 2 should be there. but it is absent. it seems like adding LoggerFactory brokes service cache of your service locator.
if you will add the data (in this third dbContext) you will see that custom logging works. but again this data will be not accessed through forth dbContext
if this is not an error it is a clear abstraction leak.
please, do it simple - make a logging first of all injected through dbContext constructor, after this you can invest your time to other fancy methods "compatable with ASP". now you do not have basics.
Code important for understanding:
        public static DbContextOptions Build(string connectionString, Action<string> verbose = null)
        {
            var optionsBuilder = new DbContextOptionsBuilder<MyDbContext>();
            optionsBuilder.UseInMemoryDatabase(connectionString);
            if (verbose != null)
            {
                var loggerFactory = new LoggerFactory(new[] { new MyLoggerProvider(verbose) });
                optionsBuilder.UseLoggerFactory(loggerFactory);
            }
            return optionsBuilder.Options;
        }

        internal static void InMemoryTest()
        {
            var connectionString = Guid.NewGuid().ToString();
            using (var dbContext = new MyDbContext(MyDbContext.Build(connectionString)))
            {
                var parentRecord1 = new ParentRecord()
                {
                    FieldA = "1_A",
                    FieldB1 = "1_B",
                    FieldB2 = "1_C",
                    FieldCA = "1_1",
                    FieldCB1 = "1_2",
                    FieldCB2 = "1_3"
                };

                var parentRecord2 = new ParentRecord()
                {
                    FieldA = "2_A",
                    FieldB1 = "2_B",
                    FieldB2 = "2_C",
                    FieldCA = "2_1",
                    FieldCB1 = "2_2",
                    FieldCB2 = "2_3"
                };

                dbContext.ParentRecords.Add(parentRecord1);
                dbContext.ParentRecords.Add(parentRecord2);
                dbContext.SaveChanges();
            }

            int id = 0;
            // ACT1: works well
            using (var dbContext = new MyDbContext(MyDbContext.Build(connectionString, null)))
            {
                var parentRecords = dbContext.ParentRecords
                   .Include(e => e.ParentRecordHierarchyRecordMap)
                   .ThenInclude(e => e.HierarchyRecord).ToList();
                var parentRecord = parentRecords.First(e => e.FieldA == "1_A");
                id = parentRecord.ParentRecordId;
            }

            // ACT2: the same + verbose ruins test !
            // throws ': 'Sequence contains no matching element' means can't access data
            var messages = new List<string>();
            Action<string> VERBOSE = (text) => {
                messages.Add(text);
                Console.WriteLine(text);
                Console.WriteLine();
            };
            using (var dbContext = new MyDbContext(MyDbContext.Build(connectionString, VERBOSE)))
            {
                var parentRecords = dbContext.ParentRecords
                   .Include(e => e.ParentRecordHierarchyRecordMap)
                   .ThenInclude(e => e.HierarchyRecord).ToList();
                var parentRecord = parentRecords.First(e => e.FieldA == "1_A");
                id = parentRecord.ParentRecordId;
            }
        }

Whole project: ConsoleApp1.zip
Further technical details
EF Core version: 2.0.1
Database Provider: InMemory
Operating system: Windows 10
IDE:  Visual Studio 2017 5.0.5

Duplicate of #9613

So this means "it is normal since  abstraction leaks are normal with EF core /ORM and ASP tubes".
They can explain this way any design fail.


weechat: 2.9 -> 3.0

Motivation for this change
https://github.com/weechat/weechat/releases/tag/v3.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

still no xdg support :'(


No led lit when expecting user presence

Does it actually test user presence? Testing on Yubico's U2F Demo Site, it successfully registers without any TUP.
It might be interesting to run this though the FIDO Alliance Test Tools too.

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 6, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
dave-trudes, @sunphy, @zhidadiyu, @lucxsdev, @sepahrad, @jenut, @tadas-subonis, @minaminao, @g0720664, @kumarsushant723, @shlavik, @Derrickpjy, @notatestuser, @SuperFluffy, @yyy256, @ly95, @baoyunfan, @mgurevin, @chrisdannen, @206613263


Please expose the command line for the monitored processes

It would be very useful when having multiple instances of the same process with different command line arguments.

This may make sense as an _info metric, but generally Prometheus is not intended for this class of monitoring.

When having multiple instances of the same process, the command line could be the only way to group them in a human-friendly way (think java.exe on some application servers).
The command line can be retrieved with this query: select Handle, Name, CommandLine from Win32_Process (Handle seems to be identical with ProcessId, and Caption seems to have the same value as Name).

As a workaround I'm using metricbeat 6.2.1 which is also collecting the command line for monitored processes (a logstash regex is providing the extra context info for my dashboard).

Currently our position is that we will not be implementing this - it will likely lead to an explosion of the number of series, which will potentially have negative consequences for the Prometheus server.


[hudi-client] Code-cleanup,remove redundant variable declarations

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2956 (fd69fdc) into master (8869b3b) will decrease coverage by 45.52%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2956       +/-   ##
============================================
- Coverage     54.79%   9.27%   -45.53%
+ Complexity     3817      48     -3769
============================================
  Files           483      54      -429
  Lines         23347    2016    -21331
  Branches       2491     241     -2250
============================================
- Hits          12794     187    -12607
+ Misses         9399    1816     -7583
+ Partials       1154      13     -1141

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.27% <ø> (-60.32%)
48.00 <ø> (-330.00)

Flags with carried forward coverage won't be shown. Click here to find out more.


chore: add Kuaishou to ADOPTERS.md

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Add Kuaishou to ADOPTERS.md.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Thanks for your work, It's a great honor for Kuaishou to join this great project.


Fix latest pylint errors and mergify automerge

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.703%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2331

Relevant Lines:
2853

💛  - Coveralls


custom.css can't override pygments.css

I was looking to change the color of the pygments highlight section.  The HTML code is generated as:

...
code line not highlighted
<span class="hll"> code line highlighted
</span>
...

I tried to change the background-color in the hll class using my custom.css, but it wasn't working.  Then I realized the pygments.css is included in the header after the custom.css:

...
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
...

Could you ensure custom.css always comes last?  Would these things a lot easier.

Makes sense. I'd be happy to review a pull request that makes that change.
On Wed, Sep 30, 2015 at 9:40 AM -0700, "ecbftw"<EMAIL_ADDRESS>wrote:
I was looking to change the color of the pygments highlight section.  The HTML code is generated as:
...
code line not highlighted
 code line highlighted

...
I tried to change the background-color in the hll class using my custom.css, but it wasn't working.  Then I realized the pygments.css is included in the header after the custom.css:
...

...
Could you ensure custom.css always comes last?  Would these things a lot easier.
—
Reply to this email directly or view it on GitHub.

Pretty straight forward... see if this works.

Looks like this was fixed in 2015; closing the issue.


Update alpine 3.13 to 3.14

How to categorize this PR?

/area open-source
/kind cleanup
What this PR does / why we need it:
Updates base images from alpine 3.13 to 3.14 (which also updates python 3.8 to 3.9) so that newer versions of cicd libs can be installed.
/invite @schrodit
cc @vpnachev
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

If you can ensure this image will run on new enough container runtime (see https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2), I am fine, but I would suggest to keep running on 3.13 for some more months.

Turns out we do have runtimes with not sufficiently new runc version, hence alpine 3.14 is not an option yet...
/hold

Turns out we do have runtimes with not sufficiently new runc version, hence alpine 3.14 is not an option yet...

These runtimes are now upgraded to recent enough runc/docker/libseccomp versions to be able to use alpine 3.14.
/unhold

cc @ccwienk @jkrayl


How use this lib?

Hi!
I'm triying to create a page with multiple chars in same page, but I don't understand this lib, is server or client side?
How can I use with a single file in client, or make functional in server, whatever works is valid to me.
Thanks :)

Hi!
The simplest way depends on your goal:

If you want to create a page that is fully public (accessible for anyone on the internet) you simply have to create a GitHub gist. Follow this guide: https://kantord.github.io/just-dashboard/getting-started
You can self host this, for example if you want to add HTTP password. The easiest way is just to copy the "official" server's implementation, as it's pretty simple: https://github.com/kantord/bottoml.in-e

Alternatively, it's also possible to use it as a desktop application. You can take a look at this repo to see how it's done: https://github.com/kantord/ledger-cli-dashboard

Note that you don't need webpack if you use the official server or the desktop version.
Now, it's definitely possible to compile just-dashboard into a single file with all the dependencies. Perhaps the simplest solution is to just use webpack to do that, but as you want to avoid using webpack, you have alternatives.
Perhaps the simplest solution is to use https://unpkg.com/, which is a service that you can use to load npm packages in an HTML file using a

As you can see, I didn't have to load any dependencies and I didn't need any build systems at all.

Nice! The unpkg solution is what I want, thanks!
Last thing, how can I insert the char in div I choose? I tried that but nothing happend.
var json_code = dashboard.yaml_parser(code)
var render = dashboard.json_parser(json_code)
render(dashboard.d3.select(".mydiv"))
dashboard.d3.select(".mydiv").attr("class", "mydiv typeset")

Anyway thanks for the help :)

Any help? I can't make working :_(

I haven't tested this use case yet, as for now this library is more designed to create entire pages than small embedded things in a
. It's probably not impossible to do what you want. Perhaps you just selected the wrong
 in this line:
render(dashboard.d3.select(".mydiv"))

I'd look at the console in my browser to see if any errors come up.
Now, the easiest solution to embed a dashboard made like this would probably be simply to use an . https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

Just I need, thanks for the help a nice work :)


iPhone 14 pro and iPhone 15 Pro not able to focus QR code

Describe the bug
When trying to scan a QR code on another device from iPhone 14/15 pro (One with 3 cameras) The Camera does not focus to pick up the QR code.
Also note that if the QR code has big blocks, then it is sort of able to read the code, more noticeable when the blocks are smaller. No matter what I tried, it does not focus.
This is my current usage. I have tried various options
<Camera
          ref={ref}
          style={styles.camera}
          cameraType={CameraType.Back} // front/back(default)
          flashMode="auto"
          focusMode="on"
          zoomMode="on"
          resetFocusWhenMotionDetected
          // maxZoom={10}
          scanBarcode
          showFrame
          laserColor={colors.secondary}
          {...props}
        />

To Reproduce
Steps to reproduce the behavior:

Load a QR code of size: 240 on another mobile device
use this package in your app or test app to scan the QR code
In the camera viewport you are not able to focus

Expected behavior
Ising iPhone 14/15 device you should be able to focus on the QR code and be able to read it using the camera
Screenshots
If the issue is a visual glitch or UI issue please provide screen shots.

Smartphone (please complete the following information):

Device:  iPhone14 Pro, iPhone14 Pro Max, iPhone15 Pro
OS: iOS 17.2
React Native: "0.72.3"

Check to see if this helps:
https://github.com/teslamotors/react-native-camera-kit/issues/533#issuecomment-1678245167
Seems a new beta version might do the trick

Check to see if this helps: #533 (comment)
Seems a new beta version might do the trick

Thank you, This worked I applied<EMAIL_ADDRESS>


Emacs crashes session if run early

More often than not emacs crashes the session if it is started quickly. However, waiting a minute or so and then starting emacs seems to work consistently (at least in my small number of tests so far).

@rgardler Are you still experiencing this issue?  Also to clarify what do you mean by session?  NT Session or WSL Session?

Closing this out since I have been unable to reproduce this.  Please let us know if you are continuing to see this issue in newer Windows Insider Fast Ring builds.


Team sync - July 18, 2024

Please take a moment to update the Post PST A11y Audit project board.
Then please provide your updates using the following template. (You may have work outside the post-audit tasks, please include that work, too.)

Progress made since last sync, if any
Currently working on
Blockers, questions, or anything the team can help you with
Needs discussion
Upcoming PTO
How many hours per week you have allocated to this project

Previous: Team sync - July 11, 2024

Progress made since last sync, if any

A11y for light dark button, need review/thoughts from @isabela-pf for the text.

Currently working on

^ Above and will work on collapsing UI.

Blockers, questions, or anything the team can help you with
Needs discussion

All good

Upcoming PTO

None

How many hours per week you have allocated to this project

Mixed 16h with 10h interactive docs and 6h maintenance and accessibility.

Progress made since last sync

Incorporated feedback into notebook authoring recommendations.
Posted rough outline for first event.

Currently working on

Finalize dates and make logistic choices for events.
Add links elsewhere in authoring recommendations.
Remove glossary/checklist in authoring recommendations.

Blockers, questions, or anything the team can help you with

I don't have any right now, thanks.

PTO

None upcoming.

How many hours per week you have allocated to this project

16

Minutes:

Talked about the Labs all hands coming up on Tuesday

Question: is this about Scientific Python CZI grant or about anything accessibility at Quansight?

I think it should be about anything accessibility

Gabriel to follow up on Slack

Talked about accessible names for the PST theme switcher

Isabela to follow up, but we don't want to spend too much time on this because it's not really critical for many screen reader users
Idea from Matthias (which I like a lot): perhaps make the theme switcher button open a dialog that lets the user choose which color scheme they want, but also informs them how to change the color scheme at the browser and/or system level.

Discussion of hover effect on collapsible admonitions

Sought clarification from Isabela if this referred to just the Sphinx-togglebutton admonition or all of the collapsible admonitions. Response: none of them had a clear enough hover effect.
Decisions made:

Consistency between all admonitions is desired
Underline is enough of a hover effect. (Could even underline the chevron icon, if necessary.)

Around the room updates


Text composables: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-classes-and-objects?authuser=2&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%3Fauthuser%3D2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-classes-and-objects#6
Describe the problem
To call the overridden method in the superclass from teh subclass
a minor typo spotted in bottom 90% of the text.

Hi @shlee4458
Thank you for writing in and bringing this to our attention.
It has been corrected and the updated content will be republished again in the near future.
Hope you are enjoying the course!
Regards.


Dependency resolution hangs  in one specific module at every time

Expected Behavior
Task could access current module and it's  children dependencies.
Current Behavior
Dependency resolution hangs on, not responding.
Context
We implement one task for accessing dependencies and it's children dependencies. This task is used for monitoring important module dependency change. However, This task would hangs on in Gradle 7.4.2, 7.5.1, 7.6.1. I've read this issue(https://github.com/gradle/gradle/issues/19837). I've tried higher Gradle version, but it doesn't works too. turn on or off gradle parallel status both I've tried, and it also doesn't work.
Steps to Reproduce
You could apply from this dependency-check.gradle in you root build.gradle file.
project.apply from: new File( 'depend-check.gradle')
afterEvaluate {
        project.tasks.findByName("dependencies").dependsOn project.rootProject.tasks.findByName("moduleDependencies")
}

Your Environment
Build scan URL: For the hangs on reason, I couldn't provide build scan url.
Gradle: Gradle 7.4.2
AGP: AGP7.2.2
Java: Java11
dependency-check.zip

Sorry that you're having trouble with Gradle!
We appreciate the effort that went into filing this issue, but we must ask for more information.
As stated in our issue template, a minimal reproducible example is a must for us to be able to efficiently track down and fix your problem. Our available resources are severely limited and we must be sure we are looking at the exact problem you are facing.
If we have a reproducer we may be able to also suggest workarounds or ways to avoid the problem.
The ideal way to provide a reproducer is to leverage our reproducer template.
This issue will be closed after 7 days unless you provide more information.

Unfortunately, I met this issue in my company project that is Monorepo structure. It is hard to reproduce it, because it needs at least hundreds of modules for reproducing it. I guess it it caused by dependency resolution lock. Temporarily, I downgrade my gradle from 7.4.2 to 7.3.3 that is minimal version required by AGP7.2.2. Now it works. If Gradle has template that has 400 modules at least, I promise I would reproduce this issue for you. Thank you for your prompt reply!

You could automate this by copying the project structure of your company monorepo, removing or replacing actual code while leaving dependencies untouched and obfuscating the real names of projects.
Another option might be to generate this from scratch generating a similar structure using a list of dependencies you already have.

You could try https://github.com/android/project-replicator which allows to extract anonymized data about your build that you can easily check for sensitive information leak and then generate a build from it. Despite the URL it is not limited to Android builds.

Thank you for your help! I would explore https://github.com/android/project-replicator. I will close this issue at first. If I could reproduce it, I will open another issue with reproduce template.


Compiling test_... strips exp() definition before use

In order to avoid missing math functions when linking the test programs, move the LDFLAGS (which notably contains -lm) to the end of the compile line.
cc -o test_guff test_guff.o -lm \
	args.o ascii.o counter.o draw.o fnv.o input.o regression.o scale.o svg.o  test_draw.o test_input.o test_regression.o test_scale.o test_types.o  -std=c99 -g -Wall -pedantic   -O3
/usr/bin/ld: ascii.o: in function `print_header':
/home/jeff/src/guff/ascii.c:63: undefined reference to `exp'
/usr/bin/ld: /home/jeff/src/guff/ascii.c:63: undefined reference to `exp'
/usr/bin/ld: /home/jeff/src/guff/ascii.c:57: undefined reference to `exp'
/usr/bin/ld: /home/jeff/src/guff/ascii.c:57: undefined reference to `exp'
/usr/bin/ld: scale.o: in function `scale_transform':
/home/jeff/src/guff/scale.c:45: undefined reference to `log'
/usr/bin/ld: /home/jeff/src/guff/scale.c:40: undefined reference to `log'
/usr/bin/ld: /home/jeff/src/guff/scale.c:45: undefined reference to `log'
/usr/bin/ld: /home/jeff/src/guff/scale.c:40: undefined reference to `log'
/usr/bin/ld: svg.o: in function `svg_plot':
/home/jeff/src/guff/svg.c:68: undefined reference to `log'
/usr/bin/ld: svg.o: in function `scale_tick':
/home/jeff/src/guff/svg.c:131: undefined reference to `log10'
/usr/bin/ld: /home/jeff/src/guff/svg.c:131: undefined reference to `pow'
/usr/bin/ld: /home/jeff/src/guff/svg.c:131: undefined reference to `log10'
/usr/bin/ld: /home/jeff/src/guff/svg.c:131: undefined reference to `pow'
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: test_guff] Error 1

0001-Fix-compile-instruction-for-test_.patch.gz

I had the same problem and yep this patch worked for me. You could make a pull request

I included a patch file.
I don't see how to create a PR from a patch.  But git can apply the patch (git apply file.patch), and we can discuss it here in this issue instead of in a PR...
(The patch file is gzipped because github won't upload files that match /.*patch$/.)

I don't see how to create a PR from a patch

I don't think you can without forking the repo


Non-deterministic snapshots on windows x64

https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-win-beta/165/overview exposed non-deterministic Windows x64 snapshots (strangely, ia32 snapshots seemed to be deterministic).
Non-deterministic snapshots:

bin/snapshots/analysis_server.dart.snapshot
bin/snapshots/dart2js.dart.snapshot
bin/snapshots/dartdevc.dart.snapshot
bin/snapshots/kernel-service.dart.snapshot

https://chrome-infra-packages.appspot.com/p/flutter/dart-sdk/windows-amd64/+/git_revision:d916a5f69a486de98316900f19ef0ff46834b03d
https://storage.cloud.google.com/dart-archive/channels/beta/raw/hash/d916a5f69a486de98316900f19ef0ff46834b03d/sdk/dartsdk-windows-x64-release.zip
@rmacnak-google any ideas?

Also, it's not all snapshots in the SDK, just some.

IA32 is special because it doesn't support AppJIT (for the same reason it doesn't support AOT: our IA32 code isn't relocatable). So this is probably non-determinism in the AppJIT training. It could be an issue in the VM, or it could be that the training programs are non-deterministic.

@athomas how critical is it for these snapshots to be deterministic? The training run variation potentially leads to this non determinism, doing a training run with just --help  might fix it but that would not be ideal.
We are also working towards switching all these snapshots to AOT snapshots and maybe that is the right fix for this.

If we think we'll have the AOT snapshots in a reasonable timeframe, then I'd rather we go for that. I don't know how frequently this will still happen in the release process (I implemented some retries to mitigate this failure mode) and there is a workaround (bump the version, create a new release).

This reproduces on Linux.

Now I only observe non-determinism for the analysis server snapshot. I see that during its training run, it uses timers, which would cause non-determinism.


Revert "Make the canonical loc of a symbol the strictest"

Reverts sorbet/sorbet#2873

Did we understand why this caused regression?

Did we understand why this caused regression?

My best guess is that it's the loop in bestNonRBIFile.

From perf:
+   70.78%    70.55%  typeche  sorbet              [.] sorbet::definition_validator::bestNonRBIFile

my guess: the loop in bestNonRBIFile loops over all locs for a class
 has something like 65,000 locs
every file has a  constant reference
there are 65,000 files

From perf:
+   70.78%    70.55%  typeche  sorbet              [.] sorbet::definition_validator::bestNonRBIFile

my guess: the loop in bestNonRBIFile loops over all locs for a class
 has something like O(num files) locs
every file has a  constant reference
which makes this accidentally quadratic

Stripe build: https://go/builds/bui_H9BHwSLfo8H7qN


Update modprobe in csi-rbdplugin to support zstd compressed rbd and nbd kernel module

Describe the bug
We cannot install ceph-csi on Ubuntu 24.04, because the rbd and nbd modules cannot be loaded. Reason is the csi-rbdplugin bundled modprobe version (25) lacks support for zstd compressed kernel modules.
Many distros nowadays ship their kernel modules zstd compressed.
Environment details

Image/version of Ceph CSI driver : 3.11.0
Helm chart version : n/a (we use rook to deploy ceph in kubernetes)
Kernel version : 6.8.0-35 x86_64
Mounter used for mounting PVC (for cephFS its fuse or kernel. for rbd its
krbd or rbd-nbd) : kernel
Kubernetes cluster version : v1.29.5
Ceph cluster version : v18.2.2

Steps to reproduce
Steps to reproduce the behavior:

Setup details: Deploy csi-ceph on k8s based on Ubuntu 24.04
See error in csi-rbdplugin:

  rbd_util.go:303] modprobe failed (an error (exit status 1) occurred while running modprobe args: [rbd]): "modprobe: ERROR: could not insert 'rbd': Exec format error\n"
  driver.go:154] an error (exit status 1) occurred while running modprobe args: [rbd]

Actual results
csi-rbdplugin is a privileged container mounted with mostly host bound resources and is in charge of loading the kernel module on the host for rbd and nbd. This fails, as modprobe bundled in the container is not able to load the modules, which are zstd compressed:
find ./ -type f -name '*rbd*'
./kernel/drivers/block/rbd.ko.zst

modprobe --version
kmod version 25
+XZ +ZLIB +OPENSSL -EXPERIMENTAL

We need a current modprobe version to support current versions of distros:
# cat /etc/issue && modprobe --version
Ubuntu 24.04 LTS \n \l

kmod version 31
+ZSTD +XZ -ZLIB +LIBCRYPTO -EXPERIMENTAL

Expected behavior
modprobe of csi-rbdplugin should be capable of loading zstd compressed kernel modules.
Additional context
https://github.com/ceph/ceph-csi/issues/4610 shows same errors, but seems the module was not even required.
Reports of same happening on SuSE, who ship modules also zstd compressed since 2021, can be found on the net.
Currently, only workaround seems to be to load the module with modprobe from the host machine. But a solution to keep csi-rbdplugin maintain this in future would be more of an elegant and permanent solution.

modprobe and other tools are part of the Ceph container image that is used as a baselayer for the Ceph-CSI container image. As soon as Ceph uses a more recent Linux distribution for their container-image, Ceph-CSI will be able to load the .zst kernel modules too.

Also note that you should be able to work around this issue by loading the module(s) any other way. A static configuration on the host that loads the modules on boot is likely the simplest.

We use ceph-csi in a highly dynamic environment, which spawns k8s worker nodes quickly in different environments. You are right, we can workaround this by fiddling with cloud-init, ansible and stuff.
However, having ceph-csi manage it's required modules itself is an elegant and clean way of doing it IMO. So, I'd rather fix this issue right where it's caused instead of workaround it by external additional solutions.

We also want to see a fix in the Ceph container-image for this. Once their container-image uses CentOS Stream 9, the issue should be resolved. See ceph/ceph-container#2183 for some progress, hopefully those images become available soon.

The quay.io/ceph/ceph:v18 container-image has been updated to CentOS Stream 9. The next release of Ceph-CSI should support the new zstd module format.


FormBuilderDropdown does not support multiple selections, nor does it support customization of the drop-down option component. Have you considered extending a FormBuilderDropdownButton2 (an extension of the DropdownButton2 component) to achieve the above functions?

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
9.4.1
What you'd like to happen
I hope to expand a form component that supports multiple selections in a drop-down list and custom drop-down list formbuilder widget.

Alternatives you've considered
No response
Aditional information
No response

Duplicate of https://github.com/flutter-form-builder-ecosystem/form_builder_extra_fields/issues/112


Termination character

I used your library and had the issue that putty did not support sensing commands with only a /n. I tried adding /r to all my command definitions. This worked until I started using the command parameters. In this case the /r  is appended to the end of the parameter and not to the command and the command can not be recognised by your library.
I think adding a simple trim command could fix this issue. Please have a look at my modification.

Thank you  and appreciate for your job
I forgot about \r

Thanks! Happy that I could help.
That also was my first pull request :-)
Have a nice time!
N_Magi @.***> schrieb am Sa., 4. Dez. 2021, 11:39:

Thank you and appreciate for your job
I forgot about \r
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/N-Magi/CliTerminal/pull/1#issuecomment-986006456, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKWVGCNTFANO5DXHH7YDU3UPHVVPANCNFSM5JLNI3DA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Combine all appends in RouterElement to one of for each scope

https://github.com/IBM-Swift/Kitura/tree/develop/Sources/Kitura/RouterElement.swift#L300

Issue update from @dfirsht "the code got moved around so look instead at RouteRegex.swift#L167. These append statements can be reduced to 1 line per case. For example the first one can be: regexStr.append("/(prefix)((matchExp)(?:/(matchExp))*)")"

I think the commit above was removed? I don't see these changes on develop.

Validated.


Convert CSV files to Excel workbooks - Office JS error: Line 33: Worksheet getRangeByIndexes

Hello,
I just got error from Power Automate after implement example convert CSV to Excel by following article bellow:
Article URL
Document about convert CSV to Excel
Issue
All step are working well but with large CSV file I run in troubleshooting and got error:
We were unable to run the script. Please try again.
Office JS error: Line 33: Worksheet getRangeByIndexes: The request failed with status code of 413.

Could you please have a look?
Thanks you
Thanh

@thanhrieker Thanks for letting us know about this.
@AlexJerabek Can you take a look?
Thanks.

Thanks for reporting this @thanhrieker.
Is this error happening when you run the sample in Excel or through Power Automate? If you're seeing it in Excel, can you please share the Session ID? You can find that by going to File > About. That will help our team debug the error.
For sample file the script running well through Power Automate. The error just occur when I run own large file.

If possible, could you also provide a version of the .csv file that is generating the error? Please make sure it does not contain any personal or sensitive information before linking to it. Thanks!

Sorry but I can not provide a version of the .csv file. But I can tell you the file with more then 46.000 rows and 62 columns. Split by semicolon.
Thanks you for your quick reply
Thanh

Thank you for the response @thanhrieker.
It looks like that error is generated when too much information is being transferred. If that's coming through Power Automate, I think you're hitting this limit:
https://powerusers.microsoft.com/t5/General-Power-Automate/Error-code-413-when-using-Get-File-Content-on-files-larger-than/td-p/212326
You could also be bumping against the 5MB read/write limit of Excel: https://docs.microsoft.com/en-us/office/dev/scripts/testing/platform-limits#excel
If it's the latter, you could try the second version of the CSV script (found here that goes row-by-row. That should split the operations into smaller pieces. However, you may then hit the timeout limit in Power Automate.
Let me tag @GeoffRen to see if he has any insight or suggestions.

Thanks you for your information. Yes, you are right. Our csv file come to the limit of Excel.

If it's the latter, you could try the second version of the CSV script (found here that goes row-by-row. That should split the operations into smaller pieces. However, you may then hit the timeout limit in Power Automate.

I already try both but:

The first script got error: "The number of rows or columns in the input array doesn't match the size or dimensions of the range."
Then try second script got that I report on this issue.

Thanks
Thanh

Just to confirm, you're using the second script because your CSV file doesn't have equal sized rows, correct? Something like this?
1,2
3,4,5
6,7

Also @wandyezj,
Any idea why this script is hitting the Excel limit? The write operations are separated in the loop by reads, which should force a trip to the server, right?
function main(workbook: ExcelScript.Workbook, csv: string) {
  let sheet = workbook.getWorksheet("Sheet1");

  /* Convert the CSV data into a 2D array. */
  // Trim the trailing new line.
  csv = csv.trim();

  // Split each line into a row.
  let rows = csv.split("\r\n");
  rows.forEach((value, index) => {
    /*
     * For each row, match the comma-separated sections.
     * For more information on how to use regular expressions to parse CSV files,
     * see this Stack Overflow post: https://stackoverflow.com/a/48806378/9227753
     */
    let row = value.match(/(?:,|\n|^)("(?:(?:"")*[^"]*)*"|[^",\n]*|(?:\n|$))/g);

    // Check for blanks at the start of the row.
    if (row[0].charAt(0) === ',') {
      row.unshift("");
    }

    // Remove the preceding comma.
    row.forEach((cell, index) => {
      row[index] = cell.indexOf(",") === 0 ? cell.substr(1) : cell;
    });

    // Create a 2D-array with one row.
    let data: string[][] = [];
    data.push(row);

    // Put the data in the worksheet.
    let range = sheet.getRangeByIndexes(index, 0, 1, data[0].length);
    range.setValues(data);
  });

  // Add any formatting or table creation that you want.
}

Just to confirm, you're using the second script because your CSV file doesn't have equal sized rows, correct? Something like this?
1,2
3,4,5
6,7

Hello,
Please have a look example CSV file in attachment.
Thanks
Thanh
help_csv.txt

Thanks for the sample file. I'll take a look.

Thank you @thanhrieker. I am able to reproduce the error locally now. My suspicion was correct the write operations are getting batched, so the script is trying to write all 46000 rows at once.
I'll try to figure out a workaround for this. My thought is that if we can break this up to batches of 10000 rows, everything should be fine.

Okay, I think I have made progress in finding a solution for you.
First, thank you for highlighting the gap in the article's coverage of semicolon-separated value files. I will update the article to be more inclusive of other systems.
As for the main concern, we can force the script to sync with the workbook at certain intervals, making sure the amount of data is less than the size limit. A console.log statement causes this sync. I added a counter to the row parser and have the script write a line to the console every 2500 lines. The higher this number, the faster the script will be, but the smaller the data chunks need to be. Here's my version of the script:
function main(workbook: ExcelScript.Workbook, csv: string) {
  let sheet = workbook.getWorksheet("Sheet1");
  /* Convert the CSV data into a 2D array. */
  // Remove any Windows \r characters
  csv = csv.replace(/\r/g, "");

  // Split each line into a row.
  let rows = csv.split("\n");
  let rowCount = 0;
  rows.forEach((value, index) => {
    if (value.length > 0) {
      /*
       * For each row, match the comma-separated sections.
       * For more information on how to use regular expressions to parse CSV files,
       * see this Stack Overflow post: https://stackoverflow.com/a/48806378/9227753
       */
      let row = value.match(/(?:;|\n|^)("(?:(?:"")*[^"]*)*"|[^";\n]*|(?:\n|$))/g);

      // Check for blanks at the start of the row.
      if (row[0].charAt(0) === ';') {
        row.unshift("");
      }

      // Remove the preceding comma.
      row.forEach((cell, index) => {
        row[index] = cell.indexOf(";") === 0 ? cell.substr(1) : cell;
      });

      // Create a 2D-array with one row.
      let data: string[][] = [];
      data.push(row);

      // Put the data in the worksheet.
      let range = sheet.getRangeByIndexes(index, 0, 1, data[0].length);
      range.setValues(data);

      rowCount++;
      if (rowCount % 2500 === 0) {
        console.log("Syncing 2500 rows.");
      }
    }
  });
}

That said, you may still hit timeout issues in Power Automate. Let me know if this unblocks you, otherwise I can keep looking for solutions.

Thanks you @AlexJerabek for updated script. I will try then let you know.
Have a nice day
Thanh

@AlexJerabek the error 413 is gone but time out come:
{   "error": {     "code": 504,     "source": "europe-002.azure-apim.net",     "clientRequestId": "38d75597-e1ff-4369-abc9-70ec6f8f8d9c",     "message": "BadGateway",     "innerError": {       "status": 504,       "message": "Request to Graph API has timed out.\r\nclientRequestId: 38d75597-e1ff-4369-abc9-70ec6f8f8d9c",       "error": {         "message": "Request to Graph API has timed out."       },       "source": "excelonline-ne.azconn-ne.p.azurewebsites.net"     }   } }

Thanks @thanhrieker. I was afraid we'd hit that timeout.
@GeoffRen @wandyezj @gergzk, any ideas to help here? Basically, the CSV data is too large to write without reaching the Excel data limit, but batching the write operations causes it to exceed the Power Automate timeout limit.

Hi @thanhrieker,
Juist wanted to check in and say I haven't forgotten about this issue. I'm trying to create a solution that will partially parse the file before timing out, then call the script again. Hopefully I can have something to help you next week.

Hi @thanhrieker,
Juist wanted to check in and say I haven't forgotten about this issue. I'm trying to create a solution that will partially parse the file before timing out, then call the script again. Hopefully I can have something to help you next week.

Thanks
Thanh

Hi @thanhrieker,
I wanted to share a solution I came up with you. The idea is that the script is run multiple times on different parts of the workbook. For testing purposes, I changed flow to only run on one file, but the solution should still work with multiple. I'm also using the version of the script that parses based on semicolons, instead of commas.
Scripts

Create a script to convert the string data from the data file into an array. I named this one "Parse into Array".

function main(workbook: ExcelScript.Workbook, csv: string): string[] {
  let sheet = workbook.getWorksheet("Sheet1");
  /* Convert the CSV data into a 2D array. */
  // Remove any Windows \r characters
  csv = csv.replace(/\r/g, "");

  // Split each line into a row.
  let rows = csv.split("\n");
  return rows;
}

Create a script to set the values of 2500 rows at a time. I named this script "Convert SSV". This script takes in the previous array. It also needs to know the current row the whole process is on, as tracked by index. It'll return index too, so the flow can pass it back into the script. Note that we'll return -1 once the whole process is complete.

function main(workbook: ExcelScript.Workbook, rows: string[], index: number): number {
  let sheet = workbook.getWorksheet("Sheet1");

  while (index < rows.length) {
    if (rows[index].length > 0) {
      let row = rows[index].match(/(?:;|\n|^)("(?:(?:"")*[^"]*)*"|[^";\n]*|(?:\n|$))/g);

      // Check for blanks at the start of the row.
      if (row[0].charAt(0) === ';') {
        row.unshift("");
      }

      // Remove the preceding comma.
      row.forEach((cell, index) => {
        row[index] = cell.indexOf(";") === 0 ? cell.substr(1) : cell;
      });

      // Create a 2D-array with one row.
      let data: string[][] = [];
      data.push(row);

      // Put the data in the worksheet.
      let range = sheet.getRangeByIndexes(index, 0, 1, data[0].length);
      range.setValues(data);

      index++;
      if (index % 2500 === 0) {
        return index;
      }
    }
  }

  return -1;
}

Flow

Setup the basics. This includes parsing the template file, getting the file content from the CSV/SSV file, and creating the empty .xlsx file. Like I said, this is just for one file, so it's hard-coded to use a file called "test.csv".

Initialize the row counter variable using a Power Automate variable controller. I named it index to match the script's parameter name. Start at value 0 to begin at the first row.

Run the first script. Use the data from the CSV/SSV file as the argument.

Create a loop control. Until index is less than 0, keep going. This means the second script hasn't hit the end of the array.

Run the second script. Use the array generated by the first script as the argument and the flow variable as the index. After the script is run, set the index variable to be the returned value (the current row).

Test it out! A 45,000-row file based on the sample data you provided took about 20 minutes to complete. As long as no single Power Automate action takes too long, that should be fine.

I fully realize this is a complex solution. Please let me know if you have trouble implementing it. If everything works out, I'll look into adding this guidance into the Office Scripts documentation.

Perfect,
Thanks for the update.
I will try and let you know later on.
Regards
Thanh

Hello @AlexJerabek,
I just run script. No more time out but script tell us "Wokbook not found":
{
  "message": "We were unable to run the script. Please try again.\nWorkbook not found.\r\nclientRequestId: b95b2814-bf3c-4b0c-89b8-8fb38bdfd31f",
  "logs": []
}

Strange?
Best regards
Thanh


No email send after an account registration is approved

From @jeroenpraat on January 31, 2015 18:12
When a registration needs approval a mail is send to the admin. After the admin has approved the registration you expect that the person who registered gets an email with the information that his/her account is approved. It's not. So this person can only know by visiting the RedMatrix hub that the account registration is approved. The person who asked for approval also doesn't receive a verification mail.
When this bug is fixed, keep in mind it's maybe a good idea to combine the verification mail and the mail that's saying the account registration is approved.
Copied from original issue: friendica/red#884

From @friendica on January 31, 2015 22:3
Works for me. Did you check the spam folder? Also site approval by the admin bypasses the email verification step. If the site admin approves you, you're in.
An account has been created at Red Matrix for this email address.
The login details are as follows:
Site Location:	https://***********
Login:   @********
Password: (the password which was provided during registration)
If this account was created without your knowledge and is not desired, you may
visit this site and reset the password. This will allow you to remove the
account from the links on the Settings page, and we
apologise for any inconvenience.
Thank you and welcome to Red Matrix.
Sincerely,
Red Matrix Administrator

Found in the php error log php.out (I enabled again):
[01-Feb-2015 23:45:14 Europe/Amsterdam] PHP Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "view/nl/register_open_eml.tpl"  on line 14 "Wanneer dit account wel door jou is aangemaakt: Dank je en welkom op de {{sitename}}." unknown tag "sitename" <--
  thrown in /var/www/redmatrix/library/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 14

One other thing: email verification mails (I've now fully opened registration) are received. So that works.

Nothing in the spamfolder. That would be strange, because I used an email alias for registering.  In other words, admin mail and member registration mail go to the same spamfilter. And I received the admin mail.
Later today I will test it again, but keeping an eye on the server mail log.

Ah I see it, I forgot the $ in the translation. My fault. Mea Culpa.


[Feature Request]: Admin control for display feedbacks in user page(user end)

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add a checkbox for each  feedback  card in the admin section. If admin check this checkboxes of feedback card and click on save button.  Then only this feedback display for the user end.
This is require because no platform owner wants to show the negative feedback for their platform, if one user give negative feedback for your platform.
Use Case
I add a display:  field for each feedback. Initially it set false when someone give the feedback.
When admin checked that box then it set to true and after clicking on save this reflect on the database. After that i display only that feedbacks which display property set to true, in front end.  For It's front end work I raised different ISSUE.
Hope my approach sounds good!
Benefits
No response
Add ScreenShots
@Soujanya2004  Assign it  to me under label-3. I want to add this awesome feature.
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Soujanya2004    I also think to implement the same for listing review part. It's not good to show extreme negative review for lists It's impact bad for user.    After completing all previous ISSUE, I would love to implement this same feature if you allow.
Let me know what you think on that approach.

@Soujanya2004 I can work on it if you want
You can assign me

@Suvadip-sana


Upgrade example to 0.70 and use typescript

Summary:
This pull requests introduces Typescript and  upgrades example app to react native 0.70.
This is part of #396

We still have some JS files (even if they are config ones): babel.config.js, index.web.js, metro.config.js. Let's have them as TS. Beside that, it looks good 👍

Thanks! I've added those files back, however due to those are config files they need to stay as .js. I've also commented out the config for windows.

Ah, right! So let's have them as JSON - this should be doable.


Add state code field

This PR adds a field state code which is necessary when capturing orders in the US.
Before this change, trying to use OrderCapture with country_code="us" would throw an error due to the missing stateCode.
After this change, the user can pass the state code along with the zip code, for example:
api.OrderCapture(zip_code="02215", state_code="MA")
The state code validator takes into account that all state codes should have two letters. state_code string is not case sensitive.
If no state code is specified, an empty string is passed, which does not affect non-US country codes.
It has been tested with US state codes, I am not aware if there are other countries for which IKEA requires state codes.
Closes #33

Hello! Can you check "Allow edits from maintainers"? I want to do some changes.


Link to BLW

@oterral
mailto link bottom right opens a new tab: please avoid it
thanks

Fixed with #54


Embeds don't work

When trying to embed it on a third party site, or when using ckanext-featuredviews to feature the map on the dataset landing page.
You get this Javascript error:
Uncaught TypeError: str.replace is not a function
    at Object.trim (ags_fs_view.js:497)
    at cleanUrl (ags_fs_view.js:14179)
    at NewClass.initialize (ags_fs_view.js:16565)
    at NewClass.initialize (ags_fs_view.js:17075)
    at new NewClass (ags_fs_view.js:648)
    at Object.featureLayer (ags_fs_view.js:17376)
    at Module.loadJson (ags_fs_view.js:23094)
    at Module.initialize (ags_fs_view.js:23090)
    at Function.module.createInstance (jquery.form-warning.min.js;sandbox.min.js;module.min.js;pubsub.min.js;client.min.js;notify.min.js;i…:64)
    at String.<anonymous> (jquery.form-warning.min.js;sandbox.min.js;module.min.js;pubsub.min.js;client.min.js;notify.min.js;i…:64)

cc @GuidoS @pgirard

looks like options.path, the layer path,  is not being defined correctly

@calvinmetcalf Is this a quick fix? We need it so we can use the agsview as the canonical view for the bostonmaps data.

I need to work with @GuidoS to figure it out, I haven't used ckanext-featuredviews so I'll need to figure out if we are doing something weird or it is

having trouble reproducing

how are you doing the embed?

Try it here -
http://boston.ogopendata.com/dataset/wicked-free-wi-fi-locations
 wicked-free-wi-fi-locations:1012 GET http://boston.ogopendata.com/fonts/fontawesome-webfont.woff2?v=4.7.0  ags_fs_view.js:497 Uncaught TypeError: str.replace is not a function     at Object.trim (ags_fs_view.js:497)     at cleanUrl (ags_fs_view.js:14179)     at NewClass.initialize (ags_fs_view.js:16565)     at NewClass.initialize (ags_fs_view.js:17075)     at new NewClass (ags_fs_view.js:648)     at Object.featureLayer (ags_fs_view.js:17376)     at Module.loadJson (ags_fs_view.js:23143)     at Module.initialize (ags_fs_view.js:23139)     at Function.module.createInstance (image-upload.min.js:64)     at String.<anonymous> (image-upload.min.js:64) wicked-free-wi-fi-locations:1 GET http://boston.ogopendata.com/fonts/fontawesome-webfont.woff?v=4.7.0  wicked-free-wi-fi-locations:1 GET http://boston.ogopendata.com/fonts/fontawesome-webfont.ttf?v=4.7.0
There seems to be a namespace issue with ckanext-spatial.  What extensions do you have installed on your CKAN?  e.g. http:///api/util/status

http://boston.ogopendata.com/dataset/wicked-free-wi-fi-locations
doesn't look like it loads the code in question
http://boston.ogopendata.com/dataset/wicked-free-wi-fi-locations/resource/e08ac3f9-177a-4ddb-b3ce-3345c168b611
does load the code but it's executed without error for me, what browser and version are you using?

Hi @calvinmetcalf ,
Check it now.  The idea is to have the agsview as the canonical view and be featured on the dataset/package landing page - http://boston.ogopendata.com/dataset/wicked-free-wi-fi-locations
That is set using https://github.com/datacats/ckanext-featuredviews, and gets the resource view in
http://boston.ogopendata.com/dataset/wicked-free-wi-fi-locations/resource/e08ac3f9-177a-4ddb-b3ce-3345c168b611
show as the "featured" / or canonical view on the dataset landing page.

ok reproduced, the issue seems to be ckanext-featuredviews isn't passing that particular option over, will look into why.   From a look at the source code it looks like the server is not populating that particular value in the html.
What version of ckan and the various plugins are you using?

Sorry about the delay... using CKAN 2.5.2
http://boston.ogopendata.com/api/util/status

could you try filling in the ags url in the view config?

Now work with @jguo144's PR #7


The pre-train model performance of ResNet-50 doesn't match with the document

Hi, I use the pre-train model of resnet50_8xb32_in1k and inference on the ILSVRC2012_img_val set, but the result is worse than the document.
I tried another config file resnet50_8xb32-fp16_in1k.py and its pre-train model, the result is also worse.
the command:
python tools/test.py
configs/resnet/resnet50_b32x8_imagenet.py
checkpoints/mmclassification/resnet50_8xb32_in1k_20210831-ea4938fc.pth  --metrics accuracy precision recall

I selected 1000 images of the val set to accelerate it, the result using the full val set was about the same.
Plus, I used the same command on last December(12.2021) and the result was correct, so was something in data pipeline changed during this time or did I just use the wrong config file?
Appriciate it if you could help!

Sorry but I cannot reproduce your problem.

Thanks a lot! I finally found out that it was because I had changed an api in mmcv before, and it returned to normal after the modification.


Correction for raw affiliation Univ Rennes, CNRS, CREM - UMR 6211, F-35000 Rennes, France; University of Economics, The University of Danang, Viet Nam

Correction needed for raw affiliation Univ Rennes, CNRS, CREM - UMR 6211, F-35000 Rennes, France; University of Economics, The University of Danang, Viet Nam
raw_affiliation_name: Univ Rennes, CNRS, CREM - UMR 6211, F-35000 Rennes, France; University of Economics, The University of Danang, Viet Nam
new_rors: 03ecpp171;015m7wh34;02feahw73;0047rmf80
previous_rors: 03ecpp171;015m7wh34;02feahw73
works_examples: W4317598146
contact: 591fb205cdb66f9becbe96cf649160da:355fc292fbf8b93da5d479a77b3c1655 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Accentize plugins

Accentize plugins  not working  In Sonoma 14.3 and FCP X 10.7.1

Any ideas @sharedscene ?

This is not something we have been able to reproduce on our machines. Try navigating to the FCP Settings and click: Audio Units -> Validate on Next launch. Then restart the computer. If that does not help please contact FxFactory support via the FxFactory app as described here: https://fxfactory.com/support/

I'm going to close this issue for now, but if you're still running into issues @muanzo after chatting to FxFactory support, feel free to re-open the issue with further information. Thanks team!


docs(angular.bootstrap): fns passed as modules are called on config stag...

...e

Indeed, there was a mistake! Thnx @thorn0 !


asyncio code error during S3 upload despite only using synchronous functions

I am using s3fs to send data from SQL Server to S3. I recently started getting an error that seems to be related to some type of async process.
Here is the exact process I take:

Read data from a table in SQL Server
Save it to a local file
Push it to S3 using the write() function of the S3File object <- this is the step where I am getting errors (described below)

Here are the exact lines of code where the error occurs (fs is the S3FileSystem object):
with open(local_name, "rb") as local:
    with fs.open(s3_path_unique, "wb") as s3_file:
        s3_file.write(local.read())

At random times and for random tables, I have been getting these errors that seem to do with a connection issue:
Exception in callback _SelectorSocketTransport._write_send()
handle: <Handle _SelectorSocketTransport._write_send()>
Traceback (most recent call last):
  File "C:\Program Files\Python\Python312\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Program Files\Python\Python312\Lib\asyncio\selector_events.py", line 1137, in _write_send
    assert self._buffer, 'Data should not be empty'
           ^^^^^^^^^^^^
AssertionError: Data should not be empty

Future exception was never retrieved
future: <Future finished exception=ConnectionError('Connection lost')>
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

The above exception was the direct cause of the following exception:

ConnectionError: Connection lost

I am currently working on solving the ConnectionError, but can anyone help me understand these other two questions?

Where is the asyncio code used in s3fs? I am not using asyncio in my code and for some reason have not been able to catch these errors with a try/except structure.
Is there some type of timeout parameter that I can adjust in s3fs to reduce the likelihood of a connection error?

Thanks in advance!

First, a clarification: some fsspec implementations like s3fs are implemented async internally. The API that you are calling is blocking, but an event loop is running on another thread which actually executes the IO. This means that batch operations can happen without serialising the latency wait for each one.
Second: your actual error is the 'Data should not be empty' one. This rings a bell, it sounds like something that was fixed earlier this year. What version of s3fs do you have?

Thank you!
My current version is 2024.3.1

I'm still running into the same error after updating the version. The error itself is probably related to the server, then.
Is there a way to at least catch the error, though? Right now, it's not going to the except block.

Please post your whole traceback, so we can see where this is being called from.

That is the whole traceback that I see. I just see the first error over and over again, and occasionally, the second error shows up once at the bottom.
I did end up making a change to use put_file() instead, and that has seemed to solve the issue for now.


Adding class to the div of a checkbox group

from this field:
letters = MultipleChoiceField(
    choices=((0, 'a'), (1, 'b'), (2, 'c')),
    label="a_label",
    widget=CheckboxSelectMultiple(),
)

with this template tag:
{% bootstrap_field form.letters layout='horizontal' %}

I get this:

    a_label

                    <input class="" id="id_letters_0" name="letters" title="" type="checkbox" value="0">
                    a

                    <input class="" id="id_letters_1" name="letters" title="" type="checkbox" value="1">
                    b

                    <input class="" id="id_letters_2" name="letters" title="" type="checkbox" value="2">
                    c

What I need is to add checkbox-primary class to each
. How can I do that? I looked at the bootstrap_field options but it is not there.

I was trying to style checkboxes as required by https://github.com/flatlogic/awesome-bootstrap-checkbox/. Seems like just adding a class to the div was not enought. It was also necessary to get input out of the label and put in front of it. Overall, this seems beyond scope of django-bootstrap3, thus I am closing.


New Maintainers?

I do not personally have time to maintain this crate any more and I suspect the other maintainers are also quite short on time nowadays. I think it's time to put out an "official" call for "this crate is in maintenance mode now". The way I personally view this crate:

For ssh2 I think anyone who's interested can pick it up. I'm not going to merge any changes to ssh2 as a crate from now on most likely.
For libssh2-sys this is depended on by libgit2-sys which is used by Cargo, so it is a pretty important dependency. I will try to merge bug/security fixes myself but other than that I don't have the time to help improve this.

If you'd like to help maintain this leave a comment here. I'm happy to transfer ssh2 ownership and such without much ado, but for libssh2-sys you'll need to be a relatively trusted member of the Rust community since Cargo depends on it.

I would be willing to take over ownership of ssh2 and libssh2-sys.
That said, while I've submitted various patches to the main Rust repo and other official and non-official Rust projects, I know that I am a relative no-name in the community. lcnr, eddyb, and varkor may be able to vouch for me if they still remember me from the early const generics implementation work.

Another option may be to turn over ssh2-rs over to the Rust Language Organization just as git2-rs is maintained. I don't know what the logistics of that would be or if the organization would be interested in that.

Apologies for the late answer. I have been out for 2 months. I will be able to dedicate some time and love to ssh2-rs and libssh2-sys as I did in the last year starting from tomorrow.
I will start skimming issues and trying to merge PRs and release new versions of the library. Help will be much appreciated of course since I will not be able to dedicate myself full time to the project, but I still have time to help out.
Again sorry for the late answer, I spent the last 2 months getting married and with my laptop completely closed :D

Regarding @yodaldevoid comment about handing the library over to RLO, I don't have preferences. I will still try to help no matter where the library end. :smile:

@alexcrichton sorry to bother you again, I am back with a little bit of time. I would say that adding @yodaldevoid as the list of folks with push permission would help a lot right now, until we figure out a good solution for the future of ssh2-rs. Thoughts?

Ok sounds good to me, and no worries @crisidev I hope you enjoyed yourself!
@yodaldevoid I've invited you to the repo now, and I'll leave it to @crisidev to invite to crates.io.
If y'all want I'm happy at any time to transfer the repo to a new home.

@yodaldevoid I have sent you an invite to be able to push on crates.io.

Thank you for the invites! I've gone ahead an accepted everything. I look forward to working with everyone!

Is there an active maintainer right now? It would be good to get libssh2-sys bumped to 1.11.1 as there are some cool new features there. I wish I could help, but I'm aeons from being a trusted member of the Rust community.

I see that there has been some activity from @yodaldevoid this year. However, there hasn't been a new version since January.
Is this project still active or is it recommended to use another?


Extend vulnerabilities verification to metadata

Addresses: https://github.com/NuGet/Engineering/issues/3623
The verification test already existed for doing a full set check of database vulnerabilities--this change adds the capability of downloading registration metadata blobs to determine that the pipeline has propagated incremental changes correctly.
The config file changes allow you to test either or both.

Would it be possible to add unit tests?

@loic-sharma this is an awesome review--thanks for all of this. As for the unit tests, it was a question playing on my mind--whether to test the test. It didn't have unit tests on its earlier incarnation because it in itself is a test. If it fails (which it did more than once during development) we can check its logic against the live data to determine which is at fault--thankfully it was the logic each time. I opted to not add unit tests because it's tantamount to writing a bunch of faux data which is nowhere as effective as the real stuff in exposing logic flaws.

Looking now...

ping @loic-sharma @zhhyu @joelverhagen


Shortened CLI option names and updated corresponding tests

Within this pull request, I've reduced the length of the CLI option names and modified the associated tests accordingly. For instance, --sensor-id has been changed to --sensor, --account-id is now --account, and --user-id has been updated to --user, etc.

Don't forget the Issue comment about nicely deprecating the old CLI options. That means they should keep working like before, while giving a deprecating notice.
Furthermore, the new CLI option should use available schemas for sensor IDs and source IDs.

okay.

Should I add these changes to the cli changelog?

Should I add these changes to the cli changelog?

Yes, and also to the main changelog.

Also adapt the small example in documentation/index.rst please.

After the change in documentation/index.rst can be considered as an example.


Since tensorflow addons is not available for windows this cannot be used.

Is there a way to not be dependent on tensorflow-addons and still be able to run this ?

@syedalamabbas I use tensorflow-addons for Instance Normalization which is not included in tensorflow or tensorflow.keras. Currently, if you want to run the code without tf-addons, one way is to implement Instance Normalization by yourself.

Yes that is what I was going for.  But since that is the only place you use the addons, an easy way to circumvent is to simply use batch normalization instead and it should run then (perhaps and hopefully with some not so noticeable changes)

Here's a variation that doesn't need tensorflow-addons https://github.com/iszotic/CycleGAN-Tensorflow-2, using batch normalization makes a hugeeee difference


replace startuptest

Coverage remained the same at 54.517% when pulling 5f33b3f933c462b6595ca353772f5febbb1d9e15 on wy65701436:dev into 74e7b66aa0f8941b33f4ca0534357b6a43c61504 on vmware:dev.

down to 0.06s.


address abnormally written characters

Sometimes e-diaeresis is not written as "ë" but as a grouping of two different characters (as input from the user), which is odd, and I believe we have to somehow address.

I guess, similarly to overly long texts, add in the editor toolbar a message strip indicating this and block the editor?

Perhaps show "Shkrimi juaj përmban karaktere jashtë standardit. Zëvendësojini këta karaktere për te gjeneruar shenjime."?


components/lwip: Expose TCP_MSL in menuconfig.

Closed sockets that remain in state TIME_WAIT will consume heap and eventually block the server port until they are finally freed. The timeout is defined with 2*TCP_MSL (defaults to 60s).
This PR adds a menuconfig item to adjust the timeout to application requirements.

Thanks @devsaurus . I've pushed this into our internal review & merge queue.

Cherry-picked as 9253515.


improve scala autotranslation

<console>:100: error: the result type of an implicit conversion must be more specific than AnyRef
       beakerx.bar(0)
                   ^

@jpallas any advice on how to do this right?

I don't know about "right", but maybe we can try for "more useful". :grinning:
Seriously, there are a couple of issues.  Least of these is the complaint about the implicit conversion, which is somehow due to using AnyRef instead of Any in applyDynamic.  Fixing that ends up trying to invoke a method by name on the NamespaceClient, which is not at all useful.
So, a good question to answer might be "What should beakerx.name(params) mean?"  A simple answer might be beakerx.name.apply(params).  I'm not sure if there's a better answer.  We're not expecting to do remote invocations through the auto translation machinery, right?  It's just data.
Given that, a fundamental problem is that there is no meaningful return type information for lookups.  That lands us in the world of runtime reflection, a world that Scala does not like very well.  I think there are two main choices: make the user supply an explicit type (which we can either try to validate or just trust) or wrap the return values of any operations on beakerx in dynamic wrappers that basically do reflective calls for everything and leave the interpreter completely in the dark about the actual type.
My gut says that at some point if we care about importing a value into Scala, we will need to declare a type.  The question is when.
There's a secondary problem, which is that the auto translation stuff is mapping all the incoming collections into Java types instead of Scala types.  I suspect this is related to the fact that ScalaBeakerXJsonSerializer.fromJson does not involve calling serializer.deserialize but TBH the serialization/deserialization stuff is pretty hard for me to follow.

Hi
so far I haven't found a better solution than using asInstanceOf method
look at the examples below

I added implicit class ObjectEnhancement(obj: Any) { def as[T] = obj.asInstanceOf[T]}
so we can use beakerx.bar.as[List[Int]] instead of beakerx.bar.asInstanceOf[List[Int]]
What do you think about this solution?

I've been thinking about a similar approach, taking advantage of the way that Dynamic works.  You can add a type parameter to selectDynamic, which makes it possible to just say beakerx.foo[Int] and specify the type you want.  A little bit of implicit magic can make it default to Any if no explicit type is specified.
I wish there were a way to validate the type at runtime, so it would be more than just a shorthand for asInstanceOf and might avoid surprises later on if List[String] turns out to actually be List[Int].  But that's not really possible.
The main thing that bothers me about as is that it might be confused with Spark's as.  Applying as to anything might mean that people who misapply Spark's as get an error that steers them in the wrong direction.

@jpallas Thanks for the advice, does this as[T] solution sound like a good starting point?


Crash in wrapper setting material.PbrMetallicRoughness.BaseColorTexture.Index 'Object reference not set to an instance of an object.'

I'm encountering a crash. Running the build on my branch stevk/mattextures commit 52907e0  throws the exception.
I'm looking into if I'm passing in a bad combination of attributes, but it might be an issue with the wrapper.

Okay, I'll check it out

Looks like it was a typo on my part in the wrapper.  The indices for the metallic roughness texture were being assigned to the base color texture instead.
PR created #28

Merged


Project: Call scheduler permits you to plan a call with a HR\recruiter

Project name
Call scheduler
Description
This project can be used as a service to let people schedule a call with a HR\recruiter of someone's company.
Read README.md inside the project repository for more details
Repo URL
https://github.com/alexlogvin/CallScheduler
Team members
alexlogvin

Very nice @alexlogvin! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community 😊

✅ Added a video. See in repository's readme


Add edit_backends.py for adding / removing backends from projects

closes #5

Add edit_backends.py for adding / removing backends
Update readme to provide script usage

@Matt-Stypulkoski Let me know what you think when you get a chance to look it over. Thank you.

Hi @pshires, Thanks for the contribution again! The code itself looks good, just had a few comments. I think we should either change the script name to edit_project_backends.py, since it is specific to editing the backends of a project and requires that information, or to add handling for adding backends to the Group level as well. I think either option is good, though having both Group and Project level backend editing contained in a single script would probably be cleaner. However, I do not want to force more work onto you, and the current script itself seems to work well, so it is up to you if you would want to expand upon it or not.

Hey @Matt-Stypulkoski , thanks for reviewing. I agree with your assessment that it would be cleaner to have both in the same script, but looking back at issue #5 , I'm not seeing the usage outlined for adding / removing backends straight from the group level. Would it be the same usage but with the following URL:  /Network/{hubName}/Groups/{groupName}?

I tried it, seems like the /Network/{hubName}/Groups/{groupName}/devices URL works fine for adding & removing from the group level. I made changes to the script to allow for adding and removing from the Group and Project level.

Everything looks good. Thanks for contributing!


Severity Level in Problems

After a compile I see something like this:

Would it be possible to:

Add the severity level to the message
Filter which severity levels we want to see.
The filter icon does allow various severities, but doesn't seem to have any impact:

It looks like the filters do work for me:

But I will put the severity in the message also.

The severity will be displayed from 0.1.2

@worksofliam
Apologies. Filters do seem to work.  My mistake.


base: allow weights parameter in service register

@wdauchy  Interested in coming here ？
and fix all Parameters with consul.io

@poppyred unfortunately https://github.com/poppyred/python-consul2 seems to be managed in a weird way when I look at the commit history.
for now we started our own fork https://github.com/criteo-forks/python-consul


How to implement the 'Bounded Delay' consistency model in MXNet?

'Bounded Delay' consistency model is mentioned in the paper "Scaling Distributed Machine Learning with the Parameter Server". How to implement it in MXNet? Can give some tips? Thx.

You can do it in the submodule ps-lite.
However, we find it not necessary for gpu training. Sync SGD works best for less than a couple hundred gpu machines

@piiswrong Thank you for your answer,but I want to test this consistency model on MXNet which is a deep learning system. If I want to implement it, just modify the code of ps-lite enough? Can you give the consistency model code which you tested before? Thx.

Yes, this will involve modification in ps-lite, as far as I know, only sync and no bounded async is supported so far


Update seth-samuel.md

Quick update to bring my speaker bio up to date. Hopefully this is the right file to edit to make that magic happen.

Sorry about this, we just migrated to a new static site generator. Good catch. 👍


Backpressure

Currently, the RPC client supports the Retry-After header when accompanied by a Too Many Requests (429) and SERVICE Unavailable (503) response code. This allows the server to determine how much time it needs the client to backoff before it can handle another request. This 'backpressure' mechanism allows server and client to work together to stabilize the flow of requests coming in to the server under heavy load. This enhancement is to add a new RateLimiter middleware that limits the number of requests per minute and estimates the wait time (the amount of backpressure) for a client when the threshold has been reached.

A version of this was implemented in 0.2.5-beta


Add option to skip create database

Close #403

Linter is complaining with: ifElseChain: rewrite if-else to switch statement (gocritic)

Welcome as contributor @yujunz 🎉


Consider adding hostname

If you have many servers (20 or more) doing av scanning it can become confusing to know which email is from which. So I made a slight change to just do:
HOST=`hostname`;

and add it to my mail command like so:
echo "$EMAIL_MSG"|mail -a "$LOGFILE" -s "$HOST ClamAV: Malware Found" "$EMAIL_TO";

it helps to understand what computer got what results.

Good point. The original script was written long time ago with intent to be used on a single box. However, there is nothing that stops you from improving it. I have the script integrated with Puppet, which takes care of hostnames when deploying on multiple servers (>100).

Hostname has been added to the script.


The stream remains in portrait mode even after changing the position of the phone to landscape, while the stream is going on.

I used the example app.

@aryanA101a I am also facing the same issue , did you find any workaround to this??

Yes, I found a fork of pinkfish's plugin which is way better and updated.
https://github.com/nhancv/flutter_rtmp_publisher
Goodluck using that👍

Thanks for the information @aryanA101a will have a check on this and let you know about it.


Migration and build, publish & run fixes

This adds the migraiton document into a migration folder under the
Preview 3 folder. The migration document covers the migration from
project.json to csproj using the automated tools, points to the old DNX
migration for those people that still use that and offers some advice on
getting from pre-RC4 csproj to RC4 (and thus RTW) csproj formats.
The change also adds some content to the dotnet build, dotnet run and
dotnet publish documents to make sure that their differences are clearly
outlined.
Fixes #1512, #1509, #1515

/cc @livarcocc for migration stuff.

I'll try to go over this PR tonight and if there are changes needed, I'll edit myself.

Ok, I've rebased and addressed most of the comments I believe. If you see any issues with my edits, please let me know and I'll make the changes tomorrow. But for now, I'll merge this as soon as the builds are green.