Add function to plot multiple data elements for one area over time

Requet additional function to plut multimple data elements for the same area (county) over time.  This function is Similar to issue #8 .

Okay so I have been playing around with R Studio trying to make this work.  I was able to create an example using made up data and came up with this code:
# TotPop<- c(100, 200, 300, 400)
# SWPop<- c(50, 100, 150, 200)
# df2<-(Year, TotPop, SWPop)
# View(df2)
# library("reshape2")
# mdf <- melt(df2, id.vars="Year", value.name="value", variable.name="DataElement")
# View(mdf)
 ggplot(data=mdf, aes(x=Year, y=value, group = DataElement, colour = DataElement)) + geom_line() + geom_point( size=4, shape=21, fill="white") + ggtitle("Kent County")

The next step is to code this up using our data and make it happen that way but baby steps!  ;-)

It makes this:

@grrmartin-USGS will help out. Note you should use _spread and _gather rather than reshape 'melt' and 'cast'.

This looks promising...playing with the code in the function we have in time_series_data, changing color=COUNTYNAME to color= "dataElement" and in the facet using COUNTYNAME instead of dataElement gives now multiple data elements plotted over time for single counties. (time_series_data gives multiple counties for plotted over time for single data elements.  (We almost had this figured out at the end of the 'sprint')

df <- w.use[,c("YEAR",area.column,data.elements)]
df <- gather_(df, "dataElement", "value", c(data.elements))
ts.object <- ggplot(data = df)

plot points
default is to include legend

ts.object <- ts.object + geom_point(aes_string(x = "YEAR", y = "value", color = "dataElement"))
ts.object <- ts.object + facet_grid(COUNTYNAME ~ .) +  ylab("")
ts.object

![multipledataelementtimeseriesdcapture]
(https://cloud.githubusercontent.com/assets/18426661/15327522/c3927aca-1c1f-11e6-9a8b-2d3bd23836db.JPG)
Then the bar graph works also with these substitutions:

ts.object <- ggplot(data = df)
ts.object <- ts.object + geom_bar(aes_string(x = "YEAR", y = "value", fill = "dataElement"), position = "dodge",stat="identity")
ts.object <- ts.object + facet_grid(COUNTYNAME ~ .) +  ylab("")
ts.object

@grrmartin-USGS Cool, Gary!  Looks great-- :+1:  I worked your code up into a function/R_Script and think it's going to work.  I might change points into a line-- is that ok?  I'll post the code here in a few.

#' multi_element_data
#'
#' multi_element_data
#'
#' @param data.elements character name of data element within available categories by year for state
#' @param years vector of integers specifying all years available for state. Defaults to NA which shows all years in dataset.
#' @param w.use is a subset of the datafile wUseSample that includes all areas in all data elements for state
#' @param areas is a geographical area as defined in your datafile such as county, HUC, or aquifer
#' @param area.column character that defines which column to use to specify area
#' @param y.scale allows R to set the y-axis scale given available data range. Defaults to NA which lets R set the scale based on dataset values.
#' @param log = TRUE or FALSE allows user to set log scale, default is FALSE
#' @param plot.points is a logical function to show counties as points or clustered bar graph
#' @param legend is a logical function to include list of counties in a legend if manageable, default is TRUE
#'
#'
#' @export
#' @import ggplot2
#' @importFrom tidyr gather_
#'
#' @examples
#' df <- wUseSample
#' areas <- c("Kent County","Sussex County")
#' area.column = "COUNTYNAME"
#' data.elements <- c("PS.GWPop","TP.TotPop")
#' w.use <- subset_wuse(df, data.elements,area.column,areas)
#' year1 <- 2005
#' year2 <- 2010
#' years <- c(year1, year2)
#' multi_element_data(w.use, data.elements, area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas, legend=FALSE)
#' multi_element_data(w.use, data.elements, area.column)
#' multi_element_data(w.use, data.elements, area.column, y.scale = c(0,1000))
#' multi_element_data(w.use, data.elements, area.column,
#'        y.scale = c(0,100), years = c(1990,2005))
multi_element_data <- function(w.use, data.elements, area.column, plot.points = TRUE,
                             years= NA, areas= NA, y.scale=NA, log= FALSE, legend= TRUE){

  if(!all(is.na(areas))){
    w.use <- w.use[w.use[[area.column]] %in% areas,]
  }

  df <- w.use[,c("YEAR",area.column,data.elements)]

  df <- gather_(df, "dataElement", "value", c(data.elements))

  me.object <- ggplot(data = df)

  if(plot.points){
    me.object <- me.object + geom_point(aes_string(x = "YEAR", y = "value", color = "dataElement"), show.legend = legend)
  } else {
    me.object <- me.object + geom_bar(aes_string(x = "YEAR", y = "value",
                                                 fill = "dataElement"),
                                      position = "dodge",stat="identity",show.legend = legend)
  }

  me.object <- me.object + facet_grid(COUNTYNAME ~ .) +
    ylab("")

  if(!all(is.na(y.scale))){
    me.object <- me.object + ylim(y.scale)
  }

  if(!all(is.na(years))){
    me.object <- me.object + xlim(years)
  }

  if(log){
    me.object <- me.object + scale_y_log10()
  }

  me.object

  return(me.object)
}

Sure a line is fine.
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Tue, May 17, 2016 at 3:23 PM, jshourds-usgs<EMAIL_ADDRESS>wrote:

#' multi_element_data
#'
#' multi_element_data
#'
#' @param data.elements character name of data element within available categories by year for state
#' @param years vector of integers specifying all years available for state. Defaults to NA which shows all years in dataset.
#' @param w.use is a subset of the datafile wUseSample that includes all areas in all data elements for state
#' @param areas is a geographical area as defined in your datafile such as county, HUC, or aquifer
#' @param area.column character that defines which column to use to specify area
#' @param y.scale allows R to set the y-axis scale given available data range. Defaults to NA which lets R set the scale based on dataset values.
#' @param log = TRUE or FALSE allows user to set log scale, default is FALSE
#' @param plot.points is a logical function to show counties as points or clustered bar graph
#' @param legend is a logical function to include list of counties in a legend if manageable, default is TRUE
#'
#'
#' @export
#' @import ggplot2
#' @importFrom tidyr gather_
#'
#' @examples
#' df <- wUseSample
#' areas <- c("Kent County","Sussex County")
#' area.column = "COUNTYNAME"
#' data.elements <- c("PS.GWPop","TP.TotPop")
#' w.use <- subset_wuse(df, data.elements,area.column,areas)
#' year1 <- 2005
#' year2 <- 2010
#' years <- c(year1, year2)
#' multi_element_data(w.use, data.elements, area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas, legend=FALSE)
#' multi_element_data(w.use, data.elements, area.column)
#' multi_element_data(w.use, data.elements, area.column, y.scale = c(0,1000))
#' multi_element_data(w.use, data.elements, area.column,
#'        y.scale = c(0,100), years = c(1990,2005))
multi_element_data <- function(w.use, data.elements, area.column, plot.points = TRUE,
years= NA, areas= NA, y.scale=NA, log= FALSE, legend= TRUE){
if(!all(is.na(areas))){
w.use <- w.use[w.use[[area.column]] %in% areas,]
}
df <- w.use[,c("YEAR",area.column,data.elements)]
df <- gather_(df, "dataElement", "value", c(data.elements))
me.object <- ggplot(data = df)
if(plot.points){
me.object <- me.object + geom_point(aes_string(x = "YEAR", y = "value", color = "dataElement"), show.legend = legend)
} else {
me.object <- me.object + geom_bar(aes_string(x = "YEAR", y = "value",
fill = "dataElement"),
position = "dodge",stat="identity",show.legend = legend)
}
me.object <- me.object + facet_grid(COUNTYNAME ~ .) +
ylab("")
if(!all(is.na(y.scale))){
me.object <- me.object + ylim(y.scale)
}
if(!all(is.na(years))){
me.object <- me.object + xlim(years)
}
if(log){
me.object <- me.object + scale_y_log10()
}
me.object
return(me.object)
}
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/USGS-R/wateRuse/issues/25#issuecomment-219825828

🖐
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Tue, May 17, 2016 at 3:49 PM, Martin, Gary<EMAIL_ADDRESS>wrote:

Sure a line is fine.
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Tue, May 17, 2016 at 3:23 PM, jshourds-usgs<EMAIL_ADDRESS>wrote:

#' multi_element_data
#'
#' multi_element_data
#'
#' @param data.elements character name of data element within available categories by year for state
#' @param years vector of integers specifying all years available for state. Defaults to NA which shows all years in dataset.
#' @param w.use is a subset of the datafile wUseSample that includes all areas in all data elements for state
#' @param areas is a geographical area as defined in your datafile such as county, HUC, or aquifer
#' @param area.column character that defines which column to use to specify area
#' @param y.scale allows R to set the y-axis scale given available data range. Defaults to NA which lets R set the scale based on dataset values.
#' @param log = TRUE or FALSE allows user to set log scale, default is FALSE
#' @param plot.points is a logical function to show counties as points or clustered bar graph
#' @param legend is a logical function to include list of counties in a legend if manageable, default is TRUE
#'
#'
#' @export
#' @import ggplot2
#' @importFrom tidyr gather_
#'
#' @examples
#' df <- wUseSample
#' areas <- c("Kent County","Sussex County")
#' area.column = "COUNTYNAME"
#' data.elements <- c("PS.GWPop","TP.TotPop")
#' w.use <- subset_wuse(df, data.elements,area.column,areas)
#' year1 <- 2005
#' year2 <- 2010
#' years <- c(year1, year2)
#' multi_element_data(w.use, data.elements, area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas, legend=FALSE)
#' multi_element_data(w.use, data.elements, area.column)
#' multi_element_data(w.use, data.elements, area.column, y.scale = c(0,1000))
#' multi_element_data(w.use, data.elements, area.column,
#'        y.scale = c(0,100), years = c(1990,2005))
multi_element_data <- function(w.use, data.elements, area.column, plot.points = TRUE,
years= NA, areas= NA, y.scale=NA, log= FALSE, legend= TRUE){
if(!all(is.na(areas))){
w.use <- w.use[w.use[[area.column]] %in% areas,]
}
df <- w.use[,c("YEAR",area.column,data.elements)]
df <- gather_(df, "dataElement", "value", c(data.elements))
me.object <- ggplot(data = df)
if(plot.points){
me.object <- me.object + geom_point(aes_string(x = "YEAR", y = "value", color = "dataElement"), show.legend = legend)
} else {
me.object <- me.object + geom_bar(aes_string(x = "YEAR", y = "value",
fill = "dataElement"),
position = "dodge",stat="identity",show.legend = legend)
}
me.object <- me.object + facet_grid(COUNTYNAME ~ .) +
ylab("")
if(!all(is.na(y.scale))){
me.object <- me.object + ylim(y.scale)
}
if(!all(is.na(years))){
me.object <- me.object + xlim(years)
}
if(log){
me.object <- me.object + scale_y_log10()
}
me.object
return(me.object)
}
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/USGS-R/wateRuse/issues/25#issuecomment-219825828

Seems you would likely generally need a legend to distinguish data.elements
on same plot. If you omit the legend clause, I think it defaults to include
legend.
On Tue, May 17, 2016 at 3:50 PM, Martin, Gary<EMAIL_ADDRESS>wrote:

🖐
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Tue, May 17, 2016 at 3:49 PM, Martin, Gary<EMAIL_ADDRESS>wrote:

Sure a line is fine.
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Tue, May 17, 2016 at 3:23 PM, jshourds-usgs<EMAIL_ADDRESS>wrote:

#' multi_element_data
#'
#' multi_element_data
#'
#' @param data.elements character name of data element within available categories by year for state
#' @param years vector of integers specifying all years available for state. Defaults to NA which shows all years in dataset.
#' @param w.use is a subset of the datafile wUseSample that includes all areas in all data elements for state
#' @param areas is a geographical area as defined in your datafile such as county, HUC, or aquifer
#' @param area.column character that defines which column to use to specify area
#' @param y.scale allows R to set the y-axis scale given available data range. Defaults to NA which lets R set the scale based on dataset values.
#' @param log = TRUE or FALSE allows user to set log scale, default is FALSE
#' @param plot.points is a logical function to show counties as points or clustered bar graph
#' @param legend is a logical function to include list of counties in a legend if manageable, default is TRUE
#'
#'
#' @export
#' @import ggplot2
#' @importFrom tidyr gather_
#'
#' @examples
#' df <- wUseSample
#' areas <- c("Kent County","Sussex County")
#' area.column = "COUNTYNAME"
#' data.elements <- c("PS.GWPop","TP.TotPop")
#' w.use <- subset_wuse(df, data.elements,area.column,areas)
#' year1 <- 2005
#' year2 <- 2010
#' years <- c(year1, year2)
#' multi_element_data(w.use, data.elements, area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas)
#' multi_element_data(w.use, data.elements, plot.points = FALSE,
#'        area.column = area.column,areas = areas, legend=FALSE)
#' multi_element_data(w.use, data.elements, area.column)
#' multi_element_data(w.use, data.elements, area.column, y.scale = c(0,1000))
#' multi_element_data(w.use, data.elements, area.column,
#'        y.scale = c(0,100), years = c(1990,2005))
multi_element_data <- function(w.use, data.elements, area.column, plot.points = TRUE,
years= NA, areas= NA, y.scale=NA, log= FALSE, legend= TRUE){
if(!all(is.na(areas))){
w.use <- w.use[w.use[[area.column]] %in% areas,]
}
df <- w.use[,c("YEAR",area.column,data.elements)]
df <- gather_(df, "dataElement", "value", c(data.elements))
me.object <- ggplot(data = df)
if(plot.points){
me.object <- me.object + geom_point(aes_string(x = "YEAR", y = "value", color = "dataElement"), show.legend = legend)
} else {
me.object <- me.object + geom_bar(aes_string(x = "YEAR", y = "value",
fill = "dataElement"),
position = "dodge",stat="identity",show.legend = legend)
}
me.object <- me.object + facet_grid(COUNTYNAME ~ .) +
ylab("")
if(!all(is.na(y.scale))){
me.object <- me.object + ylim(y.scale)
}
if(!all(is.na(years))){
me.object <- me.object + xlim(years)
}
if(log){
me.object <- me.object + scale_y_log10()
}
me.object
return(me.object)
}
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/USGS-R/wateRuse/issues/25#issuecomment-219825828

@jshourds-usgs ....do you want to put that function in a file in the "R" folder? Then, we could give it a test and maybe I could get @rwdudley-usgs  to hook it up to the shiny app

@ldecicco-USGS  just created a pull request with the function.  Couldn't figure out how to add a geom_line() so I left it out...

cool, I'll have a look!

@grrmartin-USGS You're right so I got rid of the legend feature

I'm about to merge a pull request that adds in this feature to the shiny app. You guys should all pull from upstream and play around with more data to test.
I added a button to change areas....this means that when you get to this new tab, you might want to majorly reduce the number of areas to view (instead of 88 counties for example, you might just want 3). So, click on/off the boxes you want, and then click the button that says "Click Here to Switch Areas"


Remove check of max_depth

max_depth can take both positive and negative value

I think we should not push to master brach directory, we should check ot passing tests.
https://github.com/Microsoft/LightGBM/commit/50534f1fce4325d186a6998f35373105fe97c5a1

@henry0312 I just want to fix it forcefully, but find your PR.
So I merge it directly.

Okay, I see :)


@theguild/components bump

:tada: This PR is included in version 2.5.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


GCE: Fix calling non-existent function

ex_get_disk does not exist as a function on the GCEDriver object. This replaces the improper ex_get_disk call with the correct ex_get_volume call.

LGTM
I also need to resume with the project of enabling pylint so those things are detected automatically.
/cc @erjohnso

Merged, thanks.


DBZ-2697 Optimisation on SQLServer connector for skipped.operations

https://issues.redhat.com/browse/DBZ-2697

I ran tests locally, it was okay(always local is okay:D), but I think the test failure is irrelevant to this PR

haha, everytime that I cant run test on my local, it passes here :)))

This also would need a rebase, @blcksrx!

@blcksrx, could you run the formatter, please? Always a good idea to do so locally before committing :)

@gunnarmorling My bad, sorry :)

There are quite a few test failures :( Do you think they are related? Does the test suite pass for you when building this change locally?

the tests were unrelated, let me rebase with master and run actions again

@blcksrx, hum, I'm seeing tons of test failures when building this branch :( Does the build pass for you locally?

Thanks for checking it, Im going to look at it at the weekend
Sent from my iPhone

On 2 Jun 2021, at 15:54, Gunnar Morling @.***> wrote:

@blcksrx, hum, I'm seeing tons of test failures when building this branch :( Does the build pass for you locally?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hey @blcksrx, hum, so there are still quite a lot of test failures. I'm going to close this one for the time being, so to clean off the slate a bit. Please feel free to re-open once all tests (at least in the SQL Server connector module) pass for you locally. Thx!


How to add Job Title in Vcard v3

Type of issue
[ ] Bug
[X ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement
Your Environment

Version used:  v3
Environment (.NET 3.5, .NET 4.X, .NETCore, ...):  .Net 4.5

May I ask about how to add Job Title in the VCard?
ContactData generator = new ContactData(ContactData.ContactOutputType.VCard3, ......)
            string payload = generator.ToString();

I solved by myself


🚀 : Implement Gamifications

Is your feature request related to a problem? Please describe.
Users lack motivation and engagement within the platform, leading to decreased usage and interaction.
Describe the solution you'd like
Implement gamification elements to incentivize and reward user engagement, such as badges, levels, points, leaderboards, challenges, and virtual rewards.
https://dc.rik.ai/projects/comic-english
Describe alternatives you've considered
Exploring other engagement strategies like community events, content competitions, or loyalty programs.
Additional context
Gamification has been proven to increase user engagement and retention in various applications and platforms. Integrating these elements could significantly enhance user experience and drive desired behaviors within the platform.
Contributor: @dcsan @Sultana-Eve
If you want speed up process of this issue, please send 🚀 as a reaction.

abstract gamification like badges etc is more to motivate repetitive tasks, like memorizing vocabulary or flash cards.
Comic english was more about using text adventure games where the content of the story was the game. This worked very well to get people to want to understand what was written and solve the puzzles in the content. It's a different type of gameplay.
of course you can have badges and achievements, ranking etc for this, but that is like sugar you can put on any dish. The dish itself has to have delicious and nutritious content.

abstract gamification like badges etc is more to motivate repetitive tasks, like memorizing vocabulary or flash cards.
Comic english was more about using text adventure games where the content of the story was the game. This worked very well to get people to want to understand what was written and solve the puzzles in the content. It's a different type of gameplay. of course you can have badges and achievements, ranking etc for this, but that is like sugar you can put on any dish. The dish itself has to have delicious and nutritious content.

@dcsan Thanks for sharing your insights! It's fascinating how different approaches to gamification can serve distinct purposes. Abstract gamification with badges and such seems perfect for motivating repetitive tasks, while incorporating storytelling and puzzles into language learning offers a more immersive and engaging experience. Your analogy of badges and achievements being like sugar on a dish is spot on – they can enhance the experience, but the core content needs to be fulfilling on its own. Thanks again for the perspective!


feat: allow config base url

Thank you for providing this cool demo!
I think it would be better if the base_url field could be configured, so I added this.

Thanks! Merged


Sync multiple tabs in 1 script

Hi there,
The current Script working great. I've set it up with a trigger to update daily, but have 1 other thing I'd like to edit (with my limited exprience).
I see everywhere SpreadsheetApp.getActiveSpreadsheet ().
What I'd like to do is set up this script to work with multiple 'Sheets' (tabs). Ideally this would run as 1 master Script to save work/ editing in the future. For this the 'URL' to this spreadsheet could be fixed, and each going to its own CalendarID. And need to set up this with various tab names 'John', 'James', etc.
I'd rather have this all running from 1 Google Sheets instead of creating separate Google Sheet document, and having to copy n paste.
Any ideas for this setup?
I'm using the Spreadsheet > Calendar function only.
Any ideas welcome! and any questions let me know.
Thanks,
Joel

@Davepar
Dave, any ideas?
This is similar to
https://github.com/Davepar/gcalendarsync/issues/62
but I don't yet follow his instructions without seeing code/ document.
Any ideas to help?
Thanks


AML Pipeline: azureml:dataset_name:@latest does not return latest registered dataset

I have submited a pipeline run using yaml + CLI2 command "az ml job create -f filename".
The pipeline gets created. However, the wrong version of dataset is selected if I use "azureml:dataset_name:@latest".
In the yaml I declare:
inputs:
  training_data:
      type: mltable
      path: azureml:greenfield_slp_combined_input@latest

I should get version 5 of the dataset, instead the pipeline gets version 1.
Not being able to get the latest version of the dataset is quite a big issue.
On a separate topic, "@latest" works fine when I try to select the latest environment.

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

ID: c56bf00c-ec47-4a12-9a87-137fb29893e0
Version Independent ID: 86302e6a-7281-fb13-3702-63ea37622606
Content: Access data in a job - Azure Machine Learning
Content Source: articles/machine-learning/how-to-read-write-data-v2.md
Service: machine-learning
Sub-service: mldata
GitHub Login: @ynpandey
Microsoft Alias: yogipandey

@thegitofdaniel
Thanks for your feedback! We will investigate and update as appropriate.

Hi @thegitofdaniel
We have assigned this to content author @ynpandey to check and share his valuable insights on this.

Please notice: it worked when I had a V2 datasets. It didn't get the latest only when I had a V1 dataset. Backward compatibility should be guaranteed.

Thank you Daniel for the feedback! It's a known issue and we are currently working on it.  This issue should be resolved by end of June.


If you don't know how to use MediaPipe itself, please ask it in the official community.

Please ask it elsewhere next time.
Since we know whether the detected hand is the right or left hand (cf. https://google.github.io/mediapipe/solutions/hands.html#multi_handedness), we can determine the orientation of the palm by the position of the thumb.


fix: use readline module to clear dev-server logs before writing

I made this change to run dev-server in CI.
However, logs from dev-server messes out the output from tests.

  Logs page
Active Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 1 | Messages Sent: 101 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 102 | Current Speed: 0 msg/s    ✓ should redirect to /logs (2613ms)
Active Streams: 2 | Messages Sent: 103 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 104 | Current Speed: 0 msg/s    ✓ should display the title "Log Stream" (109ms)
    log level timeline
      ✓ shows a graph with time axis and occurence count level (155ms)
      on changing log duration
Active Streams: 2 | Messages Sent: 105 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 106 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 106 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 107 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 108 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 109 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 110 | Current Speed: 6 msg/s        ✓ changes duration from the dropdown menu (456ms)
Active Streams: 2 | Messages Sent: 111 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 112 | Current Speed: 6 msg/s

  4 passing (4s)

Do you suggest not logging in CI?

I made this change to run dev-server in CI.
However, logs from dev-server messes out the output from tests.

  Logs page
Active Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 0 | Messages Sent: 100 | Current Speed: 0 msg/sActive Streams: 1 | Messages Sent: 101 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 102 | Current Speed: 0 msg/s    ✓ should redirect to /logs (2613ms)
Active Streams: 2 | Messages Sent: 103 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 104 | Current Speed: 0 msg/s    ✓ should display the title "Log Stream" (109ms)
    log level timeline
      ✓ shows a graph with time axis and occurence count level (155ms)
      on changing log duration
Active Streams: 2 | Messages Sent: 105 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 106 | Current Speed: 0 msg/sActive Streams: 2 | Messages Sent: 106 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 107 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 108 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 109 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 110 | Current Speed: 6 msg/s        ✓ changes duration from the dropdown menu (456ms)
Active Streams: 2 | Messages Sent: 111 | Current Speed: 6 msg/sActive Streams: 2 | Messages Sent: 112 | Current Speed: 6 msg/s

  4 passing (4s)

Do you suggest not logging in CI?


Spelling and Typo fix

Summary
Fixed some spelling, typo and spacing in fsharp doc. Thanks for considering this PR.


Specifying the LogBack maxFileSize parameter to limit logfile

We have a requirement at my firm to limit the logfile sizes for our production deployments.   Logback has a maxFileSize parameter than can be specified when using the ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP trigger policy. I took a look in the code, and couldn't find any obvious way to enable this feature.   Any objections to me adding the maxFileSize parameter and submitting a pull request?

This seems useful. We welcome a PR.

Thanks, I've submitted a pull request for this here:  https://github.com/dropwizard/dropwizard/pull/1000

Hey just wanted to know one thing, how will archivedFileCount work here. Will it ensure that a maximin of 7 files are only maintained? Or will it maintain the files for the last 7 days?


Ignore type aliases for RUF013

Summary
Ignore type aliases for RUF013 to avoid flagging false positives:
from typing import Optional

MaybeInt = Optional[int]

def f(arg: MaybeInt = None):
    pass

But, at the expense of having false negatives:
Text = str | bytes

def f(arg: Text = None):
    pass

Test Plan
cargo test
fixes: #5295

Current dependencies on/for this PR:

main

PR #5344   👈

This comment was auto-generated by Graphite.


Show next day in the afternoon

(Depends on #6 ) We should show the next day, maybe automatically switching when in monitor mode - at least in the afternoon. For that we obviously need to pre-load the next and the current day, which is already mentioned in #6

We now have a cache, which should make things easier hopefully. I feel like we'll need to refactor the whole code sooner or later though to make everything more object-oriented. Having something like a day object sounds way better than manipulating around in the HTML imperatively.

Now, this issue is the only one open that's for me... Before I'll start working on this, we'll need to modularize everything neatly though. I certainly don't want to mess around with some dirty spaghetti code when doing something like a split-screen or so. Maybe, RCS might also have ideas on Thursday regarding how he imagines this to look.

Okay, RCS prefers a swipe between both days over a split-screen. We could maybe implement both and make it a user choice in the settings, but the focus should be on swiping then.


Replace UV spheres with Icospehere for textures

Feature
groundSize, heightmaps, lava, etc use UV spheres which causes polar pinching causing extreme mental tourment to the player upon seeing it, replacing them with Icospehere would allow constant texture quality around the planet, this would make all current NH add-ons with planets that use heightmaps all break horribly though
Context
Go look at the poles of planets that have lava it's so annoying to look at :sob

ok you could just distorit the poles instead of doing the complcated icospehere map so this will never be added


what's the roadmap now？

the plugin is greate.   help much in my work.
I noticed a recent change in the project structure。I think it must be interesting。

I also can't find road map. It would be cool if it could analyze all files in project not only selected text. For example file import other files or uses other classes so it can check relations between them. I know about tokens limitation but new gpt-4-1106-preview model can maintain even 128k tokens

I also can't find road map. It would be cool if it could analyze all files in project not only selected text. For example file import other files or uses other classes so it can check relations between them. I know about tokens limitation but new gpt-4-1106-preview model can maintain even 128k tokens

I can't agree more.
I have found a plugin that implement like you say. (but it is base on web in vscode. I want use it native in idea。 Just like "codegpt")
you can choose files. And then plugin will add it to your chat context.
**you can find it in: **
https://github.com/nicepkg/gpt-runner


Running on different port

To run it on different port, not 80 or if you want to have port forwarding using another port, you have to change line 4 in websrc\js\esprfid.js to:
var wsUri = "ws://" + window.location.hostname + ":" + window.location.port + "/ws";
and rebuild with builder.exe.
Also it will be good to change the encoding of websrc\js\esprfid.js to UTF-8 in case someone (like me) wants to have text in another language.

Thanks for the heads up. Will definitely include this in next release, also esp-rfid gets contributions around the world and sometimes (with Pull Requests) encoding of files end up being in different sets, I will try to fix this by automated checks.


TypeError: Expected int32, got list containing Tensors of type '_Message' instead

hi,
when i run the "python train.py", it always raise exception, TypeError: Expected int32, got list containing Tensors of type '_Message' instead, in the phrase "y_disc = tf.concat(0, [y, y * 0])", but i look tensorflow API find it was right , but in tensorflow 1.0.0 can't work, so i find your help, thanks
Ruoran Jia

I got the same behavior.  On the surface it appeard that the order of the arguments passed to the tf.concat function is reversed, at least according to the current tf docs which have has the axis after the values.  After switching their order the code gets a bit further but then dies on this statement:
xx = tf.concat([x, gen], 0)
with this error:
Shape must be rank 3 but is rank 4 for 'concat_1' (op: 'ConcatV2')...

got same issue here...

Get exactly the same problem here, please help.

I go exactly the same error message coming from line 62 in train.py.
My version of tensorflow is 1.1.0 and my version of sugartensor is <IP_ADDRESS>.
My input data look like:
   time,Temperature,Humidity
   1,23.18,27.272
   2,23.15,27.2675
   3,23.15,27.245
   4,23.15,27.2
   5,23.1,27.2
   6,23.1,27.2
   7,23.1,27.2
   8,23.1,27.2
   9,23.1,27.2

@ucsky Hi, did you solve this problem? I met the same error here.

Hi，I'm not sure if my method is correct, but it's not going to be error
in train.py:
change
y_disc = tf.concat(0,[y, y * 0])
to
y_disc = tf.concat([y, y * 0],0)
and
change
xx = tf.concat(0,[x, gen])
to
xx = tf.concat([x, gen],0)
after trained
but I met the error #4 ,maybe this is not correct

hi, have you solved this problem. i met same problem at
xx = tf.convat([x, gen], 0]
it occurs errors like this:
Shape must be rank 2 but is rank 4 for 'concat_1' (op: 'ConcatV2') with input shapes


polylines not scaling along with plot

great tool - but the polylines showing the best fit line and the polynomial fit are not scaling along with the rest of the chart. (the rolling averages are behaving correctly)

It may be because you have a relatively small number of data points. See if setting the loss logging to every step helps.

Okay thanks will test if logging every step helps👍

logging every step was the answer! - many thanks works fine :)


Add gd32f30x and gd32f3x0 driver, update gd32f4xx driver

For Cortex-M core chip of Gigadevice

Add gd32f30x and gd32f3x0 driver
update gd32f4xx driver
modify mcu/gd32f4xx folder structurefor

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bitbucket weekly provider

I have added a readme that describes how this provider must be configured.

This looks good and I'll merge.. one thing I noticed though is you're using syntax in this (and the JIRA and Github) SQL like "SELECT foo FROM opsweekly.table_name" - there is config to allow users to use different database names (since many teams can host different instances on one SQL server or might not be able to choose the MySQL database name on some hosting providers). Can you remove the "opsweekly." part?
Thanks!

Done in pull request #63


maven dependency cannot find

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-sleuth-zipkin-stream</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-stream-redis</artifactId>
    </dependency>

this two dependency I can‘t find in centry repository and I cannot run ZipkinServerApplication，
I do not know how author run it?

Thanks for having a look. You are right, the problem is that the repository used was not holding the latest. The versions are a bit old (around 8 months). I will have a look tomorrow and update the dependencies to make it work.


V3 wip

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3782 of 3878 (97.52%)  changed or added relevant lines in 75 files are covered.
60 unchanged lines in 10 files lost coverage.
Overall coverage remained the same at 97.309%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyccl/init.py
30
31
96.77%

pyccl/base/caching.py
162
163
99.39%

pyccl/neutrinos.py
54
55
98.18%

pyccl/nl_pt/ept.py
268
269
99.63%

pyccl/pyutils.py
30
31
96.77%

pyccl/boltzmann.py
6
8
75.0%

pyccl/halos/hbias/sheth99.py
22
25
88.0%

pyccl/tk3d.py
27
30
90.0%

pyccl/halos/pk_4pt.py
154
158
97.47%

pyccl/tracers.py
65
69
94.2%

Files with Coverage Reduction
New Missed Lines
%

pyccl/cells.py
1
96.88%

pyccl/massfunction.py
1
96.88%

pyccl/base/repr_.py
2
98.98%

pyccl/covariances.py
2
98.52%

pyccl/nl_pt/tracers.py
2
97.83%

pyccl/nl_pt/power.py
3
98.76%

pyccl/pk2d.py
3
97.08%

pyccl/boltzmann.py
7
95.38%

pyccl/tracers.py
15
94.33%

pyccl/pyutils.py
24
89.88%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5823

Relevant Lines:
5984

💛  - Coveralls


Observer: Use BTreeMap as metrics storage to sort by key

This change allows preserving alphabetical order in the observer interface.

Nice! Looks good to me.
Thanks for your contribution!

Thanks for merging!


proto.smoke

Yarg.
{
  ["car-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x1137de8f0]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x1137de880]],
      width = 152
    } --[[table: 0x1137de4b0]],
    color = {
      a = 0.5,
      b = 0.5,
      g = 0.5,
      r = 0.5
    } --[[table: 0x1137ddf60]],
    cyclic = true,
    duration = 12,
    end_scale = 0.5,
    fade_away_duration = 12,
    flags = {
      "not-on-map"
    } --[[table: 0x1137de460]],
    name = "car-smoke",
    spread_duration = 12,
    start_scale = 0.10000000000000001,
    type = "smoke"
  } --[[table: 0x1137de090]],
  ["fire-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/fire-smoke/fire-smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x11516f4d0]],
      frame_count = 60,
      height = 210,
      line_length = 8,
      priority = "high",
      shift = {
        -0.265625,
        -0.09375
      } --[[table: 0x11516f520]],
      width = 253
    } --[[table: 0x11516f100]],
    color = {
      a = 0.25,
      b = 0.40000000000000002,
      g = 0.40000000000000002,
      r = 0.40000000000000002
    } --[[table: 0x11516efd0]],
    cyclic = true,
    duration = 300,
    end_scale = 1,
    fade_away_duration = 90,
    fade_in_duration = 60,
    flags = {
      "not-on-map"
    } --[[table: 0x11516fdf0]],
    glow_animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      blend_mode = "additive",
      direction_count = 1,
      filename = "__base__/graphics/entity/fire-smoke/fire-smoke-glow.png",
      flags = {
        "compressed"
      } --[[table: 0x11516f960]],
      frame_count = 60,
      height = 152,
      line_length = 8,
      priority = "high",
      shift = {
        -0.265625,
        0.8125
      } --[[table: 0x11516f9b0]],
      width = 253
    } --[[table: 0x11516f590]],
    glow_fade_away_duration = 70,
    name = "fire-smoke",
    spread_duration = 600,
    start_scale = 0.5,
    type = "smoke"
  } --[[table: 0x11516fa20]],
  ["fire-smoke-on-adding-fuel"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/fire-smoke/fire-smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x115171dc0]],
      frame_count = 60,
      height = 210,
      line_length = 8,
      priority = "high",
      shift = {
        -0.265625,
        -0.09375
      } --[[table: 0x115171e10]],
      width = 253
    } --[[table: 0x1151719f0]],
    cyclic = true,
    duration = 300,
    end_scale = 0.69999999999999996,
    fade_away_duration = 60,
    fade_in_duration = 60,
    flags = {
      "not-on-map"
    } --[[table: 0x115172250]],
    name = "fire-smoke-on-adding-fuel",
    spread_duration = 600,
    start_scale = 0.5,
    type = "smoke"
  } --[[table: 0x115171e80]],
  ["fire-smoke-without-glow"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/fire-smoke/fire-smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x115170710]],
      frame_count = 60,
      height = 210,
      line_length = 8,
      priority = "high",
      shift = {
        -0.265625,
        -0.09375
      } --[[table: 0x115170760]],
      width = 253
    } --[[table: 0x115170340]],
    color = {
      a = 0.25,
      b = 0.25,
      g = 0.25,
      r = 0.25
    } --[[table: 0x115170210]],
    cyclic = true,
    duration = 300,
    end_scale = 1,
    fade_away_duration = 90,
    fade_in_duration = 60,
    flags = {
      "not-on-map"
    } --[[table: 0x115170ba0]],
    name = "fire-smoke-without-glow",
    spread_duration = 600,
    start_scale = 0.5,
    type = "smoke"
  } --[[table: 0x1151707d0]],
  ["light-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x1137dd110]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x1137dd0a0]],
      width = 152
    } --[[table: 0x1137dccd0]],
    color = {
      a = 0.29999999999999999,
      b = 0.5,
      g = 0.5,
      r = 0.5
    } --[[table: 0x1137dc780]],
    cyclic = true,
    duration = 600,
    end_scale = 1,
    fade_away_duration = 600,
    flags = {
      "not-on-map"
    } --[[table: 0x1137dcc80]],
    name = "light-smoke",
    spread_duration = 600,
    start_scale = 0.20000000000000001,
    type = "smoke"
  } --[[table: 0x1137dc8b0]],
  smoke = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x1137dc670]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x1137dc600]],
      width = 152
    } --[[table: 0x1137dc230]],
    color = {
      a = 0.40000000000000002,
      b = 0.40000000000000002,
      g = 0.40000000000000002,
      r = 0.40000000000000002
    } --[[table: 0x1137dbce0]],
    cyclic = true,
    duration = 600,
    end_scale = 1,
    fade_away_duration = 600,
    flags = {
      "not-on-map"
    } --[[table: 0x1137dc1e0]],
    name = "smoke",
    spread_duration = 600,
    start_scale = 0.20000000000000001,
    type = "smoke"
  } --[[table: 0x1137dbe10]],
  ["smoke-building"] = {
    affected_by_wind = false,
    animation = {
      animation_speed = 0.5,
      filename = "__base__/graphics/entity/smoke-fast/smoke-fast.png",
      frame_count = 16,
      height = 50,
      priority = "high",
      scale = 0.5,
      width = 50
    } --[[table: 0x1137e0310]],
    duration = 45,
    fade_away_duration = 20,
    flags = {
      "not-on-map"
    } --[[table: 0x1137e02c0]],
    movement_slow_down_factor = 0.95999999999999996,
    name = "smoke-building",
    render_layer = "building-smoke",
    show_when_smoke_off = true,
    type = "smoke"
  } --[[table: 0x1137dfef0]],
  ["smoke-explosion-particle"] = {
    affected_by_wind = false,
    animation = {
      animation_speed = 0.5,
      filename = "__base__/graphics/entity/smoke-fast/smoke-fast.png",
      frame_count = 16,
      height = 50,
      priority = "high",
      scale = 0.5,
      tint = {
        a = 0.69999999999999996,
        b = 0.10000000000000001,
        g = 0.10000000000000001,
        r = 0.10000000000000001
      } --[[table: 0x1137e0b50]],
      width = 50
    } --[[table: 0x1137e0940]],
    duration = 150,
    fade_away_duration = 60,
    flags = {
      "not-on-map"
    } --[[table: 0x1137e08f0]],
    movement_slow_down_factor = 0.95999999999999996,
    name = "smoke-explosion-particle",
    render_layer = "smoke",
    show_when_smoke_off = true,
    type = "smoke"
  } --[[table: 0x1137e0520]],
  ["smoke-fast"] = {
    animation = {
      animation_speed = 0.26666666666666666,
      duration = 60,
      fade_away_duration = 60,
      filename = "__base__/graphics/entity/smoke-fast/smoke-fast.png",
      frame_count = 16,
      height = 50,
      priority = "high",
      width = 50
    } --[[table: 0x1137df6b0]],
    flags = {
      "not-on-map"
    } --[[table: 0x1137df660]],
    name = "smoke-fast",
    type = "smoke"
  } --[[table: 0x1137df530]],
  ["smoke-train-stop"] = {
    affected_by_wind = false,
    animation = {
      animation_speed = 0.26666666666666666,
      filename = "__base__/graphics/entity/smoke-fast/smoke-fast.png",
      frame_count = 16,
      height = 50,
      priority = "high",
      scale = 0.5,
      width = 50
    } --[[table: 0x1137dfce0]],
    duration = 40,
    fade_away_duration = 30,
    flags = {
      "not-on-map"
    } --[[table: 0x1137dfc90]],
    movement_slow_down_factor = 0.94999999999999996,
    name = "smoke-train-stop",
    render_layer = "lower-object",
    show_when_smoke_off = true,
    type = "smoke"
  } --[[table: 0x1137df8c0]],
  ["soft-fire-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x115171790]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x115171720]],
      width = 152
    } --[[table: 0x115171350]],
    color = {
      a = 0.10000000000000001,
      b = 0.029999999999999999,
      g = 0.029999999999999999,
      r = 0.029999999999999999
    } --[[table: 0x115170e00]],
    cyclic = true,
    duration = 300,
    end_scale = 1.2,
    fade_away_duration = 60,
    fade_in_duration = 0,
    flags = {
      "not-on-map"
    } --[[table: 0x115171300]],
    name = "soft-fire-smoke",
    spread_duration = 600,
    start_scale = 0.5,
    type = "smoke"
  } --[[table: 0x115170f30]],
  ["tank-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x1137df4e0]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x1137df470]],
      width = 152
    } --[[table: 0x1137df0a0]],
    color = {
      a = 0.59999999999999998,
      b = 0.59999999999999998,
      g = 0.59999999999999998,
      r = 0.59999999999999998
    } --[[table: 0x1137deb50]],
    cyclic = true,
    duration = 100,
    end_scale = 1,
    fade_away_duration = 100,
    flags = {
      "not-on-map"
    } --[[table: 0x1137df050]],
    name = "tank-smoke",
    spread_duration = 100,
    start_scale = 0.29999999999999999,
    type = "smoke"
  } --[[table: 0x1137dec80]],
  ["train-smoke"] = {
    affected_by_wind = true,
    animation = {
      animation_speed = 0.25,
      axially_symmetrical = false,
      direction_count = 1,
      filename = "__base__/graphics/entity/smoke/smoke.png",
      flags = {
        "compressed"
      } --[[table: 0x1137ddd00]],
      frame_count = 60,
      height = 120,
      line_length = 5,
      priority = "high",
      shift = {
        -0.53125,
        -0.4375
      } --[[table: 0x1137ddc90]],
      width = 152
    } --[[table: 0x1137dd8c0]],
    color = {
      a = 0.29999999999999999,
      b = 0.29999999999999999,
      g = 0.29999999999999999,
      r = 0.29999999999999999
    } --[[table: 0x1137dd370]],
    cyclic = true,
    duration = 150,
    end_scale = 1.5,
    fade_away_duration = 100,
    flags = {
      "not-on-map"
    } --[[table: 0x1137dd870]],
    name = "train-smoke",
    spread_duration = 100,
    start_scale = 0.40000000000000002,
    type = "smoke"
  } --[[table: 0x1137dd4a0]]
} --[[table: 0x113f000e0]]

Rough draft:
proto.smoke = '<Name>' {
  windEffect = <Boolean>;
  alwaysShow = <Boolean>; -- show even if smoke disabled in game options?
  smoke = {
    animation = <image.animation>;
    fade = { <in>, <out> }; -- fade in/out time
  }
  glow = {
    animation = <image.animation>;
    fade = { <in>, <out> }; -- fade in/out time
  };
  color = <color>; -- animation specific?
  cyclic = <Boolean>; -- ?
  duration = <Number>; -- ?
  layer = '<layer>'; -- smoke, lower-object, building-smoke, ...
  flags = <Flags>;

  -- are these for entire entity
  -- or just smoke, or also glow?
  spreadDuration: <Num>; -- ? maybe duration between start and end scale?
  scaling = { <in>, <out> }; -- start/end scale; default 1
  deceleration = <Num>; -- rate at which movement slows; default 0
}

Flags:

not-on-map
?


delay certificates creation

Right now, we generate certificates before the containers deployments,
This means the mgmt IP addresses, cannot be part of the cert SAN.
What about delaying the certificates generation till after the deployment and use SRL's json-rpc to set the certificates and enable the gnmi-server ?
This also solves the issue of overwriting certificates on disk even if they are present in config.
For other nodes, we can check how certificates can be set other than at boot

since now we provision additional config for srlinux after the node has been started, it is possible to get its IP address and create the certs for IP as well

done in #1345


Update index.html

Hello! This seems to be a duplicate to changes already made to the index.html file.
Let me know if I missed something and feel free to make other updates


CSV example in app

thank you for writing and maintaining this/ your app.
Just one question, can you be more specific about the CSV import. I always get an error message. I am sure its my CSV file. I will continue with try&error.
Any chance that you can add an example in your app directly to the current info text?
I am sure this will help other first-time-user as well.

Hi - thanks for taking the time to raise an issue.
I'll update the .csv instructions to be more specific.
In the meantime, please email me -<EMAIL_ADDRESS>- a copy of your .csv file and I'll investigate further.

Released 4.48.0 + minor instruction improvement.


Izmene na reportazi

👷 Deploy Preview for balkantransport processing.
🔨 Explore the source changes: 9c4bbc880af5f81a719118452f7c102c5e6d19a9
🔍 Inspect the deploy log: https://app.netlify.com/sites/balkantransport/deploys/61cdfd3eab25330008fe3cf9


Installation cookbook for newbies

I just don't get why is it so hard to write a usual Installation topic.
For anyone who just don't-know-what-the-hell-you-need-to-do-to-install-this-extension just add it to your Podfile as pod "AFOAuth2Manager" and make sure you have #import "AFOAuth2Manager.h" line in your header file
And please don't write it in documentation, newbies must squirm in agony and die!

all right, it seems that everyone understand it but newbies
closing


Disabling (integrated) script editor through 'Manage Editor Features' also disables ability to open external script editor.

Tested versions

Reproducible in: 4.3.beta2.mono , 4.3.beta1.mono
Not reproducible in: 4.2.2.stable.mono

System information
Godot v4.3.beta2.mono - Linux Mint 21.3 (Virginia) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (nvidia; 555.52.04) - 13th Gen Intel(R) Core(TM) i9-13900KF (32 Threads)
Issue description
If you disable Script Editor using Manage Editor Features you can no longer open scripts in external editor.
Script Editor feature is described as Allows to edit scripts using the integrated script editor.. This implies to me, that disabling this feature should only remove integrated script editor, it should not have any effect on external editor.
https://github.com/godotengine/godot/assets/6397311/fd465973-a097-4e3e-8f6c-ade2eafb088e
The issue is not limited to Open script button in the scene tree. Double clicking a script in FileSystem tab will also do nothing.
Steps to reproduce

In Editor > Editor Settings > Text Editor > External set Use External Editor to On.
In Editor > Editor Settings > Text Editor > External point Exec Path to VSCode.
Create any c# script.
Attach it to any node in scene tree.
You can now click Open script button in the scene tree in order to confirm that it open external editor. So far all works as intended.
In Editor > Manage Editor Features create a new profile. Uncheck Main Features > Script Editor. Click OK.
Clicking Open script button in the scene tree will no longer open external editor.

Minimal reproduction project (MRP)
N/A

Thank you for reporting, consolidating in:

https://github.com/godotengine/godot/issues/59758

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened


Remove bluebird?

Is it really necessary to include the hole bluebird library for a simple coroutine?
There is many smaller co libraries [1][2] out there that dose the job well, I believe you could write a own also

I've never used co6, but the stack traces generated by co aren't always great. I'd much rather use bluebird for that reason, sorry.

@danielstjules I'm broadly with you. But then I'm only using this stuff server-side with Node so additional dependencies don't affect me.
I guess if you're deploying to the browser, and if you're choosing to use another wrapper, perhaps based on native promises, then the extra weight of bluebird is a pointless burden.

The original issue wasabout removing bluebird in favor of another library, which I disagreed with - bluebird coroutines tend to offer the best dev experience. However, giving the user the option to use whichever wrapper they'd like is a fantastic alternative. :)

My intention with this issue was more to reduce the dependencies.

Sounds good to me! And removing bluebird as a dependency can be done in a minor release, since semver only defines the public API as of 1.0.0

Looks like there's a fork :)
https://github.com/viniciusps2/async-class-co

don't need it anymore can run async await in node already !


Fix filter default value

When the component checks whether there is a default filter applied, it fetches the value from defaultValue.
This does not work. defaultValue on the input component is empty.
The value property however, contains the correct value.
Without this fix, the defaultValue property for the filter is not applied for text, regex and dates

HI @jfremy, I've test the original defaultValue and it work for me. Could you please try this example?
I think there's something missing, and did you have an example which can reproduce this issue?  And what browser you used?
Thanks :)

This seems to be linked to the "environment". I use react 15.0.1, react-router 2.2.4, react-bootstrap 0.28.5, react-bootstrap-table 2.1.4 and if I take the example component from text-filter-with-default-value.js and put it into my app, then it does not work while it works fine in your example application.
I'll continue investigating what is the trigger

It seems to be React 15. If I run your example with React 15 & react-dom 15, then the example fails the same way it does fail in my app.

It looks like that React 15 does not set an initial value attribute on the input element (probably a bug) even if defaultValue is set.
So defaultValue is always the empty string.

@jfremy, sorry for a lately reply and thanks your greatly investigation. I think I'll make react-bootstrap-table compatible to<EMAIL_ADDRESS>in near future(#397) and then I'll try to fix this issue.
Thanks :+1:

@jfremy, this is PR has been released on v2.2.0. Thanks your contribution :)


String exercises

Plan:

talk about strings as a collection (nth, count, rest)
explore clojure.strings api

completed by 98c4e9d


increased ReservedConcurrentExecutions from 1 to 2 to fix deploy error.

Issue #, if available:

Description of changes:
fixed cloudformation deploy error by increasing the ReservedConcurrentExecutions from 1 to 2.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yevgeniyilyin  please review.

thank you @ArlindNocaj


Update scorecards.yml

update scorecards-action with tag instead of SHA

https://github.com/ossf/scorecard-action/blob/main/RELEASE.md


RuntimeError when attempting to start recode via python modules

python -m mcsniperpy results in this
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "C:\Users\User\MCsniperPY\mcsniperpy\__init__.py", line 4, in <module>
    from .cli import cli
  File "C:\Users\User\MCsniperPY\mcsniperpy\cli.py", line 27, in <module>
    sniper = Sniper(
  File "C:\Users\User\MCsniperPY\mcsniperpy\sniper.py", line 23, in __init__
    connector=aiohttp.TCPConnector(limit=300),
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp-4.0.0a1-py3.9-win-amd64.egg\aiohttp\connector.py", line 708, in __init__
    super().__init__(keepalive_timeout=keepalive_timeout,
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp-4.0.0a1-py3.9-win-amd64.egg\aiohttp\connector.py", line 207, in __init__
    loop = get_running_loop()
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp-4.0.0a1-py3.9-win-amd64.egg\aiohttp\helpers.py", line 276, in get_running_loop
    raise RuntimeError("The object should be created from async function")
RuntimeError: The object should be created from async function

Thanks for bringing this to my attention. Will look into it.

Going to need more system information. I can't reproduce this.

Hol up, will edit this comment

What python version?

Python 3.9, HEAD was at dc6b7f1ce29f3481922c10a5ae384f6d29983f6d at time of error


Screenshot feature available?

Does cage, or maybe wlroots, have support for making screenshots?
Something like weston-screenshooter.c
The feature is required for testing - where we want to have the possibility to save the screen as it looks now for logging purposes.
So not a production feature for the end-user but something to be used only in a local test environment.
Note: Not a cage user today.

wlroots have screencopy - that seems to do the trick.
So I think cage and wlroots can do what is needed.
Will test when I get a bit more time - thanks for reading so far.

wlroots has two protocols (1l, 2) available, but Cage needs to implement support for it. Should be 3 lines of work per protocol, see for example https://github.com/swaywm/wlroots/blob/d20aee6c9de12c8949b4ce7775b53dbc5f3896a6/include/wlr/types/wlr_screencopy_v1.h and https://github.com/swaywm/sway/blob/f984f21b6a71bf8794de61f58b00d99ed3537c50/sway/server.c#L134
Of course, then you'd also need a client that speaks one of these protocols.

Support for the screencopy protocol was added recently: https://github.com/Hjdskes/cage/commit/da6b6c208ecd4e02e272c996d0853f8f6b22b1a9

whats the cli tool to use that protocol?

https://github.com/emersion/grim

thanks!
working as expected


Enable "Convert Indent On Save" setting by default

Godot version:

3.1.1
Issue description:

This is an un-intrusive change that could complement #19285 in situations where the indentation style of a script doesn't match the editor settings. For example, the user may have their indent style set to spaces, but they open a project that uses tabs. When writing or copy/pasting code, it'll use spaces, which will conflict with the scripts already present in the project.
The editor already has a useful feature for this called "Convert Indent On Save", which will automatically fix the indentation whenever a script is saved. This usually means the user doesn't have to do anything, and the indentation will be fixed as soon as the script is saved or the project is run.
Because the setting already exists, doesn't have any significant side effects, and solves a common problem, I think it could be enabled by default.
(really, the main use of this is so I can just tell people to press Control-S to fix their indentation errors and appear like a wizard)

Yeah, I am going through the godot tutorial, and copy/pasting which makes indents spaces, and was super confused when I added new lines and they had errors due to them being tabbed in instead. It took me a bit to figure this out, and then I couldn't find a find and replace to fix this (which is an issue) but dug into the editor settings and found this option.
Personally, it would have saved me an hour if it was on by detail, though part of that hour was me just walking away annoyed to come back and see what the problem was.

Created a PR for this

I would just like to leave a note here that this change converted all our c# scripts from using spaces to using tabs, we don't like that, so we set the value to off in our fork of the engine.

Because the setting already exists, doesn't have any significant side effects

I'm not sure about that. The setting can modify files that aren't following convention from current Editor Setting making scripts invalid when the project gets launched.
It can happen to files from addons which aren't supposed to be modified.


Source file not found

I was testing the code by trying to verify some simple pull requests here. I'm running through docker, so I execute the celery command for the Worker and the gunicorn command for Web, as in:
nohup docker-compose run web gunicorn -c settings.py lintreview.web:app &>/dev/null &
nohup docker-compose run worker celery -A lintreview.tasks worker &>/dev/null &

However when I open a pull request, I get the following error:
E902 IOError: [Errno 2] No such file or directory: '/src/foo.py'

Sounds like the worker's linting container doesn't have the application code mounted in.

Even when I run without docker, it just hangs and doesn't post any comments to the pull request.
Some checks haven’t completed yet

Have you build the docker images that contain the required linting tools? Where does it hang if you enable debug logging?

[INFO] Listening at: http://<IP_ADDRESS>:5001 (23453)
[INFO] Using worker: sync
[INFO] Booting worker with pid: 23457

For docker, I've also tried to go back to the commit "Fix anchor" and build the images myself, but he won't even find npm package with apt-get :/

So are you not able to build the images for lintreview? or the linter images (as they are separate).

For the non-docker version, I tried to make a request to  the '/ping' route and the problem appears to be gunicorn. The logs detect the request, but the response is 404.

Docker
Just tried commits 972024fe32c20dc1d3cae128cbdc28109c5d948d and 7249da041306f0bb01e4becd17541deb2295d6d0 locally (manjaro 17.10) and I get the same thing for both, namely:

'web' is classified as unhealthy when running "docker-compose ps" (no proper ping response)
I see no src folder when running

docker-compose run web /bin/bash
ls /src

Number 2 may make no sense, cuz' I don't know much docker yet. I've also tried 2 with 'worker' instead of 'web'.

@victorvianna Neither the web or consumer containers will have a /src directory. This directory only exists in the linter containers. The consumer spins up additional docker container for each linting tool that is run. Linters are run in separate containers as many of them execute code in the repository.

When replacing PEP8 by Flake8, it won't display the '/src/' problem anymore, except that it won't show any corrections.
Pull request example
Code I'm running
Log output
worker_1  | [2018-08-13 15:09:39,857: INFO/Worker-1] Starting to process lint for victorvianna/webhooks/10
worker_1  | [2018-08-13 15:09:39,859: INFO/Worker-1] Loading pull request data from github. user=victorvianna repo=webhooks number=10
worker_1  | [2018-08-13 15:09:39,864: INFO/Worker-1] Building a url from ('https://api.github.com', 'repos', 'victorvianna', 'webhooks')
worker_1  | [2018-08-13 15:09:39,864: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:39,964: INFO/Worker-1] Attempting to get JSON information from a Response with status code 200 expecting 200
worker_1  | [2018-08-13 15:09:39,965: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:39,969: INFO/Worker-1] Building a url from ('https://api.github.com/repos/victorvianna/webhooks', 'pulls', '10')
worker_1  | [2018-08-13 15:09:39,969: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:40,122: INFO/Worker-1] Attempting to get JSON information from a Response with status code 200 expecting 200
worker_1  | [2018-08-13 15:09:40,123: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:40,125: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:40,246: INFO/Worker-1] Attempting to get JSON information from a Response with status code 201 expecting 201
worker_1  | [2018-08-13 15:09:40,246: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:40,248: INFO/Worker-1] Cloning repository 'https://github.com/victorvianna/webhooks.git' into '/tmp/workspace/victorvianna/webhooks/10'
worker_1  | [2018-08-13 15:09:40,594: INFO/Worker-1] Checking out '478e862f696148ee26e0d17b26b91862178ddafe'
worker_1  | [2018-08-13 15:09:40,600: INFO/Worker-1] Loading pull request patches from github.
worker_1  | [2018-08-13 15:09:40,600: INFO/Worker-1] Building a url from ('https://api.github.com/repos/victorvianna/webhooks/pulls/10', 'files')
worker_1  | [2018-08-13 15:09:40,600: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:40,674: INFO/Worker-1] Attempting to get JSON information from a Response with status code 200 expecting 200
worker_1  | [2018-08-13 15:09:40,675: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:40,676: INFO/Worker-1] Building a url from ('https://api.github.com/repos/victorvianna/webhooks/pulls/10', 'commits')
worker_1  | [2018-08-13 15:09:40,677: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:40,678: INFO/Worker-1] Running lint tools on 1 files
worker_1  | [2018-08-13 15:09:40,679: INFO/Worker-1] Running flake8 on 1 files
worker_1  | [2018-08-13 15:09:40,679: INFO/Worker-1] Running python2 container
worker_1  | [2018-08-13 15:09:41,766: INFO/Worker-1] Building a url from ('https://api.github.com/repos/victorvianna/webhooks/pulls/10', 'comments')
worker_1  | [2018-08-13 15:09:41,766: INFO/Worker-1] Missed the cache building the url
worker_1  | [2018-08-13 15:09:41,826: INFO/Worker-1] Attempting to get JSON information from a Response with status code 200 expecting 200
worker_1  | [2018-08-13 15:09:41,826: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:41,826: INFO/Worker-1] Publishing review of 0 new comments for victorvianna/webhooks/pull/10
worker_1  | [2018-08-13 15:09:41,826: INFO/Worker-1] Building a url from ('https://api.github.com/repos/victorvianna/webhooks', 'statuses', '478e862f696148ee26e0d17b26b91862178ddafe')
worker_1  | [2018-08-13 15:09:41,956: INFO/Worker-1] Attempting to get JSON information from a Response with status code 201 expecting 201
worker_1  | [2018-08-13 15:09:41,957: INFO/Worker-1] JSON was returned
worker_1  | [2018-08-13 15:09:41,958: INFO/Worker-1] Completed lint processing for victorvianna/webhooks/10
worker_1  | [2018-08-13 15:09:41,963: INFO/Worker-1] Cleaned up pull request victorvianna/webhooks/10
worker_1  | [2018-08-13 15:09:41,966: INFO/MainProcess] Task lintreview.tasks.process_pull_request[7c147c1d-6959-49a4-9b12-904298d35aa3] succeeded in 2.10858612496s: None

worker_1  | [2018-08-13 15:09:41,826: INFO/Worker-1] Publishing review of 0 new comments for victorvianna/webhooks/pull/10

Is the key line here. Are you certain that your pull request contains lines that would trigger flake8 errors? lintreview only looks at lines that were changed in the pull request. If you set the logging level to DEBUG you'll get more output from the linter output and which errors survived filtering.

Yes. If I run the python2 container directly from my machine, the linter works, for example as in
echo "  x== 2 " > /tmp/foo.py
docker run --rm -v /tmp:/src flake8 --isolated /src/foo.py
#linter works

But it won't work if a container tries to run it The problem appears to be with the binding and is independent of the image you use. Ex:
user@pc:lint-review $ docker-compose run -it worker /bin/bash
root@worker:/code #
root@worker:/code # touch /tmp/A.txt
root@worker:/code # docker run -it -v /tmp:/src some_image /bin/bash
root@some_image:/src#
root@some_image:/src# ls
# Won't show file A.txt

I think if we declare a named volume in the base container, mount it as /tmp in the worker and then /src in the linters, it will work.

@kostiq I don't know how to reproduce it so its stalled.

Ok. You're likely going to have to debug this on your own as reviews worked locally for me last time I tried (earlier in this thread).
The consumer first clones your repository with
[2018-10-11 07:09:17,329: DEBUG/Worker-1] Running ['git', 'clone', u'...github.com/kostiq/task.git', u'/tmp/workspace/kostiq/task/13']

It then runs the following docker command:
[2018-10-11 07:09:18,490: DEBUG/Worker-1] Running ['docker', 'run', '--rm', '-v', u'/tmp/workspace/kostiq/task/13:/src', 'python3', 'pep8', '-r', '/src/union_lists.py']

Are you able to run those commands inside the consumer container to see if you can reproduce the missing/bad volume mount?

Yeah.
In consumer I run following commands:
git clone

check files

And docker run with volumes

Ok. So until you can fix that lintreview will not work correctly. It seems like the volume mount from the consumer into the tool container is not working correctly.

Ok. I will try.


Added nextAiringEpisode episode and timeUntilAiring to anime

Since there was no way to get the next airing episode and time until it airs from the id (that I can think of), this can be useful.

Hello! Sorry I took so long to respond to you. This looks good to me. I got a few additions of my own to add along side this so you should see your addition in the package soon.


MacOS CI fails to install Qt

The pip command runs and installs aqt,  but then it fails to run it - probably some path issue.

Fixed in #137


minimization - fix inconsistent one hot encoding

Different places in the code use either scikitlearn's OneHotEncoder (before fitting decision tree) or pandas get_dummies (in _modify_categorical_features). This could lead to inconsistent results. Need to use the same mechanism.

In addition to this issue, the code also makes assumptions about how the data was preprocessed before training the target model.
Instead of applying preprocessing ourselves in the code, we should rather receive the preprocessed dataset from the user (instead of or in addition to the raw data).

Resolved by #38


Metrics on Jetson TX2 do not contain nv_gpu information

Hi,
I followed the instructions in PR #575 to build trtis on jetson.
Everything works fine, except the metrics do not contain the nv_gpu entries.
I think it is due to the known issue (3) that NVML is not supported on Jetson.
I get the following errors:
On startup:
E0821 06:27:34.280622 6 metrics.cc:147] failed to initialize NVML: NVML_ERROR 9

When running the inference:
E1001 metrics.cc:348 failed to get device from PCI BUS ID:: NVML_ERROR 1

With the nvidia tegrastats tool it is possible to obtain information about the gpu usage.
https://github.com/FindHao/tx-utils
https://github.com/rbonghi/jetson_stats
Do you think it is possible to integrate that information from there?

Possibly, but why not run those tools in parallel with TRTIS to monitor GPU usage. TRTIS provides the GPU metrics because it is convenient for some use cases, but typically it is better to have a separate monitoring process.

Some arguments:

convenience (as developer I want to run the same code on jetson and T4)
license compatibility (other projects are licensed AGPL or do not even have a license)
integration with prometheus
But I can understand that trtis is not initially designed for the jetson series and it would add quite some complexity.

Closing. Thanks for your feedback.


Incorrect Closure Expansion

First of all, thank you for providing such an excellent plugin for nvim; I've really enjoyed using it.
I encountered a particularly annoying issue during use:
when I use closures, nvim does not provide the correct suggestions like xcode does, as shown below.
Have you encountered this problem during your use, and how can I solve it?
nvim:

xcode:

Hi, completions are managed by sourcekit-lsp. I guess this feature is not available there and in Xcode it is provided by Xcode itself.
You could creata a feature request in their repo.
I also built some small function to transform this case, see https://github.com/wojciech-kulik/xcodebuild.nvim/discussions/33

Great, I will try it. Thanks.


Implement account-less new user flow

The documentation does not make it clear that a user must actually log in to obtain the Dockstore CLI client
The instructions when setting up a new account are not clear. The Setup page says to

download and execute a script and follow its instructions
THEN copy and past the token into ~/.dockstore/config. When the script is run, it asks if I've set up an account. Since I'm in the middle of the process, I answer "N" (because I haven't completed account setup, just half-way through - or at least that's what it looks like to me), and the script exits. I then proceed with step (ii) and re-run the script. When I re-run, it is NOT interactive like it was the first time (it prints its own help text and then simply exits) - but there is no explanation of this change in behaviour.

It is hard to find the link back to download the CLI tool again. "Setup" is not intuitive.

Maybe there should be a big ad/image on the front page that says "Get started today!!" with a direct link to download the dockstore CLI. Then they should be prompted for account creation if they don't have one - but is an account even really necessary if they are just interested in playing with CWL/Dockstore capabilities locally on their workstation?

@briandoconnor
Relating to our conversation:
We should also make sure that certain operations (listing public tools, launching them) can work properly without a token

+1 to token-less launch and listing

For @garyluu

Make sure that our site and CLI actually are user-friendly for account-less or guest users. This includes not having a config file or a minimal one without account information
Update documentation so that this makes sense  for the operations above

As an update for who works on this ticket, many users just use a dummy token with success but this needs documentation

There is now a path for this at https://staging.dockstore.org/quick-start


Documentation needs updating for changes to yotta link behaviour

This sentence is incorrect now: (we don't ensure dependencies are installed before first-half linking)

This will ensure it has all of its own dependencies installed, and then create a symlink from the global modules directory to the current module.

fixed by #327


Add ReverseIP function

Hello Meik, thank you for a great project.
To avoid unnecessary conversions from dns.A -> string -> dns.ReverseAddr(string) I've implemented ReverseIP function.
Here you can see the benchmark results:
go test -bench BenchmarkReverse . -benchtime 10000000x
goos: linux
goarch: amd64
pkg: github.com/miekg/dns
cpu: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
BenchmarkReverseAddr/IP4-8         	10000000	      106.8 ns/op
BenchmarkReverseAddr/IP6-8         	10000000	      108.9 ns/op
BenchmarkReverseIP/IP4-8           	10000000	       57.02 ns/op
BenchmarkReverseIP/IP6-8           	10000000	       58.64 ns/op
PASS
ok  	github.com/miekg/dns	6.247s

I’m fine with this, it makes sense to me. Though I think ReverseAddrIP might be a better name.

Thank you for review, I've added the changes

@tmthrgd and @miekg, anything preventing it from merging?

Well, I hope you at least have a lot of fun on vacations :+1: :heart:

@miekg and @tmthrgd, any hopes to get it reviewed?

There is also ReverseAddr ? So now ewe have two? The benchmarks show ns/op but you claim memory efficiency, also don't really think that's important...
The commit message are rather sparse and don't have any of the comments you put in the PR text

Hey Miek.

There is also ReverseAddr ? So now we have two?

Yes. Somebody may find it useful to have ReverseAddr still. So I don't feel comfortable breaking the backward compartibility.

The benchmarks show ns/op but you claim memory efficiency, also don't really think that's important...

go test -bench BenchmarkReverse -benchmem . -benchtime 10000000x
goos: linux
goarch: amd64
pkg: github.com/miekg/dns
cpu: AMD Ryzen 7 4800H with Radeon Graphics
BenchmarkReverseAddr/IP4-16      	10000000	      180.3 ns/op	     40 B/op	      2 allocs/op
BenchmarkReverseAddr/IP6-16      	10000000	      234.4 ns/op	     96 B/op	      2 allocs/op
BenchmarkReverseAddrIP/IP4-16    	10000000	       96.96 ns/op	     24 B/op	      1 allocs/op
BenchmarkReverseAddrIP/IP6-16    	10000000	      142.1 ns/op	     80 B/op	      1 allocs/op
BenchmarkReverseAddrFromIP/IP4-16         	10000000	      222.3 ns/op	     56 B/op	      3 allocs/op
BenchmarkReverseAddrFromIP/IP6-16         	10000000	      342.1 ns/op	    112 B/op	      3 allocs/op
PASS
ok  	github.com/miekg/dns	15.107s

I'd rather agree with you. But the new function looks useful to me since it avoids the unnecessary converting from net.IP address to string and back to net.IP. To show what I mean I've added BenchmarkReverseAddrFromIP

The commit message are rather sparse and don't have any of the comments you put in the PR text

Updated the commit and rebased it on top of the current master :+1:

Ok, I didn't get the answer, but from the gut feeling, it looks like the current approach is better than adding an extra function.


VSCode hangs or freezes also with newer version

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:16:27.618Z)
OS Version: Linux x64 4.4.0-93-generic (Ubuntu 16.04 LTS)
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.2.11

docthis
joe
0.4.8

Steps to Reproduce:
Use vscode long time like two days and let it running over night.
I cannot say exact pattern what to do to repeat freeze.
I am editing .js file which contains es2017 javascript code
Freezing happens after many hours of editing.
Freezing have happened know 4 times.
If I remember correctly freezing happens when I switch back from other program.
I was not doing anything special just editing file.
During freeze I cannot move cursor with cursor key.
If I click with mouse, the cursor is not moved to point where I click.
I have many files open.
Tabs for 7 files are visible.
If I click tab, then file name is updated in same area where menu is located.
However tab do not change to that one I click.
I can click menu and then menu dropdown appears.
If select action like Command Palette nothing happens.
This is so for almost all menu items.
One exception is Help About. It shows information of visual studio code version.
Second exception is Help Report issues is also working.
If I click x to close VSCode application, that works.
This same thing happened earlier with VSCode 1.14.2
There is closed issue #33149 about this.

Reproduces without extensions: Not tested

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I'm seeing similar problems. It was working on Friday, but it is completely unusable today and with extensions it is using over 40% of the CPU. After a while it produces a VS Code "The window is no longer responding" "You can reopen or close the window or keep waiting". I've just fired up without extensions and it seems to be working. As I can't work at the moment, two questions:

How do I revert to the previous version?
What information is required for diagnosis?

similar issues, did not try it without extensions yet tho.
i also noticed, while i am editing files on SMB shared storage (local virtual network - 10Gb), SMB process on server (CentOS 7) is using 40-60% of 1 CPU thread, i did not see such utilization before. Could this be related? GIT is disabled, so idk why it would utilize it so much

Today this happened again.
Result and symptoms are same as before.
Now I have
VSCode Version: Code 1.16.1
I was editing a .js file.
I was writing text. Then I Copied a line in file with Ctrl+C and CTRL+V
Freezing happened when I tried to change copied line.
Vs Code was running over night.
I worked with VS code in the morning about 10 minutes before freeze.

I have not been able to repeat this problem when extensions are disabled.
I created issue 313 in eslint gitgub
https://github.com/Microsoft/vscode-eslint/issues/313

i personally dont have any more problems after recent update, not even SMB load problem on server side i had before :O

@bpasero can we reopen this. The symptoms described here https://github.com/Microsoft/vscode/issues/35475#issue-261987667 can hardly be caused by ESLint which is running in its own process and communicates with the renderer over the extension host.

@bpasero thanks. I will ask @peltsi212 to continue the discussion here and will see if I can find out something.

CPU load is not high during hang. Computer has i7 CPU with 4 cores. 8 GB memory. SSD disk.
Ubuntu is running as wmware virtual machine in windows 10 host. Ubuntu is sometimes swapping because memory usage might be 8 GB and Ubuntu virtual machine have 5,5 GB memory allocated.
I have noticed that vscode is now more responsive when I have disabled eslint extension. When eslint was active, it sometimes happens that when I write text it appears in screen only after 2 or 3 seconds.

@peltsi212 do I understand you correctly. You see a lag of typing not a lag of error annotations. A lag of error annotations could be on purpose. We throttle the error calculation a little based on file size.

Yes exactly lag of typing. There is also lag of cursor movement with cursor keys. This is also something that I cannot say exact pattern what to do to repeat this lagging effect. Biggest javascript file have been so far 930 lines of code. I work with same files with Eclipse and with Angelo Zerr Tern linter. There is no lagging with eclipse

@alexandrudima do you have an idea how to understand why typing lags here.
@peltsi212 can you enable tracing for ESLint for a while to see if there is something that could explain this. Set the setting "eslint.trace.server": "messages". There should be a log in the ESLint output channel. Can you attach the log when you see the lagging appear.

VS Code 1.16.1
Only extension is ESLint 1.3.2
With and without --disable-extensions
Windows 10
I have what i believe to be the same problem.
The whole window freeze, sometimes only for 5 seconds, sometimes up to 1 minute, maybe more. Contrary to others, I don't have to let the editor run for a long time, I get it right away when I open VS Code.
I noticed a CPU usage spike on all my cores, but it does not get to 100%, more like 25% or so. That spike is caused by 2-3 Code.exe processes.
Memory usage don't move dramatically.
This happen most of the time when I alt-tab out of the editor (most often to chrome), and come back.
It happen less often when I run --disable-extensions.
With extensions: every 5 minutes or so.
Without extensions: about once per 30 minutes to 1 hour.
My codebase is very small, files are 50 lines max, and not a lot of them. I use a running process in the terminal (git bash), but it happen even if I stop it.
I experienced it at first on 1.18.0-insiders (with more extensions). I didn't tried to disable extensions on that version.

@peltsi212 @dbaeumer
If you experience any sort of lag while typing, which is indicative of lag on the renderer process, we can try to identify the root cause via a CPU profile on the renderer process.
To get a CPU profile of the renderer process:

Run F1 > Toggle Developer Tools
Go to the three dots burger menu
Choose More Tools > JavaScript Profiler
Start a new CPU profile
Do the actions that lead to slowness
Save the CPU profile to a file and attach it

@jberube since you see in contrast to @peltsi212 a CPU spike can you let us know the whole command line of the processes that consume the CPU. Under Windows use the Process Explorer (https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer) to get access to the whole command line doing the following:

select the process
execute Properties from the context menu
copy the command line.

After updating from 1.16.1 to 1.17.2 , I don't see CPU spikes anymore, I couldn't get that information in time.
What I previously called a "freeze" problem persists, albeit a little differently, but I've realized that the screen just isn't repainting. I've split the window so it takes half the screen and Chrome takes the other half. Whenever it "freeze", if I type some characters nothing happen, but if I alt+tab to another window, what I typed appears instantly. When I come back, sometimes it's still "frozen", sometimes not.
My workaround for now is to alt+tab back and forth until I see what I type. It rarely takes more than 3 times.
A detail: before the update to 1.17.2, even the window minimize/maximize/close buttons were unresponsive. It's not the case anymore.
It looks like I was experiencing two bugs at the same time.
What i experience now is pretty much the exact same thing as the OP mentioned. It happen less often, too, even with extension on.

I have used VSCode every day.
I am also running now VSCode 1.17.2  and I have not seen anymore freeze or lagging during typing.
I did not report different kind of lagging before. This lagging is still there.
How to repeat:
Open javascript file with many hundred lines.
Click on vertical scroll bar.
Keep on pressing with left mouse button.
Drag up and down.
I see that scrolling stops now and then and there is high CPU spike when scrolling stops.
Scroll stops for about one second and then continues.
Screen resolution is HD and VSCode maximized.
If I restore VSCode to 1/3 of screen then lagging during scroll does not exist anymore.
Eslint was disabled during scrolling test.

Hi
I am seeing the same problems, with Python files. Hangs randomly when typing, the resumes and typed text gets written to the screen.

Windows 64bits
vscode v 1.17.2
extensions: (Linting) Python (v0.7.0 Don Jayamanne)
I will try w/o the linter and see what happens.

Cheers
Malek

Ubuntu 16.04 LTS
VS Code 1.17.2
It freezes a lot. It happens so often that I simply cannot use it. Sometimes a few minutes after I start it, other times longer but it eventually freezes and forces me to restart the computer. I have tried to run it with all extensions disabled (code --disable-extensions) to no avail. This did not happen when I was using it on Windows 10, but on Ubuntu 16.04 LTS it is a freeze fest. I did not notice any specific action that causes it to freeze. It seems completely random.
I think I'll stop using it and check it again after a major update.

Was getting a lot of freezes since the August 2017 update on my low spec laptop (i3, 4Gb Ram), specially with Chrome open. Couldn't even open the Task Manager to close the process.
With VS Code update 1.17.2 the lag and the freeze disappeared. Great!

I installed VS Code 1.18.0 when it came out.
VS Code has now freezed 3 times.
It looks like freeze problem came back.
It looks like VS Code 1.17.2 was better when comparing freeze problem.

I'm experiencing the same thing. On the Explorer view, simply moving the mouse over the file names is enough to get the freeze/CPU spike/lag. For me it happens when loading the "tool tip" that displays the full path of the file the mouse is over. I'm running with no extensions. I've captured the CPU profile as instructed by @alexandrudima:
CPU-20171113T163540.cpuprofile.zip
The environment is:
Intel® Core™ i7-7500U CPU @ 2.70GHz × 4
Intel® HD Graphics 620 (Kaby Lake GT2)
8GB RAM
Ubuntu 17.10
GNOME 3.26
VSCode is:
Version 1.18.0
Commit dcee2202709a4f223185514b9275aa4229841aa7
Date 2017-11-08T12:44:48.751Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
Regards

Mine just freezes randomly. I'm on Ubuntu 17.04 (Gnome). Trying to resist switching back to Sublime.

CPU-20171127T131655.zip
I'm having the same issue, attached the js cpu profile. Hang while typing about 1ce/10 mins.  Can last 1-25 seconds; very distracting.  It happens very randomly, so it's hard to give you a profile with just the time interval around the freeze.  This one froze for about a second right at the end (though it's not obvious that determine which part was the end from this file).
VSC 1.18.1 (Win 10 x64 32.0GB, i7-4790K 4.0Ghz, 4K display
Plugins:
Code Outline 0.0.12 (Patryk Zawadzki)
Go 0.6.67 (lukehoban)
PHP INtellisense 2.0.1 (Felix Becker)
Vim 0.10.5 (vscodevim)
vscode-icons 7.18.1 (Roberto Huertas)

It is the Source Control (Git) refresh.  I'm certain.  I have a ton (over 5000) "changed" Git files due to an unusual setup.  I got suspicious today and watched this panel, it always changes a lot after the hang.
Doing this got rid of the hangs (and unfortunately my ability to use the Git Integration):
  "git.enabled": false,

If git is enabled, the issue persists (and Source Control does an occasional big refresh) even after I've configured this setting:
   "git.autorefresh": false,

The docs aren't especially clear but I would assume that is supposed to prevent it checking the disk for git changes as well as the network.
My prefered setup would be to manually git refresh when I want.
Steps to reproduce
Check out a Git repo with a lot of files.
Add over 5000 bogs files.
Edit a bit and notice intermittent hangs.
I suppose this may also be an interaction with vscode-icons.
Also, note, my setting for autoSave is:
  "files.autoSave": "off",

Scope creep: While you're at it, you may want to add a config option for the number of files before triggering the limit warning (disabled by git.ignoreLimitWarning).  I think this value is is hard coded to 5000.
Hope this leads to a fix!  Love VSCode!

/cc @joaomoreno

There is no fixing slow git on Windows, especially from us. We already do preventive work to limit changes to 5000. The git.autorefresh setting is there especially for those who want to manually git refresh when they want.

This happens all the time for me.  After about and hour or two of use, it would hang the entire OS.  Used on Ubuntu 16.04, 16.10, and 17.04.  I have formed a habit of trying to close the app when it happens.  However, sometimes, it hard hangs the OS for several minutes, and I don't have the option to close it.  I usually take a break when that happens.  The only extensions I'm using are the Golang extensions.  I'm in the process of looking for a better written editor.  This used to be a good editor, but it has become so unstable over the last year on Linux.

I'm using ubuntu 16.04. For my case, the lagging issue started when I ctrl + click a function after installing PHP intelliSense extension. The issue solved after I uninstall the extension. I start VSCode with --disable-extensions option, uninstall the extension, and relaunch it normally.


Docker installation

Hello I am sry if this issue off topic. I am a bit confused with the docker installation.
When installing ldap server I should execute command ldapadd -h localhost -x -D cn=admin,dc=myorga -w mypassword -f users.ldif
instead i run into problem command not found.
I followed the instruction as it is without no change. Do i miss something or this is docker issue? This is my first time using docker.
Thanks in advance!

You should install a package called ldap-utils (or similar depending on your linux distro)


feat: add spi-protocol-rest-samples

This PR adds sample code demonstrating the use of the REST protocol. Key changes include:

Added sample code to illustrate basic REST protocol usage, providing developers with a quick-start reference.
Added corresponding unit tests to ensure the accuracy and reliability of the sample code.

LGTM


devise_token_auth blocks upgrade to Rails 5.1.0

$ bundle update                                                                        [2.2.3]
Fetching git@bitbucket.org:xxx/xxx.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies........................................................
Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    devise_token_auth (= 0.1.40) was resolved to 0.1.40, which depends on
      devise (<= 4.2, > 3.5.2) was resolved to 3.5.3, which depends on
        railties (< 5, >= 3.2.6)

looks like this is the issue https://github.com/plataformatec/devise/issues/4510
this library will need to be updated to depend on a newer version of devise once they release a fix

Hi Team! Still no solution yet? I'm trying on MacOS but still getting the error:
Bundler could not find compatible versions for gem "devise":
  In Gemfile:
    devise

    devise x64-mingw32

    devise_token_auth (~> 0.1.40) x64-mingw32 was resolved to 0.1.40, which depends on
      devise (<= 4.2, > 3.5.2)

    devise_token_auth (~> 0.1.40) x64-mingw32 was resolved to 0.1.40, which depends on
      devise (<= 4.2, > 3.5.2) x64-mingw32

Have tried everything in SO, but no success...

@heptaman the Devise team haven't cut a new release or pushed to ruby gems yet to support Rails 5.1.0. Until that happens this gem cannot be updated to use the new Devise (I tried to get around it by forking this gem and updating the gemfile/gemspec, but it didn't work because bundler has safeguards designed to prevent gem authors from using git dependencies in production).

This gem can already pre-emptively allow devise 4.3.0 in its gemspec to allow downstream users to use the master branches for both projects right now, and to use the new version of devise as soon as it's released.

@christophermlne right now you can use this gem with Rails 5.1.0 by using this in your Gemfile:
gem 'rails', '~> 5.1.0'
gem 'devise', git: 'https://github.com/plataformatec/devise.git', ref: 'a62faa2c8258ba1c35fe84e147f42c35eccccb8a'
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'

@lynndylanhurley @christophermlne devise 4.3.0 has been released w/ support for rails 5.1

The solution above does not work anymore, as devise 4.2.1 does not support railties 5.1.0 and devise_token_auth does not yet support devise 4.3.0 that supports railties 5.1.0.
Please release or update master whenever possible. 4.3 does only that, updates the railties as I can see from https://github.com/plataformatec/devise/blob/master/CHANGELOG.md

@romdim do you mean my solution in https://github.com/lynndylanhurley/devise_token_auth/issues/875#issuecomment-301010930? That should still work. What output do you get?

You're right @mvz, my bad, I didn't take it by reference, used the master branch instead.
Still, a release would be preferable in order not to include git in docker's dependencies.

Still, a release would be preferable

Definitely!

Closed via #891 -- Will try to cut builds shortly

Just pushed v0.1.42


Loss of focus in text field with new input API

See this gist: https://gist.github.com/mg50/9579575
It searches for list items that begin with the value of the text field. However, whenever typing into the field would change the number of list items displayed, the search field immediately loses focus.

For now, I'd recommend using elm-html which should not have this issue. If there are still issues, please rereport it on elm-lang/core or if you have troubles with the Html route, on evancz/elm-html.


core.upt should have an option for ssl

SSL is requiered for all modern network application. For example today most of the http resources are available through https not http. When creating core package there should be an easy way to add SSL support to it

OK, why not. That said, I am starting to think that maybe something like check-list of all or some available packages could be present there... Maybe in the future, this is good as it is.


Removed include_cached new-in.html from MD tables

This change is

In v21.2/create-changefeed.md there are a lot of instances of New in v21.2:. I thought we wanted to use only `New in v21.2:.

@stbof Check now. There were several  tags that either I missed the first time or others added after I did my initial pass.

@stbof Nothing funky is happening with the version switcher, so I'm merging.