bug: Problem with transition between abstract views

Type: bug
Platform: all
Hi guys! I have some problems using Ionic, I hope Ionic team can help me with this.
(sorry I'm publishing it now as an issue, first posted in the forum)
My app context
In my app, I have two abstract views, the first has a tab menu, and the second doesn't have anything just an ion-nav-bar, I use this to change from a state with tabs menu to another with anything I want in the footer with ion-footer-bar. For example, in a Question state I have a "Answer" button in a ion-footer-bar. So my app change from tabs.timeline (which has a tab menu) to app.article (which has a footer 'main' button)
How to reproduce
I made this codepen to reproduce the issue http://codepen.io/felquis/pen/ogLYJE
Problem 1

Open the no iframe version http://s.codepen.io/felquis/debug/ogLYJE
Open the DevTools (Chrome) and emulate a iPhone 5 device and reload the page.
The app start with no tabs, (like a login state)
Here is the problem Click "go to app" (verify a black screen appeared in the leaving state)
Navigate between the tabs, check that the transitions works fine.
Here is the problem Click at any 'Click here' button (this will change the abstract view), note what happens to the leaving state.
Mysteriously, when you use the back button, the transition to the previous abstract view, works as expected.

Problem 2
Reload the no iframe to the start http://s.codepen.io/felquis/debug/ogLYJE

Click 'go to app'
The tabs.home is loaded
Here is the problem Click in 'Click here'

During the transition the leaving state doesn't turn black like before, but the leaving screen turn the app.login state with the red button and should be the tabs.home screen leaving with the green button.
Problem 3
Reload the no iframe to the start http://s.codepen.io/felquis/debug/ogLYJE

Click 'go to app'
Click in 'Click here' green button
Click in the back button
Now, click at profile in the tabs
Now, click at Config in the tabs
here is the problem, click at Home

Note that the leaving state stay above the entering state with an opacity before disappear.
Possible problem 4
I can't put tabs markup inside a ion-footer-bar tag? I need to use ion-footer-bar to Ionic correctly calculate the scrollable size of the screen, but the tabs inside ion-footer-bar seems broken as well as the .button-full that doesn't fill wall the width of the footer.
The .button-full is in the view app.oi, URL http://s.codepen.io/felquis/debug/ogLYJE#/app/oi/test/
...
I know I'm possible implementing Ionic wrong, but, the transitions between the states seems very correct, one state I need tabs and here I have navigation, another state I need anything, and here my apps continues to navigate correctly, with tabs the tabs doesn't change etc... (I don't have enough words to explain). It makes me feel that this is a problem with Ionic, not in my implementation of Ionic :)
Hope this help improve Ionic in some way.

So the over all issue is the setup of the tabs.
http://codepen.io/ionic/pen/odqCz
Update your pen to the correct setup
http://codepen.io/mhartington/pen/yyXEjX

Greetings @felquis!
My sensors indicate a reply was requested, but we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

@mhartington There's some way to use tabs but with animation between them?

I want to use abstract nested states, but this bug occurs when initally transitioning from a given state to the child state of an abstract state. Please fix! +1

+1

I am having the same issue here.
when using
var states = [{
  name: 'app.news',
  abstract: true,
  url: '/news'
}, {
  name: 'app.news.index',
  url: '',
  template: require('./templates/index.jade')
}];

and transitioning to app.news.index from a link in the page, I get a black transition screen.
However, if I replace it by
var states = [{
  name: 'app.news-index',
  url: '',
  template: require('./templates/index.jade')
}];

and transition to app.news-index I get a normal transition effect.

Same issue here. Also at the given fix, you're hiding the back button. Try to show it back and the black screen is there.

+1
Same issue here.
Removing "abstract" from parent state fixes transition but this is not a valid option for me as it potentially breaks states logic.


Nested collections support

Hey!
I added support for nesting collections inside other collections because I want to group my pages in two-level structure.
Let say I have an articles collection. Some articles are independent of others but some belong to the longer series about some topic and I want them to be listed together.
I also did some re-factoring of your code and I hope that you'll find it straightforward and concise.

I'm going to close this PR. There are far too many changes here that were unnecessary. If you still want this feature, it's best to only submit the change itself along with a test demonstrating that it works.


Use sync.Once instead of internal.Once

Store both result and error in cmdsInfoCache struct, so we can use
stdlib sync.Once instead of internal.Once.
This should also address the concerns raised by
https://github.com/go-redis/redis/issues/1317.
I don't believe internal.Once actually caused deadlock, but switching
back to stdlib sync.Once would eliminate that doubt.

internal.Once will can the fn again if there is an error. sync.Once will can the fn once and remember the error forever. This change does not look right.

internal.Once will can the fn again if there is an error. sync.Once will can the fn once and remember the error forever. This change does not look right.

Oh I missed the part that in internal.Once you only store done when it's successful.
I think that's what caused #1317 looks like a deadlock: when they have 10 concurrent calls to the same internal.Once.Do, in sync.Once implementation only one will be executed and others will return immediately after the one executed returns. But in internal.Once implementation, all the waiting ones will be executed as long as the previous one didn't success. So if the cluster is unhealthy, those attempts will wait for N*timeout. In the actual function executed, there's no context timeout either (https://github.com/go-redis/redis/blob/62469e4f420affe899ccfeadadcf25531078f94f/cluster.go#L1560), which makes the timeout to be even longer.

@fishy that is not quite correct. @vmihailenco is correct in that internal.Once is doing the correct intended behaviour. The func() is performed exactly once iff it returns err == nil.  If func() happens to block then the mutex waiters will, well.. wait.

Yea I understand that this PR is not the correct fix now. I'm just trying to have a discussion regarding #1317, or to some extend, the lock contention/error handling problem of go-redis library in general. If you prefer I can move this discussion to the issue instead.
We recently started to use go-redis to do some high volume requests, and observed occasional error/latency spikes. We tried redispipe and never observe any error/latency spike with the same usage. We do prefer go-redis overall feature wise (redispipe works better for this use case, but for it's lacking on some other, nor generic use cases), and want to avoid the situation of using two different redis libraries for different use cases in the same code base.
The retries on the errors here, is an example of go-redis code making a bad situation worse, as the reason I described above. I can understand the rational of "we only want to cache successes, not errors". But the current implementation could result in a lock being held for excessively long period of time. I don't know what's a good fix right now. Maybe we can make the timeout in ClusterClient.cmdsInfo more configurable? That's just a random idea.
Also we tried to apply this patch, and still observe the error/latency spikes (but probably less frequent), so this is not the only problem we hit.

I'm just trying to have a discussion regarding #1317,

that issue would be the appropriate place to discuss.

Closing this PR as we moved the discussion to #1317


druid-orc-extensions hadoop-common dependency is broken

druid-orc-extensions hadoop-common dependency is broken or maybe the extension isn't properly documented
Affected Version
0.13.0-incubating
Description
Using this modules:
druid.extensions.loadList=["mysql-metadata-storage", "druid-kafka-indexing-service", "druid-orc-extensions", "druid-hdfs-storage"]
du extensions/*
20032	extensions/druid-cassandra-storage
46928	extensions/druid-hdfs-storage
4240	extensions/druid-kafka-indexing-service
168	extensions/druid-lookups-cached-global
56640	extensions/druid-orc-extensions
136	extensions/druid-s3-extensions
1968	extensions/mysql-metadata-storage

Posting this task:
{
  "type": "index_parallel",
  "spec": {
    "dataSchema": {
      "dataSource": "my_orc_test",
      "metricsSpec": [
        {
          "type": "count",
              "name": "count"
            }
      ],
      "granularitySpec": {
          "segmentGranularity": "DAY",
          "queryGranularity": "second",
          "intervals" : [ "2018-07-10/2018-07-11" ]
       },
        "parser": {
          "type": "orc",
          "parseSpec": {
            "format": "timeAndDims",
            "timestampSpec": {
              "column": "time",
              "format": "auto"
            },
            "dimensionsSpec": {
              "dimensions": [
                "tag"
              ],
              "dimensionExclusions": [],
              "spatialDimensions": []
            }
          },
          "typeString": "struct<time:string,tag:string>",
          "mapFieldNameFormat": "<PARENT>_<CHILD>"
        }

    },
    "ioConfig": {
        "type": "index_parallel",
        "firehose": {
          "type": "local",
          "baseDir": "./",
          "filter": "*.orc"
        }
    }
  }
}

Got error from the spawned subtask:
2019-04-10T22:16:10,413 ERROR [task-runner-0-priority-0] org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner - Uncaught Throwable while running task[AbstractTask{id='index_sub_my_orc_test_2019-04-10T22:16:02.661Z', groupId='index_parallel_my_orc_test_2019-04-10T22:15:55.541Z', taskResource=TaskResource{availabilityGroup='index_sub_my_orc_test_2019-04-10T22:16:02.661Z', requiredCapacity=1}, dataSource='my_orc_test', context={}}]
java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable

The log also says the needed dependency jar is loaded beforehand:
2019-04-10T22:16:04,921 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/Users/egorryashin/a-druid-0.13-i/extensions/druid-hdfs-storage/hadoop-common-2.8.3.jar] for extension[druid-hdfs-storage]

The task doesn't work neither with druid-hdfs-storage loaded nor without it.
I spotted that while I was investigating https://github.com/apache/incubator-druid/issues/6925

Hi @egor-ryashin, index_parallel task supports only text formats currently. Probably the error message should be improved.

I think this is hitting the same extension classloading issue discussed here: https://github.com/apache/incubator-druid/pull/6430#pullrequestreview-197849152


keyword arguments

Hello!
Thank you for this wrapper! It is very useful for my work. I found a small mistake in the tutorial in README.md. There you suggest to extract ids in some range by calling
api.get_image_ids_in_range(startIndex=0, endIndex=100)
In fact, the keyword arguments are called start_index and end_index.

yeah...don't know why such a obvious bug

I had a look at the source code, the key should be "start_index" and "end_index"

I had a look at the source code, the key should be "start_index" and "end_index"


Jupyter Notebook: no module named ipykernel_launcher

Issue description
[I 10:16:12.608 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
/nix/store/p1bp0kpmxi7nzrla7n7c4waqic0a2myk-python3-3.6.4/bin/python3.6m: No module named ipykernel_launcher
Steps to reproduce
Installed Jupyter notebook, which starts normally. Executing Python code from inside the notebook however doesn't work.
Installed packages (from python36Packages):

jupyter_core
jupyter
ipython
ipykernel
notebook

Issue both in stable and unstable channels.
Technical details

system: "x86_64-linux"
host os: Linux 4.9.85, NixOS, 17.09.3129.1dcd022f01b (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(root): "nixos-unstable-18.03pre130719.a66ce38acea, nixos-17.09.3129.1dcd022f01b"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Retried succesfully with the instructions from https://nixos.org/nixpkgs/manual/#python (section <IP_ADDRESS>.2. Installing Python and packages).

@jwptrs What's the exact incantation you used to install and run jupyter notebook correctly? In the section you linked, I see some commands for building environments, but still not sure how to run jupyter... :/


ISSUE #1589 (solved) added new project Real-Time Face Direction Detector

This pull request introduces a Real-Time Face Direction Detector web application that uses TensorFlow.js and the WebRTC API to track the user’s facial position through the webcam. The app identifies whether the user is looking left, right, or straight by analyzing key facial landmarks.

fix  #1587


VB code?

So where is all the VB sample code?

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

ID: ae136ba2-802e-2a6b-5a97-90dd6738a1b0
Version Independent ID: edb07b26-18bc-651f-ca82-ea00137abc7b
Content: Title bar customization - Windows apps
Content Source: hub/apps/design/shell/title-bar.md
Product: uwp
Technology: design
GitHub Login: @hickeys
Microsoft Alias: hickeys

Hi - Unfortunately VB is not where we have decided to allocate our resources at this time. We're focusing on C#, and WinRT/C++ at the present.


Defining blocks documentation not rendering code snippet as blocks

Go to https://makecode.com/defining-blocks
The first code section should be in blocks, but instead it appears blank. The code text can be seen upon highlighting.

Browser: Edge, Chrome

It works on localhost


Neato D7 zones

Hi,
I am planning on buying a neato D7 but I have a doubt on whether I can use the zone functionality, available in their app to clean specific zone, in Hassio.
I did quite some search before posting but could not find an answer. Is this something feasible?
Thanks

Please do not use the issue tracker to ask questions about features, it is meant for bugs only.  There is a forum and you are also free to browse on github for what has been contributed.  I can tell you that the upcoming release will have support for D7 zones.  In the future please head over to discord or the community forums for questions.

Thanks Daniel for the information and sorry for posting in the wrong section.


service: install linux service file

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

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

Review period will end on 2021-05-05 at 14:23:21 UTC.

Review period ended.


Fix Hufflepuff page image path

Images in the hufflepuff page do not load due to wrong path

No problem, did not notice. Thanks for informing ✌


Ignore changes to creation timestamp from clients on update

CreationTimestamp is not an authoritative field (like UID) so mismatches
can be safely ignored.
Fixes #5183

Thanks for noticing and the fix, Clayton!
It's unclear if ignoring the creation timestamp is preferred vs. e.g. changing nodeController to not send creationTimestamp in the first place?

I think the general behavior of "GET", change a few fields, then "PUT" should be supported with minimal pain.  I thought that time skew was impossible, but it turns it out wasn't.  Since creationTimestamp can be safely ignored it seemed easier to just allow it to continue.  Open to counter arguments of course.
----- Original Message -----

Thanks for noticing and the fix, Clayton!
It's unclear if ignoring the creation timestamp is preferred vs. e.g.
changing nodeController to not send creationTimestamp in the first place?

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/5185#issuecomment-77912589

Do we need a custom comparison of this field to ignore timezone differences?
@smarterclayton What do you think about @alex-mohr's suggestion of changing the node controller to not send creationTimestamp in updates?

I'm happy to merge this for now while we debate "the right" solution(s).
Travis failed, though -- it looks like the same test in both 1.3 and 1.4.  Interesting that Shippable passed for once. :-)

----- Original Message -----

Do we need a custom comparison of this field to ignore timezone differences?
@smarterclayton What do you think about @alex-mohr's suggestion of changing
the node controller to not send creationTimestamp in updates?

That applies to every resource and every client.  Since everyone has to deal with it, I'd prefer to make it a non-issue centrally.  Comparison is relevant if we think it protects users (to do the check).  At least off the cuff I struggle to think of when I want an update call to fail because of something weird with time.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/5185#issuecomment-77936501

LGTM


Option to enforce double-click to open source member or IFS file.

I find myself single-clicking files and opening them randomly when I really didn't want the file or source member to open.
If others like single-click open functionality, create a setting called Single-Click-Open.
If enabled, function as does already.
If disabled, enforce double click opens.
Note: If I were to click a HUUGE file this could be disruptive.

A nonissue for the extension.
See this SO answer: https://stackoverflow.com/questions/46821368/visual-studio-code-open-file-shortcut-for-double-click

Not sure what you mean by non-issue ?  I cannot enforce double-clicking to open.

So people don't need to go elsewhere, here's the setting to add into your settings.json file for VS Code:
"workbench.list.openMode": "doubleClick"


sql: permit heterogeneous-typed tuple comparisons

PR: https://github.com/cockroachdb/cockroach/pull/14674

We have closed this issue because it is more than 3 years
old. If this issue is still relevant, please add a comment and re-open
the issue. Thank you for your contribution to CockroachDB docs!


Problems with default extension in save_as

Description of your problem
What steps will reproduce the problem?

Create a new file in editor
Try to save as the file

What is the expected output? What do you see instead?
It's expected that after of this PR #3580 extension by default be *.py instead of *.6pl
Please provide any additional information below
This had just been reported as repaired in #3625 by @ccordoba12

it'll be part of Spyder 3.0.2 :-)

Versions and main components

Spyder Version: 3.1.0
Python Version: 3.5.2
Operating system: LInux/Win

Dependencies
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  None (NOK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.11.2 (OK)
pandas >=0.13.1  :  0.19.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
psutil >=0.3     :  4.3.1 (OK)
pyflakes >=0.6.0 :  1.3.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.4.8 (OK)
sympy >=0.7.3    :  None (NOK)

Take a look to this @ccordoba12 and @goanpeca.
This PR #3765  can solve your problems @rlaverde with save_as feature.
any suggestions  and comments are welcome. :+1:


Fix/content hub/increase due dates row font size

Adds triggerButtonSizeMedium prop to <DueDatePicker> to set the font size of the date picker dropdown trigger

 Font Size for Due Dates Row should be 16px


Question about the results

The author mentions in the paper ". In this experimentation, YOLOv3 produces categorization accuracy of 12.42% and a mean IOU of 47.58% on FOD-A validation data" & "SSD provides categorization accuracy of 71.81% and a mean IOU of 68.05%."
However, using the same algorithm in my experiments obtained much higher results. Is it because of the resolution? ( I used VOC format data 300*300 )

Could you share your results? What implementation of YOLOv3 and SSD did you use?


ScriptClass thread-safety

Our current ScriptMethod API is handing a loaded gun to the user:

ScriptMethod(..., ExecutionThread.MainThread) pass Context and args down that aren't thread-safe to do anything with, because the user-code does not execute on the JavaScript-thread.
ScriptMethod(..., ExecutionThread.Any) is quite pointless; running a method on a thread takes time away from that thread. We should always care about what thread we do this to. So instead, methods who don't care about what thread they're on should simply create their own thread. With blackjack and... yeah.

The end result here is that we no longer peek on Fuse.Scripting.Object / Fuse.Scripting.Array on the UI-thread. This means a bunch of smaller threading-issues in our script-classes are fixed now.
This PR contains:

[x] Changelog
[x] Documentation
[x] Tests

@mortoray: I believe all your feedback have been addressed. What do you think?


backstage: update ctaalog entry

The system key is not mandatory, and add BoringSSL to dependencies while at it.

Typo in commit message but otherwise LGTM


Victor VosMottor: Watch +7\s?966\s?072\s?68\s?98

Victor VosMottor requests the watch of the watch_keyword \+7\s?966\s?072\s?68\s?98. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

\+7\s?966\s?072\s?68\s?98 has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Mast in Charcoal HQ. Reason: 'Incorrect watch for numbers.'


change default OpenJ9 to AdoptOpenJDK in buildStatus widget

fixes: #335
Signed-off-by: OscarQQ<EMAIL_ADDRESS>


[Proposal] Add the ability for Jobs to be watched after being dispatched

Ability for jobs to be watched and their state determined while being able to receive basic messages from the running job, independent of the underlying queue system.
Theory of Operation QueueWatcher, QueueWatchable

Uses a model to perform actions on the datastore, set in queue config. (could be a database, nosql, etc). job_watch: id:string, termination_requested:bool(F), time_started:int, time_completed:int, message:text, status:string
Create simple database based model and migration script
Jobs uses a QueueWatchable Trait
Jobs can pingWatcher()
Jobs can notifyWatcher($message)
Use Queue::before to QueueWatchable::markJobStarted()
Use Queue::after to QueueWatchable::markJobCompleted()
Use InteractsWithQueue to markJob{Status}( ) or implement within QueueWatchable and override the behaviour we want

Trait QueueWatchable:

setQueueWatchId($id = null): Returns a unique identifier for job
getQueueWatchId(): Returns a unique identifier for job
markJobStarted(): sets the time job commenced
markJobCompleted(): sets the time job completed
markJobReleased(): sets the time job commenced
pingWatcher(): Updates the time the job was last seen
notifyWatcher($message): Sets a message that can be retrieved
terminateJob(): Returns if the job should be terminated....not so sure about this.

class QueueWatcher

getLastSeen($id): Returns the last timestamp seen
getDuration($id): Returns how long the job has been running.
getNotification($id): Returns message set by job
getStatus($id, $clearFinished = true): Returns WAITING, RUNNING, FINISHED states. Removes Finished Jobs for Watch List
requestTermination($id): Send a kill request ...should we do this?

class FooJob extends Job
{
  use QueueWatchable;

  function __construct($data)
  {
      $this->setQueueWatchId();

      $this->data = $data;

  }

  function handle()
  {

    while($running) {

      //Do whatever

      $this->notifyWatcher('Doing bar in foo job');

      $this->pingWatcher();

      if ($this->terminateJob())
      {
        //Cleanup and exit

      }

    }

  }

}

  $job = new FooJob($data);

  $id = $job->getQueueWatchId();

  dispatch($job);

  $seconds = QueueWatch::getDuration($id)
  $timestamp = QueueWatch::getLastSeen($id);
  $status = QueueWatch::getStatus($id);

class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        Queue::after(function (JobProcessed $event) {
            $event->job->markJobCompleted();
        });
    }
}

AFAIK there is no queue independent way to do this.
Would this be welcomed to be included in the core?
Please review and give me some feedback.

This sounds like a fine package idea perhaps. Please do discuss this on our internals repo though if you'd like to raise a proposal for the core. We only process bugs on the framework issue tracker, as per our contribution guidelines.

Thanks @GrahamCampbell will do.


enhnaced print statement

Tamas Papp suggests on stan-users adding an enhanced print function specialized for variables.
Printing arguments to the print call
Instead of writing
print("i = ", i, ", x[i] = ", x[i], ", y[i] = ", y[i]);

there could be a function printvars which would be called as
printvars(i, x[i], y[i]);

This would print its arguments, too, followed by values, separated by commas. In Lisp-like languages one would implement printvars as a macro, since it needs to see the variable names it was called with, and I don't know if the parser of Stan retains this information.
When printvars encounters a literal string, it could just print that as
is, eg
printvars("debugging inner loop", i, x[i], y[i]);
would be equivalent to
print("debugging inner loop", "i = ", i, ", x[i] = ", x[i], ", y[i] = ", y[i]);
Interpolating, similar to printf
I guess there is no need to explain. Would extend current print in an upward-compatible way (except if one uses % in strings).
Interpolating version of printvars
Literal strings that have formatting directives would just gobble as many of the following arguments as needed, but otherwise it would work as printvars.

@bob-carpenter, should we keep this open? If so, I'll rename the issue to "add printf() function"

I hate to close this because it's actually a reasonably well-formed and concrete feature request, but:

I don't think it's worth having a new function print_vars just to print vars with names

I think printf() is a bad idea because it causes runtime errors that can't be caught at compile time

So I'm closing this reluctantly because I don't think we want to do it.

Thanks.
I'm guessing we can't think of something as concrete that we want to do?
On Wed, Nov 30, 2016 at 2:04 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

I hate to close this because it's actually a reasonably well-formed and
concrete feature request, but:

I don't think it's worth having a new function print_vars just to
print vars with names
I think printf() is a bad idea because it causes runtime errors that
can't be caught at compile time
So I'm closing this reluctantly because I don't think we want to do it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/880#issuecomment-263963525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F-EskCoHOZT2QDvGpur9j3Po81h0ks5rDcjHgaJpZM4CYKNx
.


Have fluentd pick-up autossh logs

Add config change to have fluentd pick-up autossh logs from /var/log/autossh-*.log.

is this needed for 2.14 release? then this can go into rc-2.14 branch instead of master (then we will merge this to master from there)

is this needed for 2.14 release? then this can go into rc-2.14 branch instead of master (then we will merge this to master from there)

@jadair-cloudera  do you know? I'm not familiar with cloudbreak's release schedule

@chi42 2.14 is the next release (October?). the release will happen based on rc-2.14 branch. if it goes only into master, that will be included in 2.15 release

Ah I see. Then yes, 2.14 release. thanks @oleewere

@chi42 , can you send this patch against rc-2.14 branch (cherry-pick this for rc-2.14 branch)


Docker Hub example needed ?

IMHO, this area should have in the left nav, a general description of Publish to DockerHub repository example / walkthrough.   It is a radio button for a Container Registry publish target type (Docker Hub).

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

ID: ff24ef73-d15f-83e5-d5d4-2b091b0a3e4b
Version Independent ID: 90b6657e-19fd-1780-1897-727e7e1c4a2b
Content: Visual Studio Tools for Docker with ASP.NET Core - Visual Studio
Content Source: docs/containers/docker-tools.md
Product: visual-studio-windows
GitHub Login: @ghogen
Microsoft Alias: ghogen

Please see
https://docs.microsoft.com/en-us/visualstudio/containers/deploy-docker-hub?view=vs-2019

@mtmazurik - Thanks for the feedback!  If you have any thoughts on this topic or suggestions for improvement, let me know.


Genolog far off screen looks like it's missing

When the genolog in one strain is far off the screen, it looks like the gene is missing from that strain.

Largely addressed by the introduction of landmark mode.

Comparison genomes are now simply scaled down horizontally if they are too big.


Question about Table 1 FrameDiff sample metrics

Hi Jason,
I am currently in the process of re-running the inference based on your paper. In particular, I am focusing on the metrics related to Table 1, specifically the FrameDiff sample metrics. Could you kindly provide some clarification on how the data from the sc_results.csv file is utilized in this context? I am encountering challenges in replicating the percentages reported in your paper using your provided weights.
My approach involves iterating through CSV files ranging from 100 to 500 with a step size of 5, and considering all samples within the range of 0 to 9.
And by the way, according to your paper, I found pdbTM is used to measeure the novelty of this model and diversity appeared in Table 1, and how are pdbTM and diversity calculated?
Your insights would be greatly appreciated.
Best regards,
Zheng

same question!

Here's the code I use
import os
import pandas as pd
import numpy as np
import plotnine as gg

def read_samples(results_dir):
    all_csvs = []
    print(f'Reading samples from {results_dir}')
    for sample_length in os.listdir(results_dir):
        if '.' in sample_length:
            continue
        length_dir = os.path.join(results_dir, sample_length)
        length = int(sample_length.split('_')[1])
        if length_cutoff is not None:
            if length > length_cutoff:
                continue
        for i,sample_name in enumerate(os.listdir(length_dir)):
            if '.' in sample_name:
                continue
            csv_path = os.path.join(length_dir, sample_name, 'self_consistency', 'sc_results.csv')
            if os.path.exists(csv_path):
                design_csv = pd.read_csv(csv_path, index_col=0)
                design_csv['length'] = length
                design_csv['sample_id'] = i
                all_csvs.append(design_csv)
    results_df = pd.concat(all_csvs)
    return results_df

def sc_filter(raw_df, metric):
    # Pick best self-consistency sample
    if metric == 'tm_score':
        df = raw_df.sort_values('tm_score', ascending=False)
        df['designable'] = df.tm_score.map(lambda x: x > 0.5)
    elif metric == 'rmsd':
        df = raw_df.sort_values('rmsd', ascending=True)
        df['designable'] = df.rmsd.map(lambda x: x < 2.0)
    else:
        raise ValueError(f'Unknown metric {metric}')
    df = df.groupby(['length', 'sample_id']).first().reset_index()
    percent_designable = df['designable'].mean()
    print(f'Percent designable: {percent_designable}')
    return df
    ```

Then in a notebook I run this

samples_df = read_samples(PATH_TO_INFERENCE_OUTPUTS)
Ensure we only consider 8 sequences per backbone.
samples_df = samples_df[samples_df.sample_id < 8]
scrmsd_results = sc_filter(fixed_model_df, 'rmsd')
sctm_results = sc_filter(fixed_model_df, 'tm_score')

I re-ran inference with the published model weights `paper_weights.pth` and got 25% scRMSD and 78% scTM for noise scale 0.1, N_steps 500, N_seq 8 which agrees with result in Table 1. Note there will be some variance in the metrics.

Hi Jason,
I want to express my gratitude for your assistance and the effort you've put into re-running the code with your paper's weight. I achieved similar results: 76.67% and match in the experimental outcomes. While reviewing the code, I came across the following line:
samples_df = samples_df[samples_df.sample_id < 8] # Ensure we only consider 8 sequences per backbone.

I was curious if there was a specific reason for setting the condition sample_id < 8. Could you please provide some insight into this choice?
Thank you once again for your help!
Best regards,
Zheng

No problem. The choice of 8 sequences is an convention for how many "chances" we get to find the matching sequence to the sampled backbone. I think it was started in one of David Baker's deep learning papers; I don't remember exactly which. This causes high variance in the success rates so I also included results with 100 sequences in table 1.

That make sense, thanks again for your invaluable help and time, Jason!


Use Gradle wrapper

We should probably use the gradle wrapper in our exercises. If we preload it, we can even remove the prerequisite for gradle.

duplicate of #50
Closed!


aur-sync: add --install to automatically install new package after building it

Right now, when installing a new package you have to do 2 actions:
1- aur sync package
2- sudo pacman -S package
With -install Aurutils would fetch the package, build it, add it to the repository database and install it right away.

It isn't aurutils job to install packages though, so this seems misplaced responsibility.

And again, if you want you can make your own wrapper aur-sync-install (something like below, but better), put it in PATH and use aur sync-install <package>.
aur sync $*
pacman -S $1

@maximbaz @Earnestly That makes sense to me. I'm just unaware of the way to proceed.
Maybe it would be useful to describe how to do it in a FAQ in the README?

I agree the documentation should be updated to reflect the new aur(1) design and how to drop-in your own scripts.

#217

The issue with the wrapper script https://github.com/AladW/aurutils/issues/304#issuecomment-367076222 is that it doesn't distinguish between aur-sync arguments, and package arguments.
One could use any of the print options (--no-build, --columns, --save) but this does not distinguish between arguments (explicit installation reason) and their dependencies. Placing an --install flag into aur-build has the same issue.


build esm module and update packages.json accordingly

Coverage remained the same at 100.0% when pulling e4d2c2b9de0d89c054faaf8b91dca9375420979d on feature/add-esm-module-support into f3c6455e179ffe72f89254f500ca8998a28f1001 on master.


Resolution problem

Why can't I run yolov4 tiny's USB video program at 1280 * 720 resolution?
But I seem to have run successfully before.
The terminal will report the following error.
/usr/bin/python3 /home/edit/code/Multichannel_Camera_Demo/main.py
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1757) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (515) startPipeline OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1055) setProperty OpenCV | GStreamer warning: no pipeline
WARNING:root:Camera: starting while cap is not opened!
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
ERROR: failed to open camera!
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pycuda-2019.1.2-py3.6-linux-aarch64.egg/pycuda/autoinit.py", line 14, in _finish_up
    context.pop()
pycuda._driver.LogicError: context::pop failed: invalid device context - cannot pop non-current context
QObject::~QObject: Timers cannot be stopped from another thread

After several runs, 800 * 480 resolution will not work.

/usr/bin/python3 /home/edit/code/Multichannel_Camera_Demo/main.py

I have no idea what this code does...

ERROR: failed to open camera!

One possible problem is that your camera does not support the requested resolution.

Thanks.
I tried to change a USB camera and it worked again.
The compatibility of the camera really puzzles me.


Need to disable Demo map page

Hi guys,
i need to disable the demo map screen.Can somebody help me to do dat ?

Either reverse proxy or during compilation:
go build -tags 'noRedisCache noGpkgProvider noViewer'

ya ok .. thanks @ani82 @ARolek @gdey  .. let me checkout docs...

@peldhose Did that work for you?

hey,
ya , i disabled it by making proxy nginx in front of tegola and blocked all requests except .pbf ..


metadata-json-lint: Allow 3.x

we should rebase it after https://github.com/voxpupuli/puppet_metadata/pull/17 got merged


fix(TDI-43509): Upgrade redshift driver

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-43509
What is the new behavior?
https://jira.talendforge.org/browse/TDI-43509
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: success :star:
Sonar results


Adding Office365DSC

New resource module submission
**Name: Office365DSC
Repository URL: https://GitHub.com/Microsoft/Office365DSC
Short description: PowerShell Desired State Configuration module for Office 365
New resource module submission task list
This task list can be filled in after the issue has been submitted.

[x] Pass the Quality Governance
[x] Pull request is sent in (see next section).
[x] The new module submission in ready for community review.

Steps that pull request should include

[ ] Added submodule using git submodule add https://github.com/<accountname>/<reponame> DscResources/<reponame>.
[x] Updated resource module list in Maintainers.md.

Community acceptance
The new resource module:

[x] is licensed under MIT.
[x] has the correct project structure.
[x] has a dev and master branch, and dev should default branch.
[x] is using DSC Resource Kit test templates.
[x] is connected to Codecov or similar.
[ ] has established a code of conduct in ether a CODE_OF_CONDUCT.md or a
'Code of conduct' section in the README.md.
[ ] has either a CONTRIBUTING.md file or a 'Contributing' section in the
README.md file.
[x] has included the metadata tag 'DSCResource' in the module manifest.
[x] is sufficiently documented.
[x] has an established CI process for each push to the repository.
[x] is sufficiently tested.
[x] Follows the guidelines set out for a
High Quality Resource Module.

Submission acceptance
The community accepts, at a community call, that a resource module follows the
guidelines set out for a
High Quality Resource Module.

[ ] The resource module was accepted for submission in a community call.

Linked to PR https://github.com/PowerShell/DscResources/pull/500 #500

@NikCharlebois Could you please check the boxes above when they are resolved/compliant? I think most you have resolved.
Is it possible to add Codecov status badeges to your repo so we can see the code coverage? (maybe we should update the template with that?)
Unfortunately only the issue author and a collaborator can change the checkboxes (my hope was that all contributors could have checked them, when I added the template).

@gaelcolas do we have an agenda entry for module submissions in the community call? So we remember to raise these issues. I check and add an entry if there aren't any.

Please add change to the agenda file in this PR.

Agenda merged in another PR.


Allow patching dependency sources

Adds support for patching dependency sources with patches and postPatch derivation attributes. This is a bit hacky, as patching any files requires recalculating the integrity value, which needs to be done at build-time. But it works, and I made sure to make the code resilient and commented.
This is a solution for https://github.com/nix-community/npmlock2nix/issues/110, as this allows doing patchShebangs on individual packages. npmlock2nix could also provide a predefined list of patches for individual packages for convenience in the future.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-26/18252/1

Thank you for the updates you provided. I'll try to get through them some afternoon this week.

Besides the override interface this looks fine and I'd accept it. @infinisil can you make that change?

@andir Changed the interface according to your suggestion.
While I think there's some redundancy to it (because it's probably always going to be a .overrideAttrs, and the old argument isn't really needed), I think the benefit of familiarity is beneficial enough. Also the implementation becomes a bit nicer.

(ping, does this look good?)


file_get_contents() is currently block on w.org themes

Kirki uses file_get_contents() in [FontRegistry.php#L256]
(https://github.com/aristath/kirki/blob/master/includes/Fonts/FontRegistry.php#L256). The theme checker blocks it as it could be used to load malicious code.
I reported the issue on the issue tracker for the theme checker. https://github.com/Otto42/theme-check/issues/55
I hope to bring this up at the next Theme Review Meeting on the Tuesday 21st April at 19:00 UTC. I thought I would inform you and hope to get some feedback before I do.

Well, in this case all we get is the list of GoogleFonts via json...
I suppose we could do it using $wp_filesystem
Let me experiment with that a bit, hopefully I'll have it fixed within the hour. :)

done. :) Now using $wp_filesystem.

I'll include this in the next release in a few days, in the meantime you can instruct that theme author to use the master branch. :+1:

It not a problem. The theme author just removed the file as they did not need the google fonts. I am surprised how fast you are but I suppose we both work around the same time :smile:

Yeah, we probably both work long hours... plus I really want to make this THE best option available out there for extending the customizer.
Your remarks and issues you create are really helpful!


Update symfony console to 3.0

Update symfony console to 3.0. Tests still passing

unfortunately symfony console 3.0 requires > PHP 5.5 so I can accept this until we drop support for the older PHP versions.

@robmorgan that would be nice actually, because right now I can't use Phinx in my project... I think supporting both ^2.7 and ^3.0 should allow anyone to use PHP 5.3, even though it is more than dead (but I won't argue about that here).

@willdurand I ran a survey and its clear only a very small percentage are using 5.3 now so I'm going to axe it in the next release. People can continue to use 0.5.x if required. Will write a blog post later.
In other news I can accept this PR now.

fixed in 7fe73eff94fa65cc6123ec839d3d4ef93667c5de.


(iOS) Tasks do not run when application has quit

Background fetch and Remote notifications are enabled. AppDelegate.m looks like this:
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [GeneratedPluginRegistrant registerWithRegistry:self];
  // Override point for customization after application launch.
  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

- (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)(void))completionHandler {
    completionHandler();
}

@end

Maybe related to https://github.com/hnvn/flutter_downloader/issues/7?

How did you quit your application? By pressing Home button or by killing it in the recent app screen?
iOS is not my domain of expertise but as far as I know, if you kill an application from the recent app screen, all of its background tasks will be terminated too. It's the design of iOS, if you implicitly terminate an application, it means you don't want that application run anymore (include all of its background tasks)

Yes I killed it manually. Here are the relevant docs:

If tasks have not yet finished and the system terminates your app, the system automatically continues managing the tasks in the background. If the user terminates your app, the system cancels any pending tasks.


Javascript Error on Macbook running Big Sur

Hey! So Unbox is doing its thing outputs correctly, etc, but it does throw a JavaScript error on the majority of interactions with the app.
Thanks!

Can you try moving the application to your desktop or applications folder? This error is usually caused by the app being in your downloads folder.


Microcart product options for just added product

When product is added to cart, "product.options" are printed instead of "product.totals.options" until totals are not loaded. And it seems that attribute code (lower first latter) is printed instead of attribute label.
Screenshot from https://demo.vuestorefront.io:

Maybe you should not omit configurable_options in cart/addItem action to be able to access option labels in microcart from there. Or should add labels to product.options.

That's for sure a good idea. It requires a change to be made in here: https://github.com/DivanteLtd/vue-storefront/blob/3d1d81c0e1aebfcdeda97ea7fec58b6d3ab8ef29/core/modules/catalog/helpers/index.ts#L385
Probably just a mapping to the product.configurable_options - there is already an option mapped: https://github.com/DivanteLtd/vue-storefront/blob/3d1d81c0e1aebfcdeda97ea7fec58b6d3ab8ef29/core/modules/catalog/helpers/index.ts#L365
So probably we need just to make use of the label property - as it wasn't there when this helper was created :)

@Cheeerd would you like to take care of this one?


Add a second merge option

Mapped reads are currenly merged into groups defined by the --merge option. Those groups are then used for both transcripts assembly and quantification. This PR separates --merge into two options, so that transcripts assembly and quantification can be done on different subsets.

Closed in favor of #4


angular-cli latest deployed with rc.7

Description
Updated current build to run app with angular-cli@latest, 1.0.0-beta.15 and webpack, 2.1.0-beta.22
What's included?

angular-cli will use latest webpack Beta 22 now.
no use of moduleId anymore

Test Steps

npm uninstall -g angular-cli
npm cache clean
rm -rf node_modules dist tmp
npm install -g angular-cli@latest
ng build
ng serve

Issues with current buid

Shadow DOM is not working with latest angular-cli. /deep/ is deprecated and not working anymore.
Issues with shadow dom on nested components mentioned here: https://github.com/angular/angular/issues/7400

Screenshots or link to CodePen/Plunker/JSfiddle

[X] webpack build with<EMAIL_ADDRESS>[X] updated to use angular 2.0.0 & router 3.0
[ ] hljs needs to be loaded correctly

[ ] Updated e2e setup.
[ ] Updated karma setup.
[ ] Updated travis CI config and added chrome support for travis.
[ ] Added workaround for issue https://github.com/angular/angular-cli/issues/1930

[x] Had to use require for highlight.js since they dont have ES6/typescript support and avoided linting that line for that file only (so we dont use require anywhere else).

Getting these warnings when running ng test
29 09 2016 14:23:33.402:WARN [karma]: No captured browser, open http://localhost:9876/

WARNING in<EMAIL_ADDRESS>45:15 Critical dependency: the request of a dependency is an expression

WARNING in<EMAIL_ADDRESS>57:15 Critical dependency: the request of a dependency is an expression

Everything else looks good for running tests.

I'm getting an error in terminal when running ng generate component my-new-component. Component scaffolding seems to have been created properly. 😄
installing component
  create src/app/my-new-component/my-new-component.component.scss
  create src/app/my-new-component/my-new-component.component.html
  create src/app/my-new-component/my-new-component.component.spec.ts
  create src/app/my-new-component/my-new-component.component.ts
Cannot read property 'read' of undefined
TypeError: Cannot read property 'read' of undefined
    at InsertChange.apply (/Users/jw186078/Projects/covalent/node_modules/@angular-cli/ast-tools/src/change.js:96:20)
    at /Users/jw186078/Projects/covalent/node_modules/@angular-cli/ast-tools/src/change.js:71:61
    at tryCatch (/Users/jw186078/Projects/covalent/node_modules/es6-promise/dist/lib/es6-promise/-internal.js:195:12)
    at invokeCallback (/Users/jw186078/Projects/covalent/node_modules/es6-promise/dist/lib/es6-promise/-internal.js:210:13)
    at /Users/jw186078/Projects/covalent/node_modules/es6-promise/dist/lib/es6-promise/then.js:24:16
    at flush (/Users/jw186078/Projects/covalent/node_modules/es6-promise/dist/lib/es6-promise/asap.js:94:5)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)

@indyplanets that issue is known https://github.com/angular/angular/issues/11580, but since angular-cli doesnt allow custom webpack.config.js atm, we cant fix it until a next angular-cli version.


Expand documentation of exceptions

Primarily makes it explicit that parsing errors raise Json_error, which isn't on the same page as parsing functions and didn't have any description. Surprisingly, serialization may also raise it in a corner case.
Secondarily, I reviewed all other raised exceptions to consistently document those as well (using @raise).

Can you please add a note to the changelog about your changes (short note, PR number and your GH handle)?

Done!

Excellent, thanks for the work!


Implement own randomize

Try to make it functional

This is a really important to have own unchangeable randomizer but it looks like a deep dive into math and implementation of a good one. Unfortunately I don't have so much time now. So lets postpone.
Here one of the good samples
https://en.wikipedia.org/wiki/Mersenne_Twister


Failure to display user-friendly names in generated spreadsheet.

Using the build_spreadsheet_with_links.py in @hewgreen 's branch (mg-links_builderv2), the following fields failed to display the user-friendly names in the column header (row 1):
donor_organism.organism_age_unit.text
donor_organism.development_stage.text
donor_organism.gestational_age_unit.text
donor_organism.height_unit.text
donor_organism.weight_unit.text
donor_organism.timecourse.unit.text
specimen_from_organism.organ.text
specimen_from_organism.organ_part.text
specimen_from_organism.preservation_storage.storage_time_unit.text
cell_suspension.cell_morphology.cell_size_unit.text
cell_suspension.timecourse.unit.text
collection_protocol.method.text
dissociation_protocol.method.text
enrichment_protocol.enrichment_method.text
library_preparation_protocol.input_nucleic_acid_molecule.text
library_preparation_protocol.library_construction_method.text
library_preparation_protocol.library_preamplification_method.text
library_preparation_protocol.cdna_library_amplification_method.text
sequencing_protocol.instrument_manufacturer_model.text
sequencing_protocol.method.text

It looks like all of these fields reference ontologies, but not all ontologized fields have this failure. For example, the fields donor_organism.human_specific.ethnicity.text and donor_organism.genus_species.text generate the correct user-friendly names.
Excel file attached.
generic_with_links.xlsx

Could you please confirm that this is still an issue with the latest version of the spreadsheet builder? I just did a test run and all user friendly names are correct and as expected.

Just checked. LGTM! Closing the issue.


[feature]  UI Enhancements

Version and OS
latest docker
Is your feature request related to a problem? Please describe.
I understand it's still a fairly new project so it's not entirely polished yet, so I thought I'd point out something that would help with it's aesthetics.

Add a column for the Group name(s)
Add a column for the icons that currently show after the title of the watch page (the external link, the share icon, the chrome icon, etc.)
Align the table so that content changes in it don't screw up the alignment. Currently, for example, if there's a change in an item, and the table header turns bold, the 3 icons in the far right column get all out of line (also happens when then "recheck" button turns into "queued"). Same with the text in the "last checked/last changed" columns. Aligning it all tot he right solves this.

.pure-table td {
    background-color: transparent;
    text-align: right;
}

the Website column is the only one that perhaps may still want left aligned, but that's not a big deal; right aligned still looks good, but it could be changed by doing:
.watch-table td.title-col {
    word-break: break-all;
    white-space: normal;
    text-align: left;
}

Once those 2 changes are added it'll looks like this:

(adding the icons mentioned above to their own column would further neaten it up.)

(as seen in the last website) if there's an error, the error msg is shown between the Title and the Group name, which makes a mess of things in that column; It would be cleaner to put the group name before the error, which would be solved by adding the separate Group(s) column I mentioned above, or even better, place the error msg in it's own column as well.
All external links open by default in a new blank page. Too many times I've been frustrated by clicking something liek the Github icon at the top right to come here while wanting to keep my CD page open as well, and then have to use the back button a bunch of times, or retype my CD url in the browser.

I liked the look so went ahead and added the css changes to a couple of PRs. =)

@STaRDoGG can you attach here some before & after screenshots?

Also how does it look when on mobile layout?

@STaRDoGG can you attach here some before & after screenshots?

Here are some; they're not great examples because sometimes the "changed" column's contents align things a little bit weird depending on what's in them, and I didn't really have good examples in my list.
I did notice that I missed a semicolon in the pure-min.css PR though in the .pure-table td selector (oops), I can submit it again, or you can just add it if ya want.
Original

New

Original Mobile

New Mobile

I think to really gussy it up some more tweaks might be made, like maybe formatting the white space in the digits to always be 3 chars wide, that way the text would always be "perfect", or adding some mobile detection and serving up specific mobile css, which might include making the text in the very top bar a bit smaller, and/or allow it to wrap so all items are on the screen at the same time instead of scrolling, but that's all just being a bit nitpicky and OCD. =)

I was taking a look at testing out adding the columns mentioned in her post as well, but I don't know python and it would take me too much time with the learning curve just to test it out, so I passed on it. I do like her idea though.


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2023-01-23)
update

登录注册完成 (1ff484c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/Heimatoutiao/releases/tag/v1.0.4 :sunflower:


Does not support Flake8 5+

Hi there,
Flake8 5.0.0 refactored the options config parsing, and removed the class that is currently mutated, preventing this method from working any more.

Yes, I know.

Fixed in Flake8-pyproject 1.0.0, released today.


remove link to old sharing server

in our readme.  and update the readme of the sharing server to indicate it's no longer used.

https://github.com/twosigma/beaker-notebook/commit/e583e171db048bc208b7779c0994aad6471ef356

https://github.com/twosigma/beaker-sharing-server/commit/77c12fdb8808638e41f79bedbe88960614cb9d21


Zalcano (updated) requirements [OSB]

🚀 Feature Edit:
With the release of gauntlet and correct requirements for SOTE being needed, should also roll over to Zalcano and force the same SOTE reqs.
Quest Points as well

70 Agility
70 Construction
70 Farming
70 Herblore
70 Hunter
70 Mining
70 Smithing
70 Woodcutting

resolved


Drag and drop

How to drag and drop multiple elements at the same time?

Maybe in next version it will be integrated. You could create pull request and we integrated this feature ))


HBASE-24189 WALSplit recreates region dirs for deleted table with rec…

…overed edits data.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 4 new or modified test files.

_ branch-1 Compile Tests _

+0 :ok:
mvndep
2m 24s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
8m  6s
branch-1 passed

+1 :green_heart:
compile
1m  2s
branch-1 passed with JDK v1.8.0_252

+1 :green_heart:
compile
1m  7s
branch-1 passed with JDK v1.7.0_262

+1 :green_heart:
checkstyle
2m  4s
branch-1 passed

+1 :green_heart:
shadedjars
2m 59s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 57s
branch-1 passed with JDK v1.8.0_252

+1 :green_heart:
javadoc
1m  3s
branch-1 passed with JDK v1.7.0_262

+0 :ok:
spotbugs
2m 39s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 57s
branch-1 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 53s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed with JDK v1.8.0_252

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
compile
1m  6s
the patch passed with JDK v1.7.0_262

+1 :green_heart:
javac
1m  6s
the patch passed

+1 :green_heart:
checkstyle
1m 58s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
2m 51s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
4m 48s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

+1 :green_heart:
javadoc
0m 50s
the patch passed with JDK v1.8.0_252

+1 :green_heart:
javadoc
1m  4s
the patch passed with JDK v1.7.0_262

+1 :green_heart:
findbugs
4m  4s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 55s
hbase-common in the patch passed.

+1 :green_heart:
unit
125m 28s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 58s
The patch does not generate ASF License warnings.

177m 30s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1896/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1896

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 211666792ec0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1896/out/precommit/personality/provided.sh

git revision
branch-1 / a21e904

Default Java
1.7.0_262

Multi-JDK versions
/usr/lib/jvm/zulu-8-amd64:1.8.0_252 /usr/lib/jvm/zulu-7-amd64:1.7.0_262

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1896/1/testReport/

Max. process+thread count
4095 (vs. ulimit of 10000)

modules
C: hbase-common hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1896/1/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.0.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


feat: move subscribe link to the calendar header

I've changed the styling and position of the calendar subscribe link to be inline with the page heading for the following reasons:

The link is styled like a link because it leads to a page. Button styling would imply that it does something on the current page in our site design language
The link pertains to the entire calendar and not a specific month so putting it at the top level creates the correct association
Adding the link to every month heading gives it more importance that is needed. This link will likely be used by very few people.
The small text is not sufficiently legible.

Deploying preview to https://xHain-hackspace-xhain-website-pr-75.surge.sh

@jdwillemse may you rebase on latest main and fix the conflict, please.


Update jessie-backports URL

Update jessie-backports URL as described in this post.

Hopefully this will fix the issues we've seen in #18477. CC @jtattermusch and @jiangtaoli2016.

I had to change a lot more files to get all of the updated docker files to actually build, so it would be good to check them again.

LGTM again. I checked the test failures and they seem to be mostly:
https://github.com/grpc/grpc/issues/17794

Does this need to be backported to v1.19.x to fix https://github.com/grpc/grpc/issues/18646?


A class that extends WorkManager but not identified as public will throw an error on an API>=28 physical device or when recording a Firebase RoboScript on the emulator but not when actually running it in the emulator

Pulling my hair out because of this, turns out my class was defined as
class UpdateNotification extends Worker {
and not
public class UpdateNotification extends Worker {
this caused issues on Pixel 3 devices but could not be identified in the emulator.

Thanks for reporting this.
I'm closing this issue because this forum is for issues with the codelab.
If you think that this is a problem of the WorkManager library, please open a bug on the WorkManager public issue tracker: https://issuetracker.google.com/issues/new?component=409906&template=1094197
Please reopen if you still think this is an issue with the codelab.


simple optimization

I don't like the style changes from 74cbe71 at all, there are a select few of them I will keep but in general I prefer
if(...)
over
if (...)

kk

I'll replace this with #41 which is basically 78475bb with some changes from 74cbe71


[libra-framework] Updated the tags for the access control specs

temporarily added a draft of the updated LIP-2

move-prover/doc/user/access-control.md

aligned the labels (e.g., [G2]) with the updated LIP-2

Motivation
Alight the access control property labels with the updated LIP-2
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
cargo run

/land

make the [A2] refs links to the table
Do you mean links from the access control specs in the module documents to the table in the LIP-2?


feat(lint): add linting over the style guide examples

After @wardbell merged the style guide with master, I'm opening PR with the tslint integration against master.

Add tslint with the ruleset of nglint (codelyzer) and perform linting over the style guide examples.
The tslint rules should be customized. In this PR I added only the style guide related once but the default set of rules also gets applied.

We need to agree on a set of rules to apply over the code samples.
@wardbell let me know if the build should fail in case any of the styles is not properly followed and if I need to do any other changes in order to wire it with the deployment process.

@johnpapa do we still need this?
// cc @wardbell @igorminar

i like. Ward and I are out of pocket for the week, and may not be able to review much til next week though

@Foxandxss can you run this and test it out?

@wardbell can we get this in, if it tests out to your liking?

Currently we're running linting only over ./public/docs/_examples/style-guide/ts/**/*.ts. John, let me know if you want to include another directory as well.

We likely can't lint all of those as there are /* avoid */ ones in there. @Foxandxss and you could find a convention to exclude those from the linting pattern though. So that could work.

Yes sir. I decided to put all the /* avoid */ in a kitchen-sink.ts file that Ward also used in the first example. Not sure what he thinks about that, but if we have all the avoid examples in one file with same name (or suffix) we can ignore it easily.
Check angular/angular.io#1184

@Foxandxss last week I was thinking about how linting would work with the /* avoid */ examples and my proposal was to include that in the file name (*.avoid.ts and *.recommended.ts). John seemed to be ok with that.
This would help with globbing them, and the guide could still mask the filename using +makeExample.

I am ok with *.avoid.ts and *.recommended.ts. I just saw the new v4 of the guide having kitchen-sink.ts to have the "non interesting for testing / link and to avoid" in just one file so I am following that convention in all cases. It is easy to ignore by using one file name.
So whatever @wardbell or @johnpapa on the naming.

Closing because incorporated in https://github.com/angular/angular.io/pull/1180

we dont need .recommended.ts ... just need some way to identify avoid ones.


Alternative syntax for globals

Right now we declare globals using the type e.g. I32.global(name: 42) or F32.global(blah: 1.5)
What if instead we allowed module attributes to be the globals? This would let normal Elixir code read their values too, as we’d keep the attribute definitions. It would also match the current @some_global syntax to read a global in functions.
It could look like:
export_global :mutable do
  @some_int32 42
  @xn 0.96422
  @yn 1.00000
  @zn 0.82521
  @k :math.pow(29, 3) / :math.pow(3, 3)
  @e :math.pow(6, 3) / :math.pow(29, 3)
end

You can see that whether it is an integer or float is detected by from its Erlang type (is_integer(42) vs is_float(42.0))
In a future world with 64-bit numbers, they would be enabled using a parameter export_global :mutable, 64 do or a name like export_global64 :mutable do

Another alternative is Global.expose_attributes([:xn, :yn, :zn, :k, :e])

This has been added to Orb. The approach to 32 vs 64-bit is still to be worked out.


After updating to 2.6.0 getting 400 error on /api/send endpoint

Describe the Bug
After updating to 2.6.0 the script on my site is getting 400 error on /api/send endpoint
Database
PostgreSQL
Relevant log output
No response
Which browser are you using? (if relevant)
Any
How are you deploying your application? (if relevant)
Vercel

we have a hotfix for this coming out today. Looks like same issues as #2247.

Fixed in v2.6.1.


Added rule for "_" suffix for internal variables

New rule for "_" suffix for internal variables: variables with no visibility qualifier or private or internal variables. Does not apply for variables in a function

This is WIP

@elopio  You are right, I will add tests for explicit internal and private declarations.
For readability, I think we should also reject public state variables with underscore prefix


Feature/scipy1.10

Features

Improve interpolation performance by cythonizing linear interpolation. This extends the approach taken in scipy 1.10. The pycontrails cython routines allow for both float64 and float32 grids via cython fused types (the current scipy implementation assumes float64). In addition, interpolation up to dimension 4 is supported (the scipy implementation supports dimension 1 and 2).
Officially support scipy 1.10.

Breaking changes

Change MetDataset and MetDataArray conventions: underlying dimension coordinates are automatically promoted to float64.
Change how datetime arrays are converted to floating values for interpolation. The new approach introduces small differences compared with the previous implementation. These differences are significant enough to see relative differences in CoCiP predictions on the order of 1e-4.

Fixes

Unit tests no longer raise errors when the pycontrails-bada package is not installed. Instead, some tests are skipped.

Internals

Make the interpolation module more aligned with scipy 1.10 enhancements to the RegularGridInterpolator. In particular, grid coordinates now must be float64.
Use cibuildwheel to build wheels for Linux, macOS (arm64 and x86_64), and Windows on release in Github Actions. Allow this workflow to be triggered manually to test the release process without actually publishing to PyPI.
Simplify interpolation with pre-computed indices (invoked with the model parameter interpolation_use_indices) via a RGIArtifacts interface.
Slight performance enhancements to the met module.

Tests

[x] QC test passes locally (make test)
[x] CI tests pass

Reviewer
@mlshapiro I still have work to do on the distribution side of this. I may want to hold off merging until I can test better on windows.
Interpolation performance
I've pasted plots of interpolation times on the head main and the head of this branch.
Both axes are log-scaled.

Both axes are linear scaled.

The same information in table form. A larger ratio is better.

vector_size
ratio

10
2.33

12
3.22

15
2.26

20
2.28

25
2.35

32
2.27

40
2.28

51
2.3

65
2.3

82
2.3

104
2.34

132
3.19

167
3.04

212
3.12

268
3.15

339
3.09

429
3.06

542
2.95

686
2.54

868
2.6

1098
2.54

1389
2.33

1757
2.16

2222
2.08

2811
1.97

3556
1.93

4498
1.89

5689
1.87

7196
1.87

9102
1.86

11513
1.79

14563
1.82

18420
1.78

23299
1.84

29470
1.86

37275
2.03

47148
2

59636
2.02

75431
2.04

95409
2.03

120679
2.06

152641
2.04

193069
2.11

244205
2.14

308884
2.24

390693
2.28

494171
2.16

625055
2.19

790604
2.15

1000000
2.28

Wow these numbers are pretty astounding. I agree that we should wait to test on Windows before merging, but amazing work getting this packaged for linux/mac.
I'll review test more deeply (e.g. benchmark tests)


How to use Options validation with dotenv?

See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options#options-validation

It is very simple.
Consider the following .env file:
Key1=My Key One
Key2=10
Key3=32

In your Program.cs file add the following:
// Loads default file: .env
new EnvLoader().Load();
// Adds an IConfigurationProvider that reads configuration values from environment variables.
builder.Configuration.AddEnvironmentVariables();
builder
    .Services
    .AddOptions<MyConfigOptions>()
    .Bind(builder.Configuration)
    .ValidateDataAnnotations()
    .ValidateOnStart();

When the application is executed the method called ValidateOnStart will check if the members of MyConfigOptions comply with the validation rules.


[Bug] fix Tags empty reference core dump

Proposed changes
key may have been destructed when key reference is called.
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have created an issue on (Fix #7042) and described the bug/feature there in detail
[] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

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

Introduced from #6600


Fixes compiling warning on MSVC by cast the type properly

I think these should probably use static_cast or reinterpret_cast as appropriate.


"Is this IP on a resource-wasting crusade?" lookup

I guess just collecting the ASNs belonging to

Censys
"Expanse, a Palo Alto Networks Company"
etc.

I think this is a bit out of scope for Soup.


note: handle tcb is empty, so that it can also record before the driv…

Summary
drivers: handle tcb is empty, so that it can also record before the driver initialization
Impact
Testing
sim/note

please resolve the conflict.

please resolve the conflict.

done


Feat/postonboarding state logic and UI

📝 Description
This PR add the post onboarding UI and logic for LLD
❓ Context

Impacted projects: ledger-live-desktop
Linked resource(s): EPIC: FAT-232, tasks: FAT-307 FAT-309 FAT-310, merge ticket: FAT-530

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo
https://user-images.githubusercontent.com/29443638/193854184-7df71ba8-7a9e-4617-b638-4a8284681cd5.mp4

🚀 Expectations to reach
How to test this feature ?

You should start LLD with this env variable: DEBUG_POSTONBOARDINGHUB=1
On Settings -> Experimental features you should see this button
Once clicked the Post Onboarding Screen will be displayed
You can either skip on choose an action. If you choose an action, it will open the mocked action in a Drawer in the Dashboard
You can complete the mocked action and go back to the dashboard or go back to the PostOnboardingHub
If you quit Ledger Live the state of the PostOnboarding will be saved (Action you have completed)
If there is remaining actions to be completed there will be a banner in the Dashboard. If you click it, it will open the PostOnboardingHub in a Drawer.

Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@pierrelouis-c FYI this PR don't pass the typechecks.


Improve COLESLAW-CONF:BASEDIR tests

Check for the presence of plugins and themes sub-directories. This is to
ensure that COLESLAW-CONF:BASEDIR is not bound the directory of the
FASL cache.

The travis build seems to fail because it doesn't find the git ref of the PR, unrelated to the code changes
The command "eval git fetch origin +refs/pull/114/merge:" failed. Retrying, 3 of 3.


Implement ender pearls

Will get to this tomorrow.

Just need some clarification on a comment, and then I think this should be ready to merge

Anything else I should change here?

@Sandertv

Just need to resolve conflicts, and then this should be ready for another review.

Moving this PR to the base repository because of issues with my fork.


feat(metrics): helm add additionalLabels

Hi, thanks for your contribution!
It looks good to me, and it could be better if you provide examples for this configuration in values.yaml, thank you!

I've added an example in values.yaml


Default privacy or default rule

Hello,
I have just started testing rodeo, and I was trying to find a way to apply a default privacy setting other than true for all three groups.
The default public setting appears to be hard coded, and it doesn't seem possible to use wildcards in the rules to effectively set a non-default privacy setting on all uploads.
Is there some way to do this?  Thank you very much.

It's not possible at the moment, but it's a really good idea.
It shouldn't be hard to add some global settings for those parameters in the uploads: section of the config file.

Thanks, that would be great.


auth: temporarily disable node-based auth gc

Currently, auth map garbage collection based on deleted node events provokes issues in combination with enabled encryption.
The actual problem is that there are combinations where garbage collection unintentionally allocates node ids when trying to resolve the node IDs for a given node IP. This results in multiple node ids for the same ip, which breaks encryption.
Therefore, this commit temporarily disables auth map garbage collection based on deleted node events.
Fixes: #25964

/test

/test

/test

/test

/ci-multicluster

/ci-external-workloads


CRC32 checksum failing for project 00f6f940-570a-4936-9ab5-f572b7e018f5

Description of the task:
3 files for project HumanAdultUreter are not passing the crc32 checksum assertion when imported
Wrangler: Will Sullivan
The ~s3 area has been deleted~ ( @ESapenaVentura has since re created it ), so there is currently no way for us to check if files were corrupted over the export process
Files with this error are:

SRR15896955_R1.fastq.gz see on s3, see on terra staging area
SRR15897021_R1.fastq.gz
SRR15897092_R2.fastq.gz

Error message (from Nate):
ERROR:hca.staging_area_validator:Error with file: prod/00f6f940-570a-4936-9ab5-f572b7e018f5/data/SRR15896955_R1.fastq.gz
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/hca/staging_area_validator.py", line 141, in validate_files
    validate_file_fn(blob)
  File "/usr/local/lib/python3.9/site-packages/hca/staging_area_validator.py", line 295, in validate_data_file
    assert metadata_file['crc32c'] == base64.b64decode(blob.crc32c).hex()
AssertionError

Data files are available in the original upload area:
Acceptance criteria for the task:

[ ] The descriptors or data files are updated in the staging area (Depending which one is wrong)
[ ] The import team is notified
[ ] The underlying issue is determined

I have asked @willrockout for the files to check

the hca-util upload area is 0e69c013-2d44-4441-9a55-21ba95c27171

@ESapenaVentura I reset the submission status into Draft for https://contribute.data.humancellatlas.org/submissions/detail?uuid=a8f8dc60-4c43-470d-a3b5-05135d91e3a6&project=00f6f940-570a-4936-9ab5-f572b7e018f5
and redeployed the state-tracker.

Current checksums that we have to change:

SRR15896955_R1.fastq.gz:
"checksums": {
"sha1": "f49dde3414a3917f2b282a463051147659212dea",
"sha256": "72a8376bd13deb7e60ad781ce6b51832c3e1f242a364eba8063eed990ff28526",
"crc32c": "DA1D385D",
"s3_etag": "cadefa44a95eba296328f3865845b82c-15"
}
SRR15897021_R1.fastq.gz:
"checksums": {
"sha1": "7b00671cd07d97f80dbcbd95fdcf4fdfa3b9938d",
"sha256": "664d7ac3639fe36a4f43e50532dd0c1f82ce48f39f323055fad58be5bf790f4f",
"crc32c": "0EF91328",
"s3_etag": "70bffdeeb8e1f9f39f9394a1aab6f501-14"
}
SRR15897092_R2.fastq.gz
checksums": {
"sha1": "bd14695c42ca7c5a38eb465326b4347e8da0c511",
"sha256": "fdcf83ae3662a56ba8b4d356a9c7966b9334fe13816c03011c9b454ce406f916",
"crc32c": "E2565CD9",
"s3_etag": "f9ab0439614ed6eebdce259f00f8ae96-13"
}

file descriptor for SRR15896955_R1.fastq.gz

@amnonkhen & @ke4 ran the crc calculation lambda function manually fmor the aws console.
Results for SRR15896955_R1.fastq.gz
{
   'sha1': 'f49dde3414a3917f2b282a463051147659212dea',
   'crc32c': 'DA1D385D',
   'sha256': '72a8376bd13deb7e60ad781ce6b51832c3e1f242a364eba8063eed990ff28526',
   's3_etag': 'cadefa44a95eba296328f3865845b82c-15'
}

The crc comparison fails in this file from the data import team:
    assert metadata_file['crc32c'] == base64.b64decode(blob.crc32c).hex()

The left side is taken from the file descriptor, the right side is Google's API response for the data file.
We still do not know the reason for the mismatch.

Update from Nate:

Okay, I do see a disconnect. The descriptor file for SRR15896955_R1.fastq.gz (f180aa2f-ce44-4cfb-bacf-fda62ee3daec_2022-05-30T18:25:44.577000Z.json) has a crc32c recorded of “da1d385d”, but when I pull the crc32c from the metadata for the actual data file and run it through this code: base64.b64decode(“on3nLw==“).hex(), it returns “a27de72f”

next steps: download the file from s3 and staging area and compare size, contents and crc.

in the ec2, in /data/eventura/descriptors you should be able to find SRR15896955_R1. The one named SRR15896955_R1.fastq.gz is the one from the staging area and the one named SRR15896955_R1_s3.fastq.gz is from the ingest bucket.
I used sha1sum and crc32 bash programs on both and got:
(base) eventura@ip-172-31-71-222:/data/eventura/descriptors$ crc32 SRR15896955_R1.fastq.gz
f1321933	BAD f1321933 != 15896955
(base) eventura@ip-172-31-71-222:/data/eventura/descriptors$ sha1sum SRR15896955_R1.fastq.gz
976b4fd88963600d9da11b88d4f30be0e9c3ee8f  SRR15896955_R1.fastq.gz

and
(base) eventura@ip-172-31-71-222:/data/eventura/descriptors$ crc32 SRR15896955_R1_s3.fastq.gz
f1321933	BAD f1321933 != 15896955
(base) eventura@ip-172-31-71-222:/data/eventura/descriptors$ sha1sum SRR15896955_R1_s3.fastq.gz
976b4fd88963600d9da11b88d4f30be0e9c3ee8f  SRR15896955_R1_s3.fastq.gz

I don't know if these are correct calculations as I am using the programs available in the EC2

But also please stop working for today, we can discuss it tomorrow. There is no hurry now, this dataset has been pushed to R18

Thanks, @ESapenaVentura, I just downloaded the files and did the same crc calculation as you.
The "BAD" messages in the output are because the crc32 tool compares the calculated checksum with the first block of 8 hexadecimal characters in the filename.
In the case of:
(base) eventura@ip-172-31-71-222:/data/eventura/descriptors$ crc32 SRR15896955_R1_s3.fastq.gz
f1321933	BAD f1321933 != 15896955

We have:

f1321933 the calculated crc32 checksum
15896955 first hexadecimal 8 character block in the file name
They differ, so the tools classifies this as BAD.

@ESapenaVentura and @amnonkhen you are calculating CRC32 and NOT crc32c. They are not the same AFAIK.
https://stackoverflow.com/questions/26429360/crc32-vs-crc32c

Next steps:

[ ] backup original SRR15896955_R1.fastq.gz file entity
[ ] remove checksums from file entity
[ ] rerun checksum calculation lambda
[ ] compare results

Importing the project from scratch to see if the error appears again

This is the original spreadsheet for the submission: https://app.zenhub.com/files/261790554/babeb819-49fd-4518-91b2-30c6f769c675/download

I created a new submission on prod to test this issue using the original spreadsheet: https://contribute.data.humancellatlas.org/submissions/detail?uuid=e2ae95d3-d547-4c38-becd-8ed5448a7f3e&project=9833669b-d694-4b93-a3d0-6b6f9dbcfc10

We are using the original hca util upload area to sync the files: s3://hca-util-upload-area/6c52d0c1-c41f-44d2-9fc1-fe7fe0851ca0/

The file upload has started

I check the 1st file in the ticket(SRR15896955_R1.fastq.gz) in my test submission: https://api.ingest.archive.data.humancellatlas.org/files/62a1c3b5b85bb84636c5b01d
and it looks like it calculates the correct checksum now. The one that terra has. Not the one the ingest has in the original submission.

CRC32C value from terra:
amnon@cloudshell:~$ gsutil hash gs://broad-dsp-monster-hca-prod-ebi-storage/prod/00f6f940-570a-4936-9ab5-f572b7e018f5/data/SRR15897021_R1.fastq.gz

WARNING: You have requested checksumming but your crcmod installation isn't
using the module's C extension, so checksumming will run very slowly. For help
installing the extension, please see "gsutil help crcmod".

Hashes [base64] for prod/00f6f940-570a-4936-9ab5-f572b7e018f5/data/SRR15897021_R1.fastq.gz:
        Hash (md5):             H1X1bxUOVeFOskSTd/LLHg==
        Hash (crc32c):          z5QABQ==
amnon@cloudshell:~$ echo z5QABQ== | base64 -d | hexdump -v -e '/1 "%02x"'
cf940005

The values are identical ignoring the case.
Since the exporter will lower the case, it appear to be in order.

I removed the 3 files from the original submission (SRR15896955_R1.fastq.gz, SRR15897021_R1.fastq.gz, SRR15897092_R2.fastq.gz) : https://contribute.data.humancellatlas.org/submissions/detail?uuid=a8f8dc60-4c43-470d-a3b5-05135d91e3a6&project=00f6f940-570a-4936-9ab5-f572b7e018f5 yesterday.
I also created a new hca-util-upload-area with these 3 files: s3://hca-util-upload-area/7b9e0381-1988-4216-af5b-d29634c3b43a/

Plan:

[ ] rename original project, add prefix [DON'T USE bad crc dcp-815] to name and DONT_USE_DCP_815_ to label
[ ] rename new project as the original name and remove the dcp-815 from its name
[ ] move new project through ingest, validate, export
[ ] validate crc correctness
[ ] update import form: remove original project, insert new one
[ ] update Will on Slack

For the 1st file in this ticket (SRR15896955_R1.fastq.gz):
gsutil ls -L gs://broad-dsp-monster-hca-prod-ebi-storage/prod/9833669b-d694-4b93-a3d0-6b6f9dbcfc10/data/SRR15896955_R1.fastq.gz | grep Hash
    Hash (crc32c):          on3nLw==
    Hash (md5):

file descriptor for that file from terra:
{
  "file_id": "d70fdbf5-53e3-4bc9-b98e-5c1fdbba678c",
  "file_version": "2022-06-09T09:56:05.458000Z",
  "file_name": "SRR15896955_R1.fastq.gz",
  "content_type": "binary/octet-stream; dcp-type=data",
  "size":<PHONE_NUMBER>3,
  "sha1": "976b4fd88963600d9da11b88d4f30be0e9c3ee8f",
  "sha256": "870c7727398ea92a8c9a9def3093365d6dabb4c7918cb4d96ad8aa574bf2bedf",
  "crc32c": "a27de72f",
  "s3_etag": "f8068c06406dfe549442b4f39d2a28ff-176",
  "schema_type": "file_descriptor",
  "describedBy": "https://schema.humancellatlas.org/system/2.0.0/file_descriptor",
  "schema_version": "2.0.0"
}

That is matching what Nate had previously for that file, so we should be fine with this one.
I am going to check the others later tonight as I need a brake now. 😜

For the 2nd file in this ticket (SRR15897021_R1.fastq.gz):
$gsutil ls -L gs://broad-dsp-monster-hca-prod-ebi-storage/prod/9833669b-d694-4b93-a3d0-6b6f9dbcfc10/data/SRR15897021_R1.fastq.gz | grep Hash
    Hash (crc32c):          z5QABQ==
    Hash (md5):             H1X1bxUOVeFOskSTd/LLHg==

$echo z5QABQ== | base64 -d | hexdump -v -e '/1 "%02x"'
cf940005

file descriptor for that file from terra:
{
  "file_id": "98fe3ef9-cd19-47f2-ab49-5954e06c567f",
  "file_version": "2022-06-09T09:56:07.810000Z",
  "file_name": "SRR15897021_R1.fastq.gz",
  "content_type": "binary/octet-stream; dcp-type=data",
  "size":<PHONE_NUMBER>7,
  "sha1": "c15a6a5dc2a7e2a30dc2451c623cd8730ea006d4",
  "sha256": "18193d944a0c31a76b01610c16ebc673f943683e85ab740c31cbfa063fb67d12",
  "crc32c": "cf940005",
  "s3_etag": "2f74fd5a84a932c03f8769e435a88b23-177",
  "schema_type": "file_descriptor",
  "describedBy": "https://schema.humancellatlas.org/system/2.0.0/file_descriptor",
  "schema_version": "2.0.0"
}

That is matching with the above calculation.

For the 3rd file in this ticket (SRR15897092_R2.fastq.gz):
$gsutil ls -L gs://broad-dsp-monster-hca-prod-ebi-storage/prod/9833669b-d694-4b93-a3d0-6b6f9dbcfc10/data/SRR15897092_R2.fastq.gz | grep Hash
    Hash (crc32c):          HW7lng==
    Hash (md5):             4Y+Le93QswE/j2xkbj5VLQ==

$echo HW7lng== | base64 -d | hexdump -v -e '/1 "%02x"'
1d6ee59e

file descriptor for that file from terra:
{
  "file_id": "b68c00e4-8584-4b32-82a3-1234d72edd3f",
  "file_version": "2022-06-09T09:56:05.202000Z",
  "file_name": "SRR15897092_R2.fastq.gz",
  "content_type": "binary/octet-stream; dcp-type=data",
  "size":<PHONE_NUMBER>3,
  "sha1": "87efc09c34ca1646c5edba436e23b2a69a40d6d6",
  "sha256": "6cd65736bbfb03356d5fb1a8d00707ed0a519666a1bbf9511a9c0dba5cab27cc",
  "crc32c": "1d6ee59e",
  "s3_etag": "a35532b4c1d4911ef7c88f3c26f47128-223",
  "schema_type": "file_descriptor",
  "describedBy": "https://schema.humancellatlas.org/system/2.0.0/file_descriptor",
  "schema_version": "2.0.0"
}

That is matching with the above calculation.

The import form still needs filling out/modifying. Check with Jeff who needs to do what.

We should delete the original submission: https://contribute.data.humancellatlas.org/submissions/detail?uuid=a8f8dc60-4c43-470d-a3b5-05135d91e3a6&project=00f6f940-570a-4936-9ab5-f572b7e018f5
when the import form has been filled out for the replacement submission.

The SOP for retraction is not relevant to the ticket, since we never released the data.
We can use deletion OF THE BROKEN PROJECT in Ingest UI, and from the Terra Staging Bucket.

One extra copy of the project was found and deleted

@Amnon to delete the staging area --

original staging area deleted.


add: new policy to mutate dnsPolicy and dnsConfig

Signed-off-by: Ugur Can Ozturk<EMAIL_ADDRESS>Related Issue(s)
None
Description
The Default DNS policy in Kubernetes gives much flexibility in service access/discovery; however, it costs some latency and performance problems on high scale, and it needs to be optimized. This policy helps us to optimize the performance of DNS queries by eliminating many dummy DNS requests by setting more strict and optimal options for dnsConfig and dnsPolicy.
Checklist

[x] I have read the policy contribution guidelines.
[x] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.

@chipzoller Thanks for your review; finally I figured out to pass variables to the test. I added a test scenario in the folder.
Executing dns-policy...
applying 1 policy to 1 resource...

│───│────────────│────────────│───────────────────────│────────│
│ # │ POLICY     │ RULE       │ RESOURCE              │ RESULT │
│───│────────────│────────────│───────────────────────│────────│
│ 1 │ dns-policy │ dns-policy │ default/Pod/myapp-pod │ Pass   │
│───│────────────│────────────│───────────────────────│────────│

Test Summary: 1 tests passed and 0 tests failed

Hi @chipzoller, are there any remediations you suggest that I need to do?

Hi, don't think so, but we'll have to take a closer look after KubeCon most likely. Thanks for this contribution!


my next () does not work | Middleware

why my next () does not work | Middleware
I know it may be related to async / await, but how could I be writing this code snippet below so that it fucnits correctly.
in my body, I evaluate the field ** isValid **, if it is true I have to give a next and continue with the request, if it is false I send a response 500.
Someone could comment on an example of what this code should look like, thanks
'use strict'

const req = require('request');

class ValidateTokenVimbo {
    async handle({ request, response }, next) {

        const auth = await request.header('authorization');

        async function nexProcess() {
            await next()
        }

        if (auth) {
            req({
                    url: 'https://api-production.site.com.br/v1/validate-token',
                    headers: {
                        "Authorization": auth
                    },
                    method: "GET",
                    json: true
                },
                function(error, response, body) {
                    if (body.isValid) {
                        next()
                    } else {
                    	response.status(500).send('not authorization')
                    }
                });
        } else {
            await response.status(500).send('not authorization')
        }

    }
}

module.exports = ValidateTokenVimbo

Why are you "awaiting" for request.header? it's already set. I think you should realy think about what are async/await. Rest of your code may not work properly, use await for next in "isValue = true" case.

Hey @GlauberF! 👋
You need to promisify the call to request.
Also, I believe you should learn how async/await work since you are using is in a lot of wrong place.

Okay, how would you write this code @RomainLanz  ?

As he said, you need to brushup your skills with async programming and this issue cannot be used as a way to learn Javascript.


Moving PTR task to v2.

Command based implementation of publishing

NUnit3 support

Common Implementation of Windows/*nix

[x]  Manual testing done

[x]  L0 tests are fixed

:shipit:

I the problem with the Nunit 3 importer in VSTS is if tests are failing the build is still green. It does not show the passed tests like the vstest reports.


TestStressEnvoy failed

--- FAIL: TestStressEnvoy (11.03s)
	stress_test.go:57: Failed in request: Get http://localhost:20066/echo: dial tcp <IP_ADDRESS>:20066: connect: connection refused
	stress_test.go:57: Failed in request: Get http://localhost:20066/echo: dial tcp <IP_ADDRESS>:20066: connect: connection refused
	stress_test.go:57: Failed in request: Get http://localhost:20066/echo: dial tcp <IP_ADDRESS>:20066: connect: connection reset by peer
	stress_test.go:57: Failed in request: Get http://localhost:20066/echo: dial tcp <IP_ADDRESS>:20066: connect: connection refused
	stress_test.go:57: Failed in request: Get http://localhost:20066/echo: dial tcp <IP_ADDRESS>:20066: connect: connection refused
FAIL
FAIL	istio.io/istio/mixer/test/client/stress	11.064s

https://circleci.com/gh/istio/istio/49181?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Q: Why is stress test part of the unit tests?

@kyessenov It seems that link is wrong.

/subscribe
The test is passing in circle and locally - let me know what you find.
Better not use the term 'unit test' but 'local tests' - many tests use apiserver or test far more
than a unit.

@qiwzhang please explain why it started to fail, and whether we should it bring back later.

Just removed it


Adding top-k and model-list

Adds top_k to chat completions and regular completions. Also adds list models function for embeddings and changes chat completions one to fit added functionality. Fixes tests for both.

Moved to #23


New Feature: Background Image Position in YAML

Settings currently exist for color, image, and size, but it would be useful to also set position (for example, top left instead of center).  I will see if I can figure out how to implement. I am also looking to see if I can figure out a temporary workaround.

Hi Michael, a very nice feature idea. And you'll be glad to know, one that is already implemented. And in the merge queue. Support for this will go live within the next few days.
Here is a sneak peek:

This effect was achieved using the following settings in my PITCHME.yaml:
background : assets/images/sunrise.jpg
background-size : 50% 100%
background-position : left center
background-color : "#D4C711"

# Right adjust text on slide.
layout : center-right

Another example:

I back ported this feature from the GitPitch Desktop branch as it just so useful. Now integrated and live on gitpitch.com.
See the updated doc on the Wiki for details describing how to control background image positioning both when working with:

Global background image settings
Slide specific image delimiter options

Your testing and feedback appreciated.

I will test today or tomorrow and report back - super useful timing as my conference talk is in one week!

Seems to be working for me - see output and source.
I am entirely happy with this feature, it works exactly per my naive expectations! 😁

Thanks for the feedback. Nice presentation. Meeting naive expectations, that's the holy grail of usability :)
As for GitPitch Desktop availability, I've already begun the release process but I can't give you an exact release date just yet. Keep an eye on Twitter or on my blog for news. Coming very soon.


Ntoken bakc implementation

Security Checklist

[ ] 1. Re-Entrancy
[ ] 2. Arithmetic Over/Under Flows
[ ] 3. Unexpected Ether
[ ] 4. Delegatecall
[ ] 5. Default Visibilities
[ ] 6. Entropy Illusion
[ ] 7. External Contract Referencing
[ ] 8. Short Address/Parameter Attack (off chain)
[ ] 9. Unchecked CALL Return Values
[ ] 10. Race Conditions / Front Running
[ ] 11. Denial Of Service (DOS)
[ ] 12. Block Timestamp Manipulation
[ ] 13. Constructors with Care
[ ] 14. Uninitialized Storage Pointers
[ ] 15. Floating Points and Precision
[ ] 16. Tx.Origin Authentication
[ ] 17. Address.isContract Re-Entrancy via Constructor

⚠ NOTES ⚠
Make sure to think about each of these exploits in this PR.

seems the NTokenBAKC liquidation will not supply paired APE if the BAYC is not on our platform (paired on HorizonLabs), this may cause the collateral to escape from the system

Shall SupplyLogic enable sAPE collateral flag for NTokenBAKC?


Add 'install' argument to support non-interactive install

This change adds a "install" argument to the sample to support registering the distribution non-interactively. This is useful because it makes the install scriptable, for example:
mydistro.exe install --root

Will update readme.md with new arguments.


Release Google.Cloud.Dataplex.V1 version 2.12.0

Changes in this release:
Documentation improvements

Fix typo in comment (commit 84266b6)

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


add more tests for precommit

modify the precommit service to raise errors and then the action catch those errors and log. currently the logging is coupled in the service. decouple that.

this happened


Integrate the common Logger

Now that #13, #53 has closed, this task is to integrate it into the application logic

Work completed


Update stable version in repo from 1.2.1 to 1.3.1

Think about update stable version to 1.3.1
Version: stable=1.2.1 (467 days old) => latest=1.3.1 (15 days old)
Installs: stable=199 (88.05%), latest=22 (9.73%), total=226
Click to edit

Is there any reason to delay addition to stable repository any longer?
Please respond if you need halp or want to delay the upgrade at stable.
If no response is received here within 14 days we would eventually update the stable version.

Created PR for updating synochat adapter to latest
https://github.com/ioBroker/ioBroker.repositories/pull/2675

https://github.com/ioBroker/ioBroker.repositories/pull/2675 merged
Stable version of the synochat adapter: 1.3.1