add operator operator TriBool() for Literal

Literal would be more convenient to use if it had an operator TriStateBool() that returns the ebv.
Proposed change:
- Literal Literal::effective_boolean_value() const;
+ TriBool Literal::effective_boolean_value() const;
+ Literal::operator TriBool() const;
+ Literal Literal::into_effective_boolean_value() const;

Fixed by #85


Feature request: ACDGen command line interface

This would be useful for CI validations, and would allow flexibility for a build phase or dedicated target in Xcode

+1

+1

+1

+1

I actually was able to write it.  I used another GitHub library. I was also able to add it to xcode and have it autogenerate the files each time.

@rlbjr8898: Why you did not share this with us? ;-)
All others: Please check the ACDGen bin folder on develop branch. It would be nice if you can test if the command line tool is working properly and submit your PRs to the source code if needed. Also please leave your feedback here.

my apologies... inexperienced GitHub user... I should have asked for help.

@rlbjr8898 No problem. If you have any suggestions to improve the command line tool or the AlecrimCoreData at all, please let us know. :-)


Why do you use material-design-icons in @nuxt/toast?

"material-design-icons": "^3.0.1" takes up a lot of space (45mb) and I don't need this package in my project. I should use raw vue-toaster package instead

Hi & thanks for pointing this. Will remove this dep soon.

Fixed in 2.3.0 :) Enjoy

Thank you, @pi0


Naming of repository

Should this repo belong to Paneron or Aperis? 🤔

This will ideally belong to Aperis org, but let’s at some point later migrate it together with any other applicable extensions at once…


Question about parameters printed during training

General Thunder XP Hello! I absolutely like this task of yours, so I'd like to figure out some training parameter issues.
For example: first print round" | INFO | core.utils.logger:_print_training_status:19 - [ 100, [2.3958680439853386e-07]] 0.5127, 0.0426, 0.5117, 0.2746, 0.5180, 0.5117, 5.2532, "
What does 2.39.... in [] here mean? And I saw that there are four parameters epe, 1px, 3px, and 5px in the code, which one in the example represents? Then there are three more parameters and it is not clear what it means.
Sorry for my lack of foundation. Hope the author has time to answer it.

See here. We regularly print training status here. This is the learning rate.

Well I didn't notice that, so "0.5127, 0.0426, 0.5117, 0.2746, 0.5180, 0.5117, 5.2532," correspond to epe, 1px, 3px, 5px, th-5px respectively? The problem is that there are two parameters I can't find.

Actually, we focus on the tensorboard when checking the training details. There are also other metrics pushed into the logger here . Could you check details in the tensorboard?


Issue about login

I have looked through some of the older issues but found nothing that solved my problem.
It has been about 1 to 2 weeks that whenever i try to scrap someone ig says it's a bad login place and locks my account then i have to do the "that was me" challenge to unlock my account, but even by doing that and choosing "r" to retry it will not scrap, any ideas on how to solve this?
EDIT:
here's what appears to me
ERROR: Login failed for: *****
ERROR: Please verify your account at https://www.instagram.com/challenge///

I'm getting the same thing lately about having to do the challenge (-i option), it's a pain. Though it can be alleviated by using a file as input instead of scraping individually.
One thing I noticed is that if I go into instagram (via web, I dont have the mobile app) before I enter the email code, then instagram-scraper will just hang forever after inputting it.

i wrote a TCL/expect script to watch my email folder and yank the code, then wrapped it all up in another script to do my scraping.
But suddenly even the email codes aren't working - i can see the code in the email, my expect script is pulling it correctly and sending it correctly, but instragram-scrape either isn't sending it correctly anymore, or IG is just going out of their way to break this process.    Here's my error:
ERROR: Session error 1: "Please check the code we sent you and try again."
it's frustrating because it was working just fine, and now... sigh.

You should be able to do SMS validation through Google Voice. At least that's the route I plan on going when I get the time.

my automated tool worked fine this morning, after three days of not-trying to see if I could get IG to de-cache any "weirdness" with things
I did get this error, though, during my pull of "latest" posts:
2018-12-29 07:01:09,958 - instagram_scraper.app - WARNING - Retry after exception ConnectionError(MaxRetryError("HTTPSConnectionPool(host='i.instagram.com', port=443):
Max retries exceeded with url: /api/v1/users/295804771/info/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d1af53e48>: Faile
d to establish a new connection: [Errno -2] Name or service not known',))",),) on https://i.instagram.com/api/v1/users/295804771/info/


UI Rendering Slowness (Sync Point?)

Release Type: Official Release
Version: 3.0 and 3.1
Platform(s): Windows
Describe the bug
UI Rendering on systems with slower processors (previous generations, a couple years old) but still very capable graphics cards experience frame rate/update rate loss when rendering Xenko UI. Toggling the UI off on these systems and the frame rate/update rate resumes to normal (or as fast as it can when running with the profiler). These are not significant UI implementations, a simple player name and HP bar player panel above a character and a kill log scroll viewer in the lower left of the screen (no greater than 8 entries).
Render groups 1-3 bypass the forward renderer and are rendered in their own single stage renderer or a shared renderer (both have been tested). Also tested with the default compositor, same results.
I've had another developer take a look at the implementations and the logic is sound, no unnecessary UI changes or updates per tick.
A number of things have been tested:

Font type (SDF, vs Offline Rasterized, vs Runtime Rasterized)
Various compositor configurations with various stages.

To Reproduce
Steps to reproduce the behavior:

Create a game
Add UI to it, scroll viewers, etc
Profile the game on various platforms

Expected behavior
Minimal UI shouldn't cause such a significant performance impact and limits release of the game.
Additional notes
If one of the engine developers are interested I can share out my game to them, however it includes all the binaries so will be at download.
Issue may also somehow be related to #101

What is ~1.5-2 ms on my system (Intel I7-8750H) is 10-15 ms on other systems with reasonable hardware. There is some type of sync point between CPU and GPU for UI, whether it's the "picker" or something else I am not aware but it wouldn't be good to release a game into the wild with Xenko UI with this occurring!
Let me know if I can be of further service.

@DevJarmo Try throwing in more UI elements in the world. Also try moving your camera closer and farther away from those elements, if you can.

I have ~1 msec for GameMenu sample. Can you let me know your timing for reference? If yours is fast too, maybe I might need a repro sample.
Also, I heard (on discord) about timing like 10~30 msec but this doesn't seem to be the case here?
You mention 10/15 msec on slower system but are you referring to slower desktop, or mobile?

Hmm, on the game I was working on that had this problem, it seems to have been fixed since xenko v <IP_ADDRESS>. I just tested again today with the profiler and on latest 3.1 beta, and I don't get the same issues I had before. FPS maintains around 120fps. I wonder if it was a vulkan issue maybe? I tried setting my project to vulkan (my default in 3.0), but have weird issue with gamepad not being found, so game throws exception. Don't want to dig any further on it though.

@xen2 for reference, same scene on my system (i7 920 + R9 390) also a release build
Full UI:

No Scroll Viewer:

No Scroll Viewer, No HUD:

No Scroll Viewer, No HUD, No Player Panel:

@profan @DevJarmo Ha yes, much worse for @profan case
What are your respective CPU/GPU?
By any chance, easy for you to create a repro project (i.e. small project with just the UI slow part)?

My spec's are:
8th Generation Intel® Core™ i7-8750H Processor
Windows 10 Home 64bit English
8GB, 2x4GB, DDR4, 2666MHz
NVIDIA® GeForce® GTX 1050 4GB GDDR5
I have no problems with UI while plugged in (Laptop), though after profan had the issue I saw it on a number of other systems during a demonstration/test. I am also able to repo the issue when I run on battery power and my CPU is rate limited. Fairly certain the issue is on the CPU side. During the demonstration, In all cases, I could just toggle of the scroll viewer and/or game UI off and the update time would generally drop down below 16 ms... the boxes would have no problems with 3d rendering, shadows, or particle effects.

Other systems that experienced this were:
AMD FX6300
120 GB SSD
8GB Ram 2100MHZ
Radeon R370 4GB <---

@xen2  On the Xenko UI Sample I have <1 ms draw. I will ask @profan if he can test the sample.

@xen2 as promised on my system (same one as posted earlier)

it generally oscillates between 7-8ms to 12ms, so.. yeah :eyes:

@profan can you check the UI on my fork to see if you experience the same problem with Vulkan?

I have noticed some intermittent framerate issues, even on high end hardware.
It's only happened once, but Xenko Studio game window was running at ~10fps for no reason on my machine, when it's normally closer to 100fps. Closing and opening the project fixed this, which suggests something intermittent. I wonder if this could be related.


asp.net thread agility

Might we have problems using callcontext in asp.net / wcf applications ? Wouldn't it be better if you use HttpContext.Current.Items / OperationContext.Current.Extensions for asp.net / wcf ?

From what I've found now, and it wasn't as much as I had wished for, this will not work in ASP.NET applications. HttpContext.Current seems to flow in a different way, manually managed by ASP.NET, not with the ExecutionContext like this. There doesn't seem to be an easy way to support both environments, and storing data in HttpContext.Current.Items adds the System.Web reference to your application.
So if you're writing web applications, you should better not use this library.
This information does not apply to ASP.NET 5. I haven't found any information about that yet.


Changing the language value results in changing the link

What version of Node.js are you using?
16.13.1
What version of npm are you using?
8.3.0
What operating system are you using?
Linux (ubuntu 20.04)
Describe the Bug
When changing the language file value of myOfficers and myOfficersLogs in common.json it also changes the URL which then results in a 404.

Expected Behavior
As with the rest of the language amendments I believe the expected behaviour is that it changes the clients value on display but retains the URL to ensure it can still reach the pages.
To Reproduce
Change myOfficers and myOfficerLogs to a custom language value to also amend the URL link.

Just to add - is it expected behaviour for the 404 page to display an original navigation including links to disabled features such as Tow?

Just to add - is it expected behaviour for the 404 page to display an original navigation including links to disabled features such as Tow?

Yes, but also no. I'll get that fixed together with this issue!

Wasn't able to fix that disabled features one yet. I'll fix it later since I have to go now.


Request thread head via Cafe

Allow textile-lite clients (or any client really) to request the latest head of a thread from a Cafe.
It might mean that when a thread is created the author requests head tracking or maybe it is out of the box for any thread where the user has a cafe. @sanderpick will know the details better.

This would be great! It came up yesterday as a blocker for us.
When we write a new article on Epona, we create a new entry in a thread. Currently, we don't have a way to have a permalink for that thread that would show the latest entry we saved. We can only show a specific version. This would allow us to make permalinks and make sharing easier!


simplify time formats

Codecov Report
Base: 84.87% // Head: 85.03% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (6a46054) compared to base (842cbe2).
Patch coverage: 83.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   84.87%   85.03%   +0.16%
==========================================
  Files          42       42
  Lines        4807     4779      -28
==========================================
- Hits         4080     4064      -16
+ Misses        641      629      -12
  Partials       86       86

Flag
Coverage Δ

go_tests
85.03% <83.33%> (+0.16%)
:arrow_up:

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

Impacted Files
Coverage Δ

logger.go
89.37% <ø> (-0.08%)
:arrow_down:

xopjson/models.go
62.50% <71.42%> (+3.17%)
:arrow_up:

xopjson/jsonlogger.go
77.09% <100.00%> (+0.54%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove unicode modifier from auto linking regex

We had issues with the regex in IE11 that resulted in syntax errors.

After removing the modifier the story loads and the URL is converted to a link.

Pull Request Test Coverage Report for Build 2110

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 100.0%

Totals

Change from base Build 2108:
0.0%

Covered Lines:
7813

Relevant Lines:
7813

💛  - Coveralls


Status Bar: Show hovered, mouseover link URLs

Problem statement
It would be nice to have a status bar at the bottom to show, for example the URL of a hovered link like a browser would.  This would be a security feature in the case of Gmail so you can inspect link before clicking.
Alternative solutions
Display a tool-tip instead?

@ClearPathDigital thanks for the feedback. I'd like that too, through a bottom-left overlay like currently done by Chrome & Firefox. A constantly-displayed status bar would go against Nativefier's minimal/invisible UI. PR welcome 🙂.


How to increase the width of yAxis label according to the yAxis value

Because whenever yAxis value increases, it's cutting out of the screen. Please check the image. So, is there any way to change the font size or width of label ?

@danushka876 Did you find a solution?


Multi Vendor

I want to build a marketplace using Saleor but could'nt find anyway to build the multi-vendor system. I want allow sellers to open up stores in my marketplace, how do i it?

Hey @arimtiaz, Saleor does not currently support multi-vendor setup, and it is not on our roadmap to introduce such a feature. For more information, you can refer to other tickets on GitHub.

Is there anyway to extend saleor to build this feature if i want?

This feature hasn't been refined, and there's no RFC or anything similar, so the extent of the change is unknown, but I assume it would involve a significant scope of changes.


CI: add integration tests for Airflow's SnowflakeOperator and dbt-snowflake

In addition to adding those tests, needed to adjust parts of integration test framework to work well with this change.
Signed-off-by: Maciej Obuchowski<EMAIL_ADDRESS>Checklist

[ ] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] You've updated the CHANGELOG.md with details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)

I'm sure there's better way to solve this problem though 🙂

@mobuchowski Thanks for the clarification!

@wslulciuc SnowflakeExtractor is a subclass for PostgresExtractor. This should be refactored... but in some other PR.


Set source level for GWT modules to 11.

Fixing issue https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/6

Thanks for supporting!

Thanks @FrankHossfeld
I just gave it a test, and the changes aren't there.  I'm guessing a new build needs to be pushed to maven central, probably with release.sh.  I'm guessing I don't have permissions to do this.  Please let me know if this is something I should have done.  Thanks.

Yep, you are right. I'll release a new version this weekend.


an issue

my menu isnt workin , i insert the thing , i press insert in game and nothin its workin idk what can i do

Hi, same Problems here got a Renzskins pop-up saying Failed to find pattern E8 ?????? 8B 57 44

hi @leleNBN Maybe u should try to download this version 14.17
https://github.com/hydy100/R3nzSkin/releases/tag/14.17
it's workin fine for me


[HPRO-687] Disable deceased reporting for withdrawn/deactivated participants

This PR removes the cog icon on the Participant Summary page for deactivated and withdrawn participants. It also adds logic that prevents new Deceased Reports from being created for those participants.
Additionally, it fixes a bug where the Deactivated filter would not work in the Work Queue because of a restriction on combining it with Deceased Status.
HPRO-687

Side note: I'm realizing that our ParticipantSummaryService should likely return a hydrated Participant object instead of the raw RDR output so that we can leverage logic already present in that class.


Hadoop service dependency

When deploying hadoop service， wait until deployment finished.

@fanyangCS  Add dependency solve and fix some issue in hadoop-service.


Depth First Traversal in Java

This issue is about [Algo/DS Name/Question Name](link to resource for the Algo/DS/Question)

[ ] I searched or browsed the repo’s other issues to ensure this is not a duplicate

[ ] Issue Title is in form [Algo/DS Name] in [Language] (ex:- BubbleSort in Java)

[ ] I will send my PR only after I'm assigned to this issue by any maintainer

[ ] Assign this issue to me (I want to work on this)

[ ] I ensure that I am not already assigned to 2 or more issues

Can I be assigned this issue.

[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate

[x] Issue Title is in form [Algo/DS Name] in [Language] (ex:- BubbleSort in Java)

[x] I will send my PR only after I'm assigned to this issue by any maintainer

[x] Assign this issue to me (I want to work on this)

[x] I ensure that I am not already assigned to 2 or more issues


couldn't execute the target command (execvp returned)

Ignore

It was an awful mistake from my end.... forgot to call python in the command:
reprozip trace python file.py

No worries! We should make this message more readable, "no such file or directory" does not make it very obvious what is going on (your script does exist!)


Next possible features

[ ] Free templates/examples
[x] Bootstrap Grid System 5
[ ] CSS Audit/Analyze
[x] enable / disable purify
[ ] enable / disable build on fly
[ ] build check recreation after remove
[ ] rollup noicy warnings
[ ] local fonts snippet
[ ] internal assets compiler

   .rollup({
        onwarn: function (warning) {
          if (warning.code === 'THIS_IS_UNDEFINED') {
            return
          }

          console.warn(warning.message)
        },

snippet for background-image: image-set and hight ratio

  background-image: image-set(url('../images/bg.webp') 1x,
      url('../images/bg.webp') 2x);

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .class-name {
    background-image: url('../images/page-bg@2x.jpg');
    background-image: image-set(url('../images/bg.webp') 1x,
      url('../images/bg.webp') 2x);
  }
}

[ ] gulp plugin for https://bitsofco.de/pa11y/
[ ] ? AVIF support (https://www.npmjs.com/package/gulp-avif)
sassdoc (http://sassdoc.com/gulp/)
Test: css analyzer

favicon generator
https://realfavicongenerator.net/favicon/gulp#.YKP6CaFRWUk

test example with @2 images + webp

        <picture>
          <source srcset="./images/logo.webp 1x<EMAIL_ADDRESS>2x" type="image/webp">
          <img loading="eager" srcset="./images/logo.png 1x<EMAIL_ADDRESS>2x" src="./images/logo.png" alt=" | Logo" width="233" height="32">
        </picture>

replace loading="lazy" to loading="eager"
example with 'sticky' element

aria-label="| Home" for Logo and snippet for links with images without description text

intellisence for CSS class names from node_modules folder
"html-css-class-completion.includeGlobPattern" (default: "**/*.{css,html}")

VSC: Path Intellisense for template folder

yarn add giflossy

<html class="no-js"

[ ] https://github.com/nfroidure/gulp-svgicons2svgfont

Automatic CSS Test: CSS Overflow Elements
Inspiration: https://davidwalsh.name/detect-overflow-elements

HTML to JSX

Webpack bundler

? gulp custom: TOC CSS Generator

WASM integration example


Remark on VNET service endpoint usage

Dear,
In section https://docs.microsoft.com/en-us/azure/data-factory/join-azure-ssis-integration-runtime-virtual-network#host-the-ssis-catalog-database-in-azure-sql-database-with-virtual-network-service-endpointsmanaged-instance-preview it is stated that you can join your SSIS IR to a VNET that is peered (or StS connected) with another VNET that has VNET service endpoint for SQL enabled. To my understanding of VNET service endpoints, that is not possible, your SSIS IR must be in the same VNET (and subnet) on which you enabled VNET service endpoint for SQL DB. When using a SQL managed instance on the other hand, it is possible to have your SSIS IR in another (peered or StS connected) VNET.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f12a3bca-2e7d-1746-d490-109a244c5970
Version Independent ID: 20654222-323d-e8bb-3073-4878cc3e1ad1
Content: Join Azure-SSIS integration runtime to a virtual network
Content Source: articles/data-factory/join-azure-ssis-integration-runtime-virtual-network.md
Service: data-factory
GitHub Login: @swinarko
Microsoft Alias: sawinark

@PIKESTEL Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @PIKESTEL ,
The following document goes over some networking scenarios you might want to read the one titled "Peered, connected, or multiple virtual networks":
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#scenarios
Regards,
Alberto Vega

Hello Alberto,
Thanks for following up. So indeed this doc states that you need to enable service endpoint on each and every subnet where you want access to the service. You cannot use routing/peering to reach a service endpoint in another subnet/VNET.
This contradicts with the SSIS documentation (on the vnet service endpoint part, for MI the documentation is correct):
join your Azure-SSIS IR to:
·        A different virtual network that has a network-to-network connection with the one that is used for Azure SQL Database with virtual network service endpoints/Managed Instance
I believe the documentation should state that you need to deploy your SSIS IR in a subnet on which you enabled vnet service endpoint for SQL Database.
Kind Regards,
From: Alberto Vega<EMAIL_ADDRESS>Sent: Wednesday, September 26, 2018 12:18 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Pieter Kestelyn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Remark on VNET service endpoint usage (#15480)
Hi @PIKESTELhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPIKESTEL&data=02|01|pieter.kestelyn%40microsoft.com|608f8a259b0e4c559a8c08d62334b950|72f988bf86f141af91ab2d7cd011db47|1|0|636735106686545912&sdata=JKK%2B8gPj7jDnt5mf4844tVV3xKq7QvXB5gBuR6T5hCs%3D&reserved=0 ,
The following document goes over some networking scenarios you might want to read the one titled "Peered, connected, or multiple virtual networks":
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#scenarioshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-network%2Fvirtual-network-service-endpoints-overview%23scenarios&data=02|01|pieter.kestelyn%40microsoft.com|608f8a259b0e4c559a8c08d62334b950|72f988bf86f141af91ab2d7cd011db47|1|0|636735106686555916&sdata=7SrPQ5hjch9BywxBe1a%2BhhdqMPc2vNI6c7DPvf8xVpY%3D&reserved=0
Regards,
Alberto Vega
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F15480%23issuecomment-424520501&data=02|01|pieter.kestelyn%40microsoft.com|608f8a259b0e4c559a8c08d62334b950|72f988bf86f141af91ab2d7cd011db47|1|0|636735106686555916&sdata=v8fo7kDK9m%2FkFt8d94lKyWl0hkVCLJn6BfibOYqaBPE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAj6eX7CbqbDyZFEKS5t-FPhb4hd1IaaWks5uequLgaJpZM4W2Mkz&data=02|01|pieter.kestelyn%40microsoft.com|608f8a259b0e4c559a8c08d62334b950|72f988bf86f141af91ab2d7cd011db47|1|0|636735106686565926&sdata=IlhWimvtqC8lqyaci1PQmyYBR2QkiXoHpxC6%2B1C%2Fk7w%3D&reserved=0.

@PIKESTEL What you are stating is correct,
"I believe the documentation should state that you need to deploy your SSIS IR in a subnet on which you enabled vnet service endpoint for SQL Database."
Thanks again for valuable feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
Cheers,
Alberto Vega

Thanks for reporting this documentation error, we will fix it accordingly.

#please-close


test baremetal release  #1087

Overview
This PR builds Watcher and Child Chain on baremetal and invokes make start-services (geth, plasma-deployer, postgres) and proceeds with make get-alarms proving that all services booted correctly, which means, you're able to run elixir-omg baremetal locally and develop towards it.
Changes

run bin/setup to install dependencies
Add circle CI step with machine executor

Testing
The test is the test itself.

Coverage remained the same at ?% when pulling 0c8867bb356e6128cce996542fe5ee9c0a04a9b1 on test-barebone-release into 6e17c1519dd0d82a4ddab5c206dab42aff38bd4e on master.

After merge (if accepted) Ill make test_barebone_release and test_docker_compose_release run only on master branch.


Remove Apache Pig from the tests

I strongly feel we should remove Pig from the tests since it is blocking https://github.com/apache/incubator-druid/pull/7772
Currently, we write the Avro to a file, load it with Apache Pig, and then read it again with Druid. I think this is the wrong way of testing. Avro is a language agnostic format for storing data. So if we're able to read the data with Druid, this should be sufficient. I've replaced the Pig part with just writing and reading Avro.
Besides that, I think Pig is not that commonly used anymore. Currently, we're using a version that has been released in 2015.

Hmm, ordinarily I would suggest to keep the flag in, and instead remove the Pig test dependency and test it some other way. But Pig looks like it is not under very active development anymore. There hasn't been a release in almost two years, and I only see a handful of commits made to the repo in 2019. So for those reasons, removing the flag seems fine to me. We would need to mention it as an incompatibility in the release notes.

@gianm Can you shed some light on the flattening part? I noticed that you've written parts of the original code. I do understand this one: https://github.com/apache/incubator-druid/blob/master/extensions-core/avro-extensions/src/main/java/org/apache/druid/data/input/avro/AvroFlattenerMaker.java#L113
Where you align the types that are being returned. For example, removing null's from a list, and changing an Utf8 into a String type.
However, this one looks awkward: https://github.com/apache/incubator-druid/blob/master/extensions-core/avro-extensions/src/main/java/org/apache/druid/data/input/avro/AvroFlattenerMaker.java#L120
Here we pass a GenericRecord into the JsonPath extraction function. It compiles since it accepts an Object, but it doesn't feel right. WDYT?

@Fokko Check out the JSONPATH_CONFIGURATION object: it sets up a GenericAvroJsonProvider, which teaches JsonPath how to read GenericRecords. AvroStreamInputRowParserTest has some tests for this.

Thanks @gianm for the pointer. That is actually pretty neat. I've added some additional tests.

@gianm Anything more required to get this merged? Thanks!

Apologies for the delay getting this merged, got busy with some stuff, thanks!

No problem, thanks!


TestCafe scrolls page when body has scroll

waiting for  https://github.com/DevExpress/testcafe-hammerhead/pull/1377

FPR


No argument is passed to waitForFunction/waitFor

Steps to reproduce
Tell us about your environment:

Puppeteer version: ^0.10.2
Platform / OS version: Ubuntu 16.04.2 LTS

What steps will reproduce the problem?
Problem 1: arguments passed to waitFor is undefined:

Pass any argument to waitFor or waitForFunction.
Get/Call that argument inside the function.
It's undefined.

Problem 2: arguments property inside page.evaluate is undefined.

Call arguments inside any page.evaluate function.
It's undefined and results in TypeError.

const puppeteer = require('puppeteer');
(async() => {
  const browser = await puppeteer.launch({headless: false});

  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.waitForFunction((args) => {

    // some tests to show what is happeneing.
    console.log([
      args, // should show args
      arguments, // should not have 0 elements
      Array.isArray(args), // should return True
      Array.isArray([1, 2, 3, 4]) // should return True
    ]);

    return Array.isArray(args);
  }, [1, 2, 3, 4]); // no matter what you pass, it's still undefined;

  await page.screenshot({path: 'example.png'});
  //browser.close();
})();

Meanwhile, the evaluate method shows arguments as undefined while the args provided is working properly.
await page.evaluate((args) => {
    // shows `ReferenceError: arguments is not defined`
    console.log(arguments)

    // runs properly
    console.log([
      args,
      Array.isArray(args),
      Array.isArray([1, 2, 3, 4])
    ]);

    return Array.isArray(args);
  }, [1, 2, 3, 4]);

What is the expected result?
It should behave like page evaluate and the arguments should be passed properly.
What happens instead?
Arguments are not passed.
Waits are timed out.
Screenshot of console with the code ran thru.

Problem 1: arguments passed to waitFor is undefined:

It seems you missed `options` argument`.
Try to replace this line:
  }, [1, 2, 3, 4]); // no matter what you pass, it's still undefined;

with this one;
  }, {}, [1, 2, 3, 4]); // no matter what you pass, it's still undefined;

Problem 2: arguments property inside page.evaluate is undefined

Arrow functions do not bind an arguments object. Try this line in the browser console:
(() => { console.log(arguments); })(true);

What seems unexpected is that in the first case arguments is defined:

Are functions for .waitFor() and.evaluate() handled differently?

Maybe in the .waitForFunction() case the arrow function is wrapped in some common function and get its arguments:
(function () {(() => { console.log(arguments); })(true); })()

[callee: ƒ, Symbol(Symbol.iterator): ƒ]

@vsemozhetbyt is right about arguments. For waitForFunction the function is wrapped in another function waitForPredicatePageFunction. So the arguments will be from the outer function.
As mentioned above, the problem was that you were missing the options object in between the function and the ..args.

@JoelEinbinder It seems that currently frame.waitForFunction() and page.waitForFunction() are only two functions with 2 optional parameters, while omitting the first optional parameter is forbidden when the second is used. Maybe in these cases, you can format the signature as Node.js docs do (compare assert.fail(actual, expected[, message[, operator[, stackStartFunction]]]) and assert.doesNotThrow(block[, error][, message])):
page.waitForFunction(pageFunction[, options[, ...args]])
frame.waitForFunction(pageFunction[, options[, ...args]])

And maybe some examples are needed to state what is appropriate as a filler of options argument ({}, null, undefined).

I tried that already and then created this issue.
Yeah seems like a silly mistake about the evaluate and arrow function :D .
Maybe because I did not provide anything in the optional argument, that's why it happened.
What if I want to use the default options instead of providing it myself? Providing an empty one results in same error.

This is the only one that worked,
  await page.waitForFunction(function(args){
    return Array.isArray(args);
  }, {timeout: 60000}, [1, 2, 3, 4]);

But I will say, the docs are misleading then. It does not say that I cannot provide empty object to that optional param when providing additional arguments.
 }, {}, [1, 2, 3, 4]);
Why should this fail then? :/
Am I making more silly mistakes?

In your last screenshot, you use waitFor(), which does not support arguments transferring currently.

It seems waitFor() will support arguments transferring after https://github.com/GoogleChrome/puppeteer/pull/775 is landed.

Maybe in these cases, you can format the signature as Node.js docs do

@vsemozhetbyt i'd love this. Would you mind sending a PR?

@aslushnikov It seems this is already done in the #https://github.com/GoogleChrome/puppeteer/pull/775 :)

Great, the docs were so incomplete and misleading that I ended up having problem.
  await page.waitForFunction(function(args){
    return Array.isArray(args);
  }, {}, [1, 2, 3, 4]);

This above works as well. :+1:
I will close this issue for now since everything is going as expected.
And thanks for the PR.


Anyway to override the colors of the long press on chat cells?

In the demo swift app as well as the app that I'm writing, when you hold your finger over the cells for a second or so, they turn gray or green. I'm wondering if there is a simple way to turn this off or to change the colors. I've been digging in the code and haven't had any luck yet.
Thanks.

Figured out it was the highlight color of the cells.


Fix energy value display

Closes #691

Yeah, for whatever reason TortoiseGit doesn't do a recursive checkout/merge/update/whatever on its own and I forgot that there were breaking changes to nas2d-core that also needed to be merged in. It's what I get for not compiling first which normally I do before committing merge changes like that.


Add missing certs in the eirini namespace secret

Signed-off-by: Tim Hardeck<EMAIL_ADDRESS>

Works together with this PR on scf: https://github.com/SUSE/scf/pull/2724/files


fixed wrong type in config.json #1630

The page How to configure a blockchain application indicated the user to copy a configuration, but the type for .genesisConfig.baseFees.0.baseFee is a string and in the current example it is set as a number.
If you copy and paste the current implementation it will throw an error:
Error: Lisk validator found 1 error[s]:
Property '.genesisConfig.baseFees.0.baseFee' should be of type 'string'

This should fix that issue.

Thanks for the fix! 👍
But #1521 is related to the next version of the SDK, and is not closed by this PR.

Ok, I have updated the PR body to remove that text


nowcasting rki r wert updated nicht automatisch

today (11 nov 2020) it worked magically. keep an eye on it

seems to work fine now


Clean up non required compute class information output

Hide request scaler from output of compute classes.
We also want to hide the scheduling fields from the app output if possible.

Moving the hiding of scheduling out of the scope of this since it needs more ideation for the time being.
The changes should be verifiable by checking a compute class that is known to have a request scaler value set, and not seeing that value shown when doing a call to acorn offerings computeclass -o json. For example once the runtime version is bumped in manager main branch, any env in main should display that behavior. You should also be able to verify that the requested memory is being scaled down still since the scheduling information will still be shown on the apps.

runtime bit of this is ready for qa. there's an outstanding pr to bump it in manager, but im moving this to qa for the purpose of testing v0.10.0

acorn version - v0.0.0-dev+6ad41c01
Following error is seen when listing compute class
./acorn offering computeclass
  ✗  ERROR:  template: :1:39: executing "" at <memoryToRange .Memory>: error calling memoryToRange: object passed is not a ComputeClassMemory struct

Tested with acorn version - v0.0.0-dev+7083bc6b

Create a computeclass with requestScaler set

apiVersion: admin.acorn.io/v1
default: false
metadata:
  name: cc2
description: Large compute for linux on arm64
cpuScaler: 0.75
supportedRegions:
 - local
memory:
  default: 20M
  values:
  - 10M
  - 20M
  - 30M
  requestScaler: 0.1

Able to query for computeclass offerings

./acorn offering computeclass cc2
NAME      DEFAULT   MEMORY RANGE   MEMORY DEFAULT   REGIONS   DESCRIPTION
cc2                 10M,20M,30M    20M              local     Large compute for linux on arm64

Querying for  computeclass offerings with "-o json" option does not expose the requestScaler setting

./acorn offering computeclass cc2 -o json
{
    "items": [
        {
            "metadata": {
                "name": "cc2",
                "creationTimestamp": null
            },
            "memory": {
                "default": "20M",
                "values": [
                    "10M",
                    "20M",
                    "30M"
                ]
            },
            "description": "Large compute for linux on arm64",
            "default": false,
            "supportedRegions": [
                "local"
            ]
        }
    ]
}

Deploying apps with is ComputeClass , has the requestScaler setting take effect as expected.
From  the scheduling section of the app:

                "scheduling": {
                    "mywebnew": {
                        "requirements": {
                            "limits": {
                                "memory": "20M"
                            },
                            "requests": {
                                "cpu": "2m",
                                "memory": "2M"
                            }
                        },
                        "tolerations": [
                            {
                                "key": "taints.acorn.io/workload",
                                "operator": "Exists"
                            }
                        ]
                    }
                },

From the pod definition:
                        "resources": {
                            "limits": {
                                "memory": "20M"
                            },
                            "requests": {
                                "cpu": "2m",
                                "memory": "2M"
                            }
                        },


'SleepAsAndroidSensor' object has no attribute 'async_get_last_sensor_data'

General information
Home Assistant
Version:
Installation method (according to instructions):
[ ] Operating System
[ ] Linux VM
[X] Container
[ ] Supervised
[ ] Core
Integration

Installation method:
[ ] HACS
[X] manual from release
[ ] manual from git
Integration version:
Root topic:
Application settings

topic:
[X] I can see MQTT messages from application at MQTT-server
How it works now?
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1003, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/sleep_as_android/sensor.py", line 108, in async_added_to_hass
    if (old_state := await self.async_get_last_sensor_data()) is not None:
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SleepAsAndroidSensor' object has no attribute 'async_get_last_sensor_data'

Steps to reproduce
Maybe, because of latest version of hass, 2023.8.3
Additional information
https://developers.home-assistant.io/docs/core/entity/sensor/#restoring-sensor-states

Uhh. What was the solution? Getting the same error.

Update to latest version @Wibias

Versions of HA and the integration are important: the integration v2.1.0(beta) had a bug with async_get_last_sensor_data.
We had migrated to RestoreSensor in v2.2.0, but very old HA versions may not support it.
BTW: v2.2.0 works with HA 2023.8 without such issue.


feature - added standard placement of price on events

Fixes #9149
Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

before :

after :

Note to reviewers

Following @sital002's comment I am closing this PR for the reasons mentioned.


BUG: grey_erosion discrepancy in different calling styles

Describe your issue.
Output mismatch when calling grey_erosion(im, structure=kernel) vs grey_erosion(im, (filt_sz, filt_sz)) when kernel is defined as flat, square array of ones. The expectations is that the values would match.
Reproducing Code Example
from scipy.ndimage import grey_erosion
import numpy as np

im = np.random.rand(50, 50)

filt_sz = 7
kernel = np.ones((filt_sz, filt_sz))

out_with_kernel = grey_erosion(im, structure=kernel)
out_with_sz = grey_erosion(im, (filt_sz, filt_sz))

assert (abs(out_with_kernel - out_with_sz) < 1e-5).all(), 'Mismatch detected'

Error message
Mismatch detected.

SciPy/NumPy/Python version and system information
1.9.1 1.24.3 sys.version_info(major=3, minor=8, micro=18, releaselevel='final', serial=0)
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/rakshit/opt/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/rakshit/opt/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/rakshit/opt/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/rakshit/opt/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/rakshit/opt/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/rakshit/opt/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/rakshit/opt/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/rakshit/opt/anaconda3/include']

Hi @RSKothari, sorry this issue was neglected.
This is not a bug, but just a misunderstanding of how the grey_erosion function works. It is admittedly not trivial to understand from the description and I double checked the underlying C implementation to verify the expected behavior is as described below:
When you called this function:
grey_erosion(im, (filt_sz, filt_sz))

That is applying a minimum filter over the values in a neighborhood of shape (filt_sz, filt_sz)
This would be equivalent to calling with footprint and NOT structure. The example below verifies this.
from scipy.ndimage import grey_erosion
import numpy as np

im = np.random.rand(50, 50)

filt_sz = 7
kernel = np.ones((filt_sz, filt_sz))

np.testing.assert_allclose(
    grey_erosion(im, (filt_sz, filt_sz)) ,
    grey_erosion(im, footprint=kernel),
)

The values in structure result in a shift in the grayscale values used for the erosion at positions falling within the footprint. For erosion the shift is done by subtracting the values in structure, but for dilation it would be the opposite. To get an equivalent result to specifying just the size argument, structure would need to be zero everywhere.
# structure that is all zeros so no grayscale shift
np.testing.assert_allclose(
    grey_erosion(im, (filt_sz, filt_sz)) ,
    grey_erosion(im, structure=np.zeros_like(kernel)),
)

# offset image by 1 is equivalent to structure shift of 1
np.testing.assert_allclose(
    grey_erosion(im - 1, (filt_sz, filt_sz)) ,
    grey_erosion(im, structure=kernel),
)

I think the real-world use case for structure is only for cases where the amplitude of the values is not equal over the footprint.

closing as not a bug, please see explanation above

opened #20799 to make the documentation clearer


ios demo app version error

hi, I want to build an object detection ios demo app using tflite model.
but your code support ios14.4, my ios is 14.6.
Apple doesn't assign ios to downgrade 14.6 to14.4.
so did you upgrade for ios 14.6??
thanks,

@hyuDev ,
In order to expedite the trouble-shooting process, could you please provide the following information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
and the exact sequence of commands / steps that you executed before running into the problem

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: the IOS device with ios14.6
TensorFlow installed from (source or binary): maybe binary(I install TF with pip3)
TensorFlow version: 1.15.0
Python version:3.6.5
Installed using virtualenv? pip? conda?: pip3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: NO CUDA, only CPU
GPU model and memory: NO GPU, only CPU
the project error is"this device' os is not supported, we support ios 14.4"

@hyuDev ,
We see that you are using tf version 1.15, 1.x is not actively supported, please update to stable version tf v2.5, v2.6 and let us know if you are facing same issue.Thanks!


googlenet classification

Run the sample from  Recipes/examples/ImageNet Pretrained Network (VGG_S).ipynb on the basis of this example I have similar programs for models vgg16 and vgg19. Models vgg 16 and vgg 19 has key 'mean value'  therefore it is possible to calculate MEAN_IMAGE  as in model vgg_s. Googlenet it has no parameter 'mean value'  Нow to calculate the 'mean value' for the googlenet

See these lines in the original files for BVLC GoogLeNet on the Caffe repository:
train_val.prototxt#L13-L15
As you can see they are the same for GoogLeNet and VGG family of CNNs, since these values are calculated from the same dataset (ImageNet1k).

thank you so much! something I did not look at the original file BVLC GoogLeNet.


API uses Int for backup restore sizes which can be larger than Int size

Describe the bug
The GraphQL type for the restoreSize field is set as Int which only allows signed 32-bit integers. Since the size is recorded in bytes, this can be larger than the Int type. In this case the api will error with: Int cannot represent non 32-bit signed integer value
To Reproduce
Steps to reproduce the behavior:

Restore a backup larger than 2.2GB
Attempt to retrieve restore info from the api (or view the backups page in the UI)

Expected behavior
The api stores and retrieves restore size without errors.
Additional context
Introduced in https://github.com/uselagoon/lagoon/pull/3599.

Is Float the better one to use, since use it for storage bytes?
https://github.com/uselagoon/lagoon/blob/main/services/api/src/typeDefs.js#L947

Is Float the better one to use, since we use it for storage bytes? https://github.com/uselagoon/lagoon/blob/main/services/api/src/typeDefs.js#L947

I checked the graphql spec and it doesn't specify what the max size of a float is. There's a random comment on a SO question that says it's 52 or 128 bits.... but no source was provided.
I would expect the storage calculator and restore sizes to be mostly equivalent, so if it works for storage I suppose it should be fine for restores.


Time shown in 12-hour format instead of 24-hour

Steps to reproduce the behaviour

Add or edit any transaction

Expected behaviour
Shows 24-hour time, which is what my phone is set up for.
I think this was the behavior before 2.3.0 (not 100% sure).
Actual behaviour
Shows 12-hour time (AM/PM).
Software specifications

GnuCash Android version: 2.3.0
System Android version: 7.1.2 (LineageOS 14.1)
Device type: Nexus 4

This seems to have mysteriously fixed itself 👻


Exclude jakarta artifacts that conflict or overlap

Verified system test in docker.

There are also enforcers in the internal repository that needs to be updated.


extend retrospective for squid plot?

The early years of the 1999 cohort are dropping away from the squid plots now that the cohort is older than the 15 years of the retro. It's impressive to me that the model even holds together with 15 years of data removed, but should we consider extending the retrospective to go for longer, perhaps whatever length would be necessary to see the 1999 at age 1 or age 0?

I was wondering the same thing - is it time to omit the 99 year class?  new squid plot isn't going to show anything different for 99.  If we include it, do we just change the retrospective setup to 1:16 instead of 1:15?

The easiest option would be to just leave it as it is, and maybe bring it up at the SRG to see if they have input on the value of continuing to make comparisons to the 1999 cohort here and elsewhere. Although I guess it's not hard to re-run build with run.retro=TRUE.

My recollection was that we used the 1999 cohort as an example in the last few years when describing these plots. The trend was clear and comparable to say the 2010 cohort.
Aaron, yes that's all we would have to change and Ian is right about the call to build().

I guess it does provide a solid example of how long it can take to stabilize a rec dev (near 10 years for this year class).  I change my vote to keep it - feeling flip floppy today

Yes, agree to keep it as it would be good to compare it to the 2010 value.

Squid plots have some numbers hard-wired. I re-ran the retros after Aaron changed the number of years, but the figs and captions aren't fully automated. I'll do that now (so we can see the new figures).

Updated figure setting in f77382ef. Was going to automate but seems like we'd choose every year anyway what to show, so it's still hardwired (just don't tell Chris).

Reopening this issue to note that I just made a change in be99be5 that I think will be useful for the final document. That is to include the 2016 cohort in the set shown in the squid plot by changing retro.cohorts from 1999:2015 to 1999:(end.yr-2).
While working on issue #410 I realized that displaying 2016 is useful to see how it compares to other big cohorts. It appears to be only slightly below where 2010 and 2014 were at this point.
No reason to leave this issue open unless someone has an objection to the change.

Feel like closing an issue - this one seems ripe for the taking....


Duplicated Country Informations?

Hi!
Very nice repo and thanks a lot for sharing!
I loaded the data and realised that there are some entries duplicated with varying values for the same country, eg.:
   Date       CountryCode CountryName RegionCode RegionName Confirmed Deaths Latitude Longitude Population
   <date>     <chr>       <chr>       <lgl>      <lgl>          <dbl>  <dbl>    <dbl>     <dbl>      <dbl>
 1 2020-03-09 FR          France      NA         NA              1126     19     46.2      2.21   65129728
 2 2020-03-10 FR          France      NA         NA              1412     30     46.2      2.21   65129728
 3 2020-03-11 FR          France      NA         NA              1784     33     46.2      2.21   65129728
 4 2020-03-12 FR          France      NA         NA              2281     48     46.2      2.21   65129728
 5 2020-03-13 FR          France      NA         NA              2876     61     46.2      2.21   65129728
 6 2020-03-14 FR          France      NA         NA              3661     79     46.2      2.21   65129728
 7 2020-03-14 FR          France      NA         NA              1085     24     48.7      6.19         NA
 8 2020-03-14 FR          France      NA         NA              1240     NA     48.8      2.64         NA
 9 2020-03-15 FR          France      NA         NA              4499     91     46.2      2.21   65129728
10 2020-03-15 FR          France      NA         NA              1378     45     48.7      6.19         NA

As you can see, there is no  RegionCode or RegionName in both entries of the same date, but differing Long/Lat and Population sizes.
Did I miss something, where these entries originate?
Thanks a lot!
Kevin

Can you share how you are loading the data? I am not seeing the duplicate rows in the original CSV file. The rows are sorted by date-country-region so if you look at this line you will see all rows for FR on 3/14 and I only see one with null region data.

Ah, I found the error is on my side (right when you answered).
I read the data in R with the readr package, which misinterpreted the RegionCode and RegionName column as being a logical column rather than a character column.
Thanks for your help and your work on this dataset!


CMake propblem with boost

I get this weierd propblem with boost:
CMake Error at C:/.../cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: system date_time log filesystem thread
program_options) (found suitable version "1.74.0", minimum required is
"1.74.0")
Call Stack (most recent call first):
C:/.../cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/cmake-3.22.0-windows-x86_64/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
CMakeLists.txt:139 (FIND_PACKAGE)

It seems that the issue is caused by your environment.
cmake couldn't find boost on your environment.
Here is my way to find boost on Azure build pipelines.
I'm not cmake expert it is extremelty difficult for me but the following setting might help you.
https://github.com/redboltz/mqtt_cpp/blob/6d6ff054dce4a775db6c5a435bd9b6d078eb56d8/azure-pipelines.yml#L134-L152
See
https://cmake.org/cmake/help/latest/module/FindBoost.html

@karimnorouzi I am by no means an expert on CMake build files and boost, but it seems that all libraries that can't be found are libraries that are not header-only, that is regular library (static or dynamic) is required. I would check if you have installed them.


CVE Feed: Add Prow job link as a metadata field

Description
Freshness of a feed is dependent on successful scheduled prow job runs. Adding a link to job in the "json" feed and the markdown description, allows folks to look at the prow job to ensure that prow job has been running successfully as recent as few hours ago.
Details
Add a field named "prow job", under the custom map of _kubernetes.io at the top of the feed (not part of each CVE item) with single value being "https://testgrid.k8s.io/sig-security-cve-feed#auto-refreshing-official-cve-feed"

/kind feature

Add a field named "prow job", under the custom map of _kubernetes.io at the top of the feed (not part of each CVE item) with single value being "https://testgrid.k8s.io/sig-security-cve-feed#auto-refreshing-official-cve-feed"

Ah I was thinking that we wanted to link to the specific job that created the created the yaml itself, and I'm not sure we can do that simply. If it's a just an hardcoded single value to the testgrid.k8s.io website, I guess it's fairly trivial! :)
/assign

/triage accepted
/sig security docs
/area security


Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead. |

Please help

Please help

You are overusing API, there are limitations to it, I believe it's 10 connections per minute or something close to that

Error: TikTok does not offer a websocket upgrade. Please provide a valid sessionId to use request polling instead.
I have the same problem and to correct it I have to run "npm update", it happens to me very frequently. Also remember that "npm cache clean --force" is you friend with this script.


Mosaic reacts to "move focus" commands when one pane is maximized

To reproduce:

open 4 panes
make the focused pane occupy the whole screen (at the time of writing this is done with ctrl+e)
move focus (at the time of this writing this is done with ctrl+p)
see that the mouse cursor moves to its location on the other panes that are not visible

This command should be blocked when there is a pane in full focus.

@denismaxim0v is working on this (why can't I assign it to him?)


react-hooks: add useChatConnection hook

Context

CHA-381

Description

Introduced useChatConnection to allow users to subscribe to connection status changes.
A listener can also be supplied to the hook if the user wants the underlying status changes.
Added some basic usage to the demo app.

Checklist

[x] QA'd by the author.
[ ] Unit tests created (if applicable).
[ ] Integration tests created (if applicable).
[x] Follow coding style guidelines found here.
[x] TypeDoc updated (if applicable).
[x] (Optional) Update documentation for new features.
[x] Browser tests created (if applicable).
[x] In repo demo app updated (if applicable).

One very slightly annoying thing with the demo app - everything snaps downwards after initial load.

That gets smoother after https://github.com/ably/ably-chat-js/pull/306


Minecraft 1.7.10 Singleplayer world not loading/not creatable.

I want to create a modpack for a server. But I cannot create nor load any world (not even superflat).
It puts me right back to main menu.
I couldn't find any solution here or anywhere.
I hope someone can help me with it thank you.
CustomNPCs-latest.log
latest.log

Okay there was a problem with Tinkers mod and those related if you know how to fix that you can explain if not... well i guess I will have to play without Tinkers mods.


cirq.contrib.routing does some pretty weird stuff

I was playing around compiling the circuits used in cirq.contrib.quantum_volume and with 100 random restarts and seed np.random.RandomState(52) I consistently get this routing (starting from a 6 qubit circuit):

The eagle eyed viewer may notice some spurious qubits

.... And the extra qubits (here: 5,1 and 5,2) don't show up in initial_mapping

Ok, so the first swap on (5,1), (5,2) is very useless but I've done some checking with cirq.wavefunction_partial_trace_as_mixture and the input and output circuits produce the same wavefunction after you account for the final permutation and drop (5,1) and (6,1)
(5,1) seems to be used for transit purposes only, but this does seem to reduce the depth by 1 moment


move #my_zone from ArchivedMixin to OldEmsMixin

Not every model that needs ArchivedMixin has ext_management_system or #old_ext_management_sytem. For those do need to use #old_ext_management_system now they should include OldEmsMixin.
This is a followup PR of #17480
Fixes issue #17535

@miq-bot assign @agrare
@miq-bot label bug

Looks good to me, let me run the kubernetes and openshift specs with this applied to master and I'll merge if that's green

@miq-bot add_label Gaprindashvili/yes

Kubernetes and Openshift specs pass

BZ https://bugzilla.redhat.com/show_bug.cgi?id=1594873
/cc @simaishi


Publish grasp events on a latched topic (implements #36)

This allows to emulate a physical grasped/no-grasped check, as described on #36

Thank you for this PR :)
The issue to publish grasp events is a feature I've been wanting to add for quite some time now, and never found the free time to actually do it.
The plan however is to keep this package ROS-independent. I'm aware that the CMakeLists.txt already contains catkin stuff, but the code itself does not depend on ROS. There are users who want to use this plugin standalone with Gazebo only. So my intention was to publish events as gazebo messages (not ros messages), which then can be translated to ROS messages in a separate node, if desired.
Not sure you'll find the time to make those adjustments, and I certainly wouldn't expect it. The options I see now:
(1) Provide your code in a branch, and mention that this is available in the WIKI or
(2) I can use your PR as starting point when I find the time (hopefully soon) and adjust it so that gazebo messages are used instead or
(3) You can do the adjustments, and we move forwards with this PR and eventually merge it or
(4) Both (1) and (2 or 3)
Which would you prefer?
Thanks again for your efforts!
Jennifer

Thank you for this PR :)

No, thanks for your plugins!  I suppose you mean publishing sim_event.proto, or maybe tactile.proto msgs instead of ROS ones, right?
I have zero experience on that, but can try.
Then u read with something like this in my ROS node, right?

Yes, that's right.
You can also add new Gazebo messages which could then be equivalent to your ros message, see this tutorial. That's maybe easier and it can include all info you need (robot and object involved).
The ROS node would roughly look like the one in your link, but you'd of course subscribe to the topic with your gazebo message, and in the callback you would then translate to the ROS message and publish it via a ros::Publisher.
I'd be happy to include the ROS code too, but then it would have to be in a separate package (within this repo though, but in a separate directory and with it's own CMakeLists.txt and package.xml) so that it's separated from the code in gazebo-grasp-plugin (could eg be called gazebo-grasp-plugin-ros).
Thank you so much for your effort! Let me know if I can do anything to help.

Finally I found some time to remake the PR with gazebo instead of ROS msgs.
But I need some help; looks like I create properly the protobuff msg GraspEvent, but when I try to use it from outside of the workspace containing this pkg, client pkgs subscribing to the topic cannot find the msg definition. Protobuf creates a header in ./build/gazebo_grasp_plugin/msgs/grasp_event.pb.h, but obviously this is not visible outside of the current workspace (and to make it visible you must add this to the include_directories, what looks a bit hackish).
I followed this tutorial , but they don't explain how to export properly the new message .pb.h header. In the worst case, we can make a link to ./build/gazebo_grasp_plugin/msgs/grasp_event.pb.h within the include directory, but pretty sure this is not he right way.
@JenniferBuehler, do u have experience with custom pb msgs?

btw, I add a 2nd commit in case we want to roll back to the ROS msg, but I would prefer to squash them into one before merging

Finally I found some time to remake the PR with gazebo instead of ROS msgs.
But I need some help; looks like I create properly the protobuff msg GraspEvent, but when I try to use it from outside of the workspace containing this pkg, client pkgs subscribing to the topic cannot find the msg definition. Protobuf creates a header in ./build/gazebo_grasp_plugin/msgs/grasp_event.pb.h, but obviously this is not visible outside of the current workspace (and to make it visible you must add this to the include_directories, what looks a bit hackish).
I followed this tutorial , but they don't explain how to export properly the new message .pb.h header. In the worst case, we can make a link to ./build/gazebo_grasp_plugin/msgs/grasp_event.pb.h within the include directory, but pretty sure this is not he right way.
@JenniferBuehler, do u have experience with custom pb msgs?

I will look at this when I test it :)

Gnawkhhh the weekend just melted away... Sorry I'll try to make some time in the evenings this week

Hello, just giving you a heads up that I started testing. Sorry it took me ages.
I'm making a few changes to the build files (should answer your question about accessibility) and will post a PR to your branch with the changes. Please have a few more days patience, I'm doing it bit by bit in free time slots.
Cheers

I'm making a few changes to the build files (should answer your question about accessibility) and will post a PR to your branch with the changes. Please have a few more days patience, I'm doing it bit by bit in free time slots.

Great!  tell me if u need any help

I followed this tutorial , but they don't explain how to export properly the new message .pb.h header. In the worst case, we can make a link to ./build/gazebo_grasp_plugin/msgs/grasp_event.pb.h within the include directory, but pretty sure this is not he right way.

The problem is that we are compiling with ROS, and install doesn't get executed in devel space. It does if you run in install space (catkin config --install if you're using the catkin tools).
It's ugly, but unfortunately in devel space we'll need to keep using the build directory as include - see my PR to your branch. Maybe there is a better solution but I would have to look into it, and I don't think it's that important at the moment to get it perfect.

Awesome, this is it! Thank you so much for your hard work :) Finally we have a long-awaited feature!


Tweaks to handle new labels, convenience functions for adding/listing roadmap labels

We're adding labels that look like "committed-online-fy18.q2", so TrelloHelper::RELEASE_LABEL_REGEX and TrelloHelper#sortable_card_label need to be updated to parse and sort cards with these new style labels.
Also adds convenience functions for messing around with roadmap labels.

@danmcp @brenton

I don't really love the roadmap label helpers.  Trello already has a UI to manage labels.

@danmcp It's cumbersome to manage labels through the UI, especially when we have so many labels. It's nice to be able to grep the list of labels too.
Notice I'm not adding trello delete_roadmap_labels 😸


Feat/db migration

see server/backend/api/alembic/dbMigrationsBackground.md for summary of work
closes: https://github.com/bcgov/nr-forests-access-management/issues/128

defined the ORM model as the source of truth.
created docs for how to manage the model.py->alembic->flyway migrations (see server/backend/api/alembic/readme.md)
created script to sync alembic migrations with flyway.
going to close PR https://github.com/bcgov/nr-forests-access-management/pull/181 without merging as all changes are implemented in this PR
modified alembic config to generate migration names using the convention that flyway uses.  Makes it easy to map alembic migrations to flyway migrations
this PR establishes a 1:1 relationship between alembic migrations and flyway migrations

closing... will re-create with pr to dev


No API way to get non-SemVer minecraft version without classloading minecraft classes

Currently, the only ways I can find to get the normal, non-semver-ified minecraft version (which I need to query piston-meta) are either internal (QuiltLoaderImpl, get the game provider, get the raw version) or involve classloading a minecraft class (SharedConstants), which though it works for now will not in the long term, especially since much of this logic will be moved to a loader plugin once those are available. Is there any chance we could get an API method for getting the raw, non-semver-ified game version?

Both methods can just be exposed in QuiltLoader directly, since I assume most games will have a concept of versions.

I believe this can be closed, since an API was added in a recent update


[Egg Request]:  Abiotic Factor

Does this expand an already existing service
No
Link to a game or software
https://store.steampowered.com/app/427410/Abiotic_Factor/
Links for the download
https://steamdb.info/app/2857200/
Links for the install docs
https://github.com/DFJacob/AbioticFactorDedicatedServer/wiki/Guide-‐-Quickstart

Awesome! Thanks you, egg works great

Потрясающий! Спасибо, яйцо работает отлично

Awesome! Thank you, egg works great

How to download it?

How to download it?

It's not currently merged yet, but you can visit the PR here and grab the egg from the Files changed tab.


Prevent the interactors/interactables from causing the headset to fade.

If you have the headset fade collider set up then when you put an interactor or interactable into the headset it will fade.

https://www.youtube.com/watch?v=RBHjmCQA5UA


domain taalim.ma for school

Moroccan schools primary and secondary

Primary and secondary moroccan schools

@Charafeddine-B lib/domains/ma/taalim.ma: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Keyboard Nav and selection row

Btw thanks for your powerfull library...
I want to ask, how can i custom keyboard nav with selection row if i press pageUp or pageDown ?
so i can select row with press pageUp or pageDown in row like onclik in row.
Or maybe how can i customize onEnter to selection row if i navigate table ?

Up!

Currently, it's impossible in react-bootstrap-table. However, I can support a hooks and it will be called when navigate happen then you can do some work on it.

hey all, check this example and remember to upgrade to v4.1.5   thanks


Investigate event, baseflow, rising limb filter algorithms

Several of the proposed signature metrics we have identified as important require filtering the timeseries based on identifying some pattern in the timeseries that requires a wholistic view of the timeseries not just checking a single value against some criteria (i.e., a threshold).  We need to understand what is currently being done in this area (event, baseflow, rising limb) as well as what may be required in the future such that we can generalize this process to handle not only current needs but future ones too (that should be the aim anyway - in reality it can be hard to anticipate future needs).

I think we should investigate the "Series to Series" pandas_udf() for this.  See https://spark.apache.org/docs/3.4.2/api/python/reference/pyspark.sql/api/pyspark.sql.functions.pandas_udf.html
If this works the way I think it does it could be an easy way to add event detection with existing Python code (from HydroTools).  We could then later see if doing it all natively in PySpark would be more performant.

These types of wholistic view Series to Series will be added to the create_joined_timeseries script for an Evaluation.

I think there are actually two ways we want this to be able to work.

Add event detection (boolean) and event_id (continuous events) to the joined timeseries table.
Add event detection (boolean) and event_id (continuous events) as a chainable step that can be run on-the-fly prior to metrics.
like ev.metrics.add_event_ids(some args).query(group_by=..., include_metrics=...)

Dropping this here so we don't lose it.
def add_is_above_quantile(
    sdf,
    output_field,
    input_field,
    quantile=0.90,
    return_type=BooleanType(),
    group_by=[
        'reference_time',
        'primary_location_id',
        'configuration_name',
        'variable_name',
        'unit_name'
    ]

):
    # Get the schema of the input DataFrame
    input_schema = sdf.schema

    # Create a copy of the schema and add the new column
    output_schema = StructType(input_schema.fields + [StructField(output_field, return_type, True)])

    def is_above_quantile(pdf, output_field, input_field, quantile) -> pd.DataFrame:
        pvs = pdf[input_field]

        # Calculate the 90th percentile
        percentile = pvs.quantile(quantile)

        # Create a new column indicating whether each value is above the 90th percentile
        pdf[output_field] = pvs > percentile

        return pdf

    def wrapper(pdf, output_field, input_field, quantile):
        return is_above_quantile(pdf, output_field, input_field, quantile)

    # Group the data and apply the UDF
    # lambda pdf: wrapper_function(pdf, threshold_value)
    sdf = sdf.groupby(group_by).applyInPandas(
        lambda pdf: wrapper(pdf, output_field, input_field, quantile),
        schema=output_schema
    )

    return sdf

def add_segment_ids(
    sdf,
    output_field,
    input_field,
    time_field,
    return_type=StringType(),
    group_by=[
        'reference_time',
        'primary_location_id',
        'configuration_name',
        'variable_name',
        'unit_name'
    ]

):
    # Get the schema of the input DataFrame
    input_schema = sdf.schema

    # Create a copy of the schema and add the new column
    output_schema = StructType(input_schema.fields + [StructField(output_field, return_type, True)])

    def segment(pdf: pd.DataFrame, output_field, input_field, time_field) -> pd.DataFrame:
        # Create a new column for continuous segments
        pdf['segment'] = (pdf[input_field] != pdf[input_field].shift()).cumsum()

        # Filter only the segments where values are over the 90th percentile
        segments = pdf[pdf[input_field]]

        # Group by segment and create startdate-enddate string
        segment_ranges = segments.groupby('segment').agg(
            startdate=(time_field, 'min'),
            enddate=(time_field, 'max')
        ).reset_index()

        # Merge the segment ranges back to the original DataFrame
        pdf = pdf.merge(segment_ranges[['segment', 'startdate', 'enddate']], on='segment', how='left')

        # Create the startdate-enddate string column
        pdf[output_field] = pdf.apply(
            lambda row: f"{row['startdate']}-{row['enddate']}" if pd.notnull(row['startdate']) else None,
            axis=1
        )

        # Drop the 'segment', 'startdate', and 'enddate' columns before returning
        pdf.drop(columns=['segment', 'startdate', 'enddate'], inplace=True)

        return pdf

    def wrapper(pdf, output_field, input_field, time_field):
        return segment(pdf, output_field, input_field, time_field)

    # Group the data and apply the UDF
    sdf = sdf.orderBy(*group_by, time_field).groupby(group_by).applyInPandas(
        lambda pdf: wrapper(pdf, output_field, input_field, time_field),
        schema=output_schema
    )

    return sdf


Idiomatic

a85c5fe1dd249ef52c873e58d061fbe73c776a5c is worth looking at.
This would only be a problem when the file size is around usize::MAX which is around 2^64 bytes.

something like this would be idiomatic,
but if 2^64 input is fed in there, I honestly think something would have gone wrong before this point
remaining = remaining.checked_add_signed(err.upto).ok_or_else(|| {
                        CodecError {
                            upto: remaining as isize,
                            cause: Cow::from("Integer overflow occurred"),
                        }
                    })?;


deepin.dtkwidget: <IP_ADDRESS> -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dtkwidget/versions.
meta.description for deepin.dtkwidget is: '"Deepin graphical user interface library"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

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.

found <IP_ADDRESS> with grep in /nix/store/fjx4cbddywcsffpkrl1gd07c4gkrkj8n-dtkwidget-<IP_ADDRESS>

directory tree listing: https://gist.github.com/9a7d054e741f04710385e701210c0edc

du listing: https://gist.github.com/1f724bc5c0864da3e3eceea521efed72

Outpath report (click to expand)

Outpath difference report
33 total rebuild paths
11 package rebuilds
11 x86_64-linux rebuilds
11 i686-linux rebuilds
0 x86_64-darwin rebuilds
11 aarch64-linux rebuilds
First ten rebuilds by attrpath
deepin.dde-calendar
deepin.dde-polkit-agent
deepin.dde-session-ui
deepin.deepin-image-viewer
deepin.deepin-menu
deepin.deepin-movie-reborn
deepin.deepin-shortcut-viewer
deepin.deepin-terminal
deepin.dpa-ext-gnomekeyring
deepin.dtkwidget

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fjx4cbddywcsffpkrl1gd07c4gkrkj8n-dtkwidget-<IP_ADDRESS> \
  --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.)
Or, build yourself:
nix-build -A deepin.dtkwidget https://github.com/r-ryantm/nixpkgs/archive/6c99ac88416afd4a0a3f5527ed07d2451354f182.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/fjx4cbddywcsffpkrl1gd07c4gkrkj8n-dtkwidget-<IP_ADDRESS>
ls -la /nix/store/fjx4cbddywcsffpkrl1gd07c4gkrkj8n-dtkwidget-<IP_ADDRESS>/bin

cc @romildo for testing.

replaced by https://github.com/NixOS/nixpkgs/pull/49499


Get rid of weird indention for multi-line string

Thanks for the contribution!

 Thank you for this project, it helped me fine-tune a system with 5 displays where they had to align perfectly.


Notary errors when trying to add data persistence w/compose environment

I've been doing some testing around using Content Trust (notary) with DTR 1.4 and one problem I am having is that the docker-compose.yml example does not allow for persistent data.  I tried to add persistence in https://github.com/mbentley/notary/commit/bfc6f6ef07d9028d919b9d18b8adde1273f19be4 but when I kill my compose stack and start it back up and then try to push another image to my DTR, I am seeing the notarysigner and notaryserver services throwing errors:
notaryserver_1 | time="2015-12-02T12:24:40Z" level=debug msg="200 GET" gun="dtr.mac/demo/myrepo" http.request.host=dtr.mac http.request.id=b2e1a249-3c66-4d28-b358-23e4c06dda86 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/dtr.mac/demo/myrepo/_trust/tuf/root.json" http.request.useragent="docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/3.16.0-4-amd64 os/linux arch/amd64" tufRole=root
notaryserver_1 | time="2015-12-02T12:24:40Z" level=info msg="response completed" http.request.host=dtr.mac http.request.id=b2e1a249-3c66-4d28-b358-23e4c06dda86 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/dtr.mac/demo/myrepo/_trust/tuf/root.json" http.request.useragent="docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/3.16.0-4-amd64 os/linux arch/amd64" http.response.duration=3.545051ms http.response.status=200 http.response.written=2377
notaryserver_1 | time="2015-12-02T12:24:40Z" level=debug msg="retrieving timestamp key for dtr.mac/demo/myrepo"
notaryserver_1 | time="2015-12-02T12:24:40Z" level=debug msg="sign called with 1 keys"
notarysigner_1 |
notarysigner_1 | (sql: Scan error on column index 1: unsupported driver -> Scan pair: []uint8 -> *time.Time)
notarysigner_1 | [2015-12-02 12:24:40]
notarysigner_1 |
notarysigner_1 | (sql: Scan error on column index 1: unsupported driver -> Scan pair: []uint8 -> *time.Time)
notarysigner_1 | [2015-12-02 12:24:40]
notarysigner_1 |
notarysigner_1 | (sql: Scan error on column index 1: unsupported driver -> Scan pair: []uint8 -> *time.Time)
notarysigner_1 | [2015-12-02 12:24:40]
notarysigner_1 |
notarysigner_1 | (sql: Scan error on column index 1: unsupported driver -> Scan pair: []uint8 -> *time.Time)
notarysigner_1 | [2015-12-02 12:24:40]
notarysigner_1 | time="2015-12-02T12:24:40Z" level=error msg="GetKeyInfo: key 77dde544cad17e911010eef98f4f15e137ab85bae5999754b9332281ae1a311a not found"
notaryserver_1 | time="2015-12-02T12:24:40Z" level=info msg="response completed" http.request.host=dtr.mac http.request.id=c367c202-56aa-44ae-a226-d3158e829f42 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/dtr.mac/demo/myrepo/_trust/tuf/timestamp.json" http.request.useragent="docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/3.16.0-4-amd64 os/linux arch/amd64" http.response.duration=21.195973ms http.response.status=0 http.response.written=0
notaryserver_1 | 2015/12/02 12:24:40 http: panic serving <IP_ADDRESS>:42949: runtime error: invalid memory address or nil pointer dereference
notaryserver_1 | goroutine 51 [running]:
notaryserver_1 | net/http.(*conn).serve.func1(0xc8205368f0, 0x7fb3f21925e8, 0xc820090000)
notaryserver_1 |        /usr/local/go/src/net/http/server.go:1287 +0xb5
notaryserver_1 | github.com/docker/notary/tuf/signed.Sign(0x7fb3f218c890, 0xc82023bb00, 0xc82049f680, 0xc820199228, 0x1, 0x1, 0x0, 0x0)
notaryserver_1 |        /go/src/github.com/docker/notary/tuf/signed/sign.go:54 +0x623
notaryserver_1 | github.com/docker/notary/server/timestamp.CreateTimestamp(0xc820566988, 0x13, 0xc82055d800, 0xc820402400, 0x1e8, 0x1e8, 0x7fb3f218ca08, 0xc82021da40, 0x7fb3f218c890, 0xc82023bb00, ...)
notaryserver_1 |        /go/src/github.com/docker/notary/server/timestamp/timestamp.go:142 +0x47f
notaryserver_1 | github.com/docker/notary/server/timestamp.GetOrCreateTimestamp(0xc820566988, 0x13, 0x7fb3f218ca08, 0xc82021da40, 0x7fb3f218c890, 0xc82023bb00, 0x0, 0x0, 0x0, 0x0, ...)
notaryserver_1 |        /go/src/github.com/docker/notary/server/timestamp/timestamp.go:75 +0x7cf
notaryserver_1 | github.com/docker/notary/server/handlers.GetTimestampHandler(0x7fb3f218c8e8, 0xc8204be2d0, 0x7fb3f2199b50, 0xc820566a40, 0xc8200d0a80, 0x0, 0x0)
notaryserver_1 |        /go/src/github.com/docker/notary/server/handlers/default.go:152 +0x5a9
notaryserver_1 | github.com/docker/notary/utils.(*rootHandler).ServeHTTP(0xc820279180, 0x7fb3f2199b50, 0xc820566a40, 0xc8200d0a80)
notaryserver_1 |        /go/src/github.com/docker/notary/utils/http.go:76 +0xe69
notaryserver_1 | net/http.(Handler).ServeHTTP-fm(0x7fb3f2199a58, 0xc820026130, 0xc8200d0a80)
notaryserver_1 |        /go/src/github.com/docker/notary/Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/http.go:61 +0x50
notaryserver_1 | github.com/prometheus/client_golang/prometheus.InstrumentHandlerFuncWithOpts.func1(0x7fb3f2199980, 0xc820537080, 0xc8200d0a80)
notaryserver_1 |        /go/src/github.com/docker/notary/Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/http.go:158 +0x335
notaryserver_1 | net/http.HandlerFunc.ServeHTTP(0xc820279450, 0x7fb3f2199980, 0xc820537080, 0xc8200d0a80)
notaryserver_1 |        /usr/local/go/src/net/http/server.go:1422 +0x3a
notaryserver_1 | github.com/gorilla/mux.(*Router).ServeHTTP(0xc8202787d0, 0x7fb3f2199980, 0xc820537080, 0xc8200d0a80)
notaryserver_1 |        /go/src/github.com/docker/notary/Godeps/_workspace/src/github.com/gorilla/mux/mux.go:98 +0x29e
notaryserver_1 | net/http.serverHandler.ServeHTTP(0xc820267e60, 0x7fb3f2199980, 0xc820537080, 0xc8200d0a80)
notaryserver_1 |        /usr/local/go/src/net/http/server.go:1862 +0x19e
notaryserver_1 | net/http.(*conn).serve(0xc8205368f0)
notaryserver_1 |        /usr/local/go/src/net/http/server.go:1361 +0xbee
notaryserver_1 | created by net/http.(*Server).Serve
notaryserver_1 |        /usr/local/go/src/net/http/server.go:1910 +0x3f6

These errors only occur for repos in which I have previously pushed an image (where there is trust data already).  If I push to a different repository, everything works as expected until a restart of my notary compose services.  I'm not sure why this only occurs after a stop and re-start as the data in my database appears to still be intact.  Any thoughts on why this might be occurring or better methods of setting up notary with data persistence for longer term testing?

tl;dr; the fix is here: https://github.com/docker/notary/pull/323
Hi @mbentley, thanks for the report. I think the signer configuration must have changed during all the refactoring that went on prior to DockerCon. The clue is in the (sql: Scan error on column index 1: unsupported driver -> Scan pair: []uint8  -> *time.Time) errors (although one would have had to have seen it before to recognize the problem).
The ORM we're using, GORM, has 3 columns to track create/update/(soft)delete times and they are typed as time.Time. However, The Go MySQL Driver (at least the one we're using) returns the values as type []uint8 and the resulting error in type conversion results in the key not being "found".
The server, while also using GORM, doesn't cause any errors because all its queries pluck specific columns from the database tables, (unintentionally) avoiding any that would get assigned to a field of type time.Time.
The MySQL Driver we're using allows the setting of a query string parameter in the connection string to tell it to parse DATE and DATETIME MySQL columns in to time.Time and setting that parameter fixes the errors and allows the key to successfully be retrieved from the database.
We need to look at why we were allowing execution to proceed to a panic in the event the key isn't found, but the PR at the top (and accidentally submitted on your fork), will solve your immediate problem.

Thanks! Much appreciated!

Issue about panic filed https://github.com/docker/notary/issues/324

@mbentley no worries. We never saw this issue because we have in memory caching of keys (hence no errors for a repo created and used within a single run of the containers). This was a good catch and I'm happy it's an easy fix :-)

@mbentley actually, I'd love it if you PR'd in your change to notarymysql/start. I don't want to enforce volumes in the compose file as we're intending that to create throwaway development instances, but for others that want to use persistence, having your changes in notarymysql/start would make it as intuitive as just adding the volume.

https://github.com/docker/notary/pull/325, thanks!

Fix is now merged to master :-)


Release Google.Cloud.Dataplex.V1 version 2.10.0

Changes in this release:
New features

Add data quality score to DataQualityResult (commit 1d5d4bc)
Added DataQualityResult.score, dimension_score, column_score (commit 4514953)
New event types GOVERNANCE_RULE_MATCHED_RESOURCES, GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS, GOVERNANCE_RULE_ERRORS (commit 4514953)

Created release for Google.Cloud.Dataplex.V1-2.10.0


Fix 11ty (Part 1)

This fixes the doc links not working (#373) and migrates to setup-node's builtin cache
fixes #373

The submodule change has been an accident, I'll revert it, then it's ready. Part 2 will probably come tomorrow.


Remove image refresh identifiers

We cannot reconfigure or resize images.
@miq-bot assign @agrare
@miq-bot add-label bug, najdorf/yes?
@miq-bot add_reviewer @agrare

@agrare I did search for these identifiers like image_right_size (In manageiq org) and couldn't find anywhere except in this file. So, i feel it is safe to merge. But, yes there is no harm in having unused features in code.


Create PEP 561 compliant library stub for type checking

Currently, i3ipc-python does not work with Python type checkers like mypy. In order to support type checking, it needs a library stub as specified in PEP 561.
This isn't a critical issue, but it would certainly be much appreciated.

https://github.com/altdesktop/i3ipc-python/pull/205 does this.


ci: diamond storage check exceeds API rate limit

There is the "Check For Diamond Storage Changes" workflow which checks that storage collisions on contracts upgrades are not introduced.
Sometimes it throws the "API rate limit exceeded" error which should be fixed.
What should be done:

Fix the API rate limit error
Enable (i.e. revert this PR) storage checks

https://github.com/ubiquity/ubiquity-dollar/actions/runs/7576286107/job/20634758710?pr=875
refer

@pavlovcik @rndquu @gitcoindev

@molecula451 @pavlovcik @rndquu
I see a few ways to tackle this:

Throw money at the problem and increase API rate limit to 15000 (may workaround the issue only short term).
Wait with next request until after the time specified by the x-ratelimit-reset header, the workflow would have to check this before running and wait in a loop, or we could have another workflow which would collect those errors and try to re-run. See https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#checking-the-status-of-your-rate-limit

But, the best would be to collect statistics and figure out which action eats up API rate the most and try to optimize it.

But, the best would be to collect statistics and figure out which action eats up API rate the most and try to optimize it.

Or run the diamond storage check workflow only for modified contracts and not for all of them

Or run the diamond storage check workflow only for modified contracts and not for all of them

This one sounds like it will take time, for deployment, testing and we are in the middle of the judging, i think we need a fix asap

Or run the diamond storage check workflow only for modified contracts and not for all of them

This one sounds like it will take time, for deployment, testing and we are in the middle of the judging, i think we need a fix asap

Contracts are not deployed yet so there is no need for a fix asap unless I'm missing smth

the thing is that we are opening PRs and we are not visualizing what changes what on the storage as we originally did it with the workflow

the thing is that we are opening PRs and we are not visualizing what changes what on the storage as we originally did it with the workflow, unless we rely on manually handling as of now

Why do we need to visualize the changes? The contracts are not deployed, we won't break anything.

good for now, it was better to clear things

@molecula451 @rndquu temporarily disabled storage changes but it may be that code QL analysis is the root cause.
I will also disable this temporarily and let's see if it helps.
https://github.com/ubiquity/ubiquity-dollar/pull/878

any updates in a solution for this one? @gitcoindev

any updates in a solution for this one? @gitcoindev

hi @molecula451 , I am on it today, will try to come up with a solution ( or at least find a workaround).

Reopening, I merged to my fork to execute QA and bot closed the issue. QA is done and looks good, I will open a pull request now.


Add a --viz_direction flag to CLI

Description

Add a --viz_direction flag to CLI
Cherry-pick'd 9532bfe from @mdemoret-nv

fixes #643
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


update to pytorch 2.1

let's update it to latest version of pytorch

Unfortunately, I don't have a system higher than win7, so I can't use python in msys2. This work can only be put on hold.

I don't know much about that, maybe you can still patch them?
https://github.com/adang1345/PythonWin7


x/crypto/openpgp: Cannot encrypt when subkey has no key flags specified

What version of Go are you using (go version)?

$ go version
go version go1.12 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ilopshire/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ilopshire/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/8w/307zd5sd2bg_5jgf8tcqvlps3hc0zx/T/go-build381813307=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I have been given a PGP public key by a third party where the sub-key signature contains no key flag sub-packet (see FRC 4880 <IP_ADDRESS>).
When the key flag sub-packet is missing the current implementation of x/crypto/openpgp assumes that the key shouldn't be used for anything. I've not been able to find anything in the OpenPGP spec that defines how this case should be handled, but I believe the GnuPG implementation assumes the key can be used for all of its capabilities.
pubKey := `-----BEGIN PGP PUBLIC KEY BLOCK-----
Version:   v1.2.1 (GNU/Linux)

mQ... (omitted for privacy)
-----END PGP PUBLIC KEY BLOCK-----`

entityList, err := openpgp.ReadArmoredKeyRing(strings.NewReader(pubKey))

in := strings.NewReader("hello world")
out := new(bytes.Buffer)

pt, err := openpgp.Encrypt(out, entityList, nil, &openpgp.FileHints{IsBinary: true}, nil)
if err != nil {
	log.Fatal(err)
}

if _, err := io.Copy(pt, in); err != nil {
	log.Fatal(err)
}

fmt.Println(out.Bytes())

I've omitted the actual public key in the above snippet to preserve the privacy of the third party I am working with. I am admittedly not an expert, but I have not had any luck generating a test key that has the key usage subpacket omitted.
What did you expect to see?
The encrypted output.
What did you see instead?
openpgp: invalid argument: cannot encrypt a message to key id [omitted] because it has no encryption keys

Per the accepted #44226 proposal and due to lack of maintenance, the golang.org/x/crypto/openpgp package is now frozen and deprecated. No new changes will be accepted except for security fixes. The package will not be removed.
If this is a security issue, please email<EMAIL_ADDRESS>and we will assess it and provide a fix.
If you're looking for alternatives, consider the crypto/ed25519 package for simple signatures, golang.org/x/mod/sumdb/note for inline signatures, or filippo.io/age for encryption. You can read a summary of OpenPGP issues and alternatives here.
If you are required to interoperate with OpenPGP systems and need a maintained package, we suggest considering one of multiple community forks of golang.org/x/crypto/openpgp. We don't endorse any specific one.


Can't build from gradle

Building the current release fails on OSX.
$ curl -O https://raw.githubusercontent.com/Netflix/exhibitor/master/exhibitor-standalone/src/main/resources/buildscripts/standalone/gradle/build.gradle

$ gradle shadowJar

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/jurgen/Documents/exhibitor/build.gradle' line: 12

* What went wrong:
A problem occurred evaluating root project 'exhibitor'.
> Failed to apply plugin [class 'com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin']
   > Could not create task of type 'ShadowJar'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5.718 secs

Depending on what gradle version you use, you may need to pull in the latest version of the shadowJar plugin.  I found that gradle 3.0 needed com.github.jengelman.gradle.plugins:shadow:1.2.3.  Gradle 2.9 worked out of the box with the current build file.


Fix link to .luaurc info in README

I'll update this separately to https://rfcs.luau-lang.org/config-luaurc


Add kuvio as dependency

Tests right now are failing; I think this is because of matchers' packaging? Will update kuvio dep and check again once https://gitlab.com/simspace-oss/matchers/-/merge_requests/3 is merged

Closing this because kuvio as-is is incompatible with this Arbitrary representation. Will open a new PR targeting main