nixos/nscd: DynamicUser and other cleanups

Motivation for this change
I was looking at which users and groups have a null value for uid or gid, and there was only one in a default-configuration boot.isContainer build of NixOS: nscd. As far as I can tell, that service can use systemd's DynamicUser directive instead.
While I was checking that, I found that some very old code in this module doesn't need to exist any more, if I'm not mistaken. So I've included separate commits for those dead-code removals.
Things done
I ran:

nix-build release.nix -A tests.login.x86_64-linux (passed)
nix-build release.nix -A tests.systemd.x86_64-linux (passed except the "file system with x-initrd.mount is not unmounted" test fails for me, but it does that without my patches too)

I also built the following expression against this branch and booted it with systemd-nspawn:
(import <nixpkgs/nixos> {
  configuration = { config, pkgs, ... }: {
    boot.isContainer = true;
    services.mingetty.autologinUser = "root";
  };
}).config.system.build.toplevel

Within that container, I verified that:

getent can talk to nscd,
nscd is running under a dynamic UID,
/run/nscd and its contents are owned by that UID,
/var/db/nscd doesn't exist but everything still works,
and the generated users-groups.json has no "uid" or "gid" that is null.

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-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.

On first glance, this looks fine to me.

I just tried running nixos/tests/ldap.nix and my patches break that test somehow. :frowning_face: So let's not merge this yet.
Those tests didn't instantiate at all on master; I've submitted a fix for that in #64387. But after fixing that, those tests all pass on master but two of them fail on my branch. In particular, running this in the test driver:
print($client2->execute('id -u test-ldap-user'))

returns:
client2: running command: id -u test-ldap-user
client2# id: ‘test-ldap-user’: no such user
client2: exit status 1
(0.01 seconds)

So the client configuration where users.ldap.daemon.enable = false doesn't manage to look up a passwd entry that's in LDAP, but the client where the LDAP daemon is enabled succeeds.
The LD_LIBRARY_PATH for client2's nscd looks okay to me:
> print($client2->execute('xargs -n1 -0a /proc/$(pgrep nscd)/environ | grep LD_LIBRARY_PATH'))
...
LD_LIBRARY_PATH=/nix/store/hach8csknszq07jfv8bdgqhgwmj7bcz7-systemd-242/lib:/nix/store/glbcpzjy98dmafzaws3wyhysns85y1x1-nss_ldap-265/lib

So I'm... puzzled.

Okay, I got something vaguely useful from:
print($client2->execute('/nix/store/.../bin/strace -f -p $(pgrep nscd) & sleep 1; getent passwd test-ldap-user; kill -INT %1'))

Specifically:
client2# [pid   753] openat(AT_FDCWD, "/etc/ldap.conf", O_RDONLY) = -1 EACCES (Permission denied)

So apparently when nscd is run as root and drops privileges due to server-user, its threads can retain access to root-only files like /etc/ldap.conf that it can't read if it's started as the low-privilege user to begin with?
I want to investigate this a bit further, but if nscd absolutely must be started as root, then I think I'll have to drop the DynamicUser patch for that reason.

Okay, I fixed it! Today I learned that systemd has an option for using DynamicUser but still starting the service as root and letting the service drop privileges when it's ready to. Now all the LDAP tests pass, as do the other tests I tried previously.
So I think this PR is ready to merge now.

Okay, I fixed it! Today I learned that systemd has an option for using DynamicUser but still starting the service as root and letting the service drop privileges when it's ready to. Now all the LDAP tests pass, as do the other tests I tried previously.

Great! that looks very handy. Could you perhaps add a comment to that DynamicUser line explaining what ! does very briefly? Just for the concerned reader?

Good call @arianvp; I've added a commit with a little detail about why it uses the combination of DynamicUser and "!".
Now I just need somebody to merge it :sweat_smile:

Seems you can't order our trusty bot around from a review.
@GrahamcOfBorg test login systemd

@abbradar, thanks for reviewing!
FWIW: tests.systemd failed on aarch64-linux for the bot in the same way that it does on my machine for x86_64-linux. For me, it fails with or without these patches. But it doesn't fail for the bot on x86_64-linux. I don't understand why the must fail: dumpe2fs /dev/vdb | grep -q "^Last mount time: *n/a" step instead unexpectedly succeeds sometimes, but I don't think it has anything to do with this PR, so I'm ignoring it.

Yeah, I tested it locally and it succeeded for me.

I think you mean NSS, not PAM, right? As far as I know nscd doesn't interact with PAM at all.
I don't want to give any false impressions: I don't personally use LDAP. It just got in my way while trying to eliminate activation scripts, which I'm doing as part of something else entirely... I'm several layers down in yak shaving at this point.
So beyond running the existing NixOS LDAP tests, no, I have not tried other NSS (or PAM) modules with these patches.
That said, I expect that if the LDAP modules can work, any other NSS modules will too, because:

NSS modules can't be relying on creating files in /run/nscd because they're supposed to work when you aren't using nscd as well, so anything we do to that directory can't matter to them;
and the LDAP modules sometimes rely on reading config files as root, so if they can do that, other modules can access any resources they need at startup too.

PAM configurations can be a lot more complicated so I'd definitely be more concerned if these patches touched that subsystem.

Ah, yes, I meant NSS, I'm just thinking for quite a long time already how to improve our PAM modules and you reminded me of that :D
Yeah, that's my idea too - if we tested LDAP with NixOS tests other modules should run too. I thought you used this in daily life too because of your LDAP work.
Anyway, this seems to be tested nicely. I use it on several of my machines top. I suppose we can merge it on several days.
On July 17, 2019 8:39:24 PM GMT+03:00, Jamey Sharp<EMAIL_ADDRESS>wrote:

I think you mean NSS, not PAM, right? As far as I know nscd doesn't
interact with PAM at all.
I don't want to give any false impressions: I don't personally use
LDAP. It just got in my way while trying to eliminate activation
scripts, which I'm doing as part of something else entirely... I'm
several layers down in yak shaving at this point.
So beyond running the existing NixOS LDAP tests, no, I have not tried
other NSS (or PAM) modules with these patches.
That said, I expect that if the LDAP modules can work, any other NSS
modules will too, because:

NSS modules can't be relying on creating files in /run/nscd because
they're supposed to work when you aren't using nscd as well, so
anything we do to that directory can't matter to them;
and the LDAP modules sometimes rely on reading config files as root,
so if they can do that, other modules can access any resources they
need at startup too.

PAM configurations can be a lot more complicated so I'd definitely be
more concerned if these patches touched that subsystem.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/pull/64268#issuecomment-512468208

--
Nikolay.


[1.15.2] Crash on server startup

DoubleSlabs-1.15-2.4.5 seems to crash on server startup. This does not happen on fresh worlds, so I suspect a Double Slab must be placed for it to occur.
Latest log: https://gist.github.com/NillerMedDild/f65013eb52e94bf6d244657bd67fe495
Crash report: https://gist.github.com/NillerMedDild/db663baf83e2cd0e68c3b19a36b63114

Hey
I got the same issue and i play  Minecraft version 1.12.
Crash report -> https://gist.github.com/EtainDelbaeth/09d1115abe786094f2d1506cdd027708

This should hopefully be fixed in the latest version!

If there are no more issues, I'm going to close this 😄


Tape fix

Fix failing test in tape mode.

@josh146 This included changes to requirements.txt just for the build so we should revert that when the next pennylane is released

@josh146 This included changes to requirements.txt just for the build so we should revert that when the next pennylane is released

Yep, saw that, thanks for the reminder! 👍
I merged this in partly because (a) I saw codecov was not working, so everyone else was blocked from merging it, and (b) to allow it to be marked as green on the plugin test repo.

Yep, saw that, thanks for the reminder! 👍
I merged this in partly because (a) I saw codecov was not working, so everyone else was blocked from merging it, and (b) to allow it to be marked as green on the plugin test repo.


Dropdown onShow : not working

I want the callback method onShow to be called.
It never works. onChange works fine, but onShow, I can't get it to work. Should be straight forward.
Code is like this ;
// Configure semantic UI dropdown plug-in
that.$btnTranspose.dropdown({
action: 'activate',
onShow: function() {
console.log('onShow');                                    // THIS DOESN'T WORK.
return true;
},
onChange: function(value, text, $selectedItem) {
console.log('onChange', value);                     // THIS WORKS FINE.
return true;
}
});

Please create a test case

Closing until there's a test case.


Added new e-book

Added a new ebook of Python Data Science.

:wave: Hi @mashiyathussain2, this is a really nice addition to the e-books library, I'll go ahead and merge this. Thanks! :slightly_smiling_face:


php artisan storage:link uses absolute path

Laravel Version: 7.18.0
PHP Version: 7.4.5
Database Driver & Version: MySQL 5.7.29

After run php artisan storage:link, a symlink is created in public/storage. But it links to absolute path /home/guo/git/webdev/laravel-test/storage/app/public.
This has several disadvantages:

When you move or rename the project folder, all links broke. You have to delete and recreate them.
It cannot work with both local system and homestead virtual machine.
You cannot add absolute symlink to version control.

You won't have all these issues with relative symlink ../storage/app/public.

Lots of people have been using this for years without a problem so I don't think we should be making any changes here.

It is just an improvement to make the existing feature even better. Lots people don't have issue doesn't mean a few people can be ignored?

Feel free to submit a PR for review or create a community package.

Also ran into this issue. Seems like it's already possible after https://github.com/laravel/framework/pull/32457 if you install symfony/filesystem and run php artisan storage:link --relative.
At least with default storage directory it would be easier to just use ln -s ../storage/app/public/ public/storage instead.


[9.x] JSON Session Option

This pull requests allows developers to choose to serialize session data in storage using PHP or JSON. Over the years, several people have expressed concerns with deserializing sessions using PHP's unserialize function, as this could lead to security problems (including remote code execution) if the application's encryption key is leaked.
However, all known ways to exploit this require the attacker to know the application's encryption key, which if known, could already be used to craft authenticated cookies for the application, etc. Nevertheless, offering this an option to those who would prefer to use JSON to serialize sessions in storage.

This is very interesting, both from a security perspective and since it makes the payload around 10–15 % smaller (measured both on a clean install and on a larger project).
I am running an app which uses the cookie driver and I am probably going to switch to the json setting if/when merged. However I am going to have to do the migration transparently, meaning that no session data should be lost. That is achievable by overriding readFromHandler() to fallback to unserialize in case json_decode returns null. If/when this is merged and I can successfully verify that transparent migration, I might publish a tiny package, or just a gist, for that code (which only needs to run > one session lifetime). It could of course also be solved with a php-to-json setting in the core, but that is perhaps unnecessary for the narrow use case.


Performance downgrade from 3.50.0-beta.10 to 3.50.0-beta.12

Version

Phaser Version: 3.51.0

Operating system: Windows 10

Browser: all

Description
When I upgraded from version 3.50.0-beta.10 to 3.51.0 I noticed that the performance of my game was considerably worse than on the older version.
I used specter.js to inspect the draw calls that the WebGL renderer was creating and found out that the new version made a whopping 113 (including draw calls) commands comparing to the 4 commands from the old version. It has probably something to do with the Multi-Texturing-Pipeline breaking.
I dug a bit deeper and found out, that it changed between 3.50.0-beta.10 and 3.50.0-beta.12. I hope that helps you out when trying to reduce the possible causes.
Example Test Code
https://codesandbox.io/s/phaser-3500-performance-webglmulti-jn318?file=/src/index.js
You can switch between the phaser versions there and then inspect them with the specter.js chrome extension. (16 vs 19 commands in this small example alone)
Additional Information
Specter Screenshots
From the new version:

From the old version:

There is a new Phaser version (3.51.0 ). You've tried?. Phaser page download

There is a new Phaser version (3.51.0 ). You've tried?. Phaser page download

It would still do this under 3.51 because this example is switching between two pipelines (the multi pipeline and the graphics pipeline), and that is just how many gl ops it takes to do that switch.

It would still do this under 3.51 because this example is switching between two pipelines (the multi pipeline and the graphics pipeline), and that is just how many gl ops it takes to do that switch.

There is a new Phaser version (3.51.0 ). You've tried?. Phaser page download

Yes, like I have written, it is still under Version 3.51.0 but I managed to narrow it down to the versions the change / break happened.

There is a new Phaser version (3.51.0 ). You've tried?. Phaser page download

Yes, like I have written, it is still under Version 3.51.0 but I managed to narrow it down to the versions the change / break happened.

It's not a break, it was fully intentional to split these pipelines apart.

It's not a break, it was fully intentional to split these pipelines apart.

@photonstorm so is there any way I can get the old performance on the new version or would it require me to restructure my whole codebase? Or should I just stay on the old version for now?

@photonstorm so is there any way I can get the old performance on the new version or would it require me to restructure my whole codebase? Or should I just stay on the old version for now?

Note to self: Could investigate providing a new pipeline which merges Multi and Graphics together, but maybe too late in the v3 dev cycle for this.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release (3.55). If you get time to build and test it for yourself we would appreciate that.


Prevent call to onSubmit incase of promise rejections in the last step of the wizard

When the last step in the form contains any API errors, the wizard still passes the control to the Form's final submit handler. The control should be passed only incase of no errors.
https://github.com/patternfly-labs/formik-pf/blob/main/src/components/FormikWizard/FormikWizard.tsx#L82

What do you mean by API errors in the Form? Do you mean if submit fails?

Yes, onSubmit handler for the lastStep fails with a promise rejection still the form handle submit is being called.

The use case is in the last step (Add integration test) of HACBS app creation flow, we are creating a CR and if the name is already taken we throw an error but the formwizard still calls the main form's submit handler thus it navigates to application list page instead of staying in the same page with errors.

@karthikjeeyar If this is the last step of the wizard, shouldn't you be using the main form handler for doing that check as well? Why do you need to use step submit handler as well as main form submit handler together?

I thought of decoupling the step submit handler and form handler, so that if we need to reorder that step to a different position in future or add a new last step we do not have to rewrite the form submit handler everytime, we can simply reorder/add new step.

Okay, that makes sense.


Auto upmerge test it 2

DO NOT APPROVE
This is test of auto-upmerge iteration 2

Hi @de-nordic , this PR targets testing branch main so we see changes from dat 1 + day 2.
Can you tell what were the changes between these two days? Were there conflicts and in what areas between (base + day1) and day 2?

Hi @de-nordic , this PR targets testing branch main so we see changes from dat 1 + day 2. Can you tell what were the changes between these two days? Were there conflicts and in what areas between (base + day1) and day 2?

There have been 7 days of commits added on top of day 1 (or the iteration 1), 665 + upmerge commit in total. There have been no conflicts at all this time. There have been no reverts done, merge went clean.


Fund participation at ADASS 2024

The 34th annual Astronomical Data Analysis Software & Systems (ADASS) conference will be held November 10-14, 2024 at the University of Malta Valletta Campus, hosted by the Institute of Space Sciences and Astronomy.
To further support the goal of increasing Astropy Project visibility at this meeting, we would like to make funding available to offset the travel costs of Project members’ attendance. If you are not fully funded by other sources to attend the meeting, please comment on this issue with a funding request and state the activities you plan to undertake that are beneficial to the Project. The funding request should include items and estimated costs. (For example, “approximately $1000 to cover two nights hotel and half of the airfare.”)
After the meeting, please comment on the issue again with any results or take-aways that are useful for the Project as a whole. For example, “I spoke to folks from the AMAZING collaboration about functionality they need and possible new contributions. I got some feedback about the docs of the foobar package and opened issue ## describing the challenge in more detail.”

I'd like to request Astropy support to attend ADASS and one day of IVOA conference.
Budget

Item
Approximate Amount

Transport to/from JFK
$200

Transport to/from hotel
$100

Flight to Malta
$1300

Hotel
€130.00 per night (6)= €780 = $875

Registration
€350 = $400

Meals (breakfast included at hotel)
~€30 per meal x 12 = €360 = $400

Total = $3275

I would like to request Astropy support to attend ADASS.

Item
Approximate Amount
Notes

Transport to/from TUS + Parking
$100
mileage plus long-term parking at $5/day

Transport to/from hotel
$100

R/T flight TUS-MLA
$1200
PHX-MLA possible fallback

Hotel
€130.00 per night (6)= €780 = $875
need to arrive on 9 Nov to catch whole meeting

Registration
€350 = $400

Meals (breakfast included at hotel)
~€30 per meal x 12 = €360 = $400

Total = $3075

I would like to request Astropy support to attend ADASS.  I'll be running a Birds of a Feather session on general spectroscopy tools, as part of our spectroscopy development group.

Item
Approximate Amount
Notes

Transport to/from SFO
8 days parking at $6/day = $48

SFO - MLA flight
$1133.50

Transport to/from hotel
$100

Hotel
6 nights at € 180/night * 1.11 ($/€) = $1200
This is an upper limit.  Hoping to book the cheaper hotel (€110/night).

Registration
$430 = $477
Includes conference dinner. $389 if this is excluded.

Meals
~€30 per meal x 12 meals = €360 = $400

Total ~ $3400

Alright folks, the finance committee (sans @kelle of course) approves all of these - go ahead and make your arrangements @kbwestfall , @tepickering, and @kelle !

Note for bookkeeping: We also have the approved funding request for Spectroscopy Busy Week (#421) that should be closed out with this travel.

Pasting travel policy below since that article is behind login:
Travel Expense Policy
Introduction
In the course of your association with NumFOCUS or its sponsored or affiliated projects, you may be required to pay for travel expenses and be reimbursed. The following is a list of approved expenses and requirements that must be met in order for your expense to be considered eligible and for you to be reimbursed for expenses incurred.
What We Cover:
Transportation costs including airfare, train fare, rental cars, taxis, rideshares, tolls, parking, baggage fees, and travel insurance. Transportation costs can include reserved seat fees and baggage fees.
Mileage will be reimbursed at the current published IRS mileage rate.
Auto rentals if extensive local travel is required and daily use is necessary.
Lodging including hotel accommodations and other short-term rentals.
Meals during the course of your travel.
Wifi during your flight if usage is for NumFOCUS/project work only.
Expense Limitations:
Airfare should be the lowest price for a non-stop coach flight to meet your needs. Please book your flights at least 14 days in advance.
Upgrade fees such as first-class seats and other boarding upgrades are not permissible.
For airport parking, please choose the most economical.
Lodging should be secured in a reasonably priced room or similar lodging in reasonable proximity to the business or project need.
We do not pay per diem fees. We will reimburse actual documented meal costs up to $90.00 per day and tip costs up to 20%.
NumFOCUS does not reimburse for non-employee/non-project representative (such as family) travel costs if that person is accompanying an employee/representative.
We do not pay bar tabs (e.g. alcohol when no meal is being purchased).
Activities that are not business-related, such as movies and shows.
Personal expenses, such as laundry, movies, mini-bar charges, car repairs, satellite radio, fines or tickets for traffic violations, insurance add-ons, pet sitting, or childcare.
Connecting transportation for non-business-related activities.
Documentation
All expenses related to travel must be documented (an invoice, receipt or similar). Documentation must include:
Vendor name
Full cost, including tip
Itemized list of expenditures
Credit card and bank statements are not acceptable documentation per the IRS.
We do not pay per diem fees, all expenditures must be accompanied by a receipt.
Questions
If a travel expense was not mentioned in the above details and you have a question about it, please contact<EMAIL_ADDRESS>or submit a ticket.
Method of purchase
Some travel expenses will be paid directly through a NumFOCUS credit card, and some will be reimbursed. Any eligible expenses that are incurred on behalf of NumFOCUS or its projects will be reimbursed in full.
How to Get Reimbursed
All reimbursements must be TIMELY or may not be approved. Please submit all requests within 60 days of your travel dates.
Employee reimbursements and documentation should be submitted through the Staff Reimbursement Form
Project reimbursements should generally be submitted through the normal method that the project has for requesting expenses paid, either Open Collective or Typeform.
Project Summit reimbursements will be submitted and paid through Open Collective - the link will be made available after the Summit is announced each year.

Post meeting comments:
The BoF on spectroscopic data reduction tools was valuable, and hopefully will lead to more people attending the monthly spectroscopy development meetings and more contributors to specreduce.  Some key takeaways (from my biased perspective):

There's a key terminology issue around what is meant by calibration, reduction, and analysis.  It would be useful to add these terms to the specreduce terminology doc.  Having a definition as a reference point for discussion would be useful, even if the definition has minor inaccuracies in some contexts/use cases.
There is an effort similar to specreduce (which I had thought of as primarily related to OIR observations) for single dish radio observations, called DYSH.  It may be useful to think of specreduce more broadly where we have various subpackages (e.g., specreduce.oir, specreduce.radio, specreduce.xray).  But this is up to the community of contributors.
There is a (long-standing?) tension between providing general tools vs. needing bespoke pipelines for each instrument.  I think the consensus seems to be that people do not want to keep reinventing the wheel, but there's still debate and skepticism about how to address this.

post meeting comments:

as mentioned above, the BOF was well-attended and some potential collaborators may come out of it. some of the discussion got buried in semantics so we will want to be clearer about the goals and applicable domains for things like specreduce.
i learned about pykoala, https://github.com/pykoala/pykoala, which has some significant overlap with specreduce. the presenter of the talk on pykoala attended the spectroscopy BOF and is one of the potential collaborators.
brigitta's work on incorporating notebooks into testing and development and using markdown in lieu of ipynb for encoding them was super interesting. specreduce and specutils would do well to adopt those techniques.
fortuitously, the person newly hired into the specreduce project manager role was able to attend the meetng as well. being able to have extensive in-person discussions over the course of the week was extremely valuable.
the meeting was well-organized overall with one major exception: poster presentations. made it extremely difficult to browse posters to discover things. you had to know what poster you wanted to find and then find the right kiosk that hosted it. i have a much greater appreciation for the AAS iPoster scheme now...
as mentioned above, it would be good to have more astropy people attend ADASS more regularly since astropy is so widely used and deeply ingrained within astronomical software. may want to consider having astropy overview talks at future meetings to help keep the community abreast of changes and plans. e.g. noone i talked to was aware of the imminent release of version 7.0.0. a few didn't even know we were up to 6.x!

We think all travel has been approved, but the money hasn't started flowing yet (still needs action by NF) so will wait to close this until then.
That said, this issue is a perfect example of how we want travel funding to go - lots of good comments above on outcomes and high points of the event. (hence the added label to point people to for future conferences)


ARROW-8215: [CI][GLib] Fix install error on macOS

"R / AMD64 Windows RTools 35" timeout: ARROW-8234 https://issues.apache.org/jira/browse/ARROW-8234
and
"C GLib & Ruby / AMD64 Windows MinGW 64 GLib & Ruby" timeout: ARROW-8233 https://issues.apache.org/jira/browse/ARROW-8233
are unrelated to this change.
I'll merge this.


Add Soldout sign to Gold and Silver Tiers

Merging this because there are people reaching out to for gold and silver still


Failure to run swagger-jaxrs2:2.1.6 in OSGi due to transitive dependency on classgraph

I'm trying to upgrade to the latest swagger(-jaxrs2) but I'm having a problem with the transitive dependency on io.github.classgraph:classgraph which has non-optional package imports (some of which are no longer supported in newer versions of Java.)
However the most recent versions of classgraph has already corrected this. So I'm wondering if you could update to the latest io.github.classgraph:classgraph:4.8.95?

Thank you @frantuma ! Would there happen to be a SNAPSHOT of swagger artifacts published somewhere so I can further test?

NVM, I found them :+1:  https://oss.sonatype.org/content/repositories/snapshots/io/swagger/ thx


Question about AspNetCore 2.0 View Precompilation

I'm trying to deploy an aspnetcore 2.0 application running on .net framework 4.6.1.
I can't precompile views yet, because a missing piece on octopus tooling, so i need to comple views at runtime on the server.
Right now the server only has Windows Server Hosting, but it fails to compile any view because an assembly missing (Microsoft.CSharp.dll).
What are the requirement to support this workflow on the server ? the full .netcore sdk, the runtime, or what else ?
From the error message it looks for .net framework 461 reference assemblies, why is that (the server already have .net 461 installed)?
Thanks

@pranavkm any ideas?

I'm pretty sure you can solve this problem by disabling precompilation in your .csproj file like this:
<PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <PreserveCompilationContext>true</PreserveCompilationContext>
    <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

that should disable precompilation and include what is needed to compile the views at runtime

Thanks @joeaudette i was doing that, but it made me discover that Octopack was not picking up the refs folder 😄 !


File altered by before transform does not remove new unused imports

Description of the bug:
When using a before transform that makes an import unused, the import will not be removed by TypeScript.
So if I have:
import { unused } from 'unused-module';
import { something } from 'some-module';
const value = something;

And replace const value = something with
import { somethingElse } from 'some-other-module';
const value = somethingElse;

The import { unused } from 'unused-module'; statement will be removed, but import { something } from 'some-module'; will remain:
import { something } from 'some-module';
import { somethingElse } from 'some-other-module';
const value = somethingElse;

TypeScript Version:  2.4.2
Code
import { unused } from 'unused-module';
import { something } from 'some-module';
const value = something;

Reproduction of this bug requires using the transforms API.
I have prepared a repository with a simple reproduction that runs this file: https://github.com/filipesilva/ts-transform-import-bug/blob/master/test.ts
git clone https://github.com/filipesilva/ts-transform-import-bug
cd ts-transform-decorator-bug
npm install
npm test

Expected behavior:
All unused imports are removed.
import { somethingElse } from 'some-other-module';
const value = somethingElse;

Actual behavior:
Only imports there were unused before the transformed are removed.
import { something } from 'some-module';
import { somethingElse } from 'some-other-module';
const value = somethingElse;

/cc @rbuckton

Currently, whether or not an import is referenced is determined by the checker at check time, prior to emit. We do not re-bind or re-check the AST between transformations, so all check-time state will always be based on the originally parsed AST.
The only way to elide an import in this case would be to have the "before" transformer explicitly elide the import. This is currently the intended behavior. We are considering ways of opening up the checker (and our internal EmitResolver) to custom transformations to allow more control, but that likely won't be ready in the 2.5 release timeframe.

I'm actually facing the inverse of this problem. Something is being marked as unused (and so the import is elided) but I would like that import to stay.  Is there anyway to manage this without checking the entire file and adding the import back in (if it truly is unused)


Lazy load pictures

When the lightbox is opened, all the pictures are loaded at the same time.
I don't know which order is choosen to load the pictures, but when it seems that you have to wait all the pictures to be loaded to see the first one.
The best behaviour should be:

Load the picture to show and start loading the others in "background"
When we move to another picture, if the new current is loaded, show it, if it's not, show the loader
Load them in the right order

I don't know how it can be done, but it would be great.
Moreover, it would be awesome to have a way to set smaller images to load before, for progressive pictures loading (a.k.a medium loading).
There is a good component made with react for Progressive image loading: https://www.npmjs.com/package/react-progressive-image-loading
Thanks for the great work.
I'm waiting for the pro version btw :smiley:

I'm glad you like it!
Indeed when lightbox opens all the pictures starts to load, but loading is asynchronous. Every source has it's own loader and it's displayed when the loading is complete, even if different sources are still being loaded.
When it comes to lazy loading - I was thinking about that :P, probably I will implement it in future.

Do you know if the pictures are loading in a specific order ?


Sync etl docs with problem-specifications

The etl exercise has been overhauled as part of a project to make practice exercises more consistent and friendly.
For more context, please see the discussion in the forum, as well as the pull request that updated the exercise in the problem-specifications repository:

https://forum.exercism.org/t/new-project-making-practice-exercises-more-consistent-and-human-across-exercism/3943
https://github.com/exercism/problem-specifications/pull/2250

If you approve this pull request, I will eventually merge it. However, if you are happy with this change please merge the pull request, as it will get the changes into the hands of the students much more quickly.
If this pull request contradicts the exercise on your track, please add a review with request changes. This will block the pull request from getting merged.
Otherwise, as discussed in the forum post linked to above, we aim to take an optimistic merging approach.
If you wish to suggest tweaks to these changes, please open a pull request to the exercism/problem-specifications repository to discuss, so that everyone who has an interest in the shared exercise descriptions can participate.

/format


Using mailserver as a SMTP relay

Classification

Question
Documentation

Description
Briefly describe the problem you are having in a few lines.
This mail server is a very complete solution but we struggle to get it act as a simple SMTP relay. Indeed our main usage would be:
Backend --> SMTP relay --> Real SMTP
We could then setup multiple docker running mailserver to act as multiple relays for our different customers.
Doind so prevents our backend codebase to know what SMTP is required for a given customer and can be customer agnostic. It will just send SMTP to the mailserver docker which then redirects properly the request to the real customer SMTP (we have one infrastructure by customer).
Do you think such a setup is a complex thing? I din't find anywhere on your documentation this use case.

we struggle to get it act as a simple SMTP relay.

Can you describe what you have tried and and the problems that you have encountered ?

I din't find anywhere on your documentation this use case.

This use case is not covered natively but you can customize Postfix to act as forwarder. Please, read postfix documentation for this use case.

Do you want to contribute to add this feature ? It will fit your needs. Besides, a relay mode could be a good addition to this project.

I like to know more about. What is on your mind?
Create a new container with postfix with a custom config to just send out the messages and somehow plug it with the "main mailserver"?

as a workaround, I'm trying to implement fetchmail in another container but that's turning out to be harder that it seems because of TLS certificates.
I set up IMAP mailboxes on the mailserver container, then try to use fetchmail to pull from each one by connecting to "mailserver" but then it hits the issue that the TLS certificate is from "mail.".
If you can pull from the mailserver container, fetchmail and push the mail to your SMTP server.  Not quite as clean as postfix doing it for you, but probably good enough. You can probably write a script to generate the fetchmailrc file w/ all the mailbox names when you have to add new mailboxes too.

bump.


Clicking on NuxtLink with "#" as Value Triggers Loading of The Page

Environment

Operating System: Linux
Node Version:     v20.9.0
Nuxt Version:     3.10.0
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      css, devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
https://codesandbox.io/p/devbox/nuxt-link-test-fqzqn9
Describe the bug
When using NuxtLink components within a Nuxt 3 project, I've noticed that clicking on a NuxtLink with "#" as the value (e.g., <NuxtLink to="#">) triggers the 'page:loading:start' hook, even when navigating to the same page. This behavior is unexpected and can be confusing for users.
You can observe the loading even if you're already on the current page  by clicking on the links (anchor links) provided in the example (https://codesandbox.io/p/devbox/nuxt-link-test-fqzqn9).
Additional context
I believe that clicking on a NuxtLink component with "#" as the value should not trigger the loading indicator, as it indicates navigation to the same page. This behavior should be consistent with user expectations and improve the overall user experience.
Thank you for your attention to this matter.
Logs
No response

hello, @manniL ! Can I solve this problem?

@uniqueeest Sure, go ahead ☺

@manniL Should I stop the move from nuxtlink to # altogether?

@uniqueeest no no, the main part is not triggering the loading indicator if only the hash is different

@manniL sorry. I'm a beginner, so I don't know where to fix it 😢

Actually, the reproduction is not using the NuxtLoadingIndicator nor useLoadingIndicator. Using it should work fine as the diffing is done there.

The issue is here that vue router regards this as a 'navigation' event, so it will trigger middleware - and it is even possible to force reloading the page in this case (with a custom page-key passed to <NuxtPage>).
We start the loading when middleware begins, because if middleware perform data fetching this should be shown as part of the page loading.
As long as these two things are the case, I think it is correct that this triggers a loading event. Because you are creating a custom integration with the page:loading:start hook, it might be more appropriate to handle this edge case yourself. (Perhaps we could pass an argument to the hook to allow you to do this more easily?)


Solution för Stream Deck + and ATEM?

Is there anyone working on a solution for the new Stream Deck +? I would love to use the knobs for scrolling the mediabanks on my ATEM Constellation 2 M/E

I feel like the action Media player: Cycle source should allow for this. have you tried using that?


Cannot set PATH variable in integrated terminal

VSCode Version: 1.41. and 1.42.
OS Version: Kubuntu 19.10

I'm not able to set the PATH variable the integrated terminal starts with. I tried several options to set the "terminal.integrated.env.linux" variable, e. g. plain setting of PATH (see below), appending PATH by using ${env:PATH} and so on, but nothing works. After starting a new terminal, an echo $PATH always prints the original PATH variable as set in /etc/environment in my case.
Other shell variables are set correctly.
Steps to Reproduce:

Set the file "setting.json" to:

{
    "terminal.integrated.env.linux": {
        "PATH": "/home/test",
        "TEST_PATH": "/home/test"
    }
}

Start vscode on a linux terminal (bash):
code

Select Terminal-->New Terminal

Inside the new terminal type:

xxx@yyy:~$ echo $PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
xxx@yyy:~$ echo $TEST_PATH
/home/test

Does this issue occur when all extensions are disabled?: Yes

Today I got access to a computer running the same OS. There it works as expected: The "settings.json" from above result in an error since /usr/bin is not included in the path whereas the settings below append the path correctly:
{
    "terminal.integrated.env.linux": {
        "PATH": "${env:PATH}:/home/test",
        "TEST_PATH": "/home/test"
    }
}

On my computer, however, both settings-files do not produce an error but do not change my PATH variable.

This is by design, I believe what is happening is your shell is finding PATH is broken so it reinitializes is. I can reproduce it and that's what happens on my Debian box.


where is this config ?

Nice work !
configs/sd-objaverse-finetune-c_concat-256.yaml
it can not find the config and corresponding last.ckpt model.
Will it be shared later

Could you please share the command you are running and the error message? We have shared the model weights here: https://drive.google.com/drive/folders/1geG1IO15nWffJXsmQ_6VLih7ryNivzVs


[Go] parquet: is there a way to differentiate null groups and groups containing null?

Describe the usage question you have. Please include as many useful details as  possible.
Using the following schema to represent a nullable integer tuple type, how does one write the tuple NULL and differentiate it from (NULL, NULL)? I know the latter can be written by writing integers with def level 0, but I'm not sure about the former.
message schema {
    optional group a (LIST) {
        optional int f1;
        optional int f2;
    }
}

If it's not possible, are there any methods (ex. recommended schemas, columns, metadata) which are commonly used in this situation? I was thinking about adding an additional bool field isNull to deal with the problem, but I'm not sure if it's the best way.
Component(s)
Go, Parquet

@jayshrivastava Hi jay, this could handle by parquet internal. Parquet format has rep-level and def-level. null and (null, null) would have different rep-level and def-levels. So, Parquet reader and writer can distinct them.

@mapleFU What def levels and rep levels should I use in each case? My understanding is that rep levels are not relevant since there are no repeated fields. Can you please clarify what you mean by parquet internal?

@jayshrivastava in addition to what @mapleFU stated, this is also why the standard way for creating a list of tuples uses a 3-level schema that looks like this:
required group schema {
        optional group a (LIST) {
                 repeated group tuples {
                         optional int f1;
                         optional int f2;
                 }
        }
}

rather than the 2-level version in your issue. This can be seen via the description on the parquet format document: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#lists
The fact that readers can interpret your original version is because the spec states that it should be supported for backwards compatibility.

@zeroshade @mapleFU Thanks for the help. I appreciate it a lot!


Add closed issue message github action

Issue #, if available:
N/A
Description of changes:

Add a Github Action which sets a default message that will be commented on all issues when they get closed to warn users that comments on closed issues are hard for our team to see.

This is an OSDS effort across all SDKs&Tools repos to address the issue of customers expecting a response from AWS when they comment on closed issues.
By setting this default message we are clarifying expectations and explaining Github's limitation instead of letting users assume we are willfully ignoring them. We are giving clear directives about how to notify us and we're giving customers agency to make their own informed decisions as to whether or not they want to comment on closed issues.
Check all that applies:

[X] Did a review by yourself.
[ ] Added proper tests to cover this PR. (If tests are not applicable, explain.)
Github Action
[X] Checked if this PR is a breaking (APIs have been changed) change.
[X] Checked if this PR will not introduce cross-platform inconsistent behavior.
[X] Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

[ ] Linux
[ ] Windows
[ ] Android
[ ] MacOS
[ ] IOS
[ ] Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

merged


Resources list to be displayed as a drop down list

Better UI would be to change list to a dropdown menu

Samsung S4 - Resources multi-selection
This tagging/word cloud sort of interface is fine, but may not give flexibility to select multiple categories at once. Also, a sort of drop-down list might help reduce the noise..its kinda traffic heavy to eyes…

Once screenspace gets reduced, the left sidebar with categories disappears, and the categories appear on top. Instead, create a hamburger dropdown for the categories in that case.

I will look into this :)

This is what I have got so far:
When screen size is reduced

When dropdown button is clicked

Does it look all right?
I also ran tests with RSpec Rails:

I am not too sure what the outcome means. Is it all good since it has 0 failure?

Hi @Elenaires - I have not yet had a chance to try it out. But from the visual point of view, could you align the dropdown button on the left instead of having it centered?
Regarding the ests, you did not add any tests, and didn't touch anything that was tested, so yeah, this looks allright. :)

Sure @natsteinmetz , will do that.

I have aligned the dropdown button to the left and submitted my pull request. This is my first time contributing to open source so please let me know if there is anything that I could do better. Thanks. ;)

Merged to master 10/28/2018. PR: https://github.com/shescoding/shescoding-dot-org/pull/138


Transaction queries

It seems like it would be really easy to add the ability to search/query the transactions. Here is a sample URL that grabs a CSV for all results that match "staples":
https://wwws.mint.com/transactionDownload.event?query=staples&queryNew=&offset=0&filterType=cash&comparableType=8
Here is a query for all transactions that were $6.90:
https://wwws.mint.com/transactionDownload.event?query=6.90&queryNew=&offset=0&filterType=cash&comparableType=8
Here are all transactions between 100 and 200 dollars:
https://wwws.mint.com/transactionDownload.event?query=100.00..200.00&queryNew=&offset=0&filterType=cash&comparableType=8
Here is a query for things matching "geico" and between 100 and 200 dollars:
https://wwws.mint.com/transactionDownload.event?query=geico%2C 100.00..200.00&queryNew=&offset=0&filterType=cash&comparableType=8
Here are all transactions from a particular account:
https://wwws.mint.com/transactionDownload.event?accountId=6379996&query=&queryNew=&offset=0&comparableType=8
Here are all queries categorized as "student loan" and occurring between 02/01/2015 and between "02/28/2015":
https://wwws.mint.com/transactionDownload.event?startDate=02%2F01%2F2015&endDate=02%2F28%2F2015&query=category%3A"student loan"&queryNew=&offset=0&exclHidden=T&filterType=cash&comparableType=8
From the above examples, it looks like it would need to be possible to pass the parameters to get_transactions():

query
accountId
startDate
endDate

And then simply append them to the query.
result = self.session.get(
            'https://wwws.mint.com/transactionDownload.event',
            headers=self.headers,
            params=params
            )

I may end up modifying get_transactions() myself, as I would like to make a tool that can modify transactions' categories based on a query. However, if I don't get around to actually doing it, at the very least I have outlined this in a ticket so if anybody is inclined to implement this, they can.
I appreciate that this API exists and hope that I get a chance to contribute to it!

This is a great idea. I've modified the library myself to just query a date range of transactions.

Very cool. How did you discover these query string options?

Good stuff! We recently released a new version that wraps get_transactions and allows obtaining CSV and JSON. If you had any interest in adding these capabilities, please do send a PR along for review and I'd be happy to incorporate it :)

Closing as we do now have start and end date filtering, PRs welcome for any others!

oh wow, heh, this was from seven years ago! I somehow missed the
comments on this. Whoops. Glad it is now implemented.


Image in PDF shows up as a black box

Attach (recommended) or Link to PDF file here:
pdf-jpg-black.pdf
Configuration:

Web browser and its version: Chrome 84.0.4147.125 (Official Build) (64-bit)
Operating system and its version: OSX 10.15.6 (19G73)
PDF.js version: PDF.js: 2.6.248
Is a browser extension: no

Steps to reproduce the problem:

Open PDF in PDF.js

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

This is a JPX image with an indexed colorspace with 4 bits per component. This file has the same problem (page 11, bottom right)
https://issues.apache.org/jira/secure/attachment/12655396/PDFBOX-2204-012411.pdf
This file
https://flh.fhwa.dot.gov/resources/design/pddm/Chapter_05A.pdf
has a similar image on the bottom of page 10, also JPX and indexed, but has 8 bits per component and is displayed. So I guess it's the usual bpc=4 that produces the problem.

We have the same problem.  Any workaround or solution?
Sample:
2 JPX images on left.
JPXimageprobem.pdf

That one has 3 images with 4 bits per component. Of these, 2 are JPX images with DeviceGray colorspace and these don't get rendered.

@THausherr Do you happen to have a recommendation for a workaround for this issue?

I'm not with this project, I just hang around here and analyzed the file. If you created the file, then avoid creating 4 bit images.

FYI this issue was fixed for us by opening the PDF in Preview on MacOS > file > export... and choosing to export as "PDF/A".

This seems to be a dupe of https://github.com/mozilla/pdf.js/issues/4648


Add support for Right-click -> Paste

Storage Explorer Version: 1.1.0
Platform: Windows 10
Architecture: ia32
Build Number: 20180507.1
Commit: bcc8990d
Steps to Reproduce:

After opening the application, go to (Local and Attached) in the Explorer pane
Right-click on 'Cosmos DB Accounts (preview)' -> 'Connect to Cosmos DB'
In the 'Connection String' text box, right-clicking produces no context menu.

Expected Experience:
Like any other Windows text box, I expect a context menu to allow me to cut, copy and paste text.
Actual Experience:
No context menu appears

Hi @djlan , please triage this bug!

CosmosDB has been removed from Storage Explorer.

Thank you!


Bug access map may cause coredump in sink buffer

Proposed changes
read map and write map do not have same mutex，which may cause coredump in pipeline exec mode

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


Some print-object would be useful

Any tips on how they should be structured for inheritance? My small hacks below is very useful, but it isn't really suitable for the inheritance used by claylib. For instance path is a part of game-asset, but I print it from font-asset.
(defmethod print-object ((obj vector2) out)
  (print-unreadable-object (obj out :type t)
    (format out ":x ~A :y ~A" (x obj) (y obj))))

(defmethod print-object ((obj font-asset) out)
  (print-unreadable-object (obj out :type t)
    (format out ":path #P\"~A\" :size ~A" (path obj) (size obj))))

(defmethod print-object ((obj rl-font) out)
  (print-unreadable-object (obj out :type t)
    (format out ":size ~A :glyph-count ~A :glyph-padding ~A"
            (size obj) (glyph-count obj) (glyph-padding obj))))

(defmethod print-object ((obj text) out)
  (print-unreadable-object (obj out :type t)
    (format out
            ":text \"~A\" :font ~A :font-size ~A :color ~A :spacing ~A"
            (text obj) (font obj) (size obj) (color obj) (spacing obj))))

(defmethod print-object ((obj rl-color) out)
  (print-unreadable-object (obj out :type t)
    (format out ":r ~A :g ~A :b ~A :a ~A" (r obj) (g obj) (b obj) (a obj))))

Thinking about it, maybe the following is acceptable? But it doesn't print very nicely though
(defmethod print-object ((obj game-asset) out)
  (print-unreadable-object (obj out :type t)
    (format out ":path #P\"~A\"" (path obj))))

(defmethod print-object ((obj font-asset) out)
  (print-unreadable-object (obj out :type t)
    (call-next-method obj out)
    (format out ":size ~A" (size obj))))

#<FONT-ASSET #<FONT-ASSET :path #P"/home/simendsjo/.guix-profile/share/fonts/truetype/DejaVuSansMono.ttf">:size 16>

.. the following is a bit better, but the hierarchy leaks a bit. game-asset suddenly knows there are derived classes (and what if there isn't?), and font-asset knows game-asset will print without adding a blank character at the end:
(defmethod print-object ((obj game-asset) out)
  (format out ":path #P\"~A\"" (path obj)))

(defmethod print-object ((obj font-asset) out)
  (print-unreadable-object (obj out :type t)
    (call-next-method obj out)
    (format out " :size ~A" (size obj))))

Agreed, this would be a nice enhancement. Not too difficult to add but the class hierarchy could be confusing to someone who's never worked with it before. Lots of slots-that-aren't-really-slots and objects containing other objects. The approach I would take is to comb through the src/ files and add a method in the same place for the objects/fields you want to print. I'd add a blank line at the end of each format to avoid having to care about whitespace so much. Don't feel pressured to PR this yourself unless you really want to.

If you can guide me on how you'd like it, I can do some grunt work. For a class c which derives from p and embeds e, would something like the following be acceptable: #<c #<c :parent-slot 1> :slot1 1 :slot2 #<e > :slot3 3> ?
I think it would be better if the actual parent name was shown, and maybe something like :base-classes (#<p>) to support multiple inheritance?
What does other libraries do?

would something like the following be acceptable: #<c #<c :parent-slot 1> :slot1 1 :slot2 #<e > :slot3 3>

Personally I like to see each value on a separate line, but if you're writing the code then you get to decide what looks prettiest (just be consistent). I think that's a good start at least.

maybe something like :base-classes (#<p>) to support multiple inheritance

That shouldn't be necessary if every method contains call-next-method. It will call print-object for the first superclass, then the next.
Since this is not performance-sensitive code, another approach would be to use the MOP, which will let you eschew some of the boilerplate. texture is a good example here since it has a bit of everything. This will get you all of the methods for texture and its superclasses:
(mapcan #'(lambda (c)
            (copy-list (closer-mop:specializer-direct-methods c)))
        (cdddr (reverse (closer-mop:compute-class-precedence-list (find-class 'texture))))

Filtering that list is an exercise to the reader. We only care about the standard-reader-methods and any standard-methods that take one argument, with a few exceptions: draw-object, initialize-instance, probably others. Note that you would not use call-next-method in this case.
That's what I would do: Use the MOP, figure out what we actually want to print, wrap that all up in a macro that spits out the defmethod. That's probably a bit much if you're fairly new to CL -- nothing wrong with the straightforward approach either.

Here's an example. Per class, we list the slots/methods which should be added. The topmost class will use print-unreadable-object, while superclasses will only print directly.
A font-asset renders like the following (there's something strange with rl-font, an extra print-object somewhere..?).  So :PATH is added from game-asset without creating any additional structure.
#<FONT-ASSET :SIZE 0 :ASSET #<RL-FONT :GLYPH-COUNT 0 :GLYPH-PADDING 0 :SIZE 0 #<RL-FONT {10038272A3}>> :PATH ~/.guix-profile/share/fonts/truetype/Cormorant-Bold.ttf >

The API is as follows:
(define-claylib-print-object rl-font (glyph-count glyph-padding size))
(define-claylib-print-object game-asset (path))
(define-claylib-print-object font-asset (size asset))

And the implementation:
(defun print-it (obj methods out)
  (dolist (method methods)
    (format out ":~A ~A " method (funcall (symbol-function method) obj))))

(defmacro define-claylib-print-object (type methods)
  `(defmethod print-object ((obj ,type) out)
     (let* ((class (find-class ',type))
            (top (car (closer-mop:compute-class-precedence-list (find-class (type-of obj))))))
       (if (equal top class)
           (print-unreadable-object (obj out :type t)
             (print-it obj ',methods out)
             (call-next-method))
           (print-it obj ',methods out)))))

What do you think about something like this?

Yeah, you figured out what I should have said. :sweat_smile: This is good; we're already following a similar pattern in several places. Don't think it needs claylib in the name as this will be internal but otherwise I don't see any obvious problems.

Not sure if such initialized errors are bugs or if I need to handle unbound slots in my printer:
(defmethod print-object ((obj rectangle) out)
  (format out "~A" (gradient-style obj)))

(print-object (make-rectangle 1 2 3 4 +red+) nil)

;; The slot CLAYLIB::%GRADIENT-STYLE is unbound in an instance of CLAYLIB:RECTANGLE.


Modify field array order

I'm trying modify the order of items inside of a field array while keeping their respective values. Utlimately, the goal is to create a drag and drop interface that would wrap this functionallity. This is what I've got so far:
ArrayTracker.prototype.swapByIndex = function atSwapByIndex(formId, field, indexA, indexB) {
  var self = this;
  self.ensureField(formId, field);

  //get current field array
  var fieldArray = formData[formId].mDoc.getValueForKey(field);

  //swap array values
  var swap = fieldArray[indexA];
  fieldArray[indexA] = fieldArray[indexB];
  fieldArray[indexB] = swap;

  //set new field array
  formData[formId].mDoc.setValueForKey(field, fieldArray);

  //reset form to reflect new order
  AutoForm.resetForm(formId);
}

But resetForm is a brute force way to apply the new state to the form and loses anything else that was modifed in the form. I've tried modifing the self.info[formId][field].array to reflect the new indices and then calling self.info[formId][field].deps.changed(), but state is never changed.
How would you go about this @aldeed?

Some of this stuff is changing in devel branch/5.0. I'll investigate the best way to do this when a bit closer to releasing that.

Sounds great. Thanks!

I haven't looked into this really deeply, but enough to see that it will be tricky. The main problem is update forms, where there is a lot of logic around making sure that we're correctly tracking which items you remove so that the correct array indices get removed from the doc.
Short answer is that the best approach will probably be to

Call removeFromFieldAtIndex for the dragged element.
Make a variation of addOneToField that inserts into the array at a particular index, and then set those values.

We could also revisit the way it tracks overall, but I know that was a mess to get working in the first place. If we're only ever replacing the entire array, it could be simpler, but I don't recall the use cases for why it is the way it is.

Please review #1370 for how I dealt with reordering arrays.

Is this implemented already? How can I use the solution @rikonor created?

@cloudrocketsoftware My PR was never merged.
Considering the original repo has almost not changed at all since my fork happened, you'd probably be fine using the fork.
That said, you'd be better off doing your own fork and applying my changes there.


Windows Installation Media

To use SRS <IP_ADDRESS> we need a Windows image 10.0.18362.418 but this is not available for download fom MS.
We checked VLSC, MSDN and MPN - there is no image of this version anywhere.
How are we supposed to use SRS?

@kort3x , you can download from below site  build np 18363.418
https://tb.rg-adguard.net/public.php


CX Command_Injection @ core/appHandler.js [master]

Command_Injection issue exists @ core/appHandler.js in branch master
The application's function method calls an OS (shell) command with address, at line 39 of core\appHandler.js, using an untrusted string with the command to execute.
This could allow an attacker to inject an arbitrary command, and enable a Command Injection attack.
The attacker may be able to inject the executed command via user input, address, which is retrieved by the application in the function method, at line 39 of core\appHandler.js.
Severity: High
CWE:77
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training
Recommended Fix
Lines Marked Not Exploitable: 39

Issue still exists.

Issue still exists.

Issue still exists.

Issue still exists.

Issue still exists.


Can't get gas profile from testnet

I tried to get transaction profile on testnet and devnet with the following cli command, but it is not working:
> sui --version
sui 1.22.0-2d07a1fd9f

sui client switch --env testnet && sui client profile-transaction --tx-digest DdjRK3L7RkzwV5N2PPJUCy5UVvbwK9zcqSm65ge4Bvzr

2024-04-24T11:52:46.937132Z  INFO sui_replay::replay: Using RPC URL: https://fullnode.testnet.sui.io:443
2024-04-24T11:53:03.669518Z  WARN sui_replay::replay: Object 0x0000000000000000000000000000000000000000000000000000000000000003 at version 0x4 does not exist on RPC server. This might be due to pruning. Historical replays might not work
thread '2024-04-24T11:53:04.878847Z ERROR telemetry_subscribers: panicked at crates/sui-protocol-config/src/lib.rs:1211:9:
Network protocol version is ProtocolVersion(43), but the maximum supported version by the binary is 42. Please upgrade the binary. panic.file="crates/sui-protocol-config/src/lib.rs" panic.line=1211 panic.column=9
main' panicked at crates/sui-protocol-config/src/lib.rs:1211:9:
Network protocol version is ProtocolVersion(43), but the maximum supported version by the binary is 42. Please upgrade the binary.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    65174 abort      /Users/user/.cargo/bin/sui client profile-transaction --tx-digest

I tried to upgrade cli to 1.23.1. Now I got the following error:
2024-04-24T12:29:35.714738Z  INFO sui_replay: Executing tx: DdjRK3L7RkzwV5N2PPJUCy5UVvbwK9zcqSm65ge4Bvzr
2024-04-24T12:29:35.714959Z  INFO sui_replay::replay: Using RPC URL: https://fullnode.testnet.sui.io:443
2024-04-24T12:30:03.086177Z  WARN sui_replay::replay: Object 0x0000000000000000000000000000000000000000000000000000000000000003 at version 0x4 does not exist on RPC server. This might be due to pruning. Historical replays might not work
cli2024-04-24T12:30:06.221443Z  INFO move_vm_profiler: No meaningful gas usage for this transaction, it may be a system transaction
Execution finished successfully.

Yet I use another transaction and success.
sui client profile-transaction --tx-digest 4Qff4WTGnKwwsztY2Mk8EosjJYxD2QBsbKmCdu7bpZqu

Simply put, Sui Cli requires a protocol version that is greater than or equal to the one specified in order to be used.
I tried upgrading to the testnet version, and it worked on both the testnet and mainnet. However, if I use only the mainnet version, it will only work on the mainnet and not on the testnet.
Correct me if I'm wrong.


"Edit Cathode Scripts" stopped working after closing the "Star in GitHub" window

I tried to open the Commands editor and it told me to star this project in GitHub. I closed the window and went to github.com to do it manually, because I didn't realise I had to click something on the window (I think this is what I had to do). "Edit Cathode Scripts" doesn't do anything anymore even tho I just starred it. Was it the wrong way of doing it? Do I have to wait? Do I have to reinstall OpenCAGE?
Every other tool works.
OpenCAGE version: <IP_ADDRESS> (Staging) (Right after the update)

Ooh perhaps I've broken something in the new update. One sec!

Hmm, I can't seem to replicate on my machine. Please could you try delete DATA/MODTOOLS/ and relaunch OpenCAGE?

It fixed it! It didn't even ask me to star it anymore, it just opened like it is supposed to

Nice!
I might add a "reset" button in OpenCAGE's settings in a future update which performs that process automatically for you get out of any corrupted downloads 👍

I've just pushed this out - in the settings menu you'll now find a button called "Verify OpenCAGE Tools" which will automatically perform this for you.


no primary found in replicaset

Hi.
We're using<EMAIL_ADDRESS>Our production uses node v0.12.7, running on CentOS.
We're getting the no primary found in replicaset error  from mongo.
BUT
I suspect the problem is in the inner dependency<EMAIL_ADDRESS>The problem is not reproduced when I force the dependency<EMAIL_ADDRESS>(done by
1 - rm -r node_modules/mongojs
2 - npm install<EMAIL_ADDRESS>--save,
which yields:
<EMAIL_ADDRESS>node_modules\mongodb
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
and then
3 - npm install
which yields
<EMAIL_ADDRESS>node_modules\mongojs
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
don't ask me how I got to that)
SO:

I thought you might want to know for yourselves
I can't find where to report bugs to them...
Can anybody tell me how to do that?

i also encountered the same problem!

@mafintosh any news around this issue?

@dr-dimitru it's an upstream issue by mongodb directly.

@KenanSulayman any chance to get link to source code which causes this issue?

As upstream issue is fixed this issue is closed


Auto eager load included associations

I've been battling a bit in my app with really slow response times caused by quite deep relationships so eager loading of them was required.
But I found that something in jsonapi-resources can cause the eager loaded data to be "lost" so it eager loaded AND loaded in N+1 queries, which was less than ideal but I finally fixed this with 012a6c2.
Then I thought "hey, we know what is desired already, why not include them automatically!". So that's what d15853e does.
Just using this a request goes down from ~450 queries to ~18 (most of them because I'm still abusing attributes, which is out of the scope of this PR).
And it passes the tests (at least locally).

@slaskis Thanks for your work on this. In light of your new code I felt I should rename the SerializerIncludeDirectives, so I put together #205.
It seems to be working very well for the case of a single level include. However with nested includes it's still losing the eager loaded data, as #206 shows. Even with this issue it's still a vast improvement.

Yeah I noticed that today as well. I thought it worked pretty well yesterday but adding something like pagination or filters and it still breaks.
I don't have that much experience with the innards of the ActiveRecord eager loading and how to troubleshoot it. It's pretty much been brute force testing step by step using byebug to see when the relation is changed for now.

It's great that you've set up a test case though!

Closing this to see the rest of the magic happen in #205


MessageBus: Optimize to receive into header-only messages if possible

We do have a separate pool containing many more message_bus_headers_max messages in addition to the full-sized messages in message_bus_messages_max but MessageBus is using up a whole full-sized message for the incoming prepare_ok messages.
We should optimize this in MessageBus, so that if the header.size is exactly @sizeOf(Header) then we copy the header into a header-only message, and unref the full message.
This would make it less likely that the MessageBus would run out of full-sized messages. It also means we can reduce our memory overhead by reducing the duration for which we hold onto full messages that we recv into at the TCP layer. i.e. Our pool becomes more just-in-time, for less message "inventory holding costs".

Closing; static message pool capacity (https://github.com/coilhq/tigerbeetle/pull/72) is incompatible with header-only messages.
Details: https://github.com/coilhq/tigerbeetle/pull/72#issuecomment-1022606287.


bug: two admins can take the same dispute

I took a dispute using 2 admin users.
The buyer and seller received 2 messages that their dispute had been accepted.
When an administrator accepts a dispute, Mostro must not allow another administrator to accept it, to avoid contradictions.
that It's not a priority
Mostro sent you this message:

{"order":{"version":1,"id":"ea84da8c-8048-4061-80f0-78907b0b0f11","pubkey":null,"action":"admin-took-dispute","content":{"peer":{"pubkey":"00000018............................................................05"}}}}

Mostro sent you this message:

{"order":{"version":1,"id":"ea84da8c-8048-4061-80f0-78907b0b0f11","pubkey":null,"action":"admin-took-dispute","content":{"peer":{"pubkey":"000000909........................................................10"}}}}

Bye Bye!

Hi @Catrya ,
clear! In your experience if  a solver ( not the admin ) takes a dispute an admin could take it too or we should think about only one operator assigned to a single dispute?
In this case I can fix just checking the state of the dispute is different from initiated.
Let me know your opinion!

Hi @arkanoider
Well, first I had thought that if a solver took the dispute no one else could do it (not even the admin). But @grunch is right when he says that all the powers must be maintained to the admin.
So now I think it would be better if:

if a solver takes a dispute, then no other solver can take it, but the admin can
if an admin takes a dispute, no one else can take it

Hi @Catrya ,
question for @grunch , I was looking to fix this and I have a doubt:
Dispute open --> A solver takes it and dispute goes inProgress status --> if an admin takes over the solver than the solver won't be able to close it right?
Dispute open --> A solver takes it and dispute goes inProgress status : at this stage is it possible that the admin takes the dispute in another status without closing it? Lookin to code it seems that all next step are conclusive for the dispute, but my doubt is just if there is another state after InProgress that could be, let me say a wait state. Then an admin takes over the solver in this state...what happens to dispute status...now it will be resetted to inProgress, and sounds right to me, but I am just asking if it's correct!

Dispute open --> A solver takes it and dispute goes inProgress status --> if an admin takes over the solver than the solver won't be able to close it right?

Correct, only the admin can take a dispute with status = in-progress, so no other solver can take a dispute from another solver

Dispute open --> A solver takes it and dispute goes inProgress status : at this stage is it possible that the admin takes the dispute in another status without closing it? Lookin to code it seems that all next step are conclusive for the dispute, but my doubt is just if there is another state after InProgress that could be, let me say a wait state. Then an admin takes over the solver in this state...what happens to dispute status...now it will be resetted to inProgress, and sounds right to me, but I am just asking if it's correct!

I'm not sure if I understand correctly, tell me more about this wait state? I was thinking when an admin take a dispute previously taken by a solver just to keep the in-progress state, do you think is necessary to add a new status to clarify what happened in this case?

I'm not sure if I understand correctly, tell me more about this wait state? I was thinking when an admin take a dispute previously taken by a solver just to keep the in-progress state, do you think is necessary to add a new status to clarify what happened in this case?

I was just thinking if any of the other states apart from in-progress state allow the admin to take the dispute in charge, but probably you yet answered to me @grunch , only if dispute is in-progress admin can take the dispute over the solver.

I was just thinking if any of the other states apart from in-progress state allow the admin to take the dispute in charge, but probably you yet answered to me @grunch , only if dispute is in-progress admin can take the dispute over the solver.

exactly because the other statuses mean that the solver already solved the dispute

First idea for closure with #277

closing it via #277


[backport] Fix imag for 0-size array

Backport of #2886

[automatic post] Jenkins, test this please.


feat(client): Add Reload method

To reload the index.yaml file is an expensive task. This patch implements the Reload method in the Client API so processes will call it on-demand to refresh chart repo clients.

is it expensive because it has to download the index from the target repo?

is it expensive because it has to download the index from the target repo?

The expensive task is the GET request to any repo storing an index.html file. It delays the process a few seconds. If we need to sync let's say 1000 charts (reality is more than that) we cannot reload the index.html file 1000 times (if each GET takes 1s, that's >15min).
Therefore, this path delegates the Reload task to the client consumer.


iOS double-tap needed to start playing the video

Current Behavior
On iOS 13 and 14 (Safari and Chrome), when clicking on a video the "poster" image disappears, but it's still necessary to tap again on the video to start playing. Basically, a double-tap is needed.
This issue seems related to these two:

https://github.com/CookPete/react-player/issues/706
https://github.com/CookPete/react-player/issues/543

Expected Behavior
On tap start the video immediately.
Steps to Reproduce
Looking at the others issues it seems that this issue is related to the use of the light prop.
Current implementation:
<ReactPlayer
ref={ref}
url={src}
light={thumbnail}
config={{ youtube: { playerVars: youtubePlayerParams }, vimeo: { playerOptions: vimeoPlayerParams } }}
playing={true}
playIcon={
  <PlayButton>...</PlayButton>
}
/>

Environment
Other Information
Has anyone faced this issue recently? Any possible solution?

I set light to false and add absolute positioned element with thumbnail over video.
{isMobile && thumbnail && !isStarted && (

      <PlayButton/>

 )}

Hey @denny7 thanks for your suggestion, unfortunately, the issue maintains even without passing the light prop.

I'd be surprised if there is ever a solution for this.
Mobile browsers are getting more and more strict about when to allow something to be played. Light mode is bound to never work correctly on mobile, because browsers require direct user interaction to "activate" the media element. Using light mode means the media element doesn't exist at the point of user interaction.
I'm more than happy if people find hacks/workarounds for this but I don’t think it will ever be properly solved.

Thanks @cookpete, if I find any solution I will put it here!

Thanks @cookpete, if I find any solution I will put it here!

Hi @claudiopedrom, I don't suppose you ever found a solution to this?

Thanks @cookpete, if I find any solution I will put it here!

Hi @claudiopedrom, I don't suppose you ever found a solution to this?

Hey! Unfortunately, it's been a long time and I don't remember and I also no longer have access to the project. 😞


There are remnants of dataset-related components in helm

fix in https://github.com/hwameistor/hwameistor/pull/1505


Diagnostic reports memory leak?

When using the Letterbox demo and after having scrolled through Most popular RTS videos a bit, having a look at allocations with Instruments show that some reports are never properly deallocated, even after having been sent.
Diagnostic reports continue to work properly, there is therefore no nasty deadlocked thread, but this still should be investigated.

Diagnostic reports can now be discarded. This new mechanism has been released in Letterbox 2.0.0.


flutter run on linux fails because of CMake

When using the current master, flutter can not run nor build a fresh project created with flutter create.
After downgrading with flutter downgrade it works again.
Steps to Reproduce

flutter create linux_test
cd linux_test
flutter run

Logs
❯ flutter run
Launching lib/main.dart on Linux in debug mode...
CMake Error: The source directory "/tmp/linux_test/build/linux/debug" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Building Linux application...
Exception: Unable to generate build files

doctor & analyze output
❯ flutter doctor --verbose
[✓] Flutter (Channel master, 1.19.0-2.0.pre.83, on Linux, locale en_US.UTF-8)
    • Flutter version 1.19.0-2.0.pre.83 at /home/jonas/Documents/flutter
    • Framework revision 8abf0a6d8c (13 hours ago), 2020-05-16 15:07:34 -0700
    • Engine revision aaf9e79f1d
    • Dart version 2.9.0 (build 2.9.0-9.0.dev<PHONE_NUMBER>)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/jonas/Android/Sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /snap/android-studio/88/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2

[✓] Android Studio (version 3.6)
    • Android Studio at /snap/android-studio/88/android-studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Linux • Linux • linux-x64 • Linux

• No issues found!

Outpuf of flutter analyze --verbose
❯ flutter analyze --verbose
[   +9 ms] executing: [<home>/Documents/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8abf0a6d8c0d94fc5a6a6761025fcf035870d8c0
[        ] executing: [<home>/Documents/flutter/] git tag --contains HEAD
[ +165 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] executing: [<home>/Documents/flutter/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[ +120 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] 1.19.0-1.0.pre-83-g8abf0a6d8
[   +6 ms] executing: [<home>/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [<home>/Documents/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +46 ms] executing: [<home>/Documents/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +33 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +7 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +180 ms] Generating /tmp/linux_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +283 ms] dart <home>/Documents/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot --disable-server-feature-completion --disable-server-feature-search --sdk <home>/Documents/flutter/bin/cache/dart-sdk
[  +16 ms] ==> {"id":"1","method":"server.setSubscriptions","params":{"subscriptions":["STATUS"]}}
[        ] ==> {"id":"2","method":"analysis.setAnalysisRoots","params":{"included":["/tmp/linux_test"],"excluded":[]}}
[   +1 ms] Analyzing linux_test...
[ +278 ms] <== {"event":"server.connected","params":{"version":"1.27.4","pid":27000}}
[  +19 ms] <== {"id":"1"}
[ +183 ms] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/pubspec.yaml","errors":[]}}
[   +5 ms] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/android/app/src/main/AndroidManifest.xml","errors":[]}}
[        ] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/android/app/src/profile/AndroidManifest.xml","errors":[]}}
[        ] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/android/app/src/debug/AndroidManifest.xml","errors":[]}}
[  +45 ms] <== {"id":"2"}
[ +680 ms] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
[   +2 ms] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/lib/main.dart","errors":[]}}
[  +89 ms] <== {"event":"analysis.errors","params":{"file":"/tmp/linux_test/test/widget_test.dart","errors":[]}}
[   +2 ms] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
[   +8 ms] Analyzing linux_test... (completed in 1.3s)
[        ] No issues found! (ran in 1.3s)
[   +1 ms] "flutter analyze" took 1,825ms.

Duplicate of https://github.com/flutter/flutter/issues/57409

When using the current master, flutter can not run nor build a fresh project created with flutter create.
After downgrading with flutter downgrade it works again.
Steps to Reproduce

flutter create linux_test
cd linux_test
flutter run

Logs
❯ flutter run
Launching lib/main.dart on Linux in debug mode...
CMake Error: The source directory "/tmp/linux_test/build/linux/debug" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Building Linux application...
Exception: Unable to generate build files

doctor & analyze output

anything new...... i am also experiencing the same problem

Error cmake not found
Try follow command

sudo apt install clang
sudo apt install cmake
sudo apt install ninja-build
sudo apt install libgtk-3-dev

Error cmake not found
Try follow command
1. sudo apt install clang

2. sudo apt install cmake

3. sudo apt install ninja-build

4. sudo apt install libgtk-3-dev

Worked for me, had to install LLVM though, as I was havin the "unmet dependencies" problem

flutter linux prerequisites
ubuntu: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev
centos: sudo yum install clang cmake ninja-build pkgconfig gtk3-devel libblkid-devel

I tried the following instead of the official old version cmake ninja-build, however I could not find the new version of pkgconfig. However it seems ok to use old pkgconfig 0.27.
# yum install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm
# yum install https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/c/cmake3-3.17.3-3.el7.x86_64.rpm
# yum install ninja-build cmake3

[vncuser@localhost hello]$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[\u2713] Flutter (Channel dev, 1.24.0-3.0.pre, on Linux, locale en_US.UTF-8)
[\u2717] Android toolchain - develop for Android devices
    \u2717 Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[\u2717] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Linux toolchain - develop for Linux desktop
    \u2717 pkg-config 0.29.0 or later is required.
[!] Android Studio (not installed)
[\u2713] Connected device (2 available)

! Doctor found issues in 4 categories.
[vncuser@localhost hello]$ flutter build linux
Building Linux application...
[vncuser@localhost hello]$ cd build/linux/release/bundle/
[vncuser@localhost bundle]$ ll
total 16
drwxrwxr-x. 3 vncuser vncuser    46 Nov  1 00:55 data
-rwxr-xr-x. 1 vncuser vncuser 15640 Nov  1 00:55 hello
drwxrwxr-x. 2 vncuser vncuser    54 Nov  1 00:55 lib
[vncuser@localhost bundle]$ cd h
bash: cd: h: No such file or directory
[vncuser@localhost bundle]$ ./hello


Add display attributes into LocalConnectionStatus

"Display attributes" is some extra data that the overlay wishes to communicate to humans or monitoring systems.
For https://github.com/weaveworks/weave/issues/2663

@bboreham linter is moaning

LGTM.


nxstyle: "Multiple data definitions" false alarm

nxstyle complains "Multiple data definitions" on the following line in apps/examples/module/module_main.c
static const char g_write_string[] = "Hi there, installed driver\n";

it seems it is confused with "," in the string.

Isn't this the same as issue #387

Isn't this the same as #387

it seems same. thank you.


Load Resource Error

Describe the bug
Large LiDAR dataset above 800 mb, does not get extracted in backend on low configuration servers (4 core, 8GB) hence giving error on PC-tool as the file was not found. Once the Server capacity is increased it works file on uploading but the PC-tool UI fails to load the data stating the same error message 'Load Resource Error'
To Reproduce
Steps to reproduce the behavior:

Go to LiDAR data tool
Upload a large LiDAR dataset
Once the upload is complete, click on annotation tool to load the data in pc-tool.
pc-tool will open new tab and throws the error

Expected behavior
System specification should be mentioned to process the LiDAR data and data should be loaded in PC-TOOL for viewing or annotating
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 124.0.6367.119

Which version are you using? Please try the latest version.

We can successfully upload a lidar fusion package more than 2GB in our test environment, which have 4GB memory limit,   it will consume about 3GB memory to process this package.


Update Dockerfile in container presentation

The Dockerfile example on slide 14 of the containers presentation uses the ADD command. It is recommended to use COPY instead, if neither unpacking, nor retrieving from an remote URL are required.

Done! Thanks


Scene init error handling

We need to ad some better error messages when the user sets realm=None or host=None. ATM we are accepting them, using them in topics and urls, and it throws misleading network errors when  attempting to connect.

Possibly fixed in 6f6e41941ab74c85fc56109712370f8c1f6ce1d7.
Those arguments should not be able to be None anymore.

Will keep this issue open for a couple days, unless there is another issue with this.

I added a few more checks for empty string and / in the scene param in #93. I think it could be closed now.


Firefox not working: shows no day numbers

Hi. Here firefox shows no day numbers. A simple replace of cell.innerText to .innerHTML is the solution here (daynumber foreach)
best

Although everything seemed ok in latest stable firefox, a quick google search reveals that certain versions don't support the innerText property.
All instances of innerText have been replaced with innerHTML. :zap:
Please verify it working, and I'll draft a new release.
Thank you.

Incorporated in the latest release


Currently, this code doesn't support CPU. With a few modifications, it can run on CPU. But it's worth noting that running on CPU is very slow, that may cost one hour to perform inference, and several hours to training an epoch.


Upgraded mbed-edge version to latest release 0.10.0

Product requirement to use latest edge-core

Ya true. Manually verifying this PR.

@costanic manually verified! edge-core 0.10.0 builds and connects with cloud successfully. Created virtual devices and they also work from Pelion portal.
edge-core status -
{"account-id":"0168e7bff4f2263cf4be560700000000","edge-version":"0.10.0-master-41a60875f432a11e8678130e6c8152379e851c6d-dirty","endpoint-name":"016e284afd390000000000010010801b","internal-id":"016e284afd390000000000010010801b","lwm2m-server-uri":"coaps://mds-systemtest.dev.mbed.com:5684?aid=0168e7bff4f2263cf4be560700000000&iep=016e284afd390000000000010010801b","status":"connected"}


Document authentication with R client

@m-mohr: What's the deadline?

Not sure myself, is it Phiweek? @pstranner

This is the page we are talking about: https://docs.openeo.cloud/getting-started/r

Also related to this: https://github.com/Open-EO/openeo-r-client/issues/69
I also wouldn't consider it a hard requirement to be there at a certain timing. But for sure we'll try. And we'll need it anyway later on for the R client project addition.

Good point, we may not make the R client work with OIDC (at least without the user needing to request a client ID/secret and I'm not sure that's what EGI let's us do). In this case, we may want to remove the R getting started guide for now.

We have the kick-off for the r-client project on 09.09.2021. We could focus on documentation and authentication first to make the getting started guide available again.

Once we make this available, we also need to change the link at https://openeo.cloud/#clients

@przell : please could you send an email to<EMAIL_ADDRESS>and request technical support for this client's configuration to EGI Check-in Support Unit?
Thanks.

@vardizzo-lab We have pending client IDs (openeo-platform and openeo-platform-r) that simply need to get accepted and deployed, which I hope will happen soon. I don't think we need to open a support ticket right now.

I have checked and it seems that some information is missing in both configurations. Enter it to allow approval.

@vardizzo-lab I've already entered all requested information this morning. Please clarify what is missing?
Please note that I can't remove the localhost URLs as requested as we use them in production!


the dial button on the RTO pack doesnt do anything

Description

Reproduction

Screenshots

Additional context

The intended behavior should be to hide or obscure the dial button until a name is highlighted, THEN you can dial. Currently you only click on the person's name to call them.


Migration to the last r.c. from 2.15.2 question: how the block of code with Root has to be migrated properly?

Don't see a Root in new migration guides, but I can't use it.
This is what I got using NativeBaseProviderinstead of Root that I had before.
So what would be the proper way for migration?
This is what I had in 2.15.2.
import { NativeBaseProvider, Root } from 'native-base';

  render() {
    const { themeState, loading } = this.state;
    if (loading) return null;
    return (
      <Provider store={ Store }>
        <AppearanceProvider>
          <SafeAreaProvider>
            <Root>
              <ThemeContext.Provider value={ themeState }>
                <Navigation />
                <FingerprintModal />
              </ThemeContext.Provider>
            </Root>
          </SafeAreaProvider>
        </AppearanceProvider>
      </Provider>

same question, there is no migration guide.
i think the docs and changelog release is really terrible, i cannot find anywhere which mention about Root tag was remove or deprecated. cmiiw


[Bug]

Addon
BetterSyntax.plugin.js
What happened?
Plugin crashes when switch channel.
What Discord version do you have this issue on?
Stable
Logs
http://0x0.st/oxU4.png

Code of Conduct

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

Duplicate of #11

Sorry, that's my mistake. I forgot to do a version bump so the update wasn't shown to many people, i've just done that now.


Add a seaice example

This is from the tutorial, but now uses the single-variable timeseries files from the ADF. Note that I could not get the unweighted mean thing working. Right now it plots ice area (aice) from two cases and the difference. Then it computes the total ice area for the NH from one case and plots it.

Thanks for starting this, @dabail10! I'd like to get #55 merged before this PR -- it has some updates to config.yml that I think we want before we update that file on this branch to make sure ploomber calls the new seaice.ipynb notebook.


1.8 VM Documentation

We need to update the documentation to use the new istioctl tooling and discuss the new DNS feature, including enablement

I think Steven is working on this currently