profile
viewpoint
Joseph Evans evonsdesigns @JohnDeere Des Moines, Iowa evonsdesigns.com

evonsdesigns/datastructurescheatsheet 1

data structures cheat sheet (like big o cheat sheet)

evonsdesigns/chancejs 0

Chance - Random generator helper for JavaScript

evonsdesigns/cplanner 0

Enhanced Class Planning Tool for ISU

evonsdesigns/d3-tip 0

d3 tooltips

evonsdesigns/excel-ripper 0

A windows application for excel spreadsheet manipulation. ExcelRipper allows you to pull cells or cell ranges from many different spreadsheets and stick them in a new excel sheet.

evonsdesigns/fitnesse 0

FitNesse -- The Acceptance Test Wiki

evonsdesigns/if-i-hadnt-sold 0

stock trading data

issue commentfacebook/react

Bug: React's batching makes state comparison checks unreliable

@sebmarkbage We have looked into this some more. It definitely seems that there is a use-case that is not possible to get working here.

We have created another sandbox that describes the steps to reproduce and answers your "why does it matter?" question. We would be super grateful if you wouldn't mind taking a look and giving us a hand here 🙂

https://codesandbox.io/s/crimson-lake-gidmx?file=/src/App.js

benoitgrelard

comment created time in a few seconds

IssuesEvent

PR opened checkstyle/checkstyle

Issue #7045: move more item from Travis to azure

Issue #7045

+49 -37

0 comment

2 changed files

pr created time in a few seconds

pull request commentgatsbyjs/gatsby

feature(gatsby): Add CLI for managing flags

@ascorbic I did pull this out into its own PR (which got merged yesterday) — https://github.com/gatsbyjs/gatsby/pull/28296

Did you think the cli was "too much" for the initial PR or in general? The two compelling use cases for me a) we can tell people to just run gatsby flags --enable FAST_DEV to add something as that's still far less friction to get someone to give a feature a try and report back and b) being able to see a list of flags as otherwise, there's no way for people to discover new features unless they're an avid reader of the release notes.

It was only a few hours to build the resource/CLI so I'm fine either way.

KyleAMathews

comment created time in a minute

Pull request review commentnodejs/node

stdio: implement manual start for ReadStream

 function Readable(options) {   Stream.call(this, options);    destroyImpl.construct(this, () => {-    maybeReadMore(this, this._readableState);+    if (!this.isPaused())

isPaused is part of public API and can't be easily changed or removed

mmomtchev

comment created time in 4 minutes

push eventgatsbyjs/gatsby

Austin Peterson

commit sha 9c00fc9ec27ebedb440b8400aee8b41892b173ee

breaking(gatsby-plugin-emotion): update to emotion@11 (#27981) Co-authored-by: Jonathan Hardisty <hardisty.jc@gmail.com> Co-authored-by: Paul Kim <kimbaudi@gmail.com>

view details

Kyle Mathews

commit sha 849b3bd4ec871ecb7596819940f8004ce9ec3793

feat(gatsby): track usage of GATSBY_EXPERIMENTAL_FAST_DEV (#28223)

view details

Kyle Mathews

commit sha 2b494c34b5a8bb798fa1134a8a482165afc72fce

feat(gatsby): bump % that get invited to try dev_ssr to 5% from 1% (#28232)

view details

Ward Peeters

commit sha 92f3a0f49bb889c13bd1cae947340c8ebed4e6c3

chore: update yarn.lock

view details

Ward Peeters

commit sha 45116d15ad9eeb690012140d4432d54dd4a63752

chore(release): Publish next - create-gatsby@0.1.0-next.2 - gatsby-admin@0.4.0-next.2 - gatsby-cli@2.15.0-next.2 - gatsby-plugin-emotion@5.0.0-next.0 - gatsby-recipes@0.5.0-next.2 - gatsby@2.28.0-next.2

view details

Vladimir Razuvaev

commit sha 41488778ddcb102a5147b7acfb9631565ede958e

fix(gatsby): do not ignore source file changes during recompilation (#28237)

view details

Kyle Mathews

commit sha 70b81a6e825c583387728c02d83a70e0d4e16072

feat(gatsby): make dev ssr bundling lazy (#28149) * feat(gatsby): make dev ssr bundling lazy * fix tests * fix race condition * typescript 😅 * await getPageData to ensure it's been created before SSRing * instance isn't set in SSR * Fix a few more instances of this env var * Avoid setting anything for experimental features Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>

view details

Vladimir Razuvaev

commit sha b34680487cff802ed36f7c328da8542e16cbda9d

docs: temporary fix to emotion tutorial (#28248)

view details

Hassan Khan

commit sha 7867897c5cc4f627a4fb91c939b24d884497ee20

fix(gatsby-transformer-remark): ensure `getNodesByType()` is passed through (#28218)

view details

Vladimir Razuvaev

commit sha 807589bf759b01fe5a5235282bbcdc5a9a969265

fix(gatsby): fix materialization edge case (#28244)

view details

Vladimir Razuvaev

commit sha e7976580111c4baa15db8170abf2ae792f94bb9c

fix(gatsby-plugin-page-creator): use graphql from gatsby (#28256)

view details

Kyle Mathews

commit sha bd0a7f4d717c49306c968fd99a3b2e6466dada15

Increase timeout to fetching component to 30 seconds (#28264)

view details

Matt Kane

commit sha f6417dd58360bd3e243a955c413dd46138608af6

fix: Fix starter publish and scripts (#28260) * Fix starter publish script * Don't use yarn import because @arcanis says it's a bad idea https://github.com/gatsbyjs/gatsby/issues/28238#issuecomment-732506607

view details

Kyle Mathews

commit sha 597d1dd00e14311f333884186256134a444dede0

fix(gatsby-source-filesystem): Improve the description (#28252) Currently it's "Gatsby plugin which parses files within a directory for further parsing by other plugins" which is rather opaque and CS-y. This PR changes it to better describe how someone would actually use it — "build websites with data from your local filesystem"

view details

Michal Piechowiak

commit sha e416368c42971a77ae7059376d764f17032f62ff

fix(gatsby-telemetry): use windowsHide to not show windows command prompt windows (#28258)

view details

Matt Kane

commit sha 9f91ba1c3bc9b1b3b6347f152baba37d4ab9c77b

docs(gatsby-plugin-image): Update API in readme (#28134) * docs(gatsby-plugin-image): Update API in readme * Fixes from review

view details

Kyle Mathews

commit sha f75e358a79a104b597a97993088b27268a9a9242

Always compile the index page (if it exists) (#28265)

view details

Peter van der Zee

commit sha 7cba8372574c32da88b8e23eda9ff3be7cdda381

chore(gatsby): Only warn for cache lock timeout once (#28255)

view details

Michal Piechowiak

commit sha 13d72a405cf1d183d0f2b169f73a656e0dfcade1

chore(e2e-pnp): don't pin berry version (#28286)

view details

Matt Kane

commit sha 6d3f297db8011d1bb80aac5438d3ee553ac4c0d5

starters(gatsby-minimal-starter): Update links and readme (#28290)

view details

push time in 4 minutes

issue commentstorybookjs/storybook

Typescript typings for controls args

Workaround:

8 | .add('Default', (args: any) => <Button {...args}>Default</Button>, {

petermikitsh

comment created time in 5 minutes

issue openedfaisalman/ua-parser-js

[Benchmark]

I created a benchmark with the most common UA parser.

Source code: https://codesandbox.io/s/useragent-parser-benchmark-b7kkp

Benchmark: https://codesandbox.io/s/useragent-parser-benchmark-b7kkp

created time in 7 minutes

issue commentstorybookjs/storybook

Docs slowing down reloading

@Nautman if i released this on 6.2-alpha would you be able to test it for me? https://github.com/storybookjs/storybook/pull/13053

Sun-2

comment created time in 8 minutes

push eventsweetalert2/sweetalert2

Limon Monte

commit sha ce765053f6cd44bffd057f07d90f844a5800d05f

remove trigger sauce and cypress tests

view details

push time in 10 minutes

push eventcheckstyle/checkstyle

Roman Ivanov

commit sha 6e48b78cefd92ed07e3730a8838ec072758cac3e

Issue #7045: move move jobs from Travis to azure

view details

push time in 11 minutes

Pull request review commentgatsbyjs/gatsby

feature(gatsby): Add CLI for managing flags

 export async function initialize({     })   } +  // Setup experiments+  if (config && config.__experiments) {+    const experiments = require(`../experiments`).default

Can this be a regular ESM import up at the top?

KyleAMathews

comment created time in 11 minutes

PR merged checkstyle/checkstyle

Issue #7045: move move jobs from Travis to azure

Issue #7045

+34 -12

0 comment

2 changed files

romani

pr closed time in 11 minutes

issue commentfacebook/jest

Feature: CLI support for option=value1,value2,value3\,with\,comma

This is a duplicate of #10870, which I've rejected because it's a nonstandard way of parsing arguments. yargs supports the standard double dash disambiguation used by other CLI programs for decades and specified by POSIX, alongside the obvious solution of specifying test patterns first.

conartist6

comment created time in 12 minutes

issue commentstorybookjs/storybook

Docs slowing down reloading

I would also like to help but am not sure how. While searching for .tsx files in the node_modules folder I found that storybook-dark-mode uses some. @shilman

I haven't searched for .ts files since there are plenty of them in the node_modules folder, so I don't think there's any point in pointing out those.

Sun-2

comment created time in 12 minutes

pull request commentgatsbyjs/gatsby

feature(gatsby): Add CLI for managing flags

I'd echo those saying that we should scope this down to just using the gatsby-config, without the cli, and I say that as a fan of interactive CLIs! I think anybody who is confident enough to be enabling experiments can do it in the config. Adding a whole new cli and recipe provider is a bit much.

KyleAMathews

comment created time in 12 minutes

issue commentfacebook/react

Bug: Run exceptions in Chrome Extension

your reducer shouldn't mutate the current state but return it

MrQinYQ

comment created time in 14 minutes

issue closedserverless/serverless

Using semantic versioning rules on private git repos within package.json causes dev deps to get packaged

Have come across an issue when using sls package when our package.json contains a dependency that is a private git repository.

We recently added a private git repository reference to one of our serverless projects. An example of this reference is:

"some-private-library": "git+ssh://git@gitplace.org:example/some-private-library.git"

This reference was added to the projects dependencies.

This all works fine, when running sls package the normal behaviour occurs and all of the devDependencies get stripped from the package.

We then decided we wanted to support minimum versions of the private repo and have the package manager upgrade the package automatically using semantic versioning matching. This is supported by NPM using the following syntax i.e. #semver:^1.0.0 so our reference changed to:

"some-private-library": "git+ssh://git@gitplace.org:example/some-private-library.git#semver:^1.0.0"

This worked as expected but when running sls package we had issues where devDependencies were being included in the zip, specifically serverless itself bloating the package by over 200MB.

As luck would have it we use YARN as our package manager so were able to change the string to:

"some-private-library": "git+ssh://git@gitplace.org:example/some-private-library.git#^1.0.0"

essentially removing the semver: part of the string. This still works with YARN and sls package behaves as expected and excludes all devDependencies.

I believe this is a bug within sls when parsing the package.json to identify devDependencies in some way.

NOTE: We also explicitly set:

package: excludeDevDependencies: true

to force dev dependencies to be excluded, even though this is the default behaviour when the environment is set correctly.

closed time in 16 minutes

NozzerFX

issue commentserverless/serverless

Using semantic versioning rules on private git repos within package.json causes dev deps to get packaged

@medikoo Thanks for your prompt response.

I can confirm what you have said. With the semver: string included that command fails to output any lines. I shall report this to the NPM team.

NozzerFX

comment created time in 16 minutes

Pull request review commentserverless/serverless

feat: update Lambda's SQS event batch size and add support to batching window

 class AwsCompileSQSEvents {           type: 'object',           properties: {             arn: { $ref: '#/definitions/awsArn' },-            batchSize: { type: 'integer', minimum: 1, maximum: 10 },+            batchSize: { type: 'integer', minimum: 1, maximum: 10000 },             enabled: { type: 'boolean' },+            maximumBatchingWindowInSeconds: { type: 'integer', minimum: 0 },

Sorry, for second call. I just realized we should actually call it maximumBatchingWindow, to be on pair with spec proposed for new events here https://github.com/serverless/serverless/issues/8137

xiqi

comment created time in 21 minutes

Pull request review commentserverless/serverless

feat: update Lambda's SQS event batch size and add support to batching window

 class AwsCompileSQSEvents {             let EventSourceArn;             let BatchSize = 10;             let Enabled = true;+            let MaximumBatchingWindowInSeconds = 0;

Let's not set the default. If event.sqs.maximumBatchingWindowInSeconds is not set, let's not set property at all.

xiqi

comment created time in 20 minutes

PR opened mdn/browser-compat-data

Correct Firefox data for Selection API

This PR corrects a few versions for the Selection API for Firefox based upon results from the mdn-bcd-collector project.

+5 -5

0 comment

1 changed file

pr created time in 19 minutes

issue commentfacebook/jest

Feature: CLI support for option=value1,value2,value3\,with\,comma

I'm against this change, unless it's completely backwards compatible (i.e. space separated arguments still work). Comma-separated list are uncommon in JS tooling and hence unintuitive for most of our users.

conartist6

comment created time in 20 minutes

push eventsweetalert2/sweetalert2

Limon Monte

commit sha 70ab2dc9a3db171b6f32d852881044b5d3f7f204

<swal-input> is treated as type='text' by default

view details

push time in 20 minutes

issue closedspring-projects/spring-boot

content of application.properties not processed after upgrading to Spring Boot 2.4.0

I'm upgrading my application to the new SpringBoot version. I'm actually in 2.3.5 using properties files like that : application-{profilename}.(properties/yaml)

I read those documentation : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-Config-Data-Migration-Guide https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-Config-Data-Migration-Guide

My pom is this one :

I changed from <version>2.3.5.RELEASE</version> to <version>2.4.0</version> I updated the project in eclipse

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent -->
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.4.0</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>

	<groupId>com.projet.dev</groupId>
	<artifactId>api</artifactId>
	<version>3.0.0</version>
	<name>api</name>
	<description>ApiMain</description>


	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<java.version>11</java.version>
		<maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
	</properties>

	<dependencies>
	
	<dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter</artifactId>
    </dependency>
    
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-jpa</artifactId>
			</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
			</dependency>

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
			</dependency>
		<dependency>
			<groupId>com.h2database</groupId>
			<artifactId>h2</artifactId>
			<scope>test</scope>
			</dependency>

		<!-- https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator -->
		<dependency>
		    <groupId>org.hibernate.validator</groupId>
		    <artifactId>hibernate-validator</artifactId>
		    </dependency>

		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.el</artifactId>
			<version>3.0.1-b12</version>
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
		<dependency>
		    <groupId>org.projectlombok</groupId>
		    <artifactId>lombok</artifactId>
		    <scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-security</artifactId>
			</dependency>

		<dependency>
			<groupId>org.springframework.integration</groupId>
			<artifactId>spring-integration-mqtt</artifactId>
			</dependency>

		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			</dependency>

		<dependency>
			<groupId>org.springdoc</groupId>
			<artifactId>springdoc-openapi-ui</artifactId>
			<version>1.4.8</version>
		</dependency>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			</dependency>

		<dependency>
			<groupId>org.mapstruct</groupId>
			<artifactId>mapstruct</artifactId>
			<version>1.4.1.Final</version>
		</dependency>

		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<version>2.10.8</version>
		</dependency>

		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<scope>test</scope>
		</dependency>

	</dependencies>
	
	<build>
    <plugins>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
	
	
	
</project>

In my application.properties : spring.config.use-legacy-processing=true

In my application-local.properties :

# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.main.banner-mode=off
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
# MANY OTHERS

When i start the app, it lauch without taking the properties ! I tried to apply spring.profiles.active=local in my application.properties but without success !

In vm argument i have this : -Dspring.profiles.active=local With and without it just does not work..

I was not having any problem with 2.3.5. spring.main.banner-mode=off works

How i see that properties are not loaded : I have spring.main.banner-mode=off and the banner is displayed so something wrong. Datasource properties are not loaded too..

Refer to : https://stackoverflow.com/questions/65008209/upgrade-springboot-2-3-5-to-2-4-0

Thanks for help, i'm sure it can help a lot of people !

For information in spring tool suite 4 4.5.0: spring.config.use-legacy-processing=true is an unknow property

closed time in 23 minutes

Whisper40

issue commentspring-projects/spring-boot

content of application.properties not processed after upgrading to Spring Boot 2.4.0

Thanks for the follow-up. We can't unfortunately provide you support with the error in your IDE. Please follow-up on StackOverflow for that.

Whisper40

comment created time in 23 minutes

PR opened facebook/jest

feat(jest-circus): provide testPath to custom Environment

Summary

The use scenario is related to e2e tests.

When a Jest worker picks the next test file and sets up the custom environment, we might want to know the exact test path there.

E.g., upon its init, Detox allocates a free device and prints a message like this:

detox[26435] INFO:  01.sanity.test.js is assigned to 8A7F4E42-4243-4029-9BC9-47B8344D5340 {"type":"iPhone 11 Pro"}

At the moment, talking about custom environments, this can be done only via private Symbols, and only after first two dispatches in the code:

const JEST_MATCHERS_OBJECT = Symbol.for('$$jest-matchers-object');
const { testPath } = this.global[JEST_MATCHERS_OBJECT].state;

So, I wonder, if it is fine if have it in the initial test runner state from the earliest moment?

Test plan

There is no one at the moment, but as soon as I receive a confirmation that this idea is okay, I'll see what unit/e2e tests I can add for that.

+1 -0

0 comment

1 changed file

pr created time in 23 minutes

PR opened storybookjs/storybook

UI: Fix keybindings on non-US keyboard layouts bug ui

Issue: #13296

What I did

This fixes the / keybinding on Hungarian keyboards (and probably other). Besides that, I've taken the opportunity to refactor some of this logic, without introducing a whole library dependency.

How to test

Test the / keybinding to focus the search input using Shift+6 on a Hungarian keyboard layout.

  • Is this testable with Jest or Chromatic screenshots? No
  • Does this need a new example in the kitchen sink apps? No
  • Does this need an update to the documentation? No

If your answer is yes to any of these, please make sure to include it in your PR.

<!--

Everybody: Please submit all PRs to the next branch unless they are specific to the current release. Storybook maintainers cherry-pick bug and documentation fixes into the master branch as part of the release process, so you shouldn't need to worry about this.

Maintainers: Please tag your pull request with at least one of the following: ["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

-->

+67 -20

0 comment

5 changed files

pr created time in 24 minutes

PR opened checkstyle/checkstyle

Issue #7045: move move jobs from Travis to azure

Issue #7045

+33 -15

0 comment

2 changed files

pr created time in 24 minutes

PR opened mdn/browser-compat-data

Add real values for Firefox for Selection API

This PR adds real values for Firefox for the Selection API based upon results from the mdn-bcd-collector project.

+30 -30

0 comment

1 changed file

pr created time in 25 minutes

more