Trajectory Generation V2

Rewrite of the trajectory generation to properly balance robot rotation and translation, and respect individual module limits. This isn't time optimal like Choreo, but should be significantly more accurate and hopefully allow PathPlanner paths to "just work" with little to no path tuning.
Still has a lot of issues that need to be ironed out and optimizations that need to be made. Some of these issues are due to the distribution of path samples along each spline segment. These will be fixed in a future PR that will dynamically sample the path based on distance and amount of rotation. Should be good enough for now with future PRs to improve it.

[x] Implement POC for new generation in GUI
[x] Add more motor torque curves for popular motors and current limits
[x] Support differential drive robots
[x] Fix issues and optimize (from testing, the dynamic path resolution PR should alleviate issues with module path discontinuities)
[x] Display GUI warning when a trajectory fails to generate
[x] GUI test coverage
[ ] PPLib Java
[ ] PPLib C++
[ ] PPLib Python
[ ] Test on real robot
[ ] Documentation

I got bored and did some messing around with this, so far it looks really nice. Not sure if this is already a known issue or not, but it looks like if you change to a different motor and current that causes trajectory generation to fail, this error shows up when you open the path again:
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ dependOnInheritedWidgetOfExactType<_ScaffoldMessengerScope>() or dependOnInheritedElement() was called before _SplitPathEditorState.initState() completed.
flutter: │ When an inherited widget changes, for example if the value of Theme.of() changes, its dependent widgets are rebuilt. If the dependent widget's reference to the inherited widget is in a constructor or an initState() method, then the rebuilt dependent widget will not reflect the changes in the inherited widget.
flutter: │ Typically references to inherited widgets should occur in widget build() methods. Alternatively, initialization based on inherited widgets can be placed in the didChangeDependencies method, which is called after initState and whenever the dependencies change thereafter.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0   StatefulElement.dependOnInheritedElement.<anonymous closure> (package:flutter/src/widgets/framework.dart:5713:9)
flutter: │ #1   StatefulElement.dependOnInheritedElement (package:flutter/src/widgets/framework.dart:5756:6)
flutter: │ #2   Element.dependOnInheritedWidgetOfExactType (package:flutter/src/widgets/framework.dart:4774:14)
flutter: │ #3   ScaffoldMessenger.of (package:flutter/src/material/scaffold.dart:149:51)
flutter: │ #4   _SplitPathEditorState._simulatePath (package:pathplanner/widgets/editor/split_path_editor.dart:747:27)
flutter: │ #5   _SplitPathEditorState.initState (package:pathplanner/widgets/editor/split_path_editor.dart:113:5)
flutter: │ #6   StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5611:55)
flutter: │ #7   ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456:5)
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⛔ Dart Error
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Yeah I think I ran into that before. The goal is to never have generation fail but it has a lot of issues currently when a module needs to turn in place. From what I’ve seen so far that seems to be the root cause of generation failing or the robot going slower than necessary in pretty much every case I’ve noticed. So once I hopefully get that figured out I can just get rid of the failure notification altogether.

I have a question regarding API and coordinate systems next year. Is the plan to keep everything blue origin? I was a huge fan of it this year as it didn't require any sort of conversion between odometry and vision.

Yes, that will stay the same. The only thing that will change is the path flipping function if it is a rotationally symmetric field.

Awesome, I was very happy with the standardized coordinate system this year, glad that it will continue


Please replace the Windows icon

The Windows logo currently used in READMEs and websites is a distorted animation of the classic Windows logo.

It does not respect the pixels of this very low resolution, essentially pixel art. The animation is also less of a waving flag and more of a still image bouncing. And at very small sizes, there is shimmering from the white outline around it.
As such, I was motivated to find something better. This is a modified version of the official wi_busy.ani cursor from Microsoft Plus! 95's "More Windows" theme. The original had some jankiness to its animation, so I cleaned it up to be a seamless loop. I freely encourage you, or anyone else in need of an animated Windows logo, to use this instead. I have provided 8x integer scaled and 1x scale versions.

@Commenter25 Will replace these in the repo and website!
Gonna keep the old one as .bak

This is what it looked like before my changes. It's quite jumpy and inconsistent. Truth be told, I made this long before actually posting about it, so I forget all the details.


NFC: Rename/reorg

r0vm -> zkvm
risc0/r0vm/cpp -> risc0/zkvm/sdk/cpp
risc0/r0vm/rust -> risc0/zkvm/sdk/rust

Feedback welcome!

Is the thinking here then we'd refer to it as "Risc Zero ZKVM"?

Is the thinking here then we'd refer to it as "Risc Zero ZKVM"?

I think it's more to avoid the 'Smurf Naming Convention' where everything is prefixed with Risc Zero.  Given that the whole repo and the base dir is risc0, I think it's reasonable to just call it 'The ZKVM' and presume the r0 follows from context.  Of course if we were talking about our ZKVM vs another one (say Miden), then we would prefix.

Is the thinking here then we'd refer to it as "Risc Zero ZKVM"?

I think it's more to avoid the 'Smurf Naming Convention' where everything is prefixed with Risc Zero. Given that the whole repo and the base dir is risc0, I think it's reasonable to just call it 'The ZKVM' and presume the r0 follows from context. Of course if we were talking about our ZKVM vs another one (say Miden), then we would prefix.

We also know from context it's ZK, could we go all the way down to "vm"? Just as clear but less awkward both in docs and code.


fix: don't check the podman default connection while activating the e…

…xtension
Fixes #9124
Fixes #9576
What does this PR do?
Prevent checking the default connection during Podman extension activation as it throws a dialog
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
#9124
How to test this PR?

Ensure the default connection is not aligned with the machine
Start Podman Desktop

[ ] Tests are covering the bug fix or the new feature

I just checkout the branch, stop my default machine, start another machine (windows). Then I started podman desktop using pnpm watch.
When the application boot, I am getting directly the following

And I do not have any failure on the podman extension side

Is this the expected behaviour ?

YES

Closing as not required anymore since #10119


DRILL-4715: Fix java compilation error in run-time generated code whe…

…n query has large number of expressions.

@jacques-n @amansinha100 , can you review this PR?

I had couple of minor comments.  Changes LGTM.  +1.

Just to be sure, I confirmed with @jinfengni that the new generated code would look like the following:  (assume 100 expressions in the Project and limit of 50 exprs per block):
doEval() {
{
generated code for 50 expressions (by default)
}
doEval1();
}
doEval1() {
{
50 expressions
}
//  doEval2();  // if needed...each doEval_N() calls doEval_N+1()
}

@sudheeshkatkam , do you want to take a quick look and see if I have addressed your comments? Thanks!


Added SignOut Functionality

Explanation
Added Sign Out Functionality.
Type of Change:

Code

Checklist

[x] The PR title starts with "Fix #103 : "followed by a short, clear summary of the changes. ( If this PR fixes part of an issue, prefix the title with "Fix part of #103 : ...")
[x] The PR explanation includes the words "Fixes #103 : ..." ( or "Fixes part of #102 " if the PR only partially fixes an issue ).
[x] The PR does not contain any unnecessary auto-generated code from Android Studio.
[x] The PR does not break any part of the existing code.
[x] The PR creator have carefully read & adhere to the contributing guidelines of the project.
[x] The PR is raised for an issue that has been assigned to you.
[x] The PR is made to the branch that's called "develop".
[x] The PR is raised from a branch that is up-to-date with "develop".

@riturajjain2000  Please Review I have Added Sign Out Functionality


Handling incoming messages with empty body

When a message with empty (nil or length 0) body is consumed, the consumption of messages stops.
To Reproduce
Send a message with no body.
Expected behavior
It's possible for the global handler or dead letter handler to process this message. normal handlers cannot (Because it cannot be decoded).

pr: https://github.com/wework/grabbit/pull/147


Behaviour of MicGeom if loaded file not found is incorrect

if not path.isfile(self.from_file):
            # no file there
            self.mpos_tot = array([], 'd')
            self.num_mics = 0

Last line is not possible and causes error, as num_mics is read-only property. Line can just be deleted, as the getter function for num_mics looks at shape of mpos_tot, which would be 0 then.

did you already fix this issue? It is not in the main branch at line 731 anymore
By Simon Jekosch on 2021-01-18T10:28:59 (imported from GitLab)

fixed by !153. Close issue.


Not implemented BLOB

Hi,
I try to retrieve an image as blob and get the message below:
Is this a bug or really a not supported jdbc feature ?
java.sql.SQLException: not implemented by SQLite JDBC driver
at org.sqlite.jdbc4.JDBC4ResultSet.unused(JDBC4ResultSet.java:320)
at org.sqlite.jdbc4.JDBC4ResultSet.getBlob(JDBC4ResultSet.java:343)

It turns out this is currently not implemented, so the exception is the truth.  This driver does not implement a lot of the JDBC spec.

Thx a lot for the fast reply

How to fix this issue?

sqlite has no support of reading BLOB in streaming manner, so the implementation will be anyway reading the entire data into memory. Using getByte is sufficient.

For people coming across SQLite and JPA:
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;

@Entity
public class FooEntity {

  @Id
  public UUID id = UUID.randomUUID();

  @Lob // <-- doesn't work for SELECT statements. INSERT would still work
  public byte[] data;
}

Solution:
@Entity
public class FooEntity {

  @Id
  public UUID id = UUID.randomUUID();

  // @Lob --> omitting the annotation does work for SELECT, INSERT, UPDATE, DELETE
  // property will be mapped to a BLOB column
  public byte[] data;
}


How to Tune Blaze Performance?

I try to run time dev/run-tpcds-test --data-location file:///data/tpcds-sf1 --query-filter q1
But it seems that Blaze is a little slower than JVM version.
Blaze:
real    0m14.413s user    0m39.440s sys     0m2.240s
Jvm (by remove Blaze extension in run-tpcds-test ):
real    0m11.553s user    0m47.240s sys     0m2.280s
How can I tune blaze?

I also try other SQLs, the situation is similar.

I see many Rust logging.
Does it will harm the performance? and how to disable the logging.

spark.sql.extensions org.apache.spark.sql.blaze.BlazeSparkSessionExtension
spark.shuffle.manager org.apache.spark.sql.execution.blaze.shuffle.ArrowShuffleManager301
spark.blaze.memoryFraction 0.7
spark.blaze.batchSize 10000
spark.executor.memory 10g
spark.executor.memoryOverhead  4500

Thanks.
I have fixed this by disable BHJ when it was compared with original spark 3.0.
And I found notable speedup (1.2x ~ 2.3x.

sorry for late reply. here is the configuration we are using for benchmarking, getting ~27% performance profit comparing with original spark 3.0:
spark.sql.extensions org.apache.spark.sql.blaze.BlazeSparkSessionExtension
spark.shuffle.manager org.apache.spark.sql.execution.blaze.shuffle.ArrowShuffleManager301
spark.blaze.memoryFraction 0.7
spark.blaze.batchSize 10000
spark.executor.memory 10g
spark.executor.memoryOverhead  4500

Does it test on local mode (with local files ) or cluster mode (with HDFS files) ?

sorry for late reply. here is the configuration we are using for benchmarking, getting ~27% performance profit comparing with original spark 3.0:
spark.sql.extensions org.apache.spark.sql.blaze.BlazeSparkSessionExtension
spark.shuffle.manager org.apache.spark.sql.execution.blaze.shuffle.ArrowShuffleManager301
spark.blaze.memoryFraction 0.7
spark.blaze.batchSize 10000
spark.executor.memory 10g
spark.executor.memoryOverhead  4500

Does it test on local mode (with local files ) or cluster mode (with HDFS files) ?

it should be working on both modes, although most of our benchmarks are running on a small cluster.


Email a link on mobile

Rather than serving up a 700MB - 1GB iso download on a mobile device, it'd be pretty sweet if we could email the user a link so they can get to it from a computer.
This would require a little bit of server-side code, though. Or Mailchimp, which I'm actually definitely in favor of using anyway. :)

Dupe of #24


Incorrect arguments to mysqld_stmt_execute when comparing NOT NULL SQL field with Rust Option parameter

My tests failed after upgrading from v0.3.5 to v0.4.0-pre and fixing the compilation errors. I got the error message
error returned from database: 1210 (HY000): Incorrect arguments to mysqld_stmt_execute.

After some debugging I found the cause of the problem. In one of my SQL queries I have IF(? IS NULL, TRUE, id = ?) and I pass the same Option<i32> for both of the parameters. I believe there's an error because the id field is NOT NULL and I'm trying to pass an Option as the parameter.
As a work-around I just .unwrap_or(0) for the second parameter.
@mehcode suggested using id <=> ? instead of IF(? IS NULL, TRUE, id = ?), however this lead to the same error in my tests.
I was using the query_as! macro, I'm not sure if this applies to the query! macro as well.

#[sqlx_macros::test]
async fn it_can_bind_null_and_non_null_issue_540() -> anyhow::Result<()> {
    let mut conn = new::<MySql>().await?;
    let row = sqlx::query("SELECT ?, ?")
        .bind(50_i32)
        .bind(None::<i32>)
        .fetch_one(&mut conn)
        .await?;
    let v0: Option<i32> = row.get(0);
    let v1: Option<i32> = row.get(1);
    assert_eq!(v0, Some(50));
    assert_eq!(v1, None);
    Ok(())
}
#[sqlx_macros::test]
async fn it_can_bind_only_null_issue_540() -> anyhow::Result<()> {
    let mut conn = new::<MySql>().await?;
    let row = sqlx::query("SELECT ?")
        .bind(None::<i32>)
        .fetch_one(&mut conn)
        .await?;
    let v0: Option<i32> = row.get(0);
    assert_eq!(v0, None);
    Ok(())
}```

Reproduced something close to this on master. Top test passes, bottom one fails with:

Error: error returned from database: 1835 (HY000): Malformed communication packet.

Fixed in https://github.com/launchbadge/sqlx/commit/cf78472d6d511a1e0f941d77cefe1c45ca7995fb


Regression in audiolink settings handling in 1.8.4

My audiolink settings started behaving differently (displaying the wave effect instead of blinking) in 1.8.4. I reverted to 1.8.3 and it solved the problem.
Can you check if different audiolink settings are working as expected in 1.8.4?
I can't rule out that my liltoon install for 1.8.4 was somehow flawed or corrupted.
I'm surprised by this behavior given the sparse release notes for 1.8.4.

Problem also exists in 1.8.5.


ParseFixer is too aggressive, should be turned off by default

Currently, the reader functions use a default "ParseFixer" by default. This means that errors are swallowed / autocorrected until some threshold number of errors is reached. This is a problem for usability; and it may hide unexpected bugs (at least one discovered so far #72 ).
This Issue requests the following, in descending order of priority:

turn off ParseFixer by default
probably redesign the whole ParseFixer architecture, currently quite convoluted
easily allow user to specify their own fixer policy

Rationale: multiple reasons:

I suspect there could be more hidden bugs in the was the default fixer "fixes" "errors". Quotation marks here, because sometimes the fixes actually make things worse by fixing things that weren't errors in the first place (cf. #72 ).

The default ParseFixer makes debugging difficult; during debugging we usually want errors to be raised immediately. There is a way to kind of achieve this by monkeypatching a _called_from_test attribute onto the ParseFixer, but that's much too convoluted.

There should be an easy way to run read_csv() and read_excel() without any ParseFixer. Right now read_csv(..., , fixer=None) doesn't do that, because "None" gets interpreted as, use the default ParseFixer.

Principle of least surprise: the default parse fixer is quite aggressive. It will more or less silently replace omitted values by "defaults", fixer second-guesses what the user "really" intended to write; but the user may not have wanted these values and they could do damage downstream.

Possible use cases for a ParseFixer
I can kind of see the following use cases, with my comments:

Ergonomics: Don't crash on the first tiny error, but instead collect all errors as they are encoutered, and crash at the end, reporting all errors at once. So if there are 10 errors, don't have to run the reader 10 times to reveal them all.  <<< this is an option I think makes sense to have... but that's not what the current default fixer does.

Fix errors as they are encountered, according to a user-specified policy. <<< This is not something that should be done by default like it is now. But it would be okay to give the user the option to do so, on their own terms, if they explicitly specify this.

Report all encountered errors, for user checking in an external tool, e.g. the StarTable Editor that @BennyLassen proposed. <<< This is a good idea. But again, it should not be the default that we force-feed to all pdtable users. At best make it an option to be specified explicitly.

Think we are in agreement here. My take would be that the only purpose would be to allow a channel for reporting parser errors. Since we already have the block stream, the simplest way of doing so would probably be to emit Error blocks. That way, users would even be free to implement "fixers" on top.


static URL containing parameters re encoded

When  providing a  string URL  for an image resource, for an entitiy material or a SingleTileImageryProvider , where the url  includes query parameters ,the URL that is fetched  has parameters extracted , url encoded, and the recombined to form a new url.
a url defined as
https://someurl.com/imageApi?location=-123,46
has the endpoint fetched
https://someurl.com/imageApi?location=-123%2C46
if a hash code is needed  that is generated from the url parameter string
hashCode = someHashFunction("imageApi?location=-123,46")
the url requested should be
https://someurl.com/imageApi?location=-123,46&hashCode=vkbsdjhfsjkdhf
the hash code is becomes invalid because the following is sent
https://someurl.com/imageApi?location=-123%2C46&hashCode=vkbsdjhfsjkdhf
for things to work
hashCode = someHashFunction("imageApi?location=-123%2C46")

Hi @bmckilligan,  I'm sorry I don't entirely understand the problem here.  What is making your second query parameter invalid?


Censorship discussion can be in results and much more succinct

We can cover this literature, but censorship is a minor point in our overall goal.

There are two difficulties associated with single-cell lineage data. In each lineage tree, edges are representative of the time duration that takes a particular cell to divide. The clades that contain cells that divide faster are more represented in the population and these overrepresented colonies introduce survivorship bias to the sample data. If this bias is disregarded, the model would fail to converge to the correct answer. In some studies the survivorship bias is addressed by adopting different strategies to sample from the lineage trees such as forward sampling, where starting from the root cell they track cells over generations by randomly selecting a daughter cell at each division, retrospective sampling which traverses the tree from a leaf cell to the root cell, and tree sampling where they removed leaf cells [@doi:10.1101/488981; @doi:10.3389/fphy.2018.00064]. Another difficulty is the time censorship. At the final time point of an experiment, cells that are still alive will die/divide at some point after the cut off time of the experiment and inevitably results in missing information about their lifetime and fate. On the other hand, there are cells that have been born at an unkonwn time before the beginning of the experiment. In thses two cases, due to the finite experiment duration the data is right- and left-censored, respectively. Time censoreship needs to be properly handled such that censored values are treated differently from uncensored values. In the process of fitting, we intend to find the most likely distribution source of the random values, i.e., measured phenotypes. To address the time censoreship issue, Kuchen and colleauges truncated the lineages after the last generations [@doi:10.7554/eLife.51002]. We employed the survival distribution function specifically for censored samples in the data and fitted the original probability distributions to uncensored samples, which resulted in accurate and correct convergence of the model.

Two challenges associated with single-cell data are survivorship bias and time-censorship. The first happens when faster-growing cells outgrow slower growing cells and are over-represented in the culture and introduce survivorship bias to the sample data. To handle this challenge, Nakashima et al. have adopted different strategies where they sample from the lineage trees in a forward and retrospective manner, and as an ultimate approach, they remove leaf cells and keep the fully-observed cells [@doi:10.1101/488981; @doi:10.3389/fphy.2018.00064]. The second difficulty is handling time censorship in finite-time experiments where we have missing information about exactly before and after the experiment. To address this, Kuchen and colleagues truncated the lineages after the last generations [@doi:10.7554/eLife.51002] and simply removed unfinished cells. We employed the survival distribution function specifically for censored samples in the data and fitted the original probability distributions to uncensored samples, which resulted in accurate and correct convergence of the model.
@aarmey is it still long?

Much better.

There is a paragraph in methods that also explains this. I should make one of them shorter to avoid repetition.


Don't show the help widget if the SPA is in add-in mode

Resolves: https://github.com/blackbaud/skyux2/issues/1649


erc20

hearts, ap & bullets should be erc20s
perhaps range should also be.

this is tracked https://github.com/rsproule/tanks/issues/12


Update changelog for upcoming release.

Summary of changes
Changes introduced in this pull request:

Update CHANGELOG with a summary of changes since 2022-04-06.

Reference issue to close (if applicable)

Other information and links

I want us to move towards changelogs as described by https://keepachangelog.com/en/1.0.0/. Having auto-generated changelogs is better than nothing but it's much preferable to not include non-user-visible changes.

Ya, I meant it as a cheatsheet to not go through the commits while doing a proper changelog.


not issue but see

I have a question, where do you find the icons used in your applications? I think they are beautiful

@trindadedev13
Are you lazy?
https://github.com/SanmerApps/PI?tab=readme-ov-file#credits

@trindadedev13
Are you lazy? https://github.com/SanmerApps/PI?tab=readme-ov-file#credits

calm down my dear


Make EventScrubber recursive

Problem Statement
We have a custom before_send implementation that scrubs data recursively. I was hopping to replace the custom implementation with the built-in EventScrubber but I found out that it doesn't scrub vars recursively.
As far as I can tell this was a consistency, perf trade-off thing but it would be nice to have a built-in option to make it recursive.
Thank you!
Solution Brainstorm
EventScrubber(recursive=True)

Hey @phb-teleclinic, thanks for the suggestion, we can add this as an optional flag.
If anyone reading this feels like making a PR, please go ahead -- it'll probably take some time for us to get around to this.

for completeness, we considered this here
https://github.com/getsentry/rfcs/blob/main/text/0062-controlling-pii-and-credentials-in-sd-ks.md#a-walk-whole-tree
but decided against it due to computational overhead.

taking a look at this. still a noob but this looks doable


[UI]:Enhancement in the ui of campground page

Description
I can enhance the ui of the this page
Current Behavior

current ui is not that appealing i want to enhace the ui
Impact
better user experience
Related Issues
Link to any related issues, discussions, or feature requests that are relevant to this UI change.

please assign this assign this issue to me @Vignesh025

Hey @RaviP9973 , you can proceed!

i am sorry i can't work on this
you can assign it to any other contributer or you close this issue

Okay, thanks for letting me know!


Fix mutual exclusion of volume mounts

Following up on #31 and fixing parts of the PR #29 .
This chart allows to mount 3 volumes for different manners to the container. BUT they are mutually exclusive as I realised when I wanted t provide both start up scripts and have persistency at the same time. The problem was that the volumeMounts list was defined individually for each mount overriding the provious ones.

Great catch, thanks for fixing this @miaucl ! 👍


Module Resolution in seed project?

Was trying to extend your seed to use Sequelize. Was hoping to get help on an error that appears to be related to Module resolution within the seed project.
Have posted here:
http://stackoverflow.com/questions/39278466/error-while-attempting-integration-of-sequelize-into-angular2-seed-express
Any help would be appreciated.
Thanks

@redevill , typings install dt~sequelize --save --global

@redevill , can we close this issue ?

Yes, thank youEti
  From: Valentyn Yakymenko<EMAIL_ADDRESS>
To: vyakymenko/angular2-seed-express<EMAIL_ADDRESS>Cc: redevill<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Saturday, September 10, 2016 10:01 AM
Subject: Re: [vyakymenko/angular2-seed-express] Module Resolution in seed project? (#13)
@redevill , can we close this issue ?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


🐞 :  Homepage Alignment is Not Right

:red_circle: Title : Landing page issue
:red_circle: Bug : feedback section in the right side
:red_circle: Changes :  Feedback section should be in bottom.
Screenshots 📷

✅ Details to Include When Taking the Issue:
Name : 4F24L [ GSSoC, hacktoberfest ]
Participant Role (Specify the Open Source Program name, e.g., GSSOC, Hacktoberfest, etc.):

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

@iamrahulmahato LANDING PAGE HAS A BUG !!

@iamrahulmahato Please assign this to me I want to contribute in this and make it better.

Please assign it to me.
#GSSoC24 #hacktoberfest

i would like to work on it please assign me this


如何重启trojan-go服务

安装脚本之后发现trojan-go的服务挂了，无法连接，如何重启服务呢？v2ray能够连接的。

Since v2ray-core starts support trojan as inbound from 4.30+, the coming version of script will no longer require trojan-go. This will not be fixed due to my laziness.


Merge pull request #92 from xp2000926/main

ci: npm token

Codecov Report

Merging #93 (0c7d3b0) into main (5d1c59b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #93   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           92        92
  Branches         5         5
=========================================
  Hits            92        92

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


Initial Docs

Can we use this ticket for restructuring the docs as suggested by Tobias?
His suggestion:

Getting Started

1.1 Installation
1.2 Quickstart Guide (minimal setup, not linear!)
1.3 Advanced Guide (Linear) - maybe somewhere else?

Building your Application

2.1 Schema (how to define a jazz schema)
2.2 CoMaps & Lists
2.3 Images & Binary Data
2.3 Ref CoValues
2.4 Node.js

API Reference (which is currently autogenerated) - this currently adds quite some bloat - Next.js API Ref


Replace the sequence diagram on authentication documentation using mermaid

This is a Feature Request
What would you like to be added
Replace the sequence diagram on authentication documentation with the one by mermaid. This is the follow-up of #25168.
Why is this needed
There are several pros to use mermaid to draw the sequence diagram:

mermaid format is more readable
easy to modify
better styling

Comments

/assign

/kind cleanup
/language en
/triage accepted
/priority backlog


Broken characters

Does this program use any specific font or terminal ? Because it looks broken in my terminal.
term: alacritty, shell: fish.

The problem migth be the font. what font are you using?

i have the same issue,
i am using Monospace Regular with Size 12

I think I know what Is the issue It has nothing to do with the terminal or the fonts, I will fix It today.

I think I know what Is the issue It has nothing to do with the terminal or the fonts, I will fix It today.

Can you notify us when it's done? Thanks

Can someone with this problem show me the result of the comand "locale" in your system.

Can you try this?, go to the main.c and un the line 376 remplace "setlocale(LC_ALL, "");" with ” setlocale(LC_ALL, "en_US.UTF-8");  " them make and make install and tell me if it works pls.

Can you try this?, go to the main.c and in the line 376 replace "setlocale(LC_ALL, "");" with ” setlocale(LC_ALL, "en_US.UTF-8"); " them make and make install and tell me if it works pls.

Does not work

What about setlocale(LC_ALL, "en_US-8");

Can you try this?, go to the main.c and in the line 376 replace "setlocale(LC_ALL, "");" with ” setlocale(LC_ALL, "en_US.UTF-8"); " them make and make install and tell me if it works pls.

Does not work

What about setlocale(LC_ALL, "en_US.utf-8");

There is a command called "unicode_start", can someone execute it to test if this fix the problem?
I mean run:
unicode_start
then
sssnake -f -S -s 15

Well guys, until I get it fixed I added an ascii mode.
It's not the optimal solution as one of the things I wanted to avoid in this project was using ascii characters because they are ugly.

Hey, can someone pull the latest changes and confirm if this issue is now fix?


Security vulnerability in TableBlock through handsontable 6.2.2

Handsontable 6.2.2 is used for the Wagtail TableBlock. However, this version contains multiple security vulnerabilities according to this source.
The same source (https://security.snyk.io/package/npm/handsontable) states that there are no security vulnerabilities found for handsontable >= 10.0.0. To fix this issue, I would suggest upgrading to a version higher of equal to 10.0.0.

Thanks for the report @VdeJong!
Unfortunately it's not possible for us to upgrade Handsontable past version 6, as they changed to a commercial licence in version 7 that isn't compatible with open-source projects - if these vulnerabilities turn out to be exploitable within Wagtail, we'd need to patch them ourselves or switch to a different library.


Lesson01

I have done with Lesson01 solution.

Nice work! However, this repo is gonna continue to have the starter code for the rest of the students to use. If you want to push your solutions to GitHub, make a fork of this repo!


Usage Confusion

I am attempting to replace some code that makes use of this library to instead use EventTarget.addEventListener(). I am a bit confused with some of the naming done which uses the same convention as the example.
When I see addEventListener assigned to removeEventListener in the example
const removeEventListener = addEventListener(
  window,
  'scroll',
  () => { console.log('scrolling') },
  { passive: true }
);

The name of the function would leave one to assume it mimics EventTarget.removeEventListener() when called
removeEventListener();

Could someone clear this up for me?

addEventListener here returns a function that when called will remove the event listener that was added. Does that help?

@lencioni yes that definitely clears that up, thank you


Correction for raw affiliation Anesthesia and Intensive Care Department, Univ Rennes, CHU Rennes, Inserm, CIC-1414, COSS-1242, Rennes, F-35000, France

Correction needed for raw affiliation Anesthesia and Intensive Care Department, Univ Rennes, CHU Rennes, Inserm, CIC-1414, COSS-1242, Rennes, F-35000, France
raw_affiliation_name: Anesthesia and Intensive Care Department, Univ Rennes, CHU Rennes, Inserm, CIC-1414, COSS-1242, Rennes, F-35000, France
new_rors: 02vjkv261;015m7wh34;05qec5a53;02baj6743;00bf6bf92
previous_rors: 02vjkv261;015m7wh34;05qec5a53
works_examples: W4322720159
contact: 4bc1780b83009464c73d121fb1191361:cf48bac9c85189a641844c12863f22f8 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Enum configuration properties are converted to String when Spring Cloud on the path

Spring Boot version: 2.0.0.M7
Spring Cloud version: Finchley.M5
While playing with actuator's trace endpoint, I've noticed that Include options are ignored and even default ones aren't traced if management.trace.include explicitly set and Spring Cloud dependency  is used. (spring-cloud-starter-sleuth in my case)
Here is the sample app.
Navigate to localhost:8080/actuator/trace, make a few request and you'll see that request headers and response headers are not traced as expected.
Now, comment out the spring-cloud-starter-sleuth dependency, you'll start to see headers are traced.
If I'm not wrong this happens because of ConfigurationPropertiesRebinder. When properties rebinded, they somehow(?) converted into String and since they're not Include anymore, this method always returns false thus none of the options put into trace map.

Things have changed dramatically since this issue is open. Is this still a problem?


Adding docs for router config for header propagation

Signed-off-by: rachitchauhan43<EMAIL_ADDRESS>
Links to https://github.com/kserve/kserve/pull/2396

/cc @yuzisun

/lgtm
/approve


Broken Link to Full Image Sequences

Looks like the link to the HPatches full image sequences is currently broken. Not sure if the server is down. Could you please share an updated link? Thank you!

Just figured out simply clicking on the link in the README wouldn't work. One has to type in the following URL in the browser and manually download the full image sequence.
http://icvl.ee.ic.ac.uk/vbalnt/hpatches/


March 2021 updates

Starting a pull request to generate a preview deploy on netlify

Changes approved, merging now.


Update TimeWindow.java

A method to update the time window max timestamp would be useful when we need control the max timestamp based on events. For instance a session time window may end after the gap or when an event with a given record arives.

Windows are immutable and must be, as they are keys in hash tables.
I am also not sure how this code can possibly compile, as it tries to update a final field.
For changes to the implementation of the windowing logic, please post on the mailing list or in JIRA what you want to solve and how you want to solve it. Because the logic is complex, we cannot simply merge changes without a good design discussion first.

Closing due to #3642


%target% usage within a url

Hello,
If I use %target% within a url it is inserting a space before it, resulting in an invalid url. I know the bot used to do this and it was fixed. I'm just wondering if this is now intentional or if it'll be fixed again?
Here is what I'm using
.acr !stats http://www.statswebsite.com/%target%
!stats username
Result: http://www.statswebsite.com/ %target%
Thanks
Danny

I guess a workaround for now is just remove the http:// and parse the link and ask the user to copy-paste it to their browser


File Explorer very slow when there are a lot of media files.

Environment

Item
Value

OS, Version / Build
Windows 10, Version 10.0.14092.0 (Insider Build)

Processor Architecture
x64

Processor Type & Model
Intel Core i3-6006U

Memory
16GB

Storage Type, free / capacity (e.g. C: SSD 128GB / 512GB)
C: SSD 37.4GB/111GB

Relevant apps installed
VS Code, Visual Studio

Description

When I'm working on a folder with a lot of media files (say, music for a game I'm developing), the File Explorer would take a long time to process the metadata. If the files are on an SSD, it's manageable but if it's on a slow drive (especially if it's a secondary drive and the chipset lets the drive to enter sleep mode) it can take a lot of minutes.
This only happens if the folder's view is set to "Details" and the metadata tabs are visible. If the folder has a lot of general files (scripts, for example), it will load in normally.
Steps to reproduce

Put a file with a lot of media files in a drive (preferably, not the main one).
Make sure that the view is set to "Detailed" and you have a few tabs that are related to the metadata of the files (Title. Artist, etc.).
Open the folder.

Bonus:

In a secondary drive, make sure that it's allowed to enter sleep mode (as far as I know, the Intel Rapid Storage Control Panel does let you set the power saving mode for the secondary drives).

Expected behavior

The explorer would show all files. After a few seconds, it would show the metadata for all files.
Actual behavior

File Explorer takes a long time to load files. Sometimes, it does this:

Or the window hangs.

@acemod Normally, file explorer will only try to gather information about the items that are currently visible and pre-fetch some more in case you want to scroll in either direction, so having a large number of files shouldn't affect performance too much. However, the shell is extensible by 3rd parties, and one often finds that these extensions can end up slowing down the UI. It would be good to know what kind of shell extensions you have installed in order to narrow down the culprit. My guess is that one of the codecs you might have installed is trying to extract information from a file on the UI thread and is taking a long time. There are 3rd party apps such as shellexview that you could use to try to narrow down what might be causing this issue.

Well... the only codec I had installed is Xiph.org's Codecs installed (not counting the codecs that are on the Microsoft Store). I removed and it didn't do anything. I'm going to check the other extensions I have installed. Looking at the list in Shellxview, I don't see anything that could affect media files in File Explorer. I'll attach the list of extensions I have, just in case.
3rdpartyextensions.txt
Side-note: I wonder if it's possible to move the fetching data to a background thread. Granted, it could break some extensions, but that could alleviate the issue by a lot. I didn't make any shell extensions myself, but it could be a good idea.

I'm having a similar issue with a ~400-file folder (it's the folder where I dump my gameplay recordings). It's a mix of H.264 media files, H.265 media files, and a couple of PNGs (the last from accidentally hitting ReLive's screenshot hotkey while playing games). It's about 65gb of media files in total.
Loading it takes a long time (around 2 minutes), which is very impractical if I want to quickly share something from here.
This is a video of the folder loading: https://yiff.forsale/GiganticBowedEmboar.mp4
The folder where I store my Steam screenshots has this problem, but less pronounced: https://imgur.com/tlQaEmI
The only third party shell extensions I have are IconViewer, TC4Shell and the Radeon Software shell extension, none of which should have anything to do with media previews:

I installed no third party codecs.

@sylveon shell extensions can negatively affect performance for files other than the ones they purport to add functionality to, so one thing would be to disable all those temporarily and see if load times improve. The main thing though is I noticed those folders are not the usual user videos/pictures folders, so they aren't indexed by default. Can you turn on Indexing for these folders and let things run for a bit until they get indexed and report back? you should see improved load times that way.

Adding them to the system index did not help unfortunately.

So... I turned off all of the shell extensions that were third party and it didn't improve the load times at all. Indexing did improve the load times on me. I do wish there was a better way to load anything that isn't indexed. Especially since the hard drive (in my current laptop) is connected to the SATA slot that was the DVD drive before. True, HDDs aren't as demanding as SSDs in bandwidth but combined with the power settings (since the hard drive can also go to sleep mode or turn itself off) the delay may fluctuate.

I am experiencing this as well with my folders full of recorded video. No shell extensions that I am aware of.

It's a feature that analyzes the folder and try to find out which view mode is best to view the current folder. You can't disable it from what I could google. So I installed another explorer called explorer++. And it works very well since it's very very fast and it looks like the normal windows explorer, so there isn't much of a learning curve. It's also open source so you can feel safe that there isn't any malicious code inside it. You can download it on explorerplusplus.com

Thanks for the tip!

It's a feature that analyzes the folder and try to find out which view mode is best to view the current folder.

Perhaps the display mode be cached instead of re-analyzing every single time the folder is opened?

I agree. The caching of the view would be ideal! But I don't think it's on the top of the list of todo's in Microsoft list of fixes. Especially that they are now throwing all their resources at AI development. So until then we might need to find another solution.

How is this still an issue three years later? Microsoft! What is going on?

I found the solution for the problem here:
https://www.youtube.com/watch?v=t2eN3kq2Dm8

I found the solution for the problem here: https://www.youtube.com/watch?v=t2eN3kq2Dm8

Can confirm this works. In the folder, Right Click -> Properties -> Customize -> Optimize this folder for: "General Items".
The youtube video comments that his video folder takes ages to open "because it's trying to calculate the lengths of all the videos". If that is the true cause, seems like that should be something that can be sped up or cached at least.

I found the solution for the problem here: https://www.youtube.com/watch?v=t2eN3kq2Dm8

Can confirm this works. In the folder, Right Click -> Properties -> Customize -> Optimize this folder for: "General Items".

Sorry: this is a workaround, not the proper solution.

I noticed the same thing, it takes a while even with just about a hundred files. One useful distinction though: I noticed it on my Captures folder where I was recording video using the xbox game bar, but only after conversion to HEVC. My script keeps the originals in a different folder in case I need them, so:
Originals folder: >80 files, all H.264, on open and refresh listing displays instantly and timestamps appear asynchronously on visible items only.
Captures folder: ~115 files, all HEVC (H.265), on open and refresh listing remains blank for about 10-15 seconds (with only the "Working on it..." message), then files shows up with all their timestamps pre-loaded.
There is clearly an issue where Explorer processes HEVC files differently, in a non-asynchronous way. This is a work computer and I keep a thigh control on installed 3rd party software, and avoid in particular anything that adds 3rd party shell extensions.

Actually scratch my last comment. I renamed the Captures folder to Captures-old, still inside Videos,and file info started loading asynchronously and it was back to being very fast. It's the same for subdirectories created inside Captures.
Then I recreated a new Captures folder and moved the videos back there, the old behavior returned.
IT appears to be tied to the path, not even the folder settings,and I could not see any different settings between the two folders in Explorer settings... I'm looking into the registry now but my hopes are slim.

Actually scratch my last comment. I renamed the Captures folder to Captures-old, still inside Videos,and file info started loading asynchronously and it was back to being very fast. It's the same for subdirectories created inside Captures.
Then I recreated a new Captures folder and moved the videos back there, the old behavior returned.
IT appears to be tied to the path, not even the folder settings,and I could not see any different settings between the two folders in Explorer settings... I'm looking into the registry now but my hopes are slim.

This is the case for me too.. Weird. Slowness seems to be tied to the folder path name. Did you find a solution ?

Regarding the general perf of File Explorer with a lot of video content, double check if the folder is sorted by Length. Normally Length should fill in asynchronously, however when sorted by length, then FE needs to get this data causing a lot of I/O and delaying FE from refreshing the list.
As for 'Videos\Captures' folder, generally any new folder created under Videos defaults to a folder type of Video, not General Items.

Hey, sorry I thought I had replied already - it turned out that indeed I was sorting by date, and rather that using the file's date Explorer was using the date from MPEG metadata. Since it appears to be the same field this is not super intuitive, nor there appear to be a way to disable that behavior.
For Captures this is particularly annoying, all captures are done on the computer so the file and metadata dates are both as accurate, but I can't sort by date if I have lots of files.


architectural decisions 2

skeleton should have a second AD 'used skeleton project as framework'

with links back to skeleton project

and make some architectural decisions in pip skeleton cli to point to in this AD

@evalott100

I have just added an ADR Issue to skeleton-cli see https://github.com/DiamondLightSource/python3-pip-skeleton-cli/issues/61
ADR2 will need to have a link to ADRS in skeleton-cli

I added the AD and tests as part of the boilerplate to see if it's been filled in with missing details. I'm unsure why these tests fail (or why the others pass in github). There's probably some kind of setting I can't find.

Thanks for this. I wouldn't bother making people add 2 more bits of information, no-one ever will. Just set it to the same date as ADR0001, and put in the consequences "This module will use a fixed set of tools as developed in python3-pip-skeleton and can pull from this skeleton to update the packaging to the latest techniques"

Don't know why the test fails, is it rebased on main?

lint fails because it's been formatted with something other than black
The new tests fail because they don't make the exception for being in the skeleton repo, see assert_not_contains_text

Corrected in the above commit.


ci(azure): Set up CI with Azure Pipelines

I'm a Program Manager on Azure Pipelines. I realize this PR is closed, but let me know if you have any questions or suggestions. I'm happy to help!

Hi there,
Thanks for reaching out.
Please ignore the PR. This was just a small spike. I was just testing out some things on the Azure Pipelines.
Going forth, we will be using the pipelines for our deployments.
As for this PR itself, we figured out the visual editor on Pipelines is a rather great feature and sufficient for our needs at the minute. We might add the configurations to source control in future, if the needs change.
Thanks again, will definitely reach out to you with queries.

@raisedadead - awesome to hear that you are planning to use Azure Pipelines! I work with Kayla and was playing around with getting freeCodeCamp (next) building in Pipelines and visualizing the test results so that users don't have to dig through the logs when a test fails.
Here's an example (I injected a change to force a test to fail):

You can access the build I defined here:
https://dev.azure.com/willsmythe/freeCodeCamp/freeCodeCamp Team/_build?definitionId=22&_a=summary
I currently only publish "client" test results, but it wouldn't take much to add server, tools, etc. For client, the jest-junit reporter is used to produce a junit.xml file that gets published as a step in the build.
For the build configuration, I created a simple azure-pipelines.yml (although I agree the visual designer is a great feature):
pool:
  vmImage: 'Ubuntu-16.04'

steps:
- task: NodeTool@0
  inputs:
    versionSpec: '8.x'
  displayName: 'Install Node.js'

- script: |
    npm ci
  displayName: 'npm ci'

- script: |
    npm run test-ci
  displayName: 'npm run test-ci'

- task: PublishTestResults@2
  condition: always()
  inputs:
    testResultsFormat: 'JUnit'
    testResultsFiles: 'client/junit.xml'
    testRunTitle: 'Client'

The one "extra" step I took, which wasn't required but made the test results easier to view, was some tweaks to the client/jest.config.js mainly because of the way title, classname (filename), etc were getting set (or not) for your Enzyme test results:
{
  reporters: [
    [ 'default', {} ],
    [ 'jest-junit', {
        classNameTemplate: "{filepath}",
        ancestorSeparator: " > ",
        titleTemplate: (vars) => {
          return (vars.classname ? vars.classname + " " : "") + vars.title;
        },
        suiteNameTemplate: (vars) => {
          return vars.title || vars.filename;
        }
      }
    ]
  ]
}

If you're interested, here's my fork: https://github.com/willsmythe/freeCodeCamp
Let us know if you have any questions ... we're here to help.

@willsmythe
Awesome! Thanks a lot for taking the time to prepare this spike for us. This definitely looks promising. We will add this to config, and probably into the version control, when we go live. BTW, we are in the middle of a re-architecture, before using pipelines for all 6 production environments. So yes we will have questions.
If its all the same, can I reach you guys somewhere other than this tracker? If thats okay, can you drop me a mail at mrugesh at freecodecamp dot org saying hi?
I'll get back to you with our queries.
Thanks.

@raisedadead - sent. Looking forward to chatting more when you're ready.


Create shortcut to research data file share on Public Desktop

Interim solution to #15

Also need to allow for custom domain configuration for the file share FQDN instead of file.core.windows.net, in case of multi-forest access


Add monkey-patching relocatability test

This demonstrates a way to change the path sensitivity a task's input file property by redeclaring it with a hack.

Quick feedback build: https://builds.gradle.org/viewQueued.html?itemId=9030281


Elevator

[x] Physical
[x] A Simulated version
[ ] Motion Profiled (and tuned)

Is created with no motion profiling, not including limit switches or current limiting

Motors: 2 Falcon500s
2 Limit switches at Bottom
Gear Ratio: 7

not including motion profiling, going under new issue


What is the working mode of HA cluster, master-slave or others? How do multiple servers coordinate

Why you need it?
I want to understand how HA works

Have you tried HA samples?

https://github.com/seata/seata-samples/tree/master/ha

The seata-server server USES the database as the transaction log store, and users can deploy multiple seata-servers to provide clustered services to support high availability on the server side. That's the example. The other ones are like the eureka example, they don't say how to ensure high availability


Chat textarea height doesn't change when side panels are resized

EPAM AI DIAL chat version
0.7
How to reproduce

Resize the sidebars and notice that the height of the textarea has not changed -> bug
Reload the page and notice that the height of the textarea has changed -> ok

Actual result
https://github.com/epam/ai-dial-chat/assets/98586297/242a8877-6b7e-4dda-8aea-ddea61714b99
Expected result
The size of the textarea should change along with resizing of the sidebars
Confidential information

[X] I confirm that do not share any confidential information

The fix was verified on staging environment using Opera, Edge, Chrome browsers successfully. Reported specific FF issue #1224


Components sizes

Sizes:
S- 20px
M- 28px
L- 34px
XL- 46px
default- 28px
Components:
Text input
Search bar
Smart search
DL select (drop-down)
dl buttons

In order to not have a breaking change - we should not change the existing sizes, but add the missing sizes


Commit message does not added to commit file

If you enter --commit  in commit file you'll see NULLMESSAGE_MESSAGE anyway

Fixed


[TextField] Migrate to emotion

[x] I have followed (at least) the PR section of the contributing guide.

Related to #24405

@tomasznguyen Well done for a first


[bug]: bottom nav bar example shows wrong selected nav bar item after browser refresh

Describe the bug
The bottom nav bar example demonstrates the usage of the NestedRouter() with an AppBar() Widget. Selecting the NavBar Item 'History' e.g. will select the item and leads to this url: .../bottom-nav-example/history-view. After refreshing the browser, the url is still the same as expected and also shows the HistoryView but the favorites icon is selected.
To reproduce

Run router_example
Navigate to history view via the app bar item
Refresh the browser
HistoryView is shown but Favorites Icon is selected

Expected behavior
Since there are many scenarios where Nested Routing is used with an appbar the expected behavior in web would be to see the correct nav bar item selected.
Screenshots

Additional Context
No response

@mraaz97 yes, I actually saw this when I migrated the web app. It can be fixed using exactly this technique to get the url path id and match it with the tab.
When we get some time we will update the example to include this information. Thank you for creating the issue. It will help make sure it doesn't slip through the cracks.

Fix the issue in the example using the described solution.

@mraaz97 where is the example app you mentioned? I wanna work on this bug.

Hi @ferrarafer, you can find it here: https://github.com/Stacked-Org/stacked/blob/master/example/router_example/lib/ui/bottom_nav/bottom_nav_example.dart

:tada: This issue has been resolved in version 3.4.0 :tada:
The release is available on:

v3.4.0
GitHub release

Your semantic-release bot :package::rocket:


Problems during installation

Just reporting on problems, so others can avoid falling into same holes.
I did everything on a macbook, 10.11.6, and with python 3.6

To find IP of device, click settings , wifi settings, and then on the wifi network you are connected to.
After running for first time, answered "disabled the id check already?" -> no.
I got "request error 401:, error code 40100 failed to upload file.

At this point I'm not sure what was wrong, I tried various things, among them device reboot.
I rand command 'root' again, this time answering "yes" to the question "have you disabled id check". And, then all seemed successful.

When trying diagnosis, I had an error "module 'serial' has no attribute 'Serial'. This was solved by
pip3 uninstall serial, pip3 install pyserial

My device was at /dev/tty.usbmodem1

If you are in diagnosis mode (black square), and want to reboot, click on the hidden reset button near the power button on the DPT.

Finally I managed to run diagnosis mode. But, something happend, and every command returned
[error] (6,'Device not configured)
exiting, disconnecting the USB cable, reconnecting and restarting the diagnosis command on the mac fixed that.

It would be good to explain better what it means to 'use python_api/assets/adbkey to authenticate device'. I'm not sure if I did the right thing... I copied it to ~/.android, but what should I do?

I met 401 and 40100 previously too. but not seeing things like you later.
for your 7:
yes copy that, then type "adb killserver" then "adb devices" you should see the device with id and usable (you can do adb push, adb install et al), not anymore "unauthorized".

I used 'push-file' to copy python_api/assets/adbkey to folders ~/.android, ~/.android/adb_keys, adb_keys, /data/misc/adb/adb_keys,
however after rebooting, adb devices still output unauthorized, and abd shell output error: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set.

After running for first time, answered "disabled the id check already?" -> no. I got "request error 401:, error code 40100 failed to upload file.

thx for reporting it. Can you tell it a bit more? When it says it?

If you are in diagnosis mode (black square), and want to reboot, click on the hidden reset button near the power button on the DPT.

you can just type reboot & and exit the program.

Finally I managed to run diagnosis mode. But, something happend, and every command returned
[error] (6,'Device not configured)
exiting, disconnecting the USB cable, reconnecting and restarting the diagnosis command on the mac fixed that.

It usually happens because of unstable disconnections (poor cables etc.) while uploading img that's too big. We'll have a better way to upload later.

It would be good to explain better what it means to 'use python_api/assets/adbkey to authenticate device'. I'm not sure if I did the right thing... I copied it to ~/.android, but what should I do?

Sure. I'll change README.md soon to clarify.

I used 'push-file' to copy python_api/assets/adbkey to folders ~/.android, ~/.android/adb_keys, adb_keys, /data/misc/adb/adb_keys, however after rebooting, adb devices still output unauthorized, and abd shell output error: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set.

You shall not do it in diagnosis mode. python_api/assets/adbkey is put to ~/.android in your own computer..

If you are in diagnosis mode (black square), and want to reboot, click on the hidden reset button near the power button on the DPT.

you can just type reboot & and exit the program.

Yes, the problem was that I managed to get into diagnosis mode on the DPT side, but the computer couldn't connect, and so I wanted to exit diagnosis mode...
I think that was when I had problems with the serial connection because I installed serial instead of pyserial...

Ah I see :)
I'm making a newer version to leverage direct pkg flashing. So hopefully we will only need to go to diagnosis once. Stay tuned.


Issue 58 Add Read in BDD .feature file

Behave results:
(venv) vagrant@project:/vagrant$ behave
Feature: The product management service back-end # features/products.feature:1
  As a Product Management Service Owner
  I need a RESTful catalog service
  So that I can keep track of all my products
  Background:   # features/products.feature:6

  Scenario: The server is running                            # features/products.feature:13
    Given the following products                             # features/steps/product_steps.py:21 0.153s
      | name              | category | description         | price   |
      | Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
      | Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
      | White Bread       | Food     | Wonder Bread        | 3.99    |
    When I visit the "Home Page"                             # features/steps/product_steps.py:45 0.275s
    Then I should see "Product RESTful Service" in the title # features/steps/product_steps.py:52 0.007s
    And I should not see "404 Not Found"                     # features/steps/product_steps.py:57 0.001s

  Scenario: Create a Product                          # features/products.feature:18
    Given the following products                      # features/steps/product_steps.py:21 0.141s
      | name              | category | description         | price   |
      | Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
      | Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
      | White Bread       | Food     | Wonder Bread        | 3.99    |
    When I visit the "Home Page"                      # features/steps/product_steps.py:45 0.053s
    And I set the "Name" to "Soap"                    # features/steps/product_steps.py:62 0.076s
    And I set the "Category" to "Toiletries"          # features/steps/product_steps.py:62 0.083s
    And I set the "Description" to "Liquid Hand Soap" # features/steps/product_steps.py:62 0.095s
    And I set the "Price" to "1.99"                   # features/steps/product_steps.py:62 0.075s
    And I press the "Create" button                   # features/steps/product_steps.py:81 0.043s
    Then I should see the message "Success"           # features/steps/product_steps.py:69 0.044s

  Scenario: Read a Product                                                             # features/products.feature:27
    Given the following products                                                       # features/steps/product_steps.py:21 0.159s
      | name              | category | description         | price   |
      | Samsung TV        | Tech     | 52 inch Samsung TV  | 3999.99 |
      | Samsung Galaxy 20 | Tech     | Black Samsung phone | 1999.99 |
      | White Bread       | Food     | Wonder Bread        | 3.99    |
    When I visit the "Home Page"                                                       # features/steps/product_steps.py:45 0.052s
    And I set the "ID" to "1"                                                          # features/steps/product_steps.py:62 0.084s
    And I press the "Retrieve" button                                                  # features/steps/product_steps.py:81 0.052s
    Then I should see the message "Success"                                            # features/steps/product_steps.py:69 0.027s
    And I should see "Samsung TV" in the "Name" field                                  # features/steps/product_steps.py:86 0.013s
    And I should see "52 inch Samsung TV" in the "Description" field                   # features/steps/product_steps.py:86 0.012s
    And I should see "Tech" in the "Category" field                                    # features/steps/product_steps.py:86 0.013s
    And I should see "3999.99" in the "Price" field                                    # features/steps/product_steps.py:86 0.011s
    When I press the "Clear" button                                                    # features/steps/product_steps.py:81 0.041s
    Then the "ID" field should be empty                                                # features/steps/product_steps.py:97 0.011s
    And the "Name" field should be empty                                               # features/steps/product_steps.py:97 0.010s
    And the "Description" field should be empty                                        # features/steps/product_steps.py:97 0.009s
    And the "Category" field should be empty                                           # features/steps/product_steps.py:97 0.013s
    And the "Price" field should be empty                                              # features/steps/product_steps.py:97 0.011s
    When I set the "ID" to "10"                                                        # features/steps/product_steps.py:62 0.050s
    And I press the "Retrieve" button                                                  # features/steps/product_steps.py:81 0.036s
    Then I should see the message "404 Not Found: Product with id '10' was not found." # features/steps/product_steps.py:69 0.023s

1 feature passed, 0 failed, 0 skipped
3 scenarios passed, 0 failed, 0 skipped
30 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m1.671s

Codecov Report

Merging #71 (1416370) into master (bcc01a7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #71   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          200       200
=========================================
  Hits           200       200

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcc01a7...1416370. Read the comment docs.

IBM Cloud toolchain: Delivery Pipeline deployed products to dev, including commit 5419700a704f1016c61646872d866efe511e9caf

IBM Cloud toolchain: Delivery Pipeline deployed products to prod, including commit 5419700a704f1016c61646872d866efe511e9caf


Buildpack cache being cleared before every deploy

Hi,
I'm not able to remember exactly when, but after having updated both dokku and buildstep, every time I trigger a new build/deploy the cache of the application is being purged because it thinks that the stack is being updated (which is not true). This means that it installs and downloads every time all the bundler dependencies. Not a blocking issue, but i significantly slows down the deploy process and is a bit frustrating. Does anyone have some hint on what it could be?
Thanks a lot
Here is the log of the deployment
-----> Cleaning up ...
-----> Building staging ...
-----> Installing ENV in build environment ...
Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.2
-----> Installing dependencies using 1.6.3
Purging Cache. Changing stack from  to
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching source index from https://rubygems.org/
Using minitest 4.7.5
...

I am still facing the same issue.
Even when i push to dokku without changes, it starts with Cleaning up..., even with STACK=cedar configured.
Any ideas?

The Cleaning up... output comes just before the execution of dokku cleanup. This only removes exited containers and 'dangling' image layers. It has nothing to with the buildpack cache that exists in $DOKKU_ROOT/$APP/cache.
https://github.com/progrium/dokku/blob/d9334900fbb58a7711d934240c7fc2f450471f1b/dokku#L133-L140
To your specific issue, you may want to try using a newer version of your particular buildpack as well by specifying a BUILDPACK_URL. Check out the "specifying a custom buildpack" section here: http://progrium.viewdocs.io/dokku/application-deployment


Revert "Pydocgen was failing the release build due to dependency errors."

This shouldn't have been merged yet.
It generates artifacts next to Sphinx-generated headers.

Reverts pulumi/docs#8653
Ref https://github.com/pulumi/docs/pull/8653#issuecomment-1458799615

Revert not desirable. Will try to fix.


Add Read GitBook Link to Top Right Navbar

A Read GitBook link should be added with the GitBook logo to the float right section of the navbar. This should be exactly how the Find me on Github link functions, but to the left of the Github link and linking to this project's GitBook.
The GitBook for this project can be found here.

Hi, please assign me on this!

@fragm3 you got it, it's all yours buddy!


Convert Leading Spaces to Tabs

We decided to standardize on tabs for indentation.  This has the advantage that if Person A likes 2 spaces for indentation, and person B likes 4, and Person C prefers K&R style with 5 spaces, they can set tabs to be their preferred number and things look how they like it.  It also means we won't have a complete mess with a mix of styles, sometimes within the same file, sometimes unintentionally.
Stack Overflow suggests we can do that this way: https://stackoverflow.com/questions/33974681/how-can-i-convert-tabs-to-spaces-and-vice-versa-in-an-existing-file
I suggest we do this early on Carthage before there are any big things that will cause conflicts.  If there are a couple small things it's probably okay to rebase them, but we don't want any mega merges.
We could also do this in parts, e.g. if QueryCiv3 doesn't have any updates pending, we can knock out that section and wait for others to get idle before doing them.
It might also be a good idea to add a Git hook or a style guide program to notify when we accidentally don't follow this.  That could happen when switching IDEs, or when someone new joins.

I have come around to the idea of "tabs for indentation; spaces for alignment"


Copied Contents of ReadFile.c into FileHandler.c and Removed ReadFile.c

I realized I didn't change any references to ReadFiles.c


Where to locate uninfected copy v2.0?

Where can I find an uninfected zip copy of PassCode 2 that's not infected with malware?
The flavor available at https://github.com/unosquare/passcore/releases/download/v2.0.0/passcore-2.0-2016-01-24.zip  is infected (see www.virustotal.com, SHA256: 892f4574ea0001ae49fb9dc01cbf174d315979b6dbe3a06c434cde725e38d710, passcore-2.0-2016-01-24.zip, Detection ratio: 2 / 54.
( https://www.virustotal.com/en/file/892f4574ea0001ae49fb9dc01cbf174d315979b6dbe3a06c434cde725e38d710/analysis/ )
passcore-master.zip, source code ??, is not reported as infected.
Regards,

2 out of the 52 scanners claim that the release is a dropper. I think it's just a false positive. I am rejecting this issue because it is common for scanners to report inaccurately which I believe to be the case in this instance. In any case you also have the option to build the package yourself.


Multiple Foil Tests

Is it possible to have a BodyUnion of two FoilTests? i.e. have two of the FoilTest classes within one flow in order to determine the pressure and force for each, and their interaction with each other?
body = BodyUnion(new FoilTest(x,y,...), FoilTest(x2,y2....));
does not work

That doesn't make sense. BodyUnion takes the union of two bodies, not two test cases. If you want to look at two foils you need to use:
pair = BodyUnion(new NACA(arguments), new NACA(other arguments));

I see. I think the problem im facing is trying to get the outputs from
FoilTest (pressure, force), as well as having the ability to supply a
pitchAmp to each foil. Any suggestions?
Thank you!
On Wed, Apr 6, 2016 at 5:20 AM, Dr Weymouth<EMAIL_ADDRESS>wrote:

That doesn't make sense. BodyUnion takes the union of two bodies, not
two test cases. If you want to look at two foils you need to use:
pair = BodyUnion(new NACA(arguments), new NACA(other arguments));
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/weymouth/lily-pad/issues/8#issuecomment-206252261

I'm thinking about updating body Union and the update routines to make this easier since it seems user unfriendly. Can you help me test it out?

Absolutely, I will be able to today between 530 and 730 EST.
thank you.
On Wed, Apr 6, 2016 at 12:19 PM, Dr Weymouth<EMAIL_ADDRESS>wrote:

I'm thinking about updating body Union and the update routines to make
this easier since it seems user unfriendly. Can you help me test it out?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/weymouth/lily-pad/issues/8#issuecomment-206447795

The new version of BodyUnion lets you add as many bodies on as you want. To change their dynamics you could use
for (Body body : group.bodyList){body.follow(kinematics);}
where kinematics is a function that returns a PVector with (x,y,phi) as in the new foil example in the LilyPad.pde file.
As for forces, look at the SaveArray class in the same (BodyUnion.pde) file. You can use 'saved.printPressForce(pressure, group, L)' to write the pressure force on all the bodies to the same file.


Text exercises: Enforce maximum characters in client

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.

Motivation and Context

Issue number 24 found during exam testing.
While the server rejects text submissions longer than 30.000 characters, this limit was not enforced in the client.
Description

Adding a max-length attribute to the text area should fix this problem.
Steps for Testing

Prerequisites:

1 Instructor
1 Exam with a Text Exercise

Log in to Artemis
Participate in the exam as a student
Try to paste text (lorem ipsum) longer than 30.000 characters into the text exercise

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

unchanged

@bassner Thanks for pointing that out, I will refactor the PR accordingly. 🙂


[Enhancement] No need to build_slice for get data from BinaryColumn

Fixes #issue
There are two main purposes:

Optimize the performance of Convert binary column to arrow format (https://github.com/StarRocks/starrocks/pull/30664)
Convenient for the memory statistics for spark connector export (build slice will allocate additional memory for chunk)

What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[x] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 21 / 21 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/util/arrow/starrocks_column_to_arrow.cpp
21
21
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 21 / 21 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/util/arrow/starrocks_column_to_arrow.cpp
21
21
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

backport branch-3.2

https://github.com/Mergifyio backport branch-2.4

https://github.com/Mergifyio backport branch-3.2


strong mode fixes; expose more functionality

strong mode fixes
expose some undocumented (and unsupported) service protocol methods
rev to 0.3.4

@danrubel

(TBR to publish w/ the strong mode fixes - can revise as necessary)


3059 improve dashboard speed

This adds explicit fields last_resource_id and resource to hs_tracking to speed up dashboard requests for recent activity. It instruments all of hs_tracking for this change and includes a migration command instantiate_resource_ids to run to record resource ids of previous tracking records. That command only needs to be run once during a deploy.
The reason for the two fields is explained by what happens when a resource is deleted. The field resource is nulled automatically, while the field last_resource_id remains at the same value. Thus, deletion of a resource is recorded but tracking is retained for the deleted resource.
I take advantage of this in the dashboard function Variable.recent_resources(user) by querying only for records in which the resource field is not None (so that the resource still exists). This speeds up such queries greatly.
The related query Variable.recent_users(resource) lists the users who have interacted with a specific resource, for use in the resource landing page. This uses the same data and fields.

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

@sblack-usu @pkdash @Castronova @mseul There is an anomaly in tracking that create and delete resource events are recorded as "download". Is this intentional or an oversight?

This sounds like a bug.
Tony
On March 31, 2019 at 11:39:06 AM, Alva Couch<EMAIL_ADDRESS>wrote:
@sblack-usu https://github.com/sblack-usu @pkdash
https://github.com/pkdash @Castronova https://github.com/Castronova
@mseul There is an anomaly in tracking that create and delete resource
events are recorded as "download". Is this intentional or an oversight?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hydroshare/hydroshare/pull/3301#issuecomment-478352352,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEmVZPjFsfVylcfJiaF5ts6s-zRTNVjtks5vcNaZgaJpZM4cUYAJ
.

@pkdash @sblack-usu It was actually a bug in my code, not the original code. Fixed.

@sblack-usu @pkdash @Castronova @martinseul This is ready for review.

@alvacouch Your changes to signals.py look fine to me. I might have to update the parsing scripts in ELK after deploy though.

@Castronova I was hoping that I had not changed the parsing scripts. What did you notice?

@engineSound The point of this PR is that Variable.recent_resources(user, number_of_answers) returns -- very quickly -- a set of the most recent resource accesses by the user. To interpret this, see the example program hs_tracking/management/commands/tracking_recent.py, which displays output from the dict object returned by that function.

@alvacouch is it the code ready for testing recently accessed resources?

@engineSound Yes, it is ready for testing in the dashboard. I still have a question open about what you'd like to display about the individual resources. See the example in hs_tracking/management/commands/tracking_recent_resources.py

@alvacouch great. I am going to give it a try today.

@alvacouch do you have a quick instructions to test this?

The management command instantiate_resource_ids must be run once in order to copy resource ids from the value field to the resource field.

@Castronova @martinseul  does everyone know that the tracking software is not currently tracking the rest api?

Overall, should also do a final check after updates to ensure the enduser UI view is approved by Liza (the non-code layouts, spellings, caps, spacing...)

You have merge conflicts

@cuahsimarko @martinseul @engineSound The build problem for SOLR was corrected by changing one variable name in search_indexes.py

@cuahsimarko @martinseul timeago python package has been successfully added into hs_docker_base. The tag need to be updated on hub.docker.com. Once the tag is updated, timeago will be removed from Dockerfile and new tag updated.

@cuahsimarko @alvacouch @martinseul @Lizabrazil
timeago is built into hs_docker_base.  @sblack-usu has updated hub.docker.com with a new build and new tag release-1.9.8.
Dockerfile in the PR has been committed to reflect the change. When all the buttons are turned green, we can merge to develop.

background
We built a new hs_docker_base release-1.9.8 with the timeago python package. Dockerfile is updated to reflect the change. Jenkin build failed on this in the unit testing section. See error in comment above from @alvacouch. Not sure this is transient. Maybe if we do another test, it would succeed. Jenkins is down at this time.
@sblack-usu Have you experienced this, do you have any insight?
I looked up the github issues history, and found this similar one with similar exception #1469 which @hyi helped to fix. @hyi can you shed light?
The error referred to a call at storage.py 245
https://github.com/hydroshare/hydroshare/blob/208ef9a4a206251a7c42133a8abdba01b16f2d62/django_irods/storage.py#L242-L245
Adding @phuongdm @cuahsimarko @martinseul into discussion.

retest this, please

@alvacouch @cuahsimarko @martinseul @Lizabrazil Jenkins build has passed.


README file suggests this approach has a bigger performance impact than it actually does

In the README file we say:

It would be much better if a mobile user doesn't need to load desktop specific CSS, wouldn't it?

But the media attribute of a stylesheet doesn't actually prevent it from downloading on non-matching media queries:
https://blog.tomayac.com/2018/11/08/why-browsers-download-stylesheets-with-non-matching-media-queries-180513/
Instead, what happens is the CSS file is given a lower download priority.
It would be good if the README was updated to provide a more accurate description of the performance benefits that the approach of media query splitting actually gives.

Hi @philwolstenholme
I agree the wording might be misunderstood – any idea how that text should look?

Instead, what happens is the CSS file is given a lower download priority.

Furthermore the browser doesn't apply that styles so there's a performance gain (though not comparable with not loading the actual file)
I've mentioned "dynamic import" as a notice this plugin doesn't take care of this but you have to do it yourself.

@SassNinja I've raised a PR with some suggested changes to the README that might be useful to people who are interested in this plugin but don't fully understand what the performance benefits would be :) Feel free to make any changes!


fgets posix newline missing

Playing with this test binary, i discovered that the fgets call appears to not be saving the newline entered from stdin.
login.zip
I finds the correct values and appears to populate memory correctly, but it forgets to add the newline character to the posix input file, so replaying the input doesn't correctly generate the path. My guess is similar problems may exist with other generic input sim functions, but not 100% sure.
Re-creating should be as simple as path group exploring the binary to successful print, then state.posix.dumps(0).

Thanks for finding that! Do you have a fix you could PR, by any chance?

Just looked at this again. At some point, looks like this was fixed. Probably fine to close this IMO.


Filter Issue

Hello, I am using this package since Vuetify 3 does not have a proper datatable yet. I am finding that if you navigate to another page on the table (Example, page 5) and then apply a filter, it will display no records unless you manually go back to the first page. Not so much the 1st page specifically but you need to navigate to a page that has data on it.
Another example, if you have 20 items in the table and you can only see 5 items per page and there are 5 items with the first name "Mike" in it. If you navigate to the last page and then apply the filter of 'Mike" to the first name column, it will show no records until you navigate back to a page that now contains those records, which in this scenario would be the first page.
A work around would be once a filter is applied, to automatically go to the first page of the table, but I am not sure if that is possible at the moment. Any ideas?

@Merdmann1007 Sorry for this issue, Please update to the latest version 1.5.22, then table pagination will turn to the first page after filter options updates.


Fix Router to handle same url with different HTTP methods

Might be also of interest for @leviathan

Current coverage is 99.58% (diff: 100%)

Merging #127 into master will increase coverage by <.01%

@@             master       #127   diff @@
==========================================
  Files            10         10
  Lines           474        483     +9
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            472        481     +9
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update 7450b8f...b558a68


Public common interface added for both scroll bar types

Improvements

added a new IScrollBar interface, implemented by the base MaterialScrollBar class. This way, the MaterialScrollBar can keep it's package internal visibility and still people can use a public common interface for both scroll bars
added a setEnabled(bool) function to disable the need to force a RecyclerView to be attached to the scroll bar

Why?

so that you can write clean code that works with either of the 2 scroll bars (for example, if you allow to define different scrollbars via a user setting you don't have to use instanceof and casts anymore)
I want this to completely disable the view and to remove all interactions between RecyclerView and Scrollbar, useful in a single activity layout for example.

I can remove 2, it may be not that useful for many, on the other hand, it's a mini function and does not harm any functionality. Just let me know if want that...

So I'm having a hard time understanding what issue 1 is. Why wouldn't you just cast to (MaterialScrollBar) if you don't care which variant it is? Could you provide an example where this wouldn't work?

Alternative to my interface solution is making MaterialScrollBar public. It's package internal currently... I just did not want to change that as you may have had a reason to make the class package internal. With the interface the actual implementation stays hidden... but making the class public would be enough for me as well

No, I'm not really sure why I did that. I'll just make MaterialScrollBar public. As far as issue 2 goes, I'm just awfully hesitant to do that since they're so interconnected. The idea of an unconnected RecyclerView just doesn't sit well. If you wanted to make this yourself you could just extend whichever variant you need and then add this functionality and then just override the onLayout method.

Making the MaterialScrollBar public is ok for me. But why don't support setting the RecyclerView at any time via code? My enabled flag is just a quick fix, but skipping the layout at any place if the RecyclerView was not set would be possible as well and would make sense. Just as you do if the RecyclerViews adapter is not set.


Update lt.coffee

More translation strings

Good job, @snarkota

Thank you, @Imperadeiro98
BTW, I would gladly translate some levels too, but for some reason I'translation page at https://codecombat.com/i18n does not start for me. Loading progress bar fills to 100% and then just stays there. I've tested it with Chrome 46.0.2490.71 m (win7 and win10), Edge Browser and IE (win10, win7, IE compatibility mode as well).
Is it a known problem or should I go and submit a ticket (somwhere).. Or maybe I'm just doing something wrong?
Best regards and sorry for offtopic...

Hello @snarkota,
Could I ask you to open up your console and tell us what errors you see when you try this?
Here is a link to instructions on how to open the javascript console:
http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers/77337#77337

templates/i18n/i18n-home-view
views/i18n/I18NHomeView
app.js:456 loaded 2 files, 12 KB
4 (program):20 Uncaught TypeError: Array.prototype.indexOf called on null or undefined

I have opened an issue here https://github.com/codecombat/codecombat/issues/3126. Thank you for the bug report.


Scorecard is saving too much data

The scorecard's onSave method is JSON-encoding and saving the entirety of the mission packs, instead of just the current game state. This is what's causing the game to freeze a bit every 10 seconds! High priority to fix!

Fixed in 0738a39d802432196dd08a4dabdde4979443e4b8. Six months isn't too long for a "high priority to fix" issue, right? 😬 Sorry y'all!
Will close when published (v2.43).


UnhandledPromiseRejectionWarning ??

const html = require('ejs').renderFile(view, Object.assign({}, opts));
res.status(200);
res.setHeader('Content-Type', 'text/html; charset=utf-8');
return res.end(Buffer.from(html, "utf-8"));

(node:8243) UnhandledPromiseRejectionWarning: Invalid access of discarded (invalid, deleted) uWS.HttpResponse/SSLHttpResponse.
(node:8243) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
In the tests I did, sometimes the error appears and sometimes not, but only when using setheader, and only in google chrome.
Firefox tests did not result in the error.

Hi
Thanks for reporting issue.
Issue happening in pro and pro-esm too or only in simple version?
Can you create reproducible repository for quicker progress of solving this issue?

I did not perform the tests on others versions, because I liked this version more.

There 3 branches on this repository

i'm installing via: npm install --save nanoexpress

Then it’s simple version. I’ll try to reproduce and fix issue

I was doing some tests, and I'm suspecting the "static" module; I made an alternate routine for statistics files that returns with 404, and removed "app.static". and did not give the error.
Then I did another routine to return the file via sendFile, and the error reappeared.

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'error' of undefined
nanoexpress.js:1754:44
if (!result || result.error) {
      if (config._errorHandler) {
        return config._errorHandler(result.error, req, res);
      }
....
}

"!result" = result undefined = undefined.error;

I solved the problem of "UnhandledPromiseRejectionWarning" by disabling app.static, and creating a routine for it by uploading the file otherwise.
the example is very simple, just for reference.
After this change the error stopped appearing, so I believe it was being created by the "app.static" module;
const fs = require('fs');
const path = require('path');
const mime = require('mime-types');

assetpath = path.resolve(__dirname, 'static');
assetfile = "bundle.min.css";

const getextension = assetfile.split(".");
const contenttype = mime.contentType(getextension[(getextension.length -1)]);

return Promise.all([fs.readFileSync(path.join(assetpath, assetfile))]).then(r => {
                if((r) && (r[0])) {
                    res.status(200);
                    res.setHeader('Content-Type', contenttype);
                    return res.end(r[0]);
                }
                throw new Error("Error: read file");
            }).catch(err => {
                throw new Error(err ? err : "Error: read file");
            });

Try use nanoexpress-pro or dalisoft/nanoexpress#pro-esm (ESM only, Node.js 13+). If it's appearing on these branches, then i will fix only master, else i should fix all branches

I did not test esm, but I tested pro, and also the error happened when activating "static";
so I believe you should correct the "static" module of all branches to avoid this promise error.

On simple version i'm didn't get any errors, but on pro version fixed this error. Maybe you can create reproducible gist or repo?

@jamilservicos Can you test new pro and simple version again?

I'm kind of out of time, so once I have some time I'll take the test

Issue was closed due of inactivity


Added Dataloader.has_source? so registered sources can be checked

While writing some code to add multiple sources to a loader, I noticed that after a source is added subsequent calls to add_source would overwrite the existing source which makes sense. But I wanted to be able to be defensive about it, so I've added a function to check before potentially overwriting an existing source.

The struct is typespeced and sources is documented there. Accessing directly is just fine, I don't think we need an accessor function at this time.


Extension comments not added to Terraform state when using Terraform apply with the Atlas provider

Atlas itself detects no changes:
% atlas schema apply --dry-run -c file://schema/atlas.hcl --env dev
Schema is synced, no changes to be made

with the dev env configured as
env {
  name = atlas.env
  src = "file://schema/public.hcl"
  url = "postgres://<IP_ADDRESS>?sslmode=disable"
  dev = "postgres://<IP_ADDRESS>/atlas_dev?sslmode=disable"
}

But Terraform gives the following plan repeatedly on apply:
% terraform plan

      ...

      extension "google_columnar_engine" {
        schema  = schema.public
        version = "1.0"
    +   comment = "Google extension for columnar engine"
      }
      extension "google_db_advisor" {
        schema  = schema.public
        version = "1.0"
    +   comment = "Google extension for Database Advisor"
      }
      extension "hypopg" {
        schema  = schema.public
        version = "1.3.2"
    +   comment = "Hypothetical indexes for PostgreSQL"
      }
      extension "postgis" {
        schema  = schema.public
        version = "3.2.5"
        comment = "PostGIS geometry and geography spatial types and functions"
      }

I happen to be using GCP's AlloyDB which is essentially a managed PostgreSQL instance with some added Google-proprietary extensions. The Terraform configuration gives Atlas a separate database (on the same instance) to use as a dev database.
data "atlas_schema" "public" {
  src = file("${path.module}/schema/public.hcl")
  dev_url = "postgres://<IP_ADDRESS>/atlas_dev?sslmode=disable"
  depends_on = [
    postgresql_database.kateri,
    postgresql_database.atlas_dev
  ]
}

resource "atlas_schema" "public" {
  hcl = data.atlas_schema.public.hcl
  url = "postgres://<IP_ADDRESS>?sslmode=disable"
  dev_url = data.atlas_schema.public.dev_url

  depends_on = [
    postgresql_database.kateri,
    postgresql_database.atlas_dev
  ]
}

The dev database is empty except for the public schema.
It's possible this is user error but I haven't seen any references to this issue online or been able to track down the cause myself.

Thank you for report this, I'll look into it soon.

Thanks for your suggestion @a8m. I did try that, but for some reason it yields the same Terraform plan I gave above after several applications of terraform apply.


something wrong in bedtools getfasta -name

BEDtools version 2.26.0.
Example as follow:
mm10-NlaIII.bed:
chr1	0	3000185	HIC_chr1_1@chr1:0-3000185
chr1	3000185	3000316	HIC_chr1_2@chr1:3000185-3000316
chr1	3000316	3000850	HIC_chr1_3@chr1:3000316-3000850
chr1	3000850	3001659	HIC_chr1_4@chr1:3000850-3001659
Code one with parameter -name:
bedtools getfasta -fi mm10.fasta -bed mm10-NlaIII.bed -name | fold -w 70
Result fastq header:

HIC_chr1_7512::chr1:4664567-4666090
HIC_chr1_7511::chr1:4664466-4664567

Code one without parameter -name:
bedtools getfasta -fi mm10.fasta -bed mm10-NlaIII.bed | fold -w 70
Result fastq header:

chr1:5006220-5006371
chr1:5006142-5006220

Can you help me with this question?
Best wish.

I find exactly the same thing with bedtools v2.29.2, seems like the functionality of --name has changed. Is this now expected behaviour that fastq header should be e.g.:

chr1.tRNA1-ValCAC-::chr1:16725515-16725688(+)
chr1.tRNA1-ValCAC-(+)
?

It's true that the -name function has been changed since 2.26.0. The output is not same like what said in the getfasta doc:
$ cat test.fa
>chr1
AAAAAAAACCCCCCCCCCCCCGCTACTGGGGGGGGGGGGGGGGGG

$ cat test.bed
chr1 5 10 myseq

$ bedtools getfasta -fi test.fa -bed test.bed -name
>myseq
AAACC

I am using 2.25.0 and it works like above. I really think the old one is what exactlly we need. However, I am not sure it's a bug or intentional, if the former, please fix it.
Sincerly thanks!

It can be fixed by piping through sed:
$ bedtools getfasta -fi test.fa -bed test.bed -name | sed 's/::.*//'

but I would prefer not to have to do the extra step.

It seems that at least as of v.2.30.0 there are new flags
-name
now gives the name and coordinates together
-nameOnly
does what -name used to do and gives just the name indicated in the .bed
See the man page:
https://bedtools.readthedocs.io/en/latest/content/tools/getfasta.html