Export time-out issue

I've noticed some projects where there are multiple unnecessary folders / files that are created in the user-files folder. I think this happens when the export of the project fails (e.g. times out because of the size of the media folder).
Is there a way to avoid this happening?

Also, it would be useful to have a message appear to user when export fails as it's not obvious what's happened otherwise - particularly because export often takes a while anyway

It is caused by the fact that the export routine builds the whole structure of the zip file in the USER-FILES folder.
After a successfull export all those files are cleared again, but when something goes wrong, than the cleanup does not take place.
I'll have a look


Problem with Demo document indentation

The demo document uses 2 space indentation, however Showdown by default only accepts 4 space indentation.

(I wasn't able to find this demo docs in the repo, if someone points me to it I can update in a PR)

Nice catch. The document is pulled from the wiki https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax
should be fixed now

fixed


[incubator/druid] New Druid Chart

Signed-off-by: Maciej Bryński<EMAIL_ADDRESS>What this PR does / why we need it:
Apache Druid is popular open source OLAP database and there is no chart for it.
Fixes: https://github.com/apache/incubator-druid/issues/5582
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Variables are documented in the README.md

Funny thing.
Error is from mysql tests
I1116 12:47:19.773] Error linting and installing charts
I1116 12:47:19.773] ------------------------------------------------------------------------------------------------------------------------
I1116 12:47:19.773]  âď¸ incubator/druid > Pods 'druid-4u225rf2u4-mysql-test' did not reach ready state!
I1116 12:47:19.774] ------------------------------------------------------------------------------------------------------------------------

Any idea why ?

/retest

Any chances to get review for this ?

I have created a druid helm chart ans tested on both minikube and kubernetes cluster , here's the link https://github.com/rahulsingh303/druid-helm
-Rahul


Fixed absolute path issue on Windows

Summary
Removed os.path.abspath because this was preventing installation from the extracted tar.gz source when running setup.py install under Windows OS (not sure if it manifests on Linux). The setup() function should only need relative paths.
Note
Please test this under Mac OS X / Linux to confirm the changes do not impact installation on these systems.
Thanks and kind regards,
Liam Deacon

Fixed absolute path issue on Windows


Can't enter the level - Script: http://codecombat.com/javascripts/aether.js line 5756 > eval:2154

Hey,
I click on the flag and try to enter Grim Determination level in Mountain world, but it just freezes. Tried other levels, everything works normal, tried to delete cache, to go to Firefox, but no success. It just freezes and doesn't want to open and in Firefox it throws some error...  It seems like it's an infinite loop in my Codecombat code for that level, but I can't even open it so I would reoad it...
Here's the screencast https://drive.google.com/file/d/0B9vs9RxlIYARWmRBbXJRZ2FvaW8/view?usp=sharing (from Chrome)
And this is the error message from Firefox

Hello,
Thanks for taking a video, but we are not seeing this problem at the moment.
What device are you using to play CodeCombat? Would it be possible to take a video of the console?


[SR-12725] Diagnose unhandled generic argument mismatch involving FunctionArgument

Let's always attempt the fallbacks if we don't handle the locator path specifically.
If even then we can't diagnose, then return false.
cc @xedin :)

Resolves SR-12725.

@swift-ci please smoke test

@xedin Can we cherry-pick this to 5.3? :)

@LucianoPAlmeida Sure! That PR would have to have some additional information in the description though - https://swift.org/blog/5-3-release-process/ (Pull Requests for Release Branch bit).


Update README.md

use pino-elasticsearch as module

@guotie I don't understand why you resolved all my notes without actually landing the proposed changes. Would you mind accepting them so we can land this?

accept.

I cannot land those updates as I do not have write permissions on your branch. You should accept those.


Menu checked icon misaligned in docs

http://www.material-ui.com/#/components/menus

On OS X 10.11.1, verified issue occurs in Chrome Version 47.0.2526.106 (64-bit) and Safari 9.0.1

Indeed :grimacing: https://github.com/callemall/material-ui/pull/2661.

@oliviertassinari We should release 0.14.1 fast, to avoid more reports on this.

This was fixed with that PR :grin:

This is fixed in the 0.14.4 doc site, but broken again in 15.alpha2

@rsteckler It's a known regression. We'll fix it for the 0.15.0


Marking accessor does not support custom arguments

When I try to specify a custom argument for property_accessor in marking_store (to send custom field intead of default "marking" value), the bundle fails to generate the service definition (it requires an array, but custom argument sent a string).
Looks like it's supported by SF framework in 3.2 :
https://github.com/symfony/symfony/issues/19936

I've just tested the configuration like this:
workflow:
    workflows:
        simple:
            marking_store:
                type: property_accessor
                arguments: status
            supports:
                - Test\Bundle\Entity\Subject
            places:~
            transitions: ~

and it works for me.
If i pass arguments as array (without normalization of arguments node on compile time) like this:
workflow:
    workflows:
        simple:
            marking_store:
                type: property_accessor
                arguments:
                    - status
            supports:
                - Test\Bundle\Entity\Subject
            places:~
            transitions: ~

and it also works.
I've tested with symfony/framework-bundle  v2.8.9
@Sigzegv could you please specify configuration that makes build broken and your symfony/framework-bundle version?

Please open new issue if the problem is still there


Error trying to add as Air Quality sensor (homekit)

I was wondering if something needs to be done by this plugin to support being used by HomeKit as an Air Quality sensor.
I tried adding it and I got this error:
   HomeKit Bridge Error            Exception in homekit.setAttributeValue line 1560: global name 'dev' is not defined
							 CODE: self.logger.error (u"Cannot set {} value of {} because it is not an attribute".format(attribute, dev.Alias.value))

   HomeKit Bridge Error            Exception in homekit.detCharacteristicValues line 1070: 'service_AirQualitySensor' object has no attribute 'AirQuality'
							 CODE: if characteristic not in self.characterDict: self.characterDict[characteristic] = getattr (self, characteristic).value

For object id 855142381 alias 'Purple Air (indoor)'

I would understand if you don't know, and I should follow up with the HomeKit plugin...  I'm just curious

I have no idea what HomeKit needs to use an Air Quality sensor.  Maybe it's looking for a state called 'AirQuality'?

I'll do a bit of research and see how to make sure that a device is 'homekit' compatible in Indigo.

Not just HomeKit, but specifically what the HomeKit Bridge is looking for.

Issue filed here:
https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/139


Pcap.Net fails after open multiple cap files.

HomerYan[CodePlex] I have multiple (gt2000) pcap files to precess. The code goes following:
............
listltstringgt Files;
foreach(string CapFilePath in Files)
{
OfflinePacketDevice selectedDevice = new OfflinePacketDevice(CapFilePath);
using (PacketCommunicator communicator =
selectedDevice.Open(65536, PacketDeviceOpenAttributes.Promiscuous, 1000))
{
communicator.ReceivePackets(0, DispatcherHandler);
}
}
private static void DispatcherHandler(Packet packet)
{
......
}
Always after approximately 510 files have processed, the programe will exit with quotFails to open file......quot.
I think it maybe caused by exhausted file handle resource.
How to close a cap file explicitly?
Apologize for my poor English.

Brickner[CodePlex] This is resolved in Changeset 72641 and will be fixed in the next released.
Quoting part of the Changeset description:
When opening files with ASCII or ISO-8859-1 filenames, you can now open unlimited number of files (and not just ~500). Note that when opening files with other characters there's a problem releasing the resources due to
http://www.winpcap.org/pipermail/winpcap-bugs/2012-December/001547.html


Failed risk calculation card (EXPOSUREAPP-4088)

Description
This PR is aiming to refactor the home fragment cards as well as the risk details screen while introducing a new risk card for when the risk calculation fails.
We are planning to add a RecyclerView to the HomeFragment and RiskDetailsFragment that will hold all of the different cards.
As this is quite a big undertaking, this PR is going to be open as DRAFT until everything is implemented.
This checklist is meant to keep track of the progress done so far:

[x] Create new risk card for failed risk calculation state.
[x] Create new risk card for risk calculation stopped.
[x] Create new risk card for low level risk.
[x] Create new risk card for high level risk.
[x] Create data classes for risk cards.
[ ] Remove grey risk card along with old implementation of risk cards.
[ ] Create new covid test cards for all test states (untested, fetching, failed, positive, negative, done...).
[ ] Create a new FAQ card.
[ ] Create a new state provider that provides the right risk card to the HomeFragmentViewModel.
[ ] Introduce RecyclerView approach for the home fragment.
[ ] Introduce RecyclerView approach for the risk details fragment.
[ ] Create class that handles the state of the risk calculation.
[ ] Add necessary unit tests.

Superseeded by #1912


change user history to be stored in a circular block-keyed queue

Research tickets need outcomes/AC - Moving to needs refinement
I'm not sure how much of a worry contract size is right now


add @storybook/addon-a11y to S2 storybook

Patch is due to hitting https://github.com/storybookjs/storybook/issues/26855. If anyone can think of a better solution, I'm all ears.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Were any violations found?

@snowystinger Fixed a few story ones in https://github.com/adobe/react-spectrum/pull/7068/commits/4831796ae39a6888c63e1c8c1cec331539632031.
In terms of bugs, the main one was https://github.com/adobe/react-spectrum/pull/7085. There were also some violations that may need some more investigation/discussion:

Card: Document should not have more than one contentinfo landmark (for Footer inside Card)

Maybe we should pass in another role via FooterContext?

Card: Ensures landmarks are unique (for Footer inside Card)

Should go away if we add a different role for the previous item.

Card: various issues when in the loading/skeleton state that may need some investigation
Meter: Elements must only use allowed ARIA attributes (for aria-valuenow="80", aria-valuemin="0", aria-valuemax="100", aria-valuetext="80%")

May be a false positive?
Also exists in a Form story


Unable to set minimum iOS in info.xml of depiction.

In info.xml, it says to specify <maxiOS>. The thing is that the tweak I want to host needs 11.0 and up, but all I'm able to put is the max iOS (11.3.1). So when someone with, for example, iOS 10 sees the tweak, the depiction makes it look like the tweak is compatible with their version. Any way to change this?

have you tried to put ?


Version 1.0.2 from npm does not have a podspec file & how to with code examples

Hello,
Thanks for this package!
I have just installed the package from yarn:
yarn add react-native-in-app-message

Also how to create the same notification style as your example:

Thanks for reply

@loic-lopez  Hi, fixed podspec in 1.0.31 and you can check this out https://github.com/KirillGudkov/in-app-message-example
there is simple example (just like in readme :) is this not enough?))


Italian Italy (it-IT) Mobile Number Validation

Solving the issue 569.

Coverage remained the same at 99.103% when pulling 5bd15ce3a46185200af42ada4db9525427b3f09b on jeffersonpenna:master into a8b3eba1af724800156ee71d520889beb1aea6be on chriso:master.

Thanks.


Add L33T Sheets repository

It's an infosec focused cheatsheet repository based on your cheat.sheets repo.
Primarily focused on common blue/red team tools.
https://github.com/deoxykev/L33T.sheets

@deoxykev Kevin thank you for the suggestion. It is a very useful repository, and it will be added to cheat.sh.
Should the cheat sheets be imported into the root namespace?
curl cheat.sh/ipv4  # => maps to ipv4 in your rep

Yes, it should be part of the root namespace. Thanks.

Accepted


Load custom npm files

I am using ember-browserify to work with momentjs in my ember app and I need to specify the locale for moment but I couldn't because the required locale files are not loaded. is there any way that I can tell browserify to load these files? they are located in the 'locale' folder inside moment nodes_module folder.

Are these locale files somehow available if you require('moment') in a node app?
You're only recourse for customizing browserify behavior is through the config.

As they say on their website Loading locales in NodeJS once you call moment.locale('fr'); the locale is loaded. but when I tried it in my ember application it's not loaded and I get the text in English not in French. My function looks like this:
import moment from 'npm:moment';

export function dateRelative(params/*, hash*/) {
  var date = params[0] || new Date();
  return moment(date).locale('fr').fromNow();
}

I think you should be able to solve it by importing the locale manually. Apparently it's not included in the build as it's being required at a late stage.
Just add
import momentFR from 'npm:moment/locale/fr';

to your app.js file.

Just add
import momentFR from 'npm:moment/locale/fr';
to your app.js file.

^


python310Packages.hahomematic: 2022.12.11 -> 2022.12.12

Changelog: https://github.com/danielperna84/hahomematic/releases/tag/2022.12.12
Description of changes

Things done

Built on platform(s)

[ ] 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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.hahomematic
python39Packages.hahomematic


📙 Discovery - switch connections to using “nodes”

I like github/facebook's schema's style better, using just "nodes" for the actual object list. I think it's easier to read when compared with aways duplicating the name of the thing we are accessing.
listings{nodes{id}} <-- new
  vs.
listings{listings{id}}  <-- old

Plus it's a little more standard.
@sparrowDom (This change will affect you)

Cool, @DanielVF thanks for the heads up!


FIX: CI fixes to goreleaser configuration

Pull Request Test Coverage Report for Build 570045780

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

Totals

Change from base Build 570029002:
0.0%

Covered Lines:
406

Relevant Lines:
513

💛  - Coveralls


fix snap interfaces

🥷 💡☕❤ /hallpass for the build error due to  ->  allow-installation - snap manual review for the build - also cc: @exodus for eyes. thanks heaps - Looks good to me but need more snap matured eyes.

Looks good, I've cleared the queue in snapcraft. If you can rerun the github action we should be able to see the new iteration run.


Make Builder Methods Not Build If Already Built

So that you can call them one after the other if needed. Currently, only one can be called, others will throw an error since the object has already been built.

Added in v1.1.0


workflow display_name must be present

closes https://github.com/zooniverse/Panoptes-Front-End/issues/1696

:shipit:


tls: Set session only once before Client Hello

If the server rejects the session reusage then
the client should not re-set the session multiple
times in function tls_connect() => During the
TLS handshaking / After the new session ticket
Otherwise the first connection attempt in the
rejection-case will fail. Only the second attempt
succeeds.

Hello Alfred,
Unfortunately no. The issue seems to be fixed for the customer.
Checking the SEGV is out-of-scope.

Of course we will have a look on this.
I will talk to @Naegolus. The SEGV of course is in the scope of this PR.

Currently upgrading my Mac VM. It is very slow. :-(
In the meanwhile I'll try to reproduce on Ubuntu with openssl 1.1.1s.


[$500] Web – Login – New dot opens when navigate to the staging magic link, not abracadabra page.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.96-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:

Go to https://staging.new.expensify.com/
Create new account
Copy the Magic link and change it to staging
Open a new tab and navigate to the staging magic link

Expected Result:
Verify the abracadabra page is displayed
Actual Result:
New dot opens when navigate to the staging magic link, not abracadabra page.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/115492554/61e31d0c-134a-48cc-b488-fc4a6a4efc18

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01941d72fc174377c3
Upwork Job ID:<PHONE_NUMBER>513623552
Last Price Increase: 2023-11-07
Automatic offers:

tienifr | Contributor | 27561155
situchan | Contributor | 27561514

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

@tienifr @nkuoch that change looks good to me, lets go with it

@tienifr given this is a deploy blocker, can you please make sure to make a PR quickly
Adding @situchan as you have been a reviewer on the offending PR, thanks!

The automation failed here, @CortneyOfstad can you please pay $500 to @tienifr and @situchan

Alright, both payments are completed! Payment breakdown is below:
Payment Summary

@tienifr (contributor) — paid $500 via Upwork
@situchan (reviewer) — paid $500 via Upwork


Undefined class constant VERSION error on AWS

The API client is throwing a fatal error on AWS when invoked.
PHP Fatal error:  Uncaught Error: Undefined class constant 'VERSION' in /var/app/current/web/app/plugins/wp-mail-smtp/vendor/google/apiclient/src/Google/Client.php:

PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /var/app/current/vendor/guzzlehttp/guzzle/src/Utils.php:121\nStack trace:\n#0 /var/app/current/vendor/guzzlehttp/guzzle/src/functions.php(61): GuzzleHttp\\Utils::defaultUserAgent()\n#1 /var/app/current/web/app/plugins/cf7-google-sheets-connector/lib/vendor/guzzlehttp/guzzle/src/Client.php

This is an issue with wp-mail-smtp, not the google api. The plugin you're using is using an outdated version of the Google API.

As @nikmartin said, you'll need to take this up with the plugin maintainer. :)

Thanks!


[SILGen] InitAccessors: Make sure that assign_or_init always directly references self

Cherry-pick of https://github.com/apple/swift/pull/68155

Explanation:

nonmutating set gets a copy of "self" in GetterSetterComponent
which is expected for partial application of the setter but doesn't
work for "self" reference that assign_or_init instruction needs
to emit references to stored properties during lowering. We need to
make sure that "self" is always a reference to rootself of the
constructor before passing it to assign_or_init.

Scope: init accessor properties with nonmutable set setters.

Main Branch PR: https://github.com/apple/swift/pull/68155

Resolves: rdar://114433261

Risk: Low

Reviewed By: @jckarter

Testing: Added test-cases to the suite.

Resolves: https://github.com/apple/swift/issues/67827
Resolves: rdar://114433261

@swift-ci please test


Add sctp.Association.Abort(reason string) method

According to RFC 4960 Section 9.1. Also see my comment at #176, more precisely: https://github.com/pion/sctp/pull/176#issuecomment-782578388
Closes #182.
I don't think we currently do any tag verification for any packets, but we can implement that later.
I think that Close method should be modified to call Abort("close") or similar; I was unable to find any part of the spec that allows just closing the underlying connection.

@jeremija I am pretty sure this is a test issue. If you'd prefer, I can sort this out for you. Please let me know.


Module dependency error when building master

I had to install a few packages using opam, but otherwise I simply have a fresh clone of the iron repo. I tried to make clean; make but it failed after a bunch of seemingly OK output. The failure message is:
Module Iron_command_rpc_intf in directory _build/default/public depends on Iron.
This doesn't make sense to me.

Iron is the main module of the library and is the only module exposed
outside of the library. Consequently it should be the one dependending
on all the other modules in the library.

My system:

Mac OS 10.12.6
opam 1.2.2
ocaml 4.05.0
jbuilder 1.0+beta14

Both ocaml and opam were installed with brew (version 1.3.6-8-g15096e7).

Sorry, we really should just delete this repo. We open-sourced Iron, but it takes a fair amount of work to adapt it for real uses, and it doesn't seem like anyone is seriously contemplating that work, so we stopped updating it in our public release. Now it's just an attractive nuisance, because it makes people think it's a supported piece of software.
That said, if someone actually wants to do the work to set it up for their use-cases, we'd be happy to think about starting up the release again.

It depends what the lift is, obviously. We're a rather small outfit, which both limits our ability to build tools but also makes tools important to focusing our efforts away from the little things.
The branching model we use seems to align with the model y'all use at Jane Street, i.e. feature branches on feature branches, reviewing each bit independently, merging earlier ones when ready and rebasing the dependent ones on the new upstream. As I'm sure you're aware, GitHub does not provide great support for this model.
I cloned Iron in order to better understand the model y'all use as well as the model-supporting tools y'all've built. If Iron fits our use-case well enough, I planned to bring it back to the team for consideration.
I should note: we're not living in the ocaml universe. The hail project (https://github.com/hail-is/hail) is written in Scala, Java, & C++, and we may move to a larger C++ component in the future. It sounds like Iron might be tied up with (or is?) a continuous deployment system as well. We currently have a system set up for CD with which I'm mostly happy; however, if Iron isn't too tied to ocaml, then perhaps I could move everything into Iron.
I guess I still have a lot of questions 😅! I'd love to be able to explore Iron a bit more to answer these questions for myself, so I'd appreciate y'all releasing it at least one more time.

And no apologies necessary, I really appreciate what y'all contribute to the community.


bump-cask-pr: convert URL back to string

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Convert the URL parameter back to a string after checking it for validity. Otherwise, attempting to update the URL errors out with "no implicit conversion of URI::HTTPS into String". (introduced in #15088)

Thanks @EricFromCanada for the PR and @reitermarkus for the review!


Initial setup on github for galaxybond

Need to do initial setup of galaxybond on github, so that developers can contribute to it.

Checking file commit in github


node, way, area

URL
all
How to reproduce the issue?
Hi,
in osm we have 3 kinds of elements : node, way and relation. When a way is closed, it is an area.
But in ID :

when I want to create a node, the button at the top of the window has the name "Point". And when I have created it, if I follow the link to see the changeset, my 'point' now is a 'node'. Could you use the same word and change the name on the button ?
when I want to create a way, the button at the top of the window has the name "Line". But when I have created it, if I follow the link to see the changeset, my 'line' now is a 'way'. Could you use the same word and change the name on the button ?

Best regards
Screenshot(s) or anything else?
No response
Which iD Editor versions do you see the issue on?
Released version at openstreetmap.org/edit
Which browsers are you seeing this problem on?
Chrome

What you’re seeing is a mismatch between raw elements and semantic elements. Semantic elements are a more user-friendly abstraction over the raw elements, just as presets are an abstraction over raw tags. osm.org’s element browser is look into the raw data in the database, so it does differ from iD’s UI by design.

Except that Area is not a geometry (which is the definition of semantic elements), the geometry of closed ways (what I create when I click on your button "Area") is Polygon.
And when I click on you button Line, I'm not creating a line (a line is defined, in geometry, with points aligned) but a polyline.
So the true semantic elements, geometry speaking, are : point, polyline, polygon.
To me there are 2 problems : you use words nobody else uses and your choices don't fit what you want to do.
Best regards

I just opened a talk about the template "elements" in the wiki because the template "elements" is currently wrong, see here

The UI is aiming for intuitiveness to a lay audience, not necessarily mathematical correctness. “Line” and “area” are very frequently used in OSM contexts with these meanings, including in the area key that determines whether a way represents a line or an area if it is not implied by a feature tag.


Cannot execute ArduCAM_Host_V2.0_Mac under macOS Big Sur v11.6 (Intel)

Attempting to execute ArduCAM_Host_V2.0_Mac under macOS Big Sur v11.6 (Intel) fails with the message:
You do not have permission to open the application “ArduCAM_Host_V2.0_Mac”.
Is this a codesign issue?
codesign -d reports that: code object is not signed at all
Attempting to sign the app with “codesign --force --deep --sign - /ArduCAM_Host_V2.0_Mac.app” results in the message:
unsealed contents present in the bundle root

Try this: (https://ugetfix.com/ask/how-to-fix-you-dont-have-permission-to-open-the-application-error-in-mac-big-sur/)

I am using Sonoma and also had/have trouble. I was able to get the application open.
* In terminal, visit - /Applications/ArduCAM_Host_V2.0_Mac.app/Contents/MacOS
* sudo su
* chmod 700 ArduCAM_Mini_QT

sh-3.2# ./ArduCAM_Mini_QT
QMetaObject::connectSlotsByName: Connecting slot on_comboBox_pix_currentIndexChanged() with the first of the following compatible signals: ("currentIndexChanged(int)", "currentIndexChanged(QString)")
QMetaObject::connectSlotsByName: Connecting slot on_comboBox_function_currentIndexChanged() with the first of the following compatible signals: ("currentIndexChanged(int)", "currentIndexChanged(QString)")
QMetaObject::connectSlotsByName: Connecting slot on_comboBox_type_currentIndexChanged() with the first of the following compatible signals: ("currentIndexChanged(int)", "currentIndexChanged(QString)")
libpng warning: iCCP: known incorrect sRGB profile

Unfortunately, it seems to connect and can click around, but no image seems to be taken.

I was able to get in working on Windows, but how wants to do that!
If any ArduCAM peeps are here, I would be interested in making this work on MacOS or even Linux. I would even like to get a CLI tool to work versus this UI trouble. Any feedback appreciated.


Add support for Swing's recording mechanism for minimum MSE

Implementation of recording mechanism for Swing (Section 3.2 in Swing and Slide paper) to minimize MSE. The mechanism generated slightly lower Mean Squared Error and Mean Absolute Percentage Error than the current approach when tested with real-life datasets. However, its improvement over the current approach is not absolute and it varies depending on data points' properties.

For the last commit, the rust on Ubuntu was updated to rustc 1.77.0 (aedd173a2 2024-03-17).
There was one issue in the crates/modelardb_compression/src/models/swing.rs file that was fixed, but running cargo clippy or the Git hook you shared still finds 5 errors in completely another part of the code: crates/modelardb_server/src/optimizer/model_simple_aggregates.rs. You could check cargo clippy error messages GitHub Actions.

Although the clippy errors are not caused by this PR, they still have to be fixed in order for this PR to be merged as branch protection requires all checks to complete without errors or warnings.

Regarding the replies to your comments, I replied to all of them (most of the comments say "Fixed"), but strangely they are still pending on my side. Removing and adding a new one does not help.

Unfortunately I still cannot see your comments and when doing code review it is the person that creates the pending comments that have to make them visible by submitting the review. From looking at Google results for "github pending comments", it looks like it is possible to create comments as pending so the author of the comment has to submit them afterwards, see, e.g., this discussion and issue.

I could also submit my comments. Thanks for the hint!

After running couple of times, the test test_try_compress_irregular_synthetic_time_series_without_noise_within_absolute_error_bound_five in  compression.rs  fails for the Swing model even with its initial implementation. Should this be indicated as an issue?

After running couple of times, the test test_try_compress_irregular_synthetic_time_series_without_noise_within_absolute_error_bound_five in compression.rs fails for the Swing model even with its initial implementation. Should this be indicated as an issue?

It is a known issue the Swing currently can deviate slightly from the error bound if extreme values are compressed. This of course has to be fixed before ModelarDB can be deployed for any real-life use-cases. Regarding if this should be added as an issue, unfortunately, the project currently manages issues through Azure DevOps as it was the task management software we where most familiar with when we started developing the Rust-based version of ModelarDB. However, since ModelarDB is being developed as an open-source project the backlog, issues, etc should be public to enable collaboration and make it clear which issues are known. Thus, I am currently looking into migrating the information in Azure DevOps to GitHub as either a GitHub Project or as GitHub Issues. Ideas for how to do this and/or manage projects using the tools provided by GitHub is welcome.

Thank you all for your very nice guidance! Hope to contribute much more :)


Axis-locked Constrained drag + mouse out during drag bug fix

When holding the control key, the PDF pattern will only be moved exactly along the X or Y axis (whichever part of the vector is bigger). The key can be pressed before or after the drag has begun.
Also added a fix for when the mouse moves off the element when dragging. Before, the movement would stop being updated because it was attached to the onMouseMove event of the element rather than the window. The onMouseMove event of the window gets used now instead which fixes this issue. There may be a way to achieve a similar react while still using React.MouseEvent, but this was the simplest solution IMO.

Thank you for working on this! Today I learned that control + click on a Mac is the same as right click on Windows, lol. So this is bringing up the context menu for me. What do you thinking about changing it to 'Shift'?
You can check out the calibration canvas to see how to use React's onKeyDown. Also, I think maybe wrapping draggable in div with full viewport height and width and setting the onMouseEvent there would be better than adding listeners to the window.

So this is bringing up the context menu for me. What do you thinking about changing it to 'Shift'?

Can do

Also, I think maybe wrapping draggable in div with full viewport height and width and setting the onMouseEvent there would be better than adding listeners to the window.

Yes I had a similar thought. I'll try working that in.

Also changed the keybind to shift instead of control. I think this implementation is a little cleaner. The only downside to using this sort of viewport approach is that you can no longer drag your cursor outside the window and have the drag position still update. This is probably a pretty rare use case though as most people would be using fullscreen, and probably wouldn't need to be dragging something so far in a single drag.
There's a weird issue with react-pdf overwriting the cursor style when dragging that I couldn't figure out a good solution to.

Cool beans! Thank you! I've had to patch react-pdf before to update scaling. You can see it in the patches directory. We don't need that patch anymore because we ended up making a custom renderer, but if you see where the cursor is set in react-pdf, you might be able to update the patch to set it to the cursor that you'd like instead. Just an idea though! I know its not fun wading through a library trying to patch their stuff.

Thanks, didn't know patching like that was a thing. Drag cursor correctly now. BTW I had to remove the .next directory to get the style to update.

You're fast!


Scan all vanilla and modded PresetNames, and don't output a conversion until all of the displayed PresetName errors are fixed

Closing old issues.


Upgrade from Debian 11 Bullseye to Debian 12 Bookworm

Main differences:

node 12 -> 18. https://packages.debian.org/bullseye/nodejs https://packages.debian.org/bookworm/nodejs
php 7.4 -> 8.2. https://packages.debian.org/bullseye/php https://packages.debian.org/bookworm/php

Most hosts are Debian 12 already as part of https://github.com/jquery/infrastructure-puppet/issues/8 where we went immediately, but a few of the first ones are on Debian 11.

[ ] codeorigin-02.ops.jquery.net
[ ] contentorigin-02.ops.jquery.net
[ ] gruntjs-02.ops.jquery.net
[ ] miscweb-01.ops.jquery.net
[ ] puppet-03.ops.jquery.net
[ ] swarm-02.ops.jquery.net
[ ] search-02.ops.jquery.net
[x] wp-02.stage.ops.jquery.net
[ ] wpblogs-01.ops.jquery.net
[x] builder-04.stage.ops.jquery.net
[ ] codeorigin-02.stage.ops.jquery.net
[ ] gruntjs-02.stage.ops.jquery.net

Already done directly from Debian 7 (via https://github.com/jquery/infrastructure-puppet/issues/8)

[x] wp-*.ops
[x] builder-*.ops
[x] filestash-*.ops

provision-instance.sh is meant to be non-interactive, but during the upgrade of sshd it asks the following
A new version (/tmp/tmp.s8CAJsQh4K) of configuration file /etc/ssh/sshd_config
is available, but the version installed currently has been locally modified.

  1. install the package maintainer's version
  2. keep the local version currently installed
  3. show the differences between the versions
  4. show a side-by-side difference between the versions
  5. show a 3-way difference between available versions
  6. do a 3-way merge between available versions
  7. start a new shell to examine the situation
What do you want to do about modified configuration file sshd_config? 3

Line by line differences between versions

--- /etc/ssh/sshd_config root.root 0644 2023-06-27 17:58:59
+++ /tmp/tmp.s8CAJsQh4K root.root 0644 2023-11-12 19:39:52
@@ -78,7 +78,7 @@
 # be allowed through the KbdInteractiveAuthentication and
 # PasswordAuthentication. Depending on your PAM configuration,
 # PAM authentication via KbdInteractiveAuthentication may bypass
-# the setting of "PermitRootLogin yes
+# the setting of "PermitRootLogin prohibit-password".
 # If you just want the PAM account and session checks to run without
 # PAM authentication, then enable this but set PasswordAuthentication
 # and KbdInteractiveAuthentication to 'no'.
@@ -120,4 +120,3 @@
 # AllowTcpForwarding no
 # PermitTTY no
 # ForceCommand cvs server
-ClientAliveInterval 120

I'm guessing this from apt-get -o Dpkg::Options::="--force-confold" upgrade -y where perhaps force-confold is insufficient in this case.
In practice, the answer doesn't matter since Puppet will replace this file on the first run a few seconds later. But, for now I picked 2:  keep the local version since that's closest to what we provision.

gruntjs-02.stage.ops.jquery.net

I'm replacing this with gruntjs-03.stage.ops.jquery.net to move from Node.js 12 (Debian 11) to Node.js 18 (Debian 12).

The Debian 12 nodes (gruntjs-03.stage, and gruntjs-03) are up-and-running. After quick testing via the instance's own web address, I switched over https://stage.gruntjs.com and shortly thereafter https://grunts.com. I've also shutdown both the old gruntjs-02 droplets, and updated the web hooks in the repo settings at https://github.com/gruntjs/gruntjs.com to point at the gruntjs-03 droplets instead.
The site has been working fine from what I can tell over the past 24 hours with traffic levels by status code (in the Cloudflare panel) holding the ballpark numbers as before, and no (new/surprising/unexplained) errors in the syslog that I can on either droplet.
I've now deleted the old droplets and removed their definitions from DNS and Puppet.


ArXiv Live Import - Author mapping issue

Describe the bug
The authors present in ArXiv API aren't mapped to dc.contributor.author in submission when using Live Import
To Reproduce
Steps to reproduce the behavior:

Go to /mydspace
Live Import dropdown => Publication or Item
Select ArXiv source
search eg "covid" - https://demo.dspace.org/import-external?entity=Publication&sourceId=arxiv&query=covid and select first result, or search "2305.07817" and select only result => in ArXiv (API) this is: https://arxiv.org/abs/2305.07817 => API/feed http://export.arxiv.org/api/query?id_list=2305.07817 which has Jianghu Dong author
In Preview => no authors
Start submission => No authors added, eg https://demo.dspace.org/workspaceitems/1624/edit

Expected behavior
ArXiv author/name element should get mapped to dc.contributor.author
Related work
Mapping from: https://github.com/DSpace/DSpace/pull/2824

Atmire would like to claim this issue


qcWorkflow parameters propagation

hi,
in order to get qc parameters ResultPath:null needs to be added:
"Next": "ProcessQCWorkflow",
"ResultPath": null

Yes, thats for catching.


Problem with DecimalWidget with zero value #199

Hi,
This one is to solve issues described here:  Problem with DecimalWidget with zero value #199
Was tested with SQL Server 2012.
Thx

@grillazz thanks for contributing. Can you check if https://github.com/django-import-export/django-import-export/pull/282 works for you?

Closed with https://github.com/django-import-export/django-import-export/pull/282

Will do. Thanks for this merge.


Windows 10 - StarDist-V073 - save_weights requires h5py when saving in hdf5

Dear All,
I am trying to run stardist_V073 in a jupyter notebook on a local Windows 10 workstation with CUDA 11.0, and TF 2.4.0 but unfortunately I get the following error message:
Epoch 1/400
WARNING:tensorflow:AutoGraph could not transform <function _gcd_import at 0x000001F72047E430> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Unable to locate the source code of <function _gcd_import at 0x000001F72047E430>. Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. If that is the case, you should to define them in a .py source file. If you are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert. Original error: could not get source code
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <function _gcd_import at 0x000001F72047E430> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Unable to locate the source code of <function _gcd_import at 0x000001F72047E430>. Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. If that is the case, you should to define them in a .py source file. If you are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert. Original error: could not get source code
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
100/100 [==============================] - 6s 35ms/step - loss: 2.7778 - prob_loss: 0.3665 - dist_loss: 9.0414 - prob_class_loss: 0.6031 - prob_kld: 0.3175 - dist_relevant_mae: 9.0412 - dist_relevant_mse: 121.1503 - dist_dist_iou_metric: 0.0486 - val_loss: 2.0168 - val_prob_loss: 0.2446 - val_dist_loss: 6.4863 - val_prob_class_loss: 0.4749 - val_prob_kld: 0.1732 - val_dist_relevant_mae: 6.4857 - val_dist_relevant_mse: 70.6139 - val_dist_dist_iou_metric: 0.2198

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
C:\Users\CARLOB~1\AppData\Local\Temp/ipykernel_9564/1463295039.py in <module>
     13     model = StarDist2D.from_pretrained("2D_versatile_fluo")
     14 else:
---> 15     model.train(X_trn, Y_trn, classes=C_trn, validation_data=(X_val,Y_val,C_val), augmenter=augmenter)
     16 None;

~\anaconda3\envs\stardist-V073\lib\site-packages\stardist\models\model2d.py in train(self, X, Y, validation_data, classes, augmenter, seed, epochs, steps_per_epoch, workers)
    450
    451         fit = self.keras_model.fit_generator if IS_TF_1 else self.keras_model.fit
--> 452         history = fit(iter(self.data_train), validation_data=data_val,
    453                       epochs=epochs, steps_per_epoch=steps_per_epoch,
    454                       workers=workers, use_multiprocessing=workers>1,

~\anaconda3\envs\stardist-V073\lib\site-packages\tensorflow\python\keras\engine\training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
   1143           epoch_logs.update(val_logs)
   1144
-> 1145         callbacks.on_epoch_end(epoch, epoch_logs)
   1146         training_logs = epoch_logs
   1147         if self.stop_training:

~\anaconda3\envs\stardist-V073\lib\site-packages\tensorflow\python\keras\callbacks.py in on_epoch_end(self, epoch, logs)
    426     for callback in self.callbacks:
    427       if getattr(callback, '_supports_tf_logs', False):
--> 428         callback.on_epoch_end(epoch, logs)
    429       else:
    430         if numpy_logs is None:  # Only convert once.

~\anaconda3\envs\stardist-V073\lib\site-packages\tensorflow\python\keras\callbacks.py in on_epoch_end(self, epoch, logs)
   1342     # pylint: disable=protected-access
   1343     if self.save_freq == 'epoch':
-> 1344       self._save_model(epoch=epoch, logs=logs)
   1345
   1346   def _should_save_on_batch(self, batch):

~\anaconda3\envs\stardist-V073\lib\site-packages\tensorflow\python\keras\callbacks.py in _save_model(self, epoch, logs)
   1391               self.best = current
   1392               if self.save_weights_only:
-> 1393                 self.model.save_weights(
   1394                     filepath, overwrite=True, options=self._options)
   1395               else:

~\anaconda3\envs\stardist-V073\lib\site-packages\tensorflow\python\keras\engine\training.py in save_weights(self, filepath, overwrite, save_format, options)
   2093
   2094     if save_format == 'h5' and h5py is None:
-> 2095       raise ImportError(
   2096           '`save_weights` requires h5py when saving in hdf5.')
   2097     if save_format == 'tf':

ImportError: `save_weights` requires h5py when saving in hdf5.

I tried to reinstall h5py, different versions (above and below 3.0) and change the TF version from 2.4.0 to 2.5.0.
Please let me know if you need any further information.
Thank you for your help.
Carlo

Could you post the output of the following:

import h5py
print(h5py.__version__)

from tensorflow.python.keras.engine.training import h5py
print(h5py)

Dear Martin,
Thank you for your quick reply. Below the output of the two commands:
>>> import h5py
>>> print(h5py.__version__)
2.10.0
>>> from tensorflow.python.keras.engine.training import h5py
2021-09-13 18:26:47.320018: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
>>> print(h5py)
<module 'h5py' from 'C:\\Users\\CarloBeretta\\anaconda3\\envs\\stardist-V073\\lib\\site-packages\\h5py\\__init__.py'>

Ok, could you try:

import tensorflow as tf

inp = tf.keras.layers.Input((None,None, 1))
out = tf.keras.layers.Conv2D(1, 1)(inp)
model = tf.keras.models.Model(inp, out)

model.save_weights('foo.h5')

Here is the output:
(stardist-V073) C:\Users\CarloBeretta\Documents\AI\stardist-gpu\notebook_Obj>python
Python 3.8.0 (default, Nov  6 2019, 16:00:02) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
2021-09-13 22:18:03.838154: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
inp = tf.keras.layers.Input((None,None, 1))
out = tf.keras.layers.Conv2D(1, 1)(inp)
2021-09-13 22:18:15.748346: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-09-13 22:18:15.749242: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-09-13 22:18:15.774063: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:68:00.0 name: NVIDIA GeForce RTX 3080 computeCapability: 8.6
coreClock: 1.785GHz coreCount: 68 deviceMemorySize: 10.00GiB deviceMemoryBandwidth: 707.88GiB/s
2021-09-13 22:18:15.774185: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-09-13 22:18:15.799537: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-09-13 22:18:15.799657: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-09-13 22:18:15.813943: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-09-13 22:18:15.817000: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-09-13 22:18:15.856761: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-09-13 22:18:15.869292: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-09-13 22:18:15.869941: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-09-13 22:18:15.870049: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-09-13 22:18:15.870619: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-09-13 22:18:15.871612: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:68:00.0 name: NVIDIA GeForce RTX 3080 computeCapability: 8.6
coreClock: 1.785GHz coreCount: 68 deviceMemorySize: 10.00GiB deviceMemoryBandwidth: 707.88GiB/s
2021-09-13 22:18:15.871707: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-09-13 22:18:15.872032: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-09-13 22:18:15.872403: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-09-13 22:18:15.872728: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-09-13 22:18:15.873015: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-09-13 22:18:15.873339: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-09-13 22:18:15.873635: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-09-13 22:18:15.873900: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-09-13 22:18:15.874251: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
2021-09-13 22:18:16.315793: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-09-13 22:18:16.315896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]      0
2021-09-13 22:18:16.317457: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1280] 0:   N
2021-09-13 22:18:16.317936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8444 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 3080, pci bus id: 0000:68:00.0, compute capability: 8.6)
2021-09-13 22:18:16.318705: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
model = tf.keras.models.Model(inp, out)
model.save_weights('foo.h5')

ok, thats weird then. Could you just restart the original training notebook and try again?

Unfortunately, I get the same error message. I can try to run the same notebook under Ubuntu 18.4 and see if the issue is just Windows 10 related!

On Ubuntu 18.4 the training runs without any problem. Just some CUBLAS problem but I guess for memory reason.
2021-09-14 19:07:45.714227: E tensorflow/stream_executor/cuda/cuda_blas.cc:226] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
Do you have any additional suggestion/magic for Windows 10?
Thank you!

Mhm, maybe one last try reinstalling h5py:
conda uninstall h5py
pip install h5py==2.10.0

Unfortunately the magic didn't help:
(base) C:\Users\CarloBeretta>conda activate stardist-V073
(stardist-V073) C:\Users\CarloBeretta>conda uninstall h5py
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are missing from the target environment:

h5py

(stardist-V073) C:\Users\CarloBeretta>pip install h5py==2.10.0
Requirement already satisfied: h5py==2.10.0 in c:\users\carloberetta\anaconda3\envs\stardist-v073\lib\site-packages (2.10.0)
Requirement already satisfied: six in c:\users\carloberetta\anaconda3\envs\stardist-v073\lib\site-packages (from h5py==2.10.0) (1.16.0)
Requirement already satisfied: numpy>=1.7 in c:\users\carloberetta\anaconda3\envs\stardist-v073\lib\site-packages (from h5py==2.10.0) (1.19.5)

I also tried the following but without any success:
(stardist-V073) C:\Users\CarloBeretta>conda install h5py==2.10.0
Collecting package metadata (current_repodata.json): done
Solving environment: done
Package Plan
environment location: C:\Users\CarloBeretta\anaconda3\envs\stardist-V073
added / updated specs:
- h5py==2.10.0
The following packages will be downloaded:
package                    |            build
---------------------------|-----------------
h5py-2.10.0                |   py38h5e291fa_0         841 KB
hdf5-1.10.4                |       h7ebc959_0         7.9 MB
------------------------------------------------------------
                                       Total:         8.8 MB

The following NEW packages will be INSTALLED:
blas               pkgs/main/win-64::blas-1.0-mkl
h5py               pkgs/main/win-64::h5py-2.10.0-py38h5e291fa_0
hdf5               pkgs/main/win-64::hdf5-1.10.4-h7ebc959_0
icc_rt             pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
intel-openmp       pkgs/main/win-64::intel-openmp-2021.3.0-haa95532_3372
mkl                pkgs/main/win-64::mkl-2021.3.0-haa95532_524
mkl-service        pkgs/main/win-64::mkl-service-2.4.0-py38h2bbff1b_0
mkl_fft            pkgs/main/win-64::mkl_fft-1.3.0-py38h277e83a_2
mkl_random         pkgs/main/win-64::mkl_random-1.2.2-py38hf11a4ad_0
numpy              pkgs/main/win-64::numpy-1.20.3-py38ha4e8547_0
numpy-base         pkgs/main/win-64::numpy-base-1.20.3-py38hc2deb75_0
pyreadline         pkgs/main/win-64::pyreadline-2.1-py38_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
hdf5-1.10.4          | 7.9 MB    | ############################################################################ | 100%
h5py-2.10.0          | 841 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

ok, thats weird. Did the error persist?


Use amd64 in dockerfiles that install azd

Fixes https://github.com/Azure/azure-dev/issues/952

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1284

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1284

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1284

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1284

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1284

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1284

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1284

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1284

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1284

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1284

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1284

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1284

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1284
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1284

View Changes | Compare Changes

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284' -Version '' -Verbose

Windows
PowerShell install
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284' -Version '' -Verbose;"

MSI install
powershell -c "irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/azd-windows-amd64.msi' -OutFile azd-windows-amd64.msi; msiexec /i azd-windows-amd64.msi /qn"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/azd-windows-amd64.zip

MSI

https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1284/azd-windows-amd64.msi

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1284

Changes are unrelated to template testing failure. Overriding check-enforcer. -- https://github.com/Azure-Samples/todo-csharp-sql/compare/staging...pr/1284

/check-enforcer override


SET HAVE_ALLOCA_H not obeyed?

Closing in on FreeBSD support
ef790ee133b48439fd3e372af89eca17ac7dbee5
FreeBSD 11-CURRENT AMD64
Python 3.5.1, CMake 3.5.1
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
  set(SETPGRP_HAVE_ARG 1)
  set(HAVE_SYS_SYS_DOMAIN_H 0)
  set(HAVE_ALLOCA_H 0)
  set(HAVE_ALLOCA 0)
endif()

diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index 395ad36..a389906 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -109,6 +109,13 @@ if(USE_SYSTEM_SQLITE3)
     find_library(SQLITE3_LIBRARY sqlite3)
 endif()

+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+  set(SETPGRP_HAVE_ARG 1)
+  set(HAVE_SYS_SYS_DOMAIN_H 0)
+  set(HAVE_ALLOCA_H 0)
+  set(HAVE_ALLOCA 0)
+endif()
+
 if(WIN32)
   set(M_LIBRARIES )
   set(HAVE_LIBM 1)

[229/423] Building C object CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c.o
FAILED: CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c.o
/usr/bin/cc  -Dextension_ctypes_EXPORTS -I/home/x/study/c++/kakoune/build/Python-3.5.1/Include -Ibin -I/home/x/study/c++/kakoune/build/Python-3.5.1/Python -I/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/x86 -I/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/include -I/home/x/study/c++/kakoune/build/Python/cmake -Wall -g -O3 -DNDEBUG -fPIC -MMD -MT CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c.o -MF CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c.o.d -o CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c.o   -c /home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c
In file included from /home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/src/closures.c:34:
/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/libffi/include/ffi_common.h:23:12: fatal error: 'alloca.h' file not found
#  include <alloca.h>
           ^
1 error generated.
[230/423] Building C object CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/stgdict.c.o
[231/423] Building C object CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/cfield.c.o
[232/423] Building C object CMakeBuild/extensions/extension_unicodedata/CMakeFiles/extension_unicodedata.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/unicodedata.c.o
[233/423] Building C object CMakeBuild/extensions/extension_ctypes/CMakeFiles/extension_ctypes.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_ctypes/_ctypes.c.o
[234/423] Building C object CMakeBuild/extensions/extension_decimal/CMakeFiles/extension_decimal.dir/home/x/study/c++/kakoune/build/Python-3.5.1/Modules/_decimal/_decimal.c.o
ninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.

cmake --system-information output: cmake-sysinfo.txt
Q: https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/blob/master/cmake/fficonfig.h is that unusued, ammended somehow during build, or auto-generated via https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/blob/master/cmake/config-unix/pyconfig.h.in?

pyconfig.h.in has a nice cmakedefine system.
fficonfig.h on the other hand doesn't have a setup like that, its taken in raw at https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/blob/4856e34c97141b930a27f563d14bd44edd63ac8f/cmake/extensions/CMakeLists.txt#L314.
I see a dir of patches accumulating, but I think the most flexible approach would be fficonfig.h getting the configure_file() treatment like pyconfig.h.in does.

pyconfig.h.in has a nice cmakedefine system.

Thanks.

I think the most flexible approach would be fficonfig.h getting the configure_file() treatment like pyconfig.h.in does.

Agreed. That would be a nice project to take one.
In the mean time, do you think you could setup a dashboard to test the build system on freebsd ?

@jcfr Yes got you covered, going to QA it a bit more.
working on a another issue at the moment, but while I do that, I'm using this successfully https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/compare/master...tony:freebsd-support.  Anything pop out at you?

@tony Thanks for working on the freebsd support, that is awesome :smile:
I posted few comments.
(( Headed to :zzz: , on EST timezone ))

Closing. This is a duplicate of #136 and #135


Adds 'useIpFromLabel' parameter

These changes introduce the ability to use an IP address for registration of a container in Consul (or any other supported backend), which is stored in a label assigned to a Docker container.
This is especially useful when orchestrating containers in a cluster environment with different private network ranges, like e.g. Rancher.
See also the discussion at #454 for details.

I was trying to learn how to get a new release going, as well; I am also quite interested in #480 getting release in an official version. I noticed that it looks like arentrue moved things forward 5 days ago (Jan 25th, 2017). How is this looking? Is there anything I can/should do to help?

Can someone give an example to use this flag -useIpFromLabel with kubernetes.?