Condor q change

Add variable for condor version and if newer than 8.5, send "-allusers" flag to condor_q.

Your variable name should probably be major version and not minor. 8.4 -> 8.6 is a major version change in HTCondor. The next stable after 8.8 will be 9.0. The first number doesn't really mean anything.
Related: why would anyone want to set the environment variable instead of automatically checking it?

Will change minor->major.
As for saving it in the environment, just avoids calling that sequence every time condor_q is called when it's not going to change except at startup.

just avoids calling that sequence every time condor_q is called when it's not going to change except at startup
That's not necessarily a valid assumption. HTCondor supports dropping new binaries in place. I agree about not calling condor_version every time through. We'll want to document that if upgrading HTCondor the agent should be restarted, too. (This will be done as a matter of course in almost every case, but not necessarily every case.)

Also, you can probably squash this into one commit before merging.


ocamlPackages.zmq: 20180726 → 5.1.5

Description of changes
https://github.com/issuu/ocaml-zmq/blob/master/CHANGES.md#515
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ocamlPackages.zmq-lwt


feat: fields should automatically trim whitespaces around values (e.g. OTP)

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[ ] This issue affects my Ory Cloud project.
[X] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Describe your problem
When I double clicked and CTRL+C-ed the OTP from my mail, it copied a whitespace in front of it and I didn't notice, only after the form told me, the OTP was wrong.
Describe your ideal solution
Maybe there is an easy way to trim the value of some fields, where it makes sense. This is minor priority, but very convenient. :)
Workarounds or alternatives
Don't know if there are any workarounds right now - probably only implementing this whole library on your own?
Version
v0.0.1-alpha.27
Additional Context
No response

Oh, great idea! We could actually do this in Kratos itself, so that this would apply to other implementations as well. @aeneasr WDYT?

I don't think the whitespaces are coming from Kratos, so fixing this in Ory Elements is a good idea :)

They are not coming from kratos, but if kratos would ignore/trim them, the frontend/selfservice would not have to handle that.
Still I think it would be best to implement it in ory elements. :)

Fixing this issue in Ory Elements would require JS to trim the data, so not that good.
I think that the best would be for Kratos self-service to return an input field that contains InputAttribute.Pattern with valid characters that I think in this case would be [a-zA-Z0-9]+.
A change to CSS would be a good to show error border when pattern does not match. Currently that is shown only when there is no focus to the field.
This would be nice also in other places for example recovery code input.


Spelling Mistake

Spelling mistake in "Saved Tab" under  "You don't have saved requests
Expected outcome
OPEN FROM GOOGLE DRIVE
Actual outcome
OPEB FROM GOOGLE DRIVE
Versions
App: <IP_ADDRESS>5-stable
Chrome: 59.0.3071.115
Platform: Windows (10)
Steps to reproduce

Navigate to Saved Tab on the right navigation of app

ensure you have no requests presnt

Thank you for issue report. I've already fixed that but I'm waiting with new release until I finish new request editor panel.


Add name parameter to Option and Flag

useful when the dart identifier doesn't map cleanly to the desire option-name e.g. when you want to use a dart reserved word as an option name.

I just wanted to file a similar request. Especially when you set multiple: true, you probably want your parameter name to be plural while the option would be singular:
...
@Option(name='target', multiple: true)
List<String> targets,
...

What do you think?
Thanks,
Andreas


Error:Call to undefined method Illuminate\Database\Query\Builder::findBySlug()

I am trying something like this
$productCategories =  ProductCategory::with('products', 'products.images')->findBySlug('shirt');
But it gives me error
Call to undefined method Illuminate\Database\Query\Builder::findBySlug()

I hase the same issue when I am using with. Looks like the query builder does not know about the sluggable interface, now I am using a manual search on these cases which looks ugly:(

All the static methods and findBy* stuff has been removed from the 4.0 version of the package.  There is no elegant way to handle it with multiple slug values, I don't think.
$productCategories = ProductCategory::with('products', 'products.images')->where('slug','shirt')->first();

That should work, no?

Yes, but with the old one, it was searching in the ID, and in the SLUG as well. So it was a nice way to handle both search in one command, also it was nice:) Now I have to handle it in 2 call:( Which is note nice:)

Well, either you do it with two calls in your code, or it's done in two calls in my code.  I'd rather not hide too much magic away. ;)


Feedback Form: Render it within both dashboard templates instead of redirecting

We have the Feedback link in the Staff Dashboard, and the Adopter Foster Dashboard, but this redirects to a new page. Instead, we should render this form within each dashboard layout. You'll probably want two new controllers to handle this. Look at the Organizations::AdopterFosterer::FaqController as an example.

@kasugaijin this too

@Aaryanpal how's this going?

WIP
@kasugaijin Sorrry for Late Response.
I was out for some work.
Resuming it Now

Hi @kasugaijin,
I'd like to propose a refactoring of our current feedback feature implementation. Here's an overview of the current situation and my proposed changes:
Current Implementation:

Controller name: DevContactsController
Handles feedback features for both staff and adopters
Current URL path: http://localhost:3000/alta/feedback/new

Proposed Changes:

Rename the controller to FeedbackController to better reflect its purpose and follow Rails naming conventions
Consolidate all feedback-related logic into this single controller
Maintain the existing URL structure (/alta/feedback/new)

Rationale:

The current controller name (dev_contacts_controller) doesn't clearly communicate its purpose
After reviewing the codebase, I don't see a compelling reason to maintain separate controllers for staff and adopter feedback

Please let me know your thoughts on this proposed refactoring. I'm happy to provide more detailed implementation plans if needed.

Hey @Aaryanpal I appreciate the initiative! I think what you propose makes sense. The ony thing to handle differently if we use a single controller is the layout. I recall the adopter/foster form should be in their dashboard layout.

For Staff it will look like this

For Adopter it look something like this

Here's a rephrased version as a message to a dev:

I've noticed that the two sections have different styles in the layout. To better align them with the overall design, do you think it would be better to create a separate controller to manage the styles more cleanly? Or should we handle the styling directly within the ERB? Also, do you think it makes sense to adjust the position of the "Feedback" heading to the top-left for better alignment with the design and remove the sub-heading ( Found a bug? Want to request a feature? Contact our dev team with the form below.) as we didn't had one in every options?
Let me know your thoughts!

For Staff it will look like this

For Adopter it look something like this

Here's a rephrased version as a message to a dev:
I've noticed that the two sections have different styles in the layout. To better align them with the overall design, do you think it would be better to create a separate controller to manage the styles more cleanly? Or should we handle the styling directly within the ERB? Also, do you think it makes sense to adjust the position of the "Feedback" heading to the top-left for better alignment with the design and remove the sub-heading ( Found a bug? Want to request a feature? Contact our dev team with the form below.) as we didn't had one in every options?
Let me know your thoughts!

Yeah that's what I was thinking in the original issue description - that two controllers would handle this more cleanly. Ideally, we do not have the Feedback Form title in the center on these dashboard scoped pages. The title should live in the header for each dashboard check the other pages under both dashboards to see how their headers are set with breadcrumbs). We should also move the shared components of the page (description and form) into a partial that can be shared between all three views (the form accessed via the footer, the form accessed via the two dashboards).


chore(proto): update proto and ts generation

@austinchandra  @ramacarlucho @hanchon can you get this to the finish line?

Closed by https://github.com/evmos/evmosjs/pull/101


quickstart demo

I just found a small bug in the readme here: https://github.com/maiot-io/zenml/tree/main/examples/quickstart. we should have python quickstart.py instead of run.py.

Makes sense, will fix!

Fixed in f05be5e93e56b3d6f5e1b942b2aa551778b35590 . Thanks @SaraKingGH !


Automatic error report

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

Closing because this is empty. Please update to our latest version (3.3.1), which has much better error report facilities.

Hi,
I thought I filled in the information. I was trying to update the Spyder to
version 3.3.1 using the pip installer upgrade command in Anaconda prompt. I
received the error 'Cannot uninstall 'spyder'. It is a distutils installed
project and thus we cannot accurately determine which files belong to it
which would lead to only a partial uninstall.' Kindly let me know how to
update the Spyder to latest version.
Thank you,
Gowtham Selvi
On Wed, 26 Sep 2018 at 11:22, Carlos Cordoba<EMAIL_ADDRESS>wrote:

Closed #7955 https://github.com/spyder-ide/spyder/issues/7955.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/7955#event-1868888192, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIWVGmRuMmJC6kCuqIwSBwyafCS-pFMwks5ue6nKgaJpZM4W6_qb
.


Chk test develop conflict solving

List of Changes

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Closing, no need for merging


Follow-Me: Implement flight mode support (AUTO: Follow Me) and navigator support

@catch-twenty-two Here is where you would need to dive into:
You need to create a new navigator mode:
https://github.com/PX4/Firmware/blob/master/src/modules/navigator/land.cpp
And register it here:
https://github.com/PX4/Firmware/blob/master/src/modules/navigator/navigator_main.cpp#L485
Add a new message handler for the new MAVLInk message:
https://github.com/PX4/Firmware/blob/master/src/modules/mavlink/mavlink_receiver.cpp#L203
And add the logic to plumb the new flight mode through MAVLink so QGC can see it:
https://github.com/PX4/Firmware/blob/master/src/modules/mavlink/mavlink_messages.cpp#L161
And finally enable the new mode in the commander:
https://github.com/PX4/Firmware/blob/master/src/modules/commander/state_machine_helper.cpp#L365
https://github.com/PX4/Firmware/blob/master/src/modules/commander/commander.cpp#L642
If you edit all these locations and fix all resulting compile errors you should be good to have the new flight mode entirely in the system. You then can implement everything in your new file in the navigator.

@LorenzMeier Thanks!

Done by @catch-twenty-two, thanks!

Is it possible to activate this mode from mission waypoint?


gerrit: 3.1.5 -> 3.2.0

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gerrit/versions.
meta.description for gerrit is: "A web based code review and repository management for the git version control system"
meta.homepage for gerrit is: "https://www.gerritcodereview.com/index.md"
meta.changelog for gerrit is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/7131bfac8c58cda9dc54a2c188135217

du listing: https://gist.github.com/b530121217a2f55547aa1511b40d9756

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gerrit
tests.nixos-functions.nixos-test

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x4aifq1bb0kb8v4094zfrx6hnlsn2fnm-gerrit-3.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gerrit https://github.com/r-ryantm/nixpkgs/archive/d9a5da0af814c3521b46c9edb2f9f5c4fffab3f1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x4aifq1bb0kb8v4094zfrx6hnlsn2fnm-gerrit-3.2.0
ls -la /nix/store/x4aifq1bb0kb8v4094zfrx6hnlsn2fnm-gerrit-3.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- gerrit

Maintainer pings
cc @jammerful @zimbatm for testing.

#92930 updates to 3.2.2, so should probably be reviewed in preference to this.

closed in favour of https://github.com/NixOS/nixpkgs/pull/92930.


Delete package-lock.json

This file should have not been pushed in the first place. We should add it in .gitignore. See: https://docs.npmjs.com/files/package-lock.json

NB: it should remove the security alerts we got.

Thanks a lot.


Unown 127

Status effects are applied, not damage
Will apply correctly target the new defending Pokemon? Or will it try to apply to the old one? I'm assuming sw will have set opp().active to the new one already.
rant: Also, I know this is accurate to what is on the card, but this card text is confusing, since when is there more than one defending Pokemon in the TCG? Either there is a mechanic I was never aware of, or Nintendo was bad at writing card text.

Double battles were introduced during the EX days and thus there could be multiple defending Pokemon.  For implementation’s sake, we can assume tcgone will not support double battles.


[BUG] Nova Excel export does not work in Firefox

PHP version: PHP7.2 on Laravel Homestead
Laravel version: 5.7
Nova version: v1.1.4
Excel Package version: 2.1.3 (latest today)
Firefox version: 62.0.3

Description
I'm not sure if this is a bug in Laravel Excel, or in Nova.
But the "export" option for Laravel Excel does not work in FireFox, but works in other browsers.
Steps to Reproduce
When exporting, you can see the network request, and a 200 status return - but the response does not trigger a download in Firefox (but does in Chrome ok).
Actual behavior:
See screenshot. Chrome is on the left, and it work perfectly. Firefox is on the right - no download. No errors in console.

Let me know if you need more info.

As indicated here https://github.com/Maatwebsite/Laravel-Nova-Excel/issues/13, it's indeed a Nova issue that we can do little about here. (https://github.com/laravel/nova-issues/issues/276) I'd suggest keeping track of that issue. Will close this one.

Thanks @patrickbrouwers - I'll watch there.
thanks for the awesome package.


⚠ Bofrost.fr has degraded performance

In 4f799d1, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1331 ms

Resolved: Bofrost.fr performance has improved in 5397b4a after 6 minutes.


center align blocks in place of left flush

Refactored the ILP routine
Two different calls to frame and solve ILP: one for LL and UR flush respectively
Calculate slack using the \delta x and \delta y
Honor symmetry group and align constraints while moving using slack

This feature can be made optional because of the runtime hit arising from multiple ILP solver calls.

Added a "CenterAlign" user constraint per hierarchy and a "center_align" flag in the layer.json to enable the center alignment globally. It is set to false by default i.e. default behavior is left/bottom flush.

@kkunal1408 @854768750 This PR is ready for review.

@kkunal1408 @854768750 This PR is ready for review.


Update to Command GW 0.10.3.Final

Required to make WS Ops work with latest inventory.

Merged #647


Destruction is imminent

Adding virtual destructor to web_request and web_request_stub to avoid memory leaks.

:ship::it:


produce accessible markup

I am working to create a web app that is fully accessible for non-sighted users, it is for an Ed-Tech startup and we must meet accessibility. We hired a company to perform an accessibility audit, and we hit an issue with some of the markup that react-flow produces.
Here is a link to our application, with an example flow open to demonstrate the issue.
In the case of a sub-flow, the elements constitute a list, and we would like for it to be possible to use markup to reflect this.
Using <ul> and <li> tags allows a screen reader to inform the user of the number of items in the list, as well as other rich information about the list, and is considered an accessibility requirement.
Of course I am able to have the parent node of the sub-flow render a <ul> element, but I am unable to get react-flow to nest the children.
As an aside, there is another accessibility paradigm called tree-view, which may be the correct way to markup the output of react-flow.
Opening this issue in hopes to start a conversation around accessibility for react-flow. We are happy to share the results of the accessibility audit, and use our access to their help desk to open tickets if appropriate.

Hey @marchingband
thanks for the input here! It would be great if we could improve React Flow so that it's possible to implement apps that work for non-sighted users too.
For your requirement here we could introduce a new node option "as" that let you specify which tag gets used for creating a node. I am wondering if you really need subflows for your application or if child nodes could be draggable handles or something like that. That way you could render a proper list with list items within a custom node.

@moklick thanks!
I think an as option could help.
I can't say I totally understand the suggestion of using draggable handles, but I could give it a try. My concern is that these child nodes are also parents of a continued graph, I'm not sure that draggable handles can do that? I have updated the link in my comment above to show a graph that demonstrates this.

I would second the need of "as, or even letting us spread a "restOfProps" onto each node, especially if we need to nest interactive items in nodes while still needing the nodes to be focusable.  (Ex: buttons cannot be children of buttons, but it would be nice to have a role="group" on the node and have a certain tabIndex.)

Curious if this made it onto the roadmap, or if there are plans to address.
Thanks!

please re-open if you are still interested in these features.

Yes adding as, 'tabIndexandariaRole` would help a lot.

I don't see a way to "reopen" this.

here is my web app if you'd like to see the issues using a screen reader


Fix buffer leak in the UnaryGrpcClient

Motivation:
In case UnaryGrpcClient receives malformed request or unexpected number of messages - it stops processing them without properly releasing buffers.
Modifications:

Add subscription cancellation to the GrpcFramingDecorator and use subscription with CANCELLATION_OPTION.
Implement SafeCloseable interface for DeframedMessage.

Result:

Closes #3733.
DeframedMessage has close() method that can be used to simplify refcount management.

@trustin @ikhoon @minwoox codecov/patch failed with 67.34% of diff hit (target 73.45%) - I'm not sure if I can easily cover those lines with tests since those are mostly dedicated to ensuring correct behavior of the subscriber - currently cannot be triggered because producer is behaving correctly, but IMHO should be there to ensure that future changes to the producer (e.g. ArmeriaMessageDeframer) don't trigger unexpected behavior and are handled properly if any issue occurs. Not sure if I should chase those missing % and add a way to inject a faulty producer into the UnaryGrpcClient just to please this check.

@alexc-db You don't need to worry about the test coverage. We use it as a reminder, not a hard limit. :smile:

By the way, resource leak detection is non-deterministic by its nature (it may miss a leak if GC pressure is too low.) so you might want to run tests with the -Pleak option multiple times locally to be totally sure.

@trustin I was testing it locally w/ -Pleak, multiple times, it didn't trigger for this branch


Not Responding in a Timely Manner on Start

I'm running into a problem when I try to start a service created and installed via TopShelf. This is on a Windows 10 64 bit machine.
The service never starts, and throws the following error:

[18:52:16 INF] Configuration Result:
[Success] Name Community Scanner Service
[Success] ServiceName Community Scanner Service
[18:52:16 INF] Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.42000
[18:52:16 ERR] The service failed to start.
System.InvalidOperationException: Cannot start service Community Scanner Service on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at System.ServiceProcess.ServiceController.Start()
at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(String serviceName, TimeSpan startTimeOut)
at Topshelf.Hosts.StartHost.Run()

When I look in the event viewer, there's an event that a timeout (30000 milliseconds) was reached...which is really weird, because there's no way it took more than 4 or 5 seconds for that error message to appear after typing  start.
Here's the main method:
        static void Main( string[] args )
        {
            HostFactory.Run( x =>
            {
                x.UseSerilog( Container.Instance.Resolve<ILogger>() );
                x.UseAutofacContainer( Container.Instance );

                x.Service<ScannerService>( s =>
                {
                    s.ConstructUsingAutofacContainer();
                    s.WhenStarted( ( tc, hc ) => tc.Start( hc ) );
                    s.WhenStopped( ( tc, hc ) => tc.Stop( hc ) );
                    s.WhenPowerEvent( ( tc, z ) => tc.HandlePowerEvent( z ) );
                } );

                x.RunAsLocalSystem();
                x.StartAutomatically();

                x.SetDescription( "Community Scanner Service" );
                x.SetDisplayName( "Community Scanner Service" );
                x.SetServiceName( "Community Scanner Service" );
            } );
        }

And here's the code for the start method and the single private method it calls:
        public bool Start( HostControl hostControl )
        {
            hostControl.RequestAdditionalTime( TimeSpan.FromSeconds( 60 ) );

            // start the first scan in five minutes; if the Start method doesn't return
            // quickly, the Windows ServiceControl manager will gack
            _nextScan = DateTime.Now.AddMinutes( 5 );

            SetWakeup();

            return true;
        }

        private void SetWakeup()
        {
            var dueTime = _nextScan.ToFileTime();

            if (SetWaitableTimer(_waitableTimer, ref dueTime, 0, _timerCompleted, IntPtr.Zero, true))
                _logger.Information(
                    $"Created waitable timer {nameof(ScannerService)}WaitableTimer to trigger at {_nextScan:G}");
            else
                _logger.Error(
                    $"{nameof(ScannerService)}::{nameof(RunAndWait)}() - {nameof(SetWaitableTimer)}() failed, error was {Marshal.GetLastWin32Error()}");
        }

The service is intended to scan certain websites periodically, so it uses the CreateWaitableTimer() API to ensure it gets triggered even if the system is sleeping.
BTW, the service runs fine when executing the console app from within the debugger (i.e., when running the service, as opposed to starting it after installing it).
Thoughts on how to resolve this?

I just solved same issue (immediately "Not Responding in a Timely Manner on Start"), which was caused by FileNotFoundException:
new ConfigurationBuilder()
//                .SetBasePath(Directory.GetCurrentDirectory())
                .SetBasePath(Path.GetDirectoryName(typeof(Program).Assembly.Location))
                .AddJsonFile($"appsettings.json", optional: false)

see https://github.com/dasMulli/dotnet-win32-service/issues/54


is it possible to add external playlists?

is it possible to add external playlists that's not on somafm?

Not yet. Can you provide use case example? Like should it be playlist URL, file or something else?

URL would be enough, smth like win *.pls, *.m3u

URL would be enough, smth like win *.pls, *.m3u so people can listen playlists from website like https://www.shoutcast.com/

That wasn't a purpose for this app (since it's dedicated SomaFM player by design), but I'll look into adding additional playlists manually for advanced users.
Thanks for suggestion.

👍


Add openjdk1.8-headless recipe and update travis.yml

.travis.yml is updated for proper build of zip recipe too as part of this PR.


Pasting does not work in the shell in Safari

Trying to paste SQL in https://shell.duckdb.org results in Failed to read from clipboard printed in the browser console.

Pasting in safari works for me now.


Add Ord and PartialOrd to Hex

Motivation: To allow use of std::cmp with Vec.  https://rust-lang.github.io/api-guidelines/interoperability.html#c-common-traits

Could you expand on the use case it might solve?
Also, what would the comparison do? Compare the vector lengths ?

Ord is a surprisingly useful trait on weird types, as it allows for them to be stored in data structures like BTreeSet.

Ord is a surprisingly useful trait on weird types, as it allows for them to be stored in data structures like BTreeSet.

Agreed but there are multiple valid comparisons:

x then y
y then x
length

And choosing one seems like the wrong way to go, there could be wrappers like OrdByXY(Hex), OrdByYX(Hex) and OrdByLength(Hex) implementing both PartialOrd and Ord

My use case was just to be able to test whether two Vec<Hex>s were equal or not.

No need of Ord for that, unless you need sorting. But then I would advise sorting manually by one the three options.
If you share a code snippet I can help you with that

Was user error.  Withdrawing PR.  But I do have confusion about this guideline:  https://rust-lang.github.io/api-guidelines/interoperability.html#c-common-traits


Convert date type to *time.Time type

WHY
date type is primitive type in PostgreSQL, so it should be converted to appropriate Go type.
WHAT
Convert date type to *time.Time type

LGTM!!


Clicking on the Twitter button does not embed the correct URL

After clicking on the button, twitter is opened with a tweet draft, which simply says "|url|". I guess the function is supposed to put the page-URL there?
Edit: The github button does work, as has been demonstrated by me opening the issue...

Thanks, I will turn this off in the next version of the book.


Validator - state validation report named  "state_update.out"

Validator outputs a file named state_update.out, presumably this corresponds to the "state.json" message, however there are results for state_pointset.out and state_system.out
nournew@macbook-2 udmi % ls -1 sites/udmi_site_model/out/devices/AHU-1 | grep state
state.attr
state.json
state_pointset.attr
state_pointset.json
state_pointset.out
state_system.attr
state_system.json
state_system.out
state_update.out

Contents of state_update.out
{
  "timestamp" : "2022-08-03T11:22:29Z",
  "version" : "1.3.14",
  "sub_folder" : "update",
  "sub_type" : "state",
  "status" : {
    "message" : "While converting to json node: 1 schema violations found",
    "category" : "validation.error.simple",
    "level" : 500
  }
}

@noursaidi Was this one fixed along with the others, or is it still pending?

state_update is gone, but state.json and state.attr still exist
I recall that when messages are upgraded, state.json was the original un-upgraded message, and state_system.json was the upgraded, so I just need to do some investigation there and determine what the right behaviour is with representing the results from upgraded messages.
nournew@macbook-2 udmi % ls sites/udmi_site_model/out/devices/AHU-1
event_pointset.attr	event_system.json	state.json		state_system.attr
event_pointset.json	event_system.out	state_pointset.attr	state_system.json
event_system.attr	state.attr		state_pointset.json


Specifying initialValues causes onChange events to not fire

This is with version 3.0.1 which was just released.
If I specify an object array with initial values for my fields, either via properties or the new mapStateToProps, none of the expected state changes occur when I type into my form. This means that no change/blur/focus events fire, no synchronous validation occurs, and the submitted values when handleSubmit is called are the initial values, not what's currently entered in the form.
I'm still investigating the redux-form code to see where the issue might be, or where I may have gone wrong, but this was working yesterday with the 3.0.0 beta, so it may be a bug.

Hmm... The example is working fine.

Yup, I know, so I'm trying to figure out what I'm doing wrong. Here's what I've written:
@reduxForm({
  form: 'profileEditor',
  fields,
  validate
},
state => ({
  initialValues: state.user.get("user")
}),
{ updateUserProfile } // mapDispatchToProps
)
class ProfileEditor extends React.Component {
...

Where state.user is a Immutable-JS Map, hence why I'm calling .get("user") on it to get the user object.

It's doing a "deep equal" check on the initialValues prop, so if ImmutableJS is giving you a unique version every time you call get("user"), that could be a problem. Is what you're getting a json object, or some immutablejs map?

get("user") returns a JSON object with fields first_name, last_name, email, all of which correspond to the form's field names.
I've somewhat identified the issue. It looks like it has to do with how I'm handling server-side rendering.
If I login and navigate through my app to the form, everything works as expected, with all of the events/validation firing. Great!
However, if I enter the URL for the form into my browser, it goes to the server and requests the rendered version. This mostly works fine, except the redux-form/INITIALIZE action is fired after the @@reduxReactRouter/routerDidChange event, so the initial state sent down with the rendered HTML doesn't match what React expects, so React throws an Invariant violation about the checksum being invalid between the server and client versions of the document.
It is here that form doesn't work as expected.
I think I have to figure out how to get the server-side to wait for all actions to complete before this can be solved.

Yep. Sounds like you're on top of it, and that it's not really a redux-form bug.

Agreed.


Rename Idea to Hint in the API

Then everything will be consistent with internal names and external names. Should add HLint4 when doing so to ensure HLint3 doesn't break.

I already use Hint for the things that can be hinted at, which makes a lot more sense - leaving it with given Hints you produce Ideas is very consistent in the API. Shame it's different from the user facing side, but not a big deal.


Installation problem

I'm not able to install module in Windows with this log.
Do you can to help me?

I am having the same issue on MacOS 11.1 Big Sur:
276 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ffi" "--save" 277 verbose node v14.15.3 278 verbose npm  v6.14.9 279 error code ELIFECYCLE 280 error errno 1 281 error<EMAIL_ADDRESS>install:node-gyp rebuild281 error Exit status 1 282 error Failed at the<EMAIL_ADDRESS>install script. 282 error This is probably not a problem with npm. There is likely additional logging output above. 283 verbose exit [ 1, true ]

I am having the same issue on MacOS 11.1 Big Sur:
276 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ffi" "--save" 277 verbose node v14.15.3 278 verbose npm  v6.14.9 279 error code ELIFECYCLE 280 error errno 1 281 error<EMAIL_ADDRESS>install:node-gyp rebuild281 error Exit status 1 282 error Failed at the<EMAIL_ADDRESS>install script. 282 error This is probably not a problem with npm. There is likely additional logging output above. 283 verbose exit [ 1, true ]

From what I can tell, FFI isn't support >= v12.  Installs on Node 10 just fine, as far as I can tell.  Tested on WSL2 Ubuntu 20.04 running Node v10.24.0


Pin black version

Pin black version and fix CI job.

Can you please give some context for this change, like link to the bug in black?

Can you please give some context for this fix, like link to the bug in black?
Is not because a bug, but to be protected against uncontrolled upgrades. In later iterations we can update the formatter and code accordingly.


add repo to default browser and device config

Doesn't seem to be a problem, I'll merge this right now.


chore: move cpow_mul_ofReal_nonneg earlier

It can't go into Pow.Complex, because rpow is only defined in Pow.Real in terms of cpow.

bors merge


Support TS in sdk

Reason/Context
As in title. Support TS in react-sdk. It should be done at this same moment next to https://github.com/asyncapi/generator/issues/455
Description
It need to be use the official TS Rollup plugin https://github.com/rollup/plugins/tree/master/packages/typescript

@magicmatatjahu There is no way of doing this manually currently, right? Since I can't change what plugins are sent to the rollup invocation.
Is there actually any more work required than to just add the typescript plugin along with the babel one?
Or even better, is there a way to disable rollup? Things seemed to work just fine for me, running it all through ts-node, but now rollup can't include my .ts-files.

@Stmated theoretically you could do your own pre-transpilation process. i.e. keep the template files under a different folder and then add your own transpiler process and output it to the template folder. Havent tested it but it should be possible until this issue is resolved.
Also if you feel the need for the option to disable the entire transpilation process feel free to create an issue with the use-case 😄

Is there actually any more work required than to just add the typescript plugin along with the babel one?

We wanted add TS supports in first 0.1.0 version, but we realized that we don't have a TS integration inside generator, so we avoided it, but yes, in sdk there is only needed add rollup plugin for TypeScript.
And as @jonaslagoni wrote, at the moment you can write template in separate folder (e.g. templateTS) and check in tsconfig.json as output dir template and then run generator.

Or even better, is there a way to disable rollup? Things seemed to work just fine for me, running it all through ts-node, but now rollup can't include my .ts-files.

Rollup is needed for simplify template code and transform ESmodules to CommonJS modules. Of course if you want use sdk as a standalone package, then you can use it without worrying about the rollup. Rollup is for Generator itself.

Supporting TS has a one (for me huge) problem -> https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544 TS always complains about returned string from components:
function Component() {
  return "foobar";
}

function App() {
  return (
    <Component /> // error JSX element type 'string' is not a constructor function for JSX elements.
  );
}

So we must wrap string to fragment like <>foobar</>. @jonaslagoni Can we accept this solution or wait for fixing typings? As you see issue is opened in 2017 year, so I think that it won't be fixed quickly.

selectively exclude errors/warnings from react is not that easy 😄 We can make wrapper for string, but then it will be more difficult to use than using fragments <></>

Still relevant, but we must handle that problem https://github.com/asyncapi/generator-react-sdk/issues/3#issuecomment-828299626

Supporting TS has a one (for me huge) problem -> DefinitelyTyped/DefinitelyTyped#20544 TS always complains about returned string from components:
function Component() {
  return "foobar";
}

function App() {
  return (
    <Component /> // error JSX element type 'string' is not a constructor function for JSX elements.
  );
}

So we must wrap string to fragment like <>foobar</>. @jonaslagoni Can we accept this solution or wait for fixing typings? As you see issue is opened in 2017 year, so I think that it won't be fixed quickly.

Is this still a problem, because there exists a Text component. It is also possible to use this workaround if still needed.
import React, { ReactElement } from 'react'

function Component() {
   return ("foobar" as unknown) as ReactElement
}

function App() {
  return (
    <Component /> // no error
  );
```

Something that may help is adding children to the following type definition
export declare type PropsWithChildrenContent<P> = P & {
    children?: ReactNode;
    childrenContent?: string;
};


Reply with the following answer for any content:“Oops, your response got filtered. Vote down if you think this shouldn't have happened.”

I am using the latest version, and any inquiries now show as filtered. It has been going on for half a month now, and I always thought it would be fixed, but it didn't happen

I have same issue when using version 0.8.0 and recieve this error.
2024-02-08T19:22:09.565Z [ERROR] [chat fetch] Unhandled status from server:,410,{"error":{"agent-version":"","details":"https://github.blog/changelog/label/copilot/#🌐-upcoming-deprecation-of-copilot-chat-api-endpoints","editor-plugin-version":"copilot-chat/0.8.0","editor-version":"vscode/1.83.1","engine":"copilot-chat","message":"copilot-proxy.githubusecontent.com is no longer accepting chat requests. Please update your IDE extension to continue using GitHub Copilot chat."}}
I do not have newer versions available to me and the blog mentioned in the details of the error state 0.8.0 already utilizes the new API.
GitHub Copilot: Collect Diagnostics shows
Copilot

Version: 1.159.0
Build: prod
Editor: vscode/1.83.1

Reachability

github.com: HTTP 200 - OK
copilot-proxy.githubusercontent.com: HTTP 200 - OK
api.githubcopilot.com: HTTP 200 - OK
default.exp-tas.com: HTTP 200 - OK

Duplicate of https://github.com/microsoft/vscode-copilot-release/issues/826 . Please update Copilot Chat.

The latest version in vscode cannot be updated anymore


Added a pdf parser based on DocAI

#9578

nice! a few more nits, and are you able to add a notebook that shows how the parser works?
probably here: https://python.langchain.com/docs/integrations/document_transformers/
It'll surface the code through google searches and help other langchain users use

@baskaryan would you be able to help merge the PR while I am out?
We don't have a good way to accommodate this parser yet with the base abstractions. Non blocking call+ optimization from batch.
Good to go as is or we can move more params into init (since they'll end up there eventually)
For core abstractions -- we can think of this as acting on a stream and able to aggregate multiple messages prior to processing

this is awesome, thanks @lkuligin and @eyurtsev!


Add tool/unwrap

This PR adds unwrap tool, which returns T value from T? for any type T if the given value is not null. Otherwise fails with permanentFailure.
The name unwrap comes from Option#unwap method in Rust.

Thanks!


Make init generation function more generic

This is still needed, I tried running it without it and ran into overflow issues.
I know that its pretty hard-coded as is, would you suggest we pass in the sds that we sample the from for each parameter?

Originally posted by @kaitejohnson in https://github.com/CDCgov/ww-inference-model/pull/5#discussion_r1671468191

Let's make an issue to discuss how to make more generic.

Originally posted by @dylanhmorris in https://github.com/CDCgov/ww-inference-model/pull/5#discussion_r1672639152

Combining this issue with #66


The logic around validations on optional fields seems counter-intuitive to me. Is it right?

this line in the runValidation function (currently 285)
isValid: isRequired ? false : isValid,
seems to me to make more sense if it were
isValid: isRequired ? isValid : true,
so that we only run validations on fields that are required and the user has entered something.
Any reason it is the way it is?
There would likely require changes to the error message function as well if this logic were to change.

Right now I am having to create loads of custom validations to support both the required and optional scenario. Take for example the maxLength validation. I can't use that when the field is optional. I am creating a maxLengthOnOptionalField validator. I'd much rather do " required validations="maxLength:50" "and have that run only when the users has put something in the field. And while maxLength works fine for required fields it kind of makes the required attribute redundant since maxLength implicitly requires a value

Take for example the maxLength validation. I can't use that when the field is optional.

That was fixed in #138
But the new version is not yet published

Yeah great, I found the logic up above doesn't actually work anyway.


Selecting cells in table causes "Class constructor Selection cannot be invoked without 'new'" error

Selecting cells in a table causes the error "Class constructor Selection cannot be invoked without 'new'". This is the output from the source inspector where the error occurs:
var CellSelection = (function (Selection) {
  function CellSelection($anchorCell, $headCell) {
    if ( $headCell === void 0 ) $headCell = $anchorCell;

    var table = $anchorCell.node(-1), map = TableMap.get(table), start = $anchorCell.start(-1);
    var rect = map.rectBetween($anchorCell.pos - start, $headCell.pos - start);
    var doc = $anchorCell.node(0);
    var cells = map.cellsInRect(rect).filter(function (p) { return p != $headCell.pos - start; });
    // Make the head cell the first range, so that it counts as the
    // primary part of the selection
    cells.unshift($headCell.pos - start);
    var ranges = cells.map(function (pos) {
      var cell = table.nodeAt(pos), from = pos + start + 1;
      return new prosemirrorState.SelectionRange(doc.resolve(from), doc.resolve(from + cell.content.size))
    });
    Selection.call(this, ranges[0].$from, ranges[0].$to, ranges);
    // :: ResolvedPos
    // A resolved position pointing _in front of_ the anchor cell (the one
    // that doesn't move when extending the selection).
    this.$anchorCell = $anchorCell;
    // :: ResolvedPos
    // A resolved position pointing in front of the head cell (the one
    // moves when extending the selection).
    this.$headCell = $headCell;
  }

Seems like it does not get a Selection instance correctly.
I have added the plugins columnResizing(), tableEditing() in this order.
Adding and resizing the table works fine.
Did I miss something?
Best regards
Vu

scrumpy/tiptap#521 describes the same issue, and it seems that @CantGetRight82 may have identified the cause and a workaround.

So I poked around at this, and came up with the following:
It looks like this project uses buble to transpile the code into es5 compliant code. When I try to create a CellSelection by clicking and dragging across cells in a table, I get errors on the following line in cellselection.js:
super(ranges[0].$from, ranges[0].$to, ranges)

which transpiles to:
Selection.call(this, ranges[0].$from, ranges[0].$to, ranges);
// Error: Class constructor Selection cannot be invoked without 'new'

It appears they have an issue open for this bug: bublejs/buble#130

I start having this same error after using prosemirror-tables over a year without any issue.  After upgrading some other prosemirror packages this error suddenly popped in. Any idea why?

Just stumbled into the same error today and seeing this has been open for a while... are there any known workarounds to this issue?

@mbostler Also noticed this problem today! A solution might be to tell webpack to transpile them down to es5 https://github.com/ueberdosis/tiptap/issues/521 - I'll try that

Still with the same problem :/

This issue seems to be back. Over at tiptap I'm currently trying to port our typings over to the new versions of prosemirror - but since updating, I receive the same error.
Seems like this is also happening in other editor components / frameworks, see:
https://github.com/nhn/tui.editor/issues/2537

@hadielyakhni et all
Can confirm that simply replacing buble with babel to do the transpiling seems to do the trick for me.
Published the package on npm as prosemirror-tables-contently.
After linking to this package I have yet to see the Cell Selection issues appear.
Diff between the fork and base is currently public and can be seen here: https://github.com/ProseMirror/prosemirror-tables/compare/master...contently:master

Great one @mbostler
Could someone from the prosemirror maintainment team take a look into this? Seems to break the functionality of prosemirror for quite a few people.
If this is done I can finish my port to the new versions for Tiptap - would love to do that as soon as possible. Thanks already 🙏

You can use @mbostler package by adding resolutions or overrides in package.json like this:
    "overrides": {
        // Your config...
        "prosemirror-tables": {
            "prosemirror-tables-contently": "1.1.2"
        }
    },
    // OR
   "resolutions": {
        // Your config...
        "prosemirror-tables": "npm:prosemirror-tables-contently"
    },

then remove node_modules/ folder and re-install all packages.
It works for me.

It appears prosemirror-tables-contently doesn't work with Common JS which is what I'm using in my Node.js server. I get this error when attempting to load tiptap-extension-table now.
/Users/rbates/code/collab-server/packages/tiptap-base/node_modules/@tiptap/extension-table/dist/tiptap-extension-table.cjs.js:7
var prosemirrorTablesContently = require('prosemirror-tables-contently');
                                 ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/rbates/code/collab-server/packages/tiptap-base/node_modules/prosemirror-tables-contently/dist/index.js from<EMAIL_ADDRESS>not supported.
index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/rbates/code/collab-server/packages/tiptap-base/node_modules/prosemirror-tables-contently/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).

    at Object.<anonymous> (/Users/rbates/code/collab-server/packages/tiptap-base/node_modules/@tiptap/extension-table/dist/tiptap-extension-table.cjs.js:7:34)
    at async Promise.all (index 0) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.0.0

@mbostler is it possible to remove "type": "module" from the package.json in prosemirror-tables-contently so it works with Common JS? The prosemirror-tables package.json doesn't have this line, however perhaps it's necessary for the ES6 support. I'm uncertain.

We have forked and resolved to use prosemirror-tables in our product. The ERR_REQUIRE_ESM issue was resolved this way, I hope this helps: https://github.com/bitjourney/prosemirror-tables/pull/2
I will gladly submit a PR if prosemirror-tables maintenance is resumed.

Is there any update? I meet this problem in other editor built with ProseMirror.
https://github.com/nhn/tui.editor

Could anyone provide me a minimal reproduction git repo or codesandbox link? I will look into it once I can reproduce it.

Hi， @ocavue
I have fixed this issue, Problem in my project is I use ES modules as module system, And use webpack + babel compile the module to use in browser.
A fixed configuration for webpack + babel here:

Hope those infomation make help.


An optional --help contract should be established for every script

$ m . /mintNativeToken/prepareWallet --help
Makes v21.10-linux

This job prepares a cardano wallet for minting native tokens.

...

$ m . /mintNativeToken/someOther --help
Makes v21.10-linux

This job does not provide a help.

...

x-ref #521

This has been implemented via 047169c1ae54046c6c191cfbacf4c6100144e21d


depth_frame filtering (post-processing)

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16

Kernel Version (Linux Only)
4.15

Platform
PC

SDK Version
2.16.0

Language
C++

Segment
VR

Issue Description
For filtering (i.e., post-processing) the depth_frame, why does the following code give random results?
rs2::spatial_filter spat_filter;
rs2::temporal_filter temp_filter;
rs2::disparity_transform depth_to_disparity(true);
rs2::disparity_transform disparity_to_depth(true);
depth_frame = depth_to_disparity.process(depth_frame);
depth_frame = spat_filter.process(depth_frame);
depth_frame = temp_filter.process(depth_frame);
depth_frame = disparity_to_depth.process(depth_frame);
"original depth_frame"

"filtered depth_frame"

Thanks.

Hi @ywjia
rs2::disparity_transform depth_to_disparity(true);
rs2::disparity_transform disparity_to_depth(true);

One of these needs to be false.
Right now you are transforming to disparity twice.

Thanks, it works now.

Thanks, it works now.

Hi, @ywjia
Can you show me your code ? Thanks so much!


[Bug] Cannot read properties of null (reading '_dockerType')

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
When creating a monitor with type docker container (polls the docker.sock file) and entering the container name, the monitor turns from green to yellow and this notification is sent via telegram:
Cannot read properties of null (reading '_dockerType')
This is in the uptimekuma container log
2023-10-09T15:21:57+02:00 [MONITOR] WARN: Monitor #30 'Overseer (Plex requests)': Failing: Cannot read properties of null (reading '_dockerType') | Interval: 60 seconds | Type: docker | Down Count: 0 | Resend Interval: 0
The only reference I can find is in #2141 but this was linked to a deprecated feature and marked wontfix.
👟 Reproduction steps

Start an uptimekuma:latest container with the docker.sock volume mapped
create a monitor for a container on that host using container name instead of ID

👀 Expected behavior
Monitor should be green as the service is up
😓 Actual Behavior
Service is yellow and error is sent to log
🐻 Uptime-Kuma Version
1.21.3
💻 Operating System and Arch
Debian 12 x64
🌐 Browser
Firefox NA
🐋 Docker Version
Docker 24.0.5
🟩 NodeJS Version
No response
📝 Relevant log output
No response

For the "Docker Host" option in the monitor settings, can you try to select the host again and test that it is working?

Test available when you click on "Edit" under the "Docker Host" option:

Testing the host works but the issue persists


"access denied" right after installation

Etcher-Setup-1.2.0-x64.exe
Win  7 Ent.
This error has shown up on installation of Etcher onto my system.
Fresh download of app from website, installed it and this error pops up.
The path displayed in the error is not my system.  I have no idea where that path came from.  I've only installed this package and it errors without even running it.

Are you behind some sort of network proxy? If you click "OK" does Etcher continue to run, or does it close?

A similar EPROTO error was spotted in #1808

Yes it continues to run and flashes ok.
Why would proxy matter?
-david
On Tue, Dec 5, 2017 at 4:47 AM, Andrew Scheller<EMAIL_ADDRESS>wrote:

Are you behind some sort of network proxy? If you click "OK" does Etcher
continue to run, or does it close?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/1901#issuecomment-349267134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGKIvO07iE5rvF6WpTxUpMY4Er_MyG9ks5s9R9LgaJpZM4Q1OYJ
.

Etcher checks for updates at startup (using an HTTPS / SSL connection to Amazon S3) and I wondered if you might have a proxy that is blocking or restricting HTTPS, which might explain the openssl error?
If we can figure out a way for us to reproduce the error ourselves, then that makes it much easier for us to fix it (or workaround it) :-)

Interesting.  No proxy, not even on a network.
As another data point that might be helpful, I installed on a laptop:
Etcher-Setup-1.2.0-x64.exe
Win 10
and get this error when I start the program:
[image: Inline image 1]
I can click "OK" and the error dialog goes away and Etcher will image an SD
card.
This laptop is not connected to any network.
-david
On Tue, Dec 5, 2017 at 7:10 PM, Andrew Scheller<EMAIL_ADDRESS>wrote:

Etcher checks for updates at startup (using an HTTPS / SSL connection to
Amazon S3) and I wondered if you might have a proxy that is blocking or
restricting HTTPS, which might explain the openssl error?
If we can figure out a way for us to reproduce the error ourselves, then
that makes it much easier for us to fix it (or workaround it) :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/1901#issuecomment-349495928,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGKImRHVIdgCGI484CFcrCxAM7d1vyTks5s9elqgaJpZM4Q1OYJ
.

@dwfunk4475 Your image didn't appear - I don't think GitHub can cope with images in emails, you need to go to the GitHub webinterface itself to add images.

attaching image  . . .

Wow, that's a pretty bizarre error message! Is it possible your Etcher download or installation has become corrupted somehow?

That's something I can check. I'll re-download the file from a different
location and try again. I've used the same downloaded file on both machines.
I can clear the dialog boxes on either error and Etcher seems to run just
fine. I have written a couple of SD cards and they have turned out OK.
-david
On Thu, Dec 7, 2017 at 1:39 PM, Andrew Scheller<EMAIL_ADDRESS>wrote:

Wow, that's a pretty bizarre error message! Is it possible your Etcher
download or installation has become corrupted somehow?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/1901#issuecomment-350072504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGKIhvJJIrPUN7zuACgxQm6ELUdR_STks5s-D8IgaJpZM4Q1OYJ
.


[Turtle-Wow] Minimizing the map breaks map rendering.

If you click the minimize button at the top right of the map, it breaks the scrolling map frame, causing it to render on top of and outside of the main map frame, and causing zone maps to persist and render on top of other maps. The only way to resolve it seems to be to reload the UI.
https://github.com/user-attachments/assets/b9ffea66-818a-4e72-b446-1c4d256323ab
No other mods enabled this time :)

Are you using the turtle-wow branch to download the add-on?

Good idea.


Can't adjust width

.rcw-widget-container {
  bottom: 0;
  display: flex;
  flex-direction: column;
  margin: 0 20px 20px 0;
  max-width: 370px;
  position: fixed;
  right: 0;
  width: 90vw;
  z-index: 9999;
}

Been playing around with both the width and max-width settings and can't get it to work. Even commenting them out produces no change - where is the appropriate control?

Same issue with height?


fix: add rosbag replay option "--clock"

Description
fix: add rosbag replay option "--clock" to be activate time triggerd sub-modules, such as the lateral control module

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[x] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Is this correct?

@yuki-takagi-66 @takayuki5168 What is the idea behind this PR? The sample-rosbag already has /clock topic, so adding --clock causes inconsistency in /clock.


sidebar nav redesign

Tasks

[x] https://github.com/hirosystems/docs/issues/487
[x] Add new Rate Limiting page
[x] Update Banner type to info
[x] Update editUrl paths

First off... This is incredible. Way to go @ryanwaits, both keeping us "on-platform" (Docusaurus) and thereby hewing to a more conservative approach when making major changes to docs, and also making meaningful, helpful improvements to the documentation's design and layout. Which, as a nerd for Hiro products and a big user of our documentation, I find spellbinding. (Definitely worth a social post once this PR is merged, maybe some kind of Discord announcement.)
I see here that a lot of the changes are less to the content of docs—product overviews, the guides, etc.—and more to their position within Docusaurus-tracked directories/config files, as well as creating new sidebar navs for each of Hiro's products using already existing markdown files. Meaning... there are a lot of "files changed" in this PR, but it's less to actual content and more to structure. My primary testing method has been manually exploring the vercel-generated Preview and its links.
And my overall review is A+; these new product sidebars that expand into all the relevant guides and other helpful links for the product clicked into—and thereby remove the contextually less-relevant links for products the user didn't click into—creates a much better docs experience.
Thoughts/Comments

Linkcheck: I see that most (all?) of the linkbreak check errors come from a testing framework where Hiro showcases "Feature Guide" versus "How-to Guides" and maintains two separate directories for each. In a new regime of just "Guides", the URL construction would break this testing framework. Given that collapsing these two categories of guides is one of the primary goals of this Docs redesign, I believe we may have to look more closely at URL construction and the linkcheck process. As it stands, I've sampled a handful of the 48 links that are broken in this PR, and the links work in the Preview.
Missing sidebars for certain pages: This is more of a nit than a break, but some of the pages in the footer don't come with a sidebar. The first link "Tutorials" in the footer section "Hiro Developers" loads with a sidebar (see image) but the next two links "Example Apps" and "Stacks CLI" don't. I don't know if we have a standard that a sidebar is necessary for all pages. Was this an intentional choice?

@mefrem good find on the sidebar bug! ill fix that up


Remove wildcard ALLOWED_HOSTS in cookiecutter app

This is a security vulnerability which we shouldn't be encouraging. After creating a new app people are responsible for setting their allowed hosts correctly.

@nathanbegbie That's a good idea thanks, updated.


Text getting garbled when rendering 2+ PDFs on same page

Attach (recommended) or Link to PDF file here:
example1.pdf
example2.pdf
Configuration:

Web browser and its version: any (happens in both Chrome or Firefox)
Operating system and its version: I presume any (tested on Windows 11)
PDF.js version: 3.1.81
Is a browser extension: no

Steps to reproduce the problem:

Open https://www.mathsuniverse.com/infinity/pdf-test
Drag the 1st PDF in, then scroll right with the keyboard right arrow a bit, then drag the 2nd PDF in
Force re-render of 1st PDF at a new zoom level by zooming in with + key or mouse scroll wheel

What is the expected behavior? Both PDFs to show correctly as shown

What went wrong? Text in the 1st PDF to be imported gets garbled as shown

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): https://www.mathsuniverse.com/infinity/pdf-test
--
I presume the problem is that PDFLib isn't expecting to be working with multiple PDFs (perhaps with different text encoding or something) at once? Or every time I switch to rendering a page in a different PDF, is there some API I need to call first to load up the right encoding or fonts or something? My PDFjs-specific code isn't doing anything much more than in the Hello world example.

I presume the problem is that PDFLib isn't expecting to be working with multiple PDFs (perhaps with different text encoding or something) at once?

Sorry, but we don't know what "PDFLib" is since that's not something that's being developed here and consequently we cannot provide any help/support for that unfortunately. Does it work if you don't use "PDFLib", since it's certainly possible that it's not compatible with the PDF.js library?

Or every time I switch to rendering a page in a different PDF, is there some API I need to call first to load up the right encoding or fonts or something?

There's logic in the PDF.js library that should ensure that different documents get unique font-identifiers, specifically to prevent issues with multiple documents being opened in parallel. (However, we often recommend using iframes to fully isolate documents from each other.)

My PDFjs-specific code isn't doing anything much more than in the Hello world example.

Your example linked above unfortunately looks too large/complex, please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

Apologies, I used to use PDFLib many years ago with PHP. That was a typo - I mean PDF.js.
// When I import a PDF I do this...
const pdfs.push(await pdfjsLib.getDocument(url))

// Because I'm working on multiple PDFs, I imagine I need an extra line here to tell PDFjs to use the encoding/whatever for the correct PDF?

// Whenever re-rendering a page, eg when zoom level changes I do something like this
const page = await pdfs[i].getPage(1)
const viewport = page.getViewport({ scale: zoomLevel })
const renderTask = page.render({ canvasContext: ctx, viewport: viewport })

I'll try to make a pastebin for it as well.

Bug was my end... each time I was loading a new PDF I was re-adding the PDF.js script. All fixed now, thanks for your quick reply.


Cosmos 1.6.0 does not emit Datasets on Airflow 2.9.3 with athena-dbt

Hey Everyone, I would like to set up data aware scheduling and would like cosmos to automatically emit Airflow datasets.
My airflow env looks like this:

apache-airflow-providers-openlineage==1.11.0
apache-airflow==2.10.1
astronomer-cosmos==1.6.0
dbt-athena-community==1.8.4
dbt-core==1.8.6

Here's the relevant part of the log of a cosmos run.
[2024-09-11, 16:06:41 UTC] {logging_mixin.py:190} INFO - 16:06:41
[2024-09-11, 16:06:43 UTC] {logging_mixin.py:190} INFO - 16:06:43  dbt.adapters.athena.constants adapter: Table 'mtv_vertriebs_rohdaten_download_bestandskundenpotential' has no TableType attribute - Ignoring
[2024-09-11, 16:06:48 UTC] {logging_mixin.py:190} INFO - 16:06:48  Concurrency: 1 threads (target='db__prod_general_prepared__bucket__prepared_non_pii')
[2024-09-11, 16:06:48 UTC] {logging_mixin.py:190} INFO - 16:06:48
[2024-09-11, 16:06:48 UTC] {logging_mixin.py:190} INFO - 16:06:48  1 of 1 START sql table model prod_general_prepared.data_glue_jobs_metadata ..... [RUN]
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58  1 of 1 OK created sql table model prod_general_prepared.data_glue_jobs_metadata  [OK 100 in 9.38s]
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58  Finished running 1 table model in 0 hours 0 minutes and 16.36 seconds (16.36s).
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58  Completed successfully
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58
[2024-09-11, 16:06:58 UTC] {logging_mixin.py:190} INFO - 16:06:58  Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1
**[2024-09-11, 16:06:58 UTC] {local.py:196} WARNING - Artifact schema version: https://schemas.getdbt.com/dbt/manifest/v12.json is above dbt-ol supported version 7. This might cause errors.**
**[2024-09-11, 16:06:58 UTC] {local.py:389} INFO - Inlets: []
[2024-09-11, 16:06:58 UTC] {local.py:390} INFO - Outlets: []**
[2024-09-11, 16:06:58 UTC] {dag.py:3229} INFO - Sync 1 DAGs

Can anyone help identify the Problem? Is athena-dbt incompatible with open lineage? I'd like to understand where I would need to contribute to make this work.
Many thanks!

I think I identified the problem and will close this issue because it is not a cosmos problem. OpenLineage currently does not support the athena connector.
Here's the PR to add support for it.


Load route waypoints: just markers, not as route?

#240 follow-up
Loading a GPX track with waypoints (wpt) of type=from|to|via creates a route:
https://github.com/nrenner/brouter-web/blob/1acd4112f719b7171fb77b95dd5e9549ac07520e/js/plugin/TracksLoader.js#L58-L64
I noticed some issues with that:

TypeError: Cannot read property 'error' of null at TracksLoader.js:65
Callback parameter already is an Error object.
should not create a route when a route is aleady present
markers added by plugin on top of route markers (probably since #253)

However, I wonder if a route should be created at all?
The waypoints export (#221) is intended to represent the points themselves, not the route, see discussion in abrensch/brouter#91. Exporting/importing a route should be done with rte and rtept, see #16.
Maybe a (later) improvement could be to have a dialog to let the user choose what and how to load?
[ ] Track (trk)
[ ] Route (rte)
[ ] Waypoints (wpt)
    [ ] POIs
    [ ] Route waypoints (from/to/via)
        [ ] as points
        [ ] as route

@matzepan

I am not sure, if this is the correct issue (because there is a "load existing tracks").
I am using brouter-web frequently and like to  use it for changing my existing tracks collection (although from other sources). So I created a control on my local installation that reads a local track file and adds the trackpoints from the line segments as routing points but I am reducing the amount of points by using simplify.js (configurable).
I am calling this dropdown menuitem "Load track as route", so in my opinion it is still correct in the context of this issue.
If you agree to this I could send the code, add it in a pull request or whatever you prefer. For me this enhacement is very usefull (perhaps needs more testing, becaus its only tested with my collection).
Regards

Thank you for the reply, I will open a pull request. First I will check your recommandation about Turf.js.
Regarding simplify.js: I am aware about the L.LineUtil.simplify and that simplify.js is done by this. But simplify.j has a third parameter that should enhance the quality. I haven't checked this in code if it really makes a difference, But my feeling is, that the results of simplify.js are better in this case. Nevertheless I am already using simplify.js if it is available otherwise the Leaflet implementation.
I fully agree with you, that a more sophisticated approach would be better than this "fuzzy" solution.
One question: translation. My english is at the lower end but hopefully sufficient for these few strings. I althoug could make the german part, but thats all. Is that enough at the beginning?

But simplify.j has a third parameter that should enhance the quality.

Ah, Ok, wasn't aware of that difference. If simplify is better, we can also include that. I just wouldn't want to include additional libraries for the same thing. Turf also has a simplify function with a highQuality parameter, that seems to use simplify.js internally, so maybe we can use that.
Translations are done on Transifex by the contributors there after merging the pull request. Normally we don't edit the language files, as they get overwritten automatically, see the just created CONTRIBUTING.md. Just set the key and default english text in HTML/JS and maybe run yarn build i18next to update the en.json.


XCAT: Get voltage, temperature and other rvitals through xcat

what is the difference between this and already have..
could you pls update there, Prashant


Add a 30 day average line to the volume graph on the email alert api …

…dashboard

https://trello.com/c/bmyTV8WT/1560-2-add-a-rolling-30-day-average-line-to-the-volume-graph-on-the-email-alert-api-dashboard

Does it make sense that the line is always above the bars? I would expect an average to be similar (or lower, if it's 30 days ago) to the peak of the bars, but I'm not really sure how moving average works...

Does it make sense that the line is always above the bars? I would expect an average to be similar (or lower, if it's 30 days ago) to the peak of the bars, but I'm not really sure how moving average works...

I updated it to not be stacked now


Pre-built binaries

Hello,
Mind to provide pre-built binaries for postfix_exporter ?
Saved my day, but the compiling isn't that easy when you're not a 'go guy'.
Thanks.

You can build it using docker if you like:
https://github.com/kumina/postfix_exporter/blob/master/build_static.sh
Similarly, if you check out that script, you can make the same invocations on your linux machine by hand.

It actually wasn't too bad to build. I built a static binary on Ubuntu like this:
apt install golang-go libsystemd-dev
git clone https://github.com/kumina/postfix_exporter.git
cd postfix_exporter
go get -d ./...
go build -a -tags static_all
strip postfix_exporter

Here's the static postfix_exporter binary I built for postfix_exporter v0.3.0 Linux amd64 (with systemd support):
https://1drv.ms/u/s!AgTQYOEcEzBLqsRTGrWhZLCylYcisw


Unable to perform a headless Android build (with custom builds) without first opening the GUI

Godot version:
3.2.1+
OS/device including version:
Android
Issue description:
The headless version of godot can be used to export projects without opening the editor. This is important for Continuous Delivery & automation of development.
Since Godot 3.2.1, we have been able to use a custom android export when exporting our Android games. In a newly checked out project, one has to go to the Project>"Install Android Build Template" in order to begin exporting for android. However, there is no way to do this with the headless version of godot. Because of this, you are unable to perform an initial build of a godot Android game with the headless version, without first opening it in the GUI.
I think there should be a godot command to run this gradle setup from the command line, to keep this tool consistent.

Can't the build template be downloaded and extracted using curl and unzip? The URL may be nontrivial to figure out though.

I don't think this is the same thing, even though the names are confusingly similar. The build template I'm referring to is the 'build' directory in the 'android' subdirectory. More information here.

While I agree it would be nice with a command line way of doing the "install Android build template", the only thing it does AFAIK is unzipping android_source.zip into the android/build folder.

I guess that's a reasonable alternative for any automated system to implement. Thanks for the help, @Myran . For future people with the same problem: The android_source.zip is inside the export templates.

This is now an issue again in Godot 3.2.2, because extra files are needed to perform a build successfully (from what I can tell, it needs a "plugins" directory and a .build_version file containing the godot version string). Whilst I can add this manually to a build tool it does demonstrate the need for a command line option, as these requirements could change in the future and break the tools which have worked around this issue.
I believe this should be classed as a bug as you are meant to be able to compile using the headless version of godot, and this restriction doesn't allow you to do that.

I believe this should be classed as a bug as you are meant to be able to compile using the headless version of godot, and this restriction doesn't allow you to do that.

I'm afraid that's not how it works. Limitations aren't always bugs.

@kjav Thanks for the feedback! At the moment, there are no plans to alter the structure of a custom Android build, so the changes to your build tool should be good for a while.
But I do see your point, and agree it would be a good idea to automate that process from the command line.
I can't give a firm timeline on when this will be implemented, but contributions are welcomed!

Hey, I wanted to tackle this as my first godot contribution and narrowed down all the locations in need for a change to implement the requested feature.
Before I raise an PR I wanted to make sure, that my solution would actually implement the enhancement.
Current behavior
Executing godot --path /path/to/project --export-debug "Android" fails, if the project was not opened in editor on the build machine and "Project -> Install Android Build Template..." was not clicked.
This menu button creates the directoy "res://android" with the following contents:

"/build" directory, in which the "android_source.zip" gets extracted into
"/plugins" directory, which is empty without further configuration
and ".build_version" file, which contains the godot version (f.e. "3.5.rc")

Desired behavior
The commands currently executed by clicking the menu button "Project -> Install Android Build Template..." should be available as command line argument.
Proposed API:
godot --path /path/to/project --export-debug "Android" --install-android-build-template [/path/to/android_source.zip]
Where the path to "android_source.zip" can be specified optionally but will default to the default location of "Project -> Install Android Build Template...".
Did I miss something? Is there some aspect I didn't consider? Is the proposed API acceptable?

Hey, I wanted to tackle this as my first godot contribution and narrowed down all the locations in need for a change to implement the requested feature. Before I raise an PR I wanted to make sure, that my solution would actually implement the enhancement. One open question beforehand: Should I implement this feature on the master branch or the 3.4 branch, since this issue is assigned to the 3.5 milestone?
Current behavior
Executing godot --path /path/to/project --export-debug "Android" fails, if the project was not opened in editor on the build machine and "Project -> Install Android Build Template..." was not clicked. This menu button creates the directoy "res://android" with the following contents:

"/build" directory, in which the "android_source.zip" gets extracted into
"/plugins" directory, which is empty without further configuration
and ".build_version" file, which contains the godot version (f.e. "3.5.rc")

Desired behavior
The commands currently executed by clicking the menu button "Project -> Install Android Build Template..." should be available as command line argument. Proposed API: godot --path /path/to/project --export-debug "Android" --install-android-build-template [/path/to/android_source.zip] Where the path to "android_source.zip" can be specified optionally but will default to the default location of "Project -> Install Android Build Template...".
Did I miss something? Is there some aspect I didn't consider? Is the proposed API acceptable?

Hi @AntonioDell , that sounds like a great first contribution to tackle! As someone who has had to work around the issue, I can confirm that that is how I have fixed the issue manually in the past.

Hey @kjav , I created a PR in which I added the --android-template option to the cli. If you have some time, I'd appreciate your feedback on the code change. Does it solve your issue?

As the other issue has been closed as duplicate, I copy-paste here my concern regarding the solution provided (which doesn't seem to work). Can you please help me to resolve the issue?
https://github.com/godotengine/godot/issues/78412#issuecomment-1597749567

The method mentioned in https://github.com/godotengine/godot/issues/35600#issuecomment-898908949  or in your comment above doesn't work.
I created an android folder within my main folder with the content of android_source.zip, I still read the error message:
ERROR: Cannot export project with preset "Android" due to configuration errors:
Android build template not installed in the project. Install it from the Project menu.

Here is the content of the game folder:
$ ls
AutoLoad		Materials		Themes			assets			icon.png
Design			Scenes			UI			default_bus_layout.tres	icon.png.import
ExternalVisuals		Shaders			addons			default_env.tres	project.godot
Game			SplashScreen		android			export_presets.cfg

And here is the content of the android folder:
$ ls android
AndroidManifest.xml	build.gradle		gradle.properties	libs			src
assetPacks		config.gradle		gradlew			res
assets			gradle			gradlew.bat		settings.gradle

Do you have further indications please?
Can you please not close the issue until it is resolved? It will not only benefit myself but also all future users that will encounter this problem and search for an answer (so they won't have to open another issue, again and again).

Has anyone figured out an approach to tackle this (using Godot 4.x)?


Dates cannot be cleared for reporting requirements [4]

Describe the Bug:
Dates cannot be cleared on the custom date widgets we use for the reporting requirements.
This is an issue if a mistake is made, and for example a "submitted date" is entered by accident.
Happens in Chrome and Firefox

Probability (how likely the bug is to happen, scored from 1-5): 3
Effect (how bad the bug is when it does happen, scored from 1-5): 4
Steps to reproduce the behaviour:
Create or edit reporting requirements for a project
Screenshots:

Tested in dev - there is now a little blue circle with an X that allows a user to quickly clear a reporting date. Confirmed functionality was visible for all report dates.


Add ansible cloud team to tower managers

Add Ansible cloud team members and validated content repo names

Removed the azure roles repo; we'll add that in a follow-up PR as it will take longer to update it for new naming guidance.
ready for review


Not receiving the credentials on lockout

I'm using a custom lockout function with arguments (same with documentation) and I using the custom Login view (same with documentation too) for the login. But whenever the login attempt was reach, The credential value is None and the request is only working.

Hey @johnalbert-dot-py! Thanks for reporting. Could you post the relevant code or links to the examples you are using for reference?

I just copy the code from the documentation

Probably a duplicate of #750


Ubuntu 20.04 jobs blocked on keyboard-configuration dialog

Currently, certain CI jobs on the Ubuntu 20.04 runner are getting blocked indefinitely on a keyboard-configuration dialog triggered by debconf:
#15 229.6   95. Ukrainian
#15 229.6   96. Urdu (Pakistan)
#15 229.6   97. Uzbek
#15 229.6   98. Vietnamese
#15 229.6   99. Wolof
#15 229.6 Country of origin for the keyboard: 2020-07-21 08:59.46: Cancelling: Timeout (60.0 minutes)
Job cancelled

See for instance: https://ci.ocamllabs.io/github/mirage/irmin/commit/66366d36b7b822ffe73b4ebff27892d7626b4949/variant/ubuntu-20.04-ocaml-4.10.
This appears to happen as part of the opam depext call, where passing -yy to apt-get install is not sufficient to make the install run non-interactively. See https://github.com/moby/moby/issues/27988#issuecomment-462809153, which suggests using debconf-set-selections to explicitly tell debconf to be non-interactive.

This should be fixed now in the live infra; could you confirm @CraigFe ?

Here's a trace from ~10 mins ago that's still blocked in the same way: https://ci.ocamllabs.io/github/mirage/irmin/commit/05168f5e5e0ef5ffaac4b191af35e6a094a9fdee/variant/ubuntu-20.04-ocaml-4.10.
Looks like it may not be fixed.

You'll need to re-pull the image (at https://ci.ocamllabs.io:8100/) too.

Re-pulled; its rebuilding jobs now

Looks like its working now
 #15 19.48 The following command needs to be run through "sudo":
#15 19.48     apt-get install -qq -yy debianutils gnuplot-x11 libgmp-dev m4 perl pkg-config
#15 19.49 sudo: setrlimit(RLIMIT_CORE): Operation not permitted
#15 34.17 debconf: delaying package configuration, since apt-utils is not installed
#15 34.83 Selecting previously unselected package keyboard-configuration.
#15 34.83 (Reading database ...
(Reading database ... 5%

https://ci.ocamllabs.io:8100/job/2020-07-23/113406-ci-ocluster-build-f0bc7c

Indeed; thanks all!


Python/gevent: Segmentation Fault depending on import ordering

What version of gRPC and what language are you using?
Python, tested on grpcio v1.14.0 and v1.16.1
What operating system (Linux, Windows, …) and version?
Ubuntu Trusty
What runtime / compiler are you using (e.g. python version or version of gcc)
Python v2.7.6
What did you do?
Attempting to use grpc with gevent support, using the following script (assume a simple Users service definition with a GetUser by some ID):
import gevent.monkey
gevent.monkey.patch_all()

from grpc.experimental.gevent import init_gevent
init_gevent()

import grpc
from pb.users_pb2 import GetUserRequest
from pb.users_pb2_grpc import UsersStub

channel = grpc.insecure_channel('localhost:9001')

import requests # !!!

client = UsersStub(channel)

req = GetUserRequest()
req.id = long(123)
print client.GetUser(req, timeout=.25)

Notice the first import of the requests package after monkey patching and creation of the channel.
What did you expect to see?
Either a print out of a GetUserResponse or an exception originating from the users service.
What did you see instead?
For both versions of the grpcio package, no network traffic leaves this script (ie, no request actually reaches the users service).
With grpcio v1.14.0, a deadline exceeded exception is returned.
With grpcio v1.16.1, a segmentation fault crashes the script.
Anything else we should know about your project / environment?

Removing import requests from the script results in expected behavior.
Moving import requests above the creation of the channel results in expected behavior.
Moving import requests after the GetUser call (assuming no error there), results in a seg fault.
Removing the timeout kwarg in v1.14.0 will block forever.
The following packages have been tested and shown to trigger this behavior:

requests: replaces urllib's SSL context with pyopenssl to enable SNI
rtree: C library
shapely.geometry: C library
boto:  vendors six.moves and executes it at import

Thanks for the report. We are tackling a number of non-gevent issues right now, and the team member who wrote our gevent compatible code is no longer on the team, so it will likely be sometime next month before we can follow-up in detail with this bug report - there have been other recent issues reported with our gevent integration that we will also be sorting out.
From initial searching, it wasn't clear to me that requests is compatible with gevent, given the existence of the grequests package. If you have a pointer to documentation about this that would be helpful.

I used gevent + requests a lot too with no problems.

Has there been any resolution to this?  We are trying to use gevent + gunicorn + grpc on an appengine flex app and are also getting segfaults.  Its not clear if requests is the problem though

@arian487 Are you observing the same exception caused by import ordering? If the segfault is caused by other issue, can you open a separate issue? Also, a reproducible case will be very helpful.


VS Code Extension

Proposal
I really like the direction that the policy toolkit is taking the policy authoring experience.  As a C# developer, this will absolutely make me more productive in authoring policies.  I think a great way to make the authoring experience even more efficient would be a VS Code extension that can automate the compilation process and even post the transpiled XML back to an API Management service instance.
This could possibly be done using the existing API Management VS Code extension.  I see the user experience as something like this:

Via extension in VS Code, create a new policy project.  This would create the necessary local directory structure and install the necessary nuget packages.
Once the project is created, navigate to the APIM VS Code extension and select a policy authoring scope.  This would create a new class for authoring policy and place it in the appropriate location in the local project directory.
After authoring and saving the policy file, the extension could compile the code, and optionally, post the transpiled XML back to an APIM service instance for smoke testing on a live APIM service.

Component
Compiler
Contact Details
<EMAIL_ADDRESS>

Hey @christopherhouse ! Thank you for your suggestion. I see your point that the toolkit lacks. Creating an easy way to connect policy documents in Azure API Management with C# policy document class would help in further increasing productiveness and experience in policy document authoring.
I personally, would include that functionality with the current Azure API Management VS Code extension. At least, it looks like the place for it because all fetching, editing and deploy is already available there. We would need only to extend it to support the Policy Toolkit which would include project creation, policy document for scope creation and auto compile with optional auto deploy.
@vladvino Would it be reasonable to do that?
But you mention a creation of a project. I think this is a good point that currently it is not ideal. I think, it would be reasonable to create special dotnet project template to do exactly that. This should allow seamless project kick to start and enough flexibility that it could be used manually or by VS code extension. It should be pretty easy to add that.

@mikebudzynski @juliajuju93 fyi


Recruiting additional maintainers for Erlang

We're about to start a big push towards version 3 (v3) of Exercism. This is going to be a really exciting step forward for Exercism, with in-browser coding, new Concept Exercises with automated feedback, improved mentoring and much more.
This to be a big community effort, with the work spread out among hundreds of volunteers across Exercism. One key thing is going to be each track having enough maintainers who have the time to manage that community effort. We are therefore putting out a call for new maintainers to bolster our numbers. We're hoping that our existing maintainers will be able to act as mentors to the newer maintainers we add, and take on a parental role in the tracks.
If you are an existing maintainer, could you please reply to this letting us know that you think you'll have time (2-3hrs/week) to help with this over the next 6 months. If you won't have that time, but still want to be a maintainer and just help where you can instead, please tell us that too. If you have come to the end of the road as a maintainer, then we totally understand that and appreciate all your effort, so just let us know.
For anyone new who's interested in becoming a maintainer, thanks for your interest! Being an Exercism maintainer is also a great opportunity to work with some other smart people, learn more about your language of choice, and gain useful skills and experience that are useful for growing your career in the technical leadership direction. Please write a comment below introducing yourself along with your Exercism handle, and telling us why you're interested in becoming a maintainer, and any relevant experience. We will then evaluate every application and contact you using your exercism email address once we have finished the evaluation process.
Thank you!
See also https://github.com/exercism/exercism/issues/5161

I'm currently a/the maintainer of the erlang track, and I'm pretty confident that I'll be able to spend those 30 minutes a day. Though I have to be honest, I can't stem this alone and will need some help, some one not only to ruber duck/discuss over design of the track and tooling, but also someone who then helps implementing stuff.
So I'm looking forward for other people joining the team!


ci: automate weekly releases

Our documentation states that we cut weekly pre-releases, but that hasn't been the case.
This PR automates pushing a new tag on a weekly basis on Mondays at 8am EST. Once the tag is pushed, the release.yml GitHub Actions kick off the remainder of the release process.
It's also possible to manually trigger the workflow on other days to cut a new pre-release version.
Note that for simplicity, there can only be one pre-release cut per day. If a manual pre-release is needed after this automation has already run, a new tag can be pushed manually.

Nice work @jpsim!

I'll merge this and trigger the workflow to confirm it works.

Ran it here: https://github.com/envoyproxy/envoy-mobile/runs/6529542994?check_suite_focus=true
It successfully created and pushed the tag: https://github.com/envoyproxy/envoy-mobile/releases/tag/v<IP_ADDRESS>20520

However, the release automation failed because of an invalid key:

The workflow is not valid. .github/workflows/release.yml (Line: 166, Col: 9): Unexpected value 'prerelease'

Fixing that next.

Fix: https://github.com/envoyproxy/envoy-mobile/pull/2306


TensorFlow Library is causing prompt to install Java on Mac OS

There seems to be an issue with how the TensorFlow library from DJL is linked to the JRE that is causing a prompt to install JRE Version 6. This link seems to provide further info on the problem: https://github.com/imagej/pyimagej/issues/10
another workaround is to link to libjli instead of libjvm
Reference info from another issue:

Ok, so this is what I get when I run the executable and hit the /detect endpoint:
ermurphy@MacBook-Pro-7 pneumonia-detection-quarkus % target/pneumonia-detection-quarkus-1.0.0-SNAPSHOT-runner
__  ____  __  _____   ___  __ ____  ______
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2020-07-15 01:13:46,142 INFO  [io.quarkus] (main) pneumonia-detection-quarkus 1.0.0-SNAPSHOT native (powered by Quarkus 1.6.0.Final) started in 0.024s. Listening on: http://<IP_ADDRESS>:8080
2020-07-15 01:13:46,142 INFO  [io.quarkus] (main) Profile prod activated.
2020-07-15 01:13:46,142 INFO  [io.quarkus] (main) Installed features: [cdi, resteasy, resteasy-jackson]
2020-07-15 01:14:15,762 DEBUG [ai.djl.rep.zoo.ModelZoo] (executor-thread-1) Searching model in zoo provider: ai.djl.tensorflow.zoo.TfZooProvider
2020-07-15 01:14:15,762 DEBUG [ai.djl.rep.zoo.ModelZoo] (executor-thread-1) Searching model in zoo provider: ai.djl.repository.zoo.DefaultZooProvider
2020-07-15 01:14:15,763 DEBUG [ai.djl.rep.zoo.ModelZoo] (executor-thread-1) No model zoo found in zoo provider: ai.djl.repository.zoo.DefaultZooProvider
2020-07-15 01:14:15,763 DEBUG [ai.djl.rep.zoo.ModelZoo] (executor-thread-1) Checking ModelLoader: cv/image_classification ai.djl.tensorflow:resnet
Loading:     100% |████████████████████████████████████████|
2020-07-15 01:14:15,771 DEBUG [ai.djl.uti.cud.CudaUtils] (executor-thread-1) cudart library not found.
2020-07-15 01:14:15,771 DEBUG [ai.djl.ten.eng.LibUtils] (executor-thread-1) Using cache dir: /Users/ermurphy/.tensorflow/cache
2020-07-15 01:14:15,771 DEBUG [ai.djl.ten.eng.LibUtils] (executor-thread-1) Loading TensorFlow library from: /Users/ermurphy/.tensorflow/cache/2.2.0-cpu-osx-x86_64/libjnitensorflow.dylib
No Java runtime present, requesting install.

I then get a pop up window from Mac OS asking me to install Java 6! Weird, right?

Update: Upon some research, I found this is related to JNI linking to Java libraries in Mac OS and it may require some change to how TensorFlow is linked, but I am not sure. I did not have this issue previously with the TensorFlow native libraries from the TensorFlow project.
Originally posted by @murphye in https://github.com/awslabs/djl/issues/103#issuecomment-658550878

I don't have this problem on my Mac, I'm using a fresh Mojave. However, my coworker has the same issue as you. He's mac was upgraded to Mojave from older version.

I am using Catalina (10.15.5) that has been upgraded a few times.

@murphye just want to keep you updated. The author of the JavaCpp is fixing this issue. https://github.com/bytedeco/javacpp/issues/417
I will let you know once the bug is fixed

JavaCPP 1.5.4 resolved this issue. We upgraded to javacpp 1.5.4. Will be resolved in DJL 0.8.0 release


Registration and permalinks

Bug or feature request?
Feature
Description:
Permalinks and an ability to fork would make it easier to share statecharts via the visualization tool
See for example codepen, jsfiddle, codesandbox, etc.
In order to provide editing features to the original author (and prevent guests from editing), an authentication/registration system would need to be built as well.
(Feature) Potential implementation:
Would require backend services, database, etc. It's a significant effort and might not be part of the scope of xstate itself, especially since the visualization tool itself is open-sourced, but it would be nice as a user to have this feature available and it may help spread the word

Done: http://xstate.js.org/viz/

wooohoo!