FezVrasta

FezVrasta

UX Engineer/Front-End Engineer. Creator of bootstrap-material-design and Popper.js. Open Source addicted.

Member Since 8 years ago

Application Tech Lead @SironaMedical , Monza, Italy

Experience Points
1.9k
follower
Lessons Completed
24
follow
Lessons Completed
677
stars
Best Reply Awards
254
repos

1783 contributions in the last year

Pinned
⚡ A low-level toolkit to position floating elements while intelligently keeping them in view. Tooltips, popovers, dropdowns, menus, and more
⚡ 🍿⚛Official React library to use Popper, the positioning library
⚡ Bootstrap 5 & Material Design 2.0 UI KIT
⚡ 🐣🐷 Conditionally render pieces of UI based on element queries.
⚡ ⇲👁 A simple React Hook which allows to listen the resize event of any target element when it changes sizes
⚡ Ask Me Anything
Activity
Jan
22
17 hours ago
Activity icon
issue

FezVrasta issue comment floating-ui/floating-ui

FezVrasta
FezVrasta

Update popper homepage with deprecation notice.

Floating-UI is great!

It could have saved me some time if there was a note of where to obtain the latest version of the library rather than pointing users to the now stale popperjs installation instructions. Thanks!

FezVrasta
FezVrasta

We are planning to add a notice, but keep in mind Popper v2 is in a very mature and stable phase and it's perfectly suitable for production projects.

Activity icon
issue

FezVrasta issue comment floating-ui/floating-ui

FezVrasta
FezVrasta

For this kind of issues I think a pull request with the fix is the most effective way to have them addressed. I don't think tracking them in the issues tracker is going to help.

Jan
21
1 day ago
Activity icon
issue

FezVrasta issue comment RollingVersions/RollingVersions

FezVrasta
FezVrasta

This user requires 2fa on publish to npm, which is not supported

2FA is likely something that may be forced in the future by npm after recent events, we use Rolling Versions at https://github.com/floating-ui/floating-ui/ and this is blocking CI release unless I disable 2FA on my account. Any chance this could be added?

FezVrasta
FezVrasta

@atomiks and me resolved the problem weakening the 2FA protection, it's not optimal but it's a viable workaround for now.

image

@ForbesLindesay do you have a better alternative?

Activity icon
issue

FezVrasta issue comment facebook/flow

FezVrasta
FezVrasta

Refinement & invalidation when passing $Readonly objects as arguments (Try Flow provided)

I'm trying to check whether a $ReadOnly-object has a an optional property, and if that is the case, pass that object to a function that expects a $ReadOnly-object with that property required.

I know that type refinements are invalidated, if an intermediate function call was used.

Here's an example without any function call. So the type refinement is either never applied, or get's invalidated. Unfortunately i do not understand why, yet.

If i pass a copy of the object, copying the checked property, like in this example, it works.

I would really like to understand, why that is. Thank you in advance!

FezVrasta
FezVrasta

@wchargin is there any reason of why the invalidation happens even in this case though?

https://flow.org/try/#0PTAEAEDMBsHsHcBQiDGsB2BnALqAHgFygAkASgKYCGAJgPLrQCeAPAN6iNED86ArgLYAjcgCdQAXwB8oALyhaggFbkU2AHSQR5cgC9yACnadQAJgkBKANzIAlpFD68axqACEcvtGjnQrRKADQNCxYaHI1OABzfQBySFhYGKtkQPxnUABaU2txIA

// @flow

const x: $ReadOnly<{ y: ?number }> = Object.freeze({ y: 2 });

if (x.y != null) {
    console.log('foo');

    x.y - 2;
}
Activity icon
issue

FezVrasta issue MonitorControl/MonitorControl

FezVrasta
FezVrasta

The app closes after a while

Before opening the issue, have you...?

  • Searched for existing issues
  • Looked through the wiki
  • Updated MonitorControl to the latest version (if applicable)

Describe the bug

After I start the app, it can work for days, but eventually it automatically closes without reporting any error.

Steps to reproduce

  1. Open the app
  2. Keep it open for days

Expected behavior

The app should never stop if not asked to

Anything else?

No response

Environment Information (please complete the following information)

- macOS version: Monterey
- Mac model: MBP 2021 M1 max
- MonitorControl version: 4.0.2
- Monitor(s): LG 34WK95U
- Apple Silicon/M1 (yes or no): yes
pull request

FezVrasta pull request floating-ui/popper.js.org

FezVrasta
FezVrasta

Madrakalistar

Masaryk mojod az sakhtan

Jan
20
2 days ago
Activity icon
issue

FezVrasta issue comment kwsch/NHSE

FezVrasta
FezVrasta

Auto upate

Is your feature request related to a problem? Please describe. There's frequent updates due to active enhancement and changes. Users using older version will encounter errors.

Describe the solution you'd like Option to check and download latest version at startup

FezVrasta
FezVrasta

I wanted to automate it with bash, so having a /latest URL would really simplify the script.

Activity icon
issue

FezVrasta issue comment kwsch/NHSE

FezVrasta
FezVrasta

Auto upate

Is your feature request related to a problem? Please describe. There's frequent updates due to active enhancement and changes. Users using older version will encounter errors.

Describe the solution you'd like Option to check and download latest version at startup

FezVrasta
FezVrasta

@kwsch could you provide an URL to always download the latest version? That would help to write a small script to automatically update the app at least. Thanks!

Jan
19
3 days ago
Jan
18
4 days ago
Activity icon
issue

FezVrasta issue comment facebook/jest

FezVrasta
FezVrasta

Inline snapshots are not written to js files containing JSX syntax when the file is located in a subfolder

💥 Regression Report

Inline snapshots are not written to JavaScript files containing JSX syntax when the file is located in a subfolder. It works fine if the file is at the root of the project. It also works fine for TypeScript files in both root and subfolders.

Last working version

Worked up to version: 26.6.3

Stopped working in version: 27.0.0

To Reproduce

Steps to reproduce the behavior:

  1. Create a React dev environment using the following packages or clone my repo.
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"babel-jest": "^27.0.6",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"react-test-renderer": "^17.0.2"
  1. Create a JavaScript test file in a subfolder e.g. ./src/inline-snapshot.spec.js
import React from 'react';
import TestRenderer from 'react-test-renderer';

it('should produce inline snapshot', () => {
  const result = TestRenderer.create(<span>test</span>).toJSON();
  expect(result).toMatchInlineSnapshot();
});

  1. Run the test using jest

Expected behavior

The inline snapshot should be written to the test file.

Link to repl or repo (highly encouraged)

https://replit.com/@JimMalmborg/inline-snapshot-regression?v=1

https://github.com/JimMalmborg/inline-snapshot.git Run yarn and yarn test

Note! Manually clear any existing snapshots from the test files before running the tests.

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: Windows 10 10.0.19043
    CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
  Binaries:
    Node: 15.4.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 7.0.15 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^27.0.6 => 27.0.6
FezVrasta
FezVrasta

FYI Create React App v5 is affected by this same bug, it's tracked here https://github.com/facebook/create-react-app/issues/11928

Activity icon
issue

FezVrasta issue comment facebook/create-react-app

FezVrasta
FezVrasta

toMatchInlineSnapshot breaks when testing JSX syntax on a fresh CRA5 project

Describe the bug

import { render, screen } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
  render(<App />);
  const linkElement = screen.getByText(/learn react/i);
  expect(linkElement).toMatchInlineSnapshot(``);
});

Running the above test on a fresh Create React App 5.x and asking Jest to update the snapshot makes the process fail with the following error:

 FAIL  src/App.test.js
  ● Test suite failed to run

    SyntaxError: /private/tmp/cra5/src/App.test.js: Support for the experimental syntax 'jsx' isn't currently enabled (5:10):

      3 |
      4 | test('renders learn react link', () => {
    > 5 |   render(<App />);
        |          ^
      6 |   const linkElement = screen.getByText(/learn react/i);
      7 |   expect(linkElement).toMatchInlineSnapshot(``);
      8 | });

    Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
    If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

      at Parser._raise (node_modules/@babel/parser/src/parser/error.js:147:45)
      at Parser.raiseWithData (node_modules/@babel/parser/src/parser/error.js:142:17)
      at Parser.expectOnePlugin (node_modules/@babel/parser/src/parser/util.js:205:18)
      at Parser.parseExprAtom (node_modules/@babel/parser/src/parser/expression.js:1221:16)
      at Parser.parseExprSubscripts (node_modules/@babel/parser/src/parser/expression.js:670:23)
      at Parser.parseUpdate (node_modules/@babel/parser/src/parser/expression.js:650:21)
      at Parser.parseMaybeUnary (node_modules/@babel/parser/src/parser/expression.js:621:23)
      at Parser.parseMaybeUnaryOrPrivate (node_modules/@babel/parser/src/parser/expression.js:374:14)
      at Parser.parseExprOps (node_modules/@babel/parser/src/parser/expression.js:384:23)
      at Parser.parseMaybeConditional (node_modules/@babel/parser/src/parser/expression.js:342:23)

Everything works fine with toMatchSnapshot

Did you try recovering your dependencies?

The project has been freshly started from scratch.

Which terms did you search for in User Guide?

toMatchInlineSnapshot

Environment

  current version of create-react-app: 5.0.0
  running from /Users/federicozivolo/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.2
  npmPackages:
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    react-scripts: 5.0.0 => 5.0.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

  1. Run yarn test
  2. Press u to ask Jest to update the snapshot

Expected behavior

The snapshot should be updated.

Actual behavior

See error above.

Reproducible demo

https://github.com/FezVrasta/cra5-tomatchinlinesnapshot-repro

FezVrasta
FezVrasta

It looks like a viable workaround is to add a .babelrc to the root of the project:

{
  "presets": ["react-app"]
}
Jan
17
5 days ago
Activity icon
issue

FezVrasta issue comment stripe/stripe-firebase-extensions

FezVrasta
FezVrasta

If a customer has a failed payment, then successful payment, the claim isn't being set

Bug report

  • Extension name: firestore-stripe-payments

Describe the bug

If a new subscriber encounters a payment issue during checkout and then leaves to try again later, they end up with two subscriptions stored in Firestore. One is inactive (payment failed subscription) the other is active.

That's fine, except the claim is not getting set appropriately. It's as if the inactive subscription is blocking the active one.

So the user's experience is that they finally just paid for their subscription, get redirected to my app, but my app isn't showing them as subscribed because the claim isn't set.

To resolve I have to go into their Firestore document, remove the inactive subscription, then go into Stripe and add some dummy metadata to trigger the subscription to resync to my Firestore database.

However, this will all happen again to the user because apparently, Stripe holds the unpaid subscription open while awaiting payment -- and after some amount of time flips it to inactive -- triggering another webhook update to my Firestore database, which adds the inactive subscription back to my user again.

So I have to repeat the process of deleting the inactive subscription, going into Stripe to trigger a refresh of the active subscription so the user can log in and use my app.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

The only way to reproduce this is to have a customer first have a failed payment, leave for some amount of time, come back and then successfully complete a payment.

Expected behavior

I would expect that so long as the user has at least one active subscription the claim would be set (as setup in the metadata for the product). I want to have confidence in a reliable claim and active subscription process.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

This is all handled in the Firebase cloud functions set up by the Stripe firebase extension.

FezVrasta
FezVrasta

Is anyone from Stripe following this issue tracker?

Jan
15
1 week ago
Activity icon
issue

FezVrasta issue comment stripe/stripe-firebase-extensions

FezVrasta
FezVrasta

If a customer has a failed payment, then successful payment, the claim isn't being set

Bug report

  • Extension name: firestore-stripe-payments

Describe the bug

If a new subscriber encounters a payment issue during checkout and then leaves to try again later, they end up with two subscriptions stored in Firestore. One is inactive (payment failed subscription) the other is active.

That's fine, except the claim is not getting set appropriately. It's as if the inactive subscription is blocking the active one.

So the user's experience is that they finally just paid for their subscription, get redirected to my app, but my app isn't showing them as subscribed because the claim isn't set.

To resolve I have to go into their Firestore document, remove the inactive subscription, then go into Stripe and add some dummy metadata to trigger the subscription to resync to my Firestore database.

However, this will all happen again to the user because apparently, Stripe holds the unpaid subscription open while awaiting payment -- and after some amount of time flips it to inactive -- triggering another webhook update to my Firestore database, which adds the inactive subscription back to my user again.

So I have to repeat the process of deleting the inactive subscription, going into Stripe to trigger a refresh of the active subscription so the user can log in and use my app.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

The only way to reproduce this is to have a customer first have a failed payment, leave for some amount of time, come back and then successfully complete a payment.

Expected behavior

I would expect that so long as the user has at least one active subscription the claim would be set (as setup in the metadata for the product). I want to have confidence in a reliable claim and active subscription process.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

This is all handled in the Firebase cloud functions set up by the Stripe firebase extension.

FezVrasta
FezVrasta

Having the same issue, it's causing so many problems to us ☹️

Jan
14
1 week ago
Activity icon
issue

FezVrasta issue comment facebook/create-react-app

FezVrasta
FezVrasta

toMatchInlineSnapshot breaks when testing JSX syntax on a fresh CRA5 project

Describe the bug

import { render, screen } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
  render(<App />);
  const linkElement = screen.getByText(/learn react/i);
  expect(linkElement).toMatchInlineSnapshot(``);
});

Running the above test on a fresh Create React App 5.x and asking Jest to update the snapshot makes the process fail with the following error:

 FAIL  src/App.test.js
  ● Test suite failed to run

    SyntaxError: /private/tmp/cra5/src/App.test.js: Support for the experimental syntax 'jsx' isn't currently enabled (5:10):

      3 |
      4 | test('renders learn react link', () => {
    > 5 |   render(<App />);
        |          ^
      6 |   const linkElement = screen.getByText(/learn react/i);
      7 |   expect(linkElement).toMatchInlineSnapshot(``);
      8 | });

    Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
    If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

      at Parser._raise (node_modules/@babel/parser/src/parser/error.js:147:45)
      at Parser.raiseWithData (node_modules/@babel/parser/src/parser/error.js:142:17)
      at Parser.expectOnePlugin (node_modules/@babel/parser/src/parser/util.js:205:18)
      at Parser.parseExprAtom (node_modules/@babel/parser/src/parser/expression.js:1221:16)
      at Parser.parseExprSubscripts (node_modules/@babel/parser/src/parser/expression.js:670:23)
      at Parser.parseUpdate (node_modules/@babel/parser/src/parser/expression.js:650:21)
      at Parser.parseMaybeUnary (node_modules/@babel/parser/src/parser/expression.js:621:23)
      at Parser.parseMaybeUnaryOrPrivate (node_modules/@babel/parser/src/parser/expression.js:374:14)
      at Parser.parseExprOps (node_modules/@babel/parser/src/parser/expression.js:384:23)
      at Parser.parseMaybeConditional (node_modules/@babel/parser/src/parser/expression.js:342:23)

Everything works fine with toMatchSnapshot

Did you try recovering your dependencies?

The project has been freshly started from scratch.

Which terms did you search for in User Guide?

toMatchInlineSnapshot

Environment

  current version of create-react-app: 5.0.0
  running from /Users/federicozivolo/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.2
  npmPackages:
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    react-scripts: 5.0.0 => 5.0.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

  1. Run yarn test
  2. Press u to ask Jest to update the snapshot

Expected behavior

The snapshot should be updated.

Actual behavior

See error above.

Reproducible demo

https://github.com/FezVrasta/cra5-tomatchinlinesnapshot-repro

FezVrasta
FezVrasta
Activity icon
issue

FezVrasta issue facebook/create-react-app

FezVrasta
FezVrasta

toMatchInlineSnapshot breaks when testing JSX syntax

Describe the bug

import { render, screen } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
  render(<App />);
  const linkElement = screen.getByText(/learn react/i);
  expect(linkElement).toMatchInlineSnapshot(``);
});

Running the above test on a fresh Create React App 5.x and asking Jest to update the snapshot makes the process fail with the following error:

 FAIL  src/App.test.js
  ● Test suite failed to run

    SyntaxError: /private/tmp/cra5/src/App.test.js: Support for the experimental syntax 'jsx' isn't currently enabled (5:10):

      3 |
      4 | test('renders learn react link', () => {
    > 5 |   render(<App />);
        |          ^
      6 |   const linkElement = screen.getByText(/learn react/i);
      7 |   expect(linkElement).toMatchInlineSnapshot(``);
      8 | });

    Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
    If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

      at Parser._raise (node_modules/@babel/parser/src/parser/error.js:147:45)
      at Parser.raiseWithData (node_modules/@babel/parser/src/parser/error.js:142:17)
      at Parser.expectOnePlugin (node_modules/@babel/parser/src/parser/util.js:205:18)
      at Parser.parseExprAtom (node_modules/@babel/parser/src/parser/expression.js:1221:16)
      at Parser.parseExprSubscripts (node_modules/@babel/parser/src/parser/expression.js:670:23)
      at Parser.parseUpdate (node_modules/@babel/parser/src/parser/expression.js:650:21)
      at Parser.parseMaybeUnary (node_modules/@babel/parser/src/parser/expression.js:621:23)
      at Parser.parseMaybeUnaryOrPrivate (node_modules/@babel/parser/src/parser/expression.js:374:14)
      at Parser.parseExprOps (node_modules/@babel/parser/src/parser/expression.js:384:23)
      at Parser.parseMaybeConditional (node_modules/@babel/parser/src/parser/expression.js:342:23)

Everything works fine with toMatchSnapshot

Did you try recovering your dependencies?

The project has been freshly started from scratch.

Which terms did you search for in User Guide?

toMatchInlineSnapshot

Environment

  current version of create-react-app: 5.0.0
  running from /Users/federicozivolo/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.2
  npmPackages:
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    react-scripts: 5.0.0 => 5.0.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

  1. Run yarn test
  2. Press u to ask Jest to update the snapshot

Expected behavior

The snapshot should be updated.

Actual behavior

See error above.

Reproducible demo

https://github.com/FezVrasta/cra5-tomatchinlinesnapshot-repro

Jan
13
1 week ago
Activity icon
issue

FezVrasta issue comment johnste/finicky

FezVrasta
FezVrasta

Profile selector for Brave not working anymore

Describe the bug I used to be able to open some links with a particular Brave profile, but lately it stopped working and it just opens it with the default profile instead.

Your configuration

// Use https://finicky-kickstart.now.sh to generate basic configuration
// Learn more about configuration options: https://github.com/johnste/finicky/wiki/Configuration

const BRAVE_PERSONAL = { name: 'Brave Browser', profile: 'Default' };
const BRAVE_WORK = {
  name: 'Brave Browser',
  profile: 'Work',
};

module.exports = {
  options: {
    hideIcon: false,
  },
  defaultBrowser: BRAVE_PERSONAL,
  handlers: [
    // Work
    {
      match: /^https?:\/\/.*work.*$/,
      browser: BRAVE_WORK,
    },
    // Slack
    {
      match: ({ url, opener }) => opener.path === '/Applications/Slack.app',
      browser: BRAVE_WORK,
    },
    // Zoom
    {
      match: ({ url, opener }) =>
        url.host === 'zoom.us' && opener.path !== '/Applications/zoom.us.app',
      browser: '/Applications/zoom.us.app',
    },
    {
      match: ({ url }) => url.host === 'localhost',
      browser: BRAVE_WORK,
    },
  ],
};

To Reproduce

Click on a link that matches my handlers for the WORK profile.

I noticed that if I change profile: 'Work' to anything else it seems to completely ignore it, previously it used to launch a new profile.

FezVrasta
FezVrasta

It was a misconfiguration on my side. What I did to make sure paths where what I wanted was to use Finicky to launch the new profile, this way the folder is created with the name I specified.

Jan
12
1 week ago
Activity icon
issue

FezVrasta issue kaitz/paq8pxd

FezVrasta
FezVrasta

Not working, command exists with no output or result

Hi, I'm testing this utility on a Windows 11 ARM VM and I can't get it to work, I tried to drag and drop a folder with an handful of jpegs inside, but the terminal window briefly appears and then automatically closes with no result.

If I manually call the script and pass the arguments it just exists with no output:

paq8pxd_v106.exe C:\test-folder test.paq8pxd

paq8pxd_v106.exe .\test-folder .\test.paq8pxd

paq8pxd_v106.exe C:\test-folder C:\test.paq8pxd

paq8pxd_v106.exe C:\test-folder

None of the above produced any output. What am I doing wrong?

I also tried with v105 but I get the same result.

Activity icon
issue

FezVrasta issue comment kaitz/paq8pxd

FezVrasta
FezVrasta

Not working, command exists with no output or result

Hi, I'm testing this utility on a Windows 11 ARM VM and I can't get it to work, I tried to drag and drop a folder with an handful of jpegs inside, but the terminal window briefly appears and then automatically closes with no result.

If I manually call the script and pass the arguments it just exists with no output:

paq8pxd_v106.exe C:\test-folder test.paq8pxd

paq8pxd_v106.exe .\test-folder .\test.paq8pxd

paq8pxd_v106.exe C:\test-folder C:\test.paq8pxd

paq8pxd_v106.exe C:\test-folder

None of the above produced any output. What am I doing wrong?

I also tried with v105 but I get the same result.

FezVrasta
FezVrasta

I don't have much experience with cpp, I verified it works on intel so I'll close this as an incompatibility with arm, thanks!

Activity icon
issue

FezVrasta issue comment kaitz/paq8pxd

FezVrasta
FezVrasta

Not working, command exists with no output or result

Hi, I'm testing this utility on a Windows 11 ARM VM and I can't get it to work, I tried to drag and drop a folder with an handful of jpegs inside, but the terminal window briefly appears and then automatically closes with no result.

If I manually call the script and pass the arguments it just exists with no output:

paq8pxd_v106.exe C:\test-folder test.paq8pxd

paq8pxd_v106.exe .\test-folder .\test.paq8pxd

paq8pxd_v106.exe C:\test-folder C:\test.paq8pxd

paq8pxd_v106.exe C:\test-folder

None of the above produced any output. What am I doing wrong?

I also tried with v105 but I get the same result.

FezVrasta
FezVrasta

I downloaded the binaries from this repository, I didn't compile them. Nothing is print when I run the command, not even the help message.

It could be some incompatibility with the Windows conversion layer between x86 and arm 🤷

pull request

FezVrasta merge to Kitware/react-vtk-js

FezVrasta
FezVrasta

fix(rendering): Use transformCoordinate property at construction

Thanks to @FezVrasta for helping me find the missing property.

Activity icon
issue

FezVrasta issue kaitz/paq8pxd

FezVrasta
FezVrasta

Not working, command exists with no output or result

Hi, I'm testing this utility on a Windows 11 ARM VM and I can't get it to work, I tried to drag and drop a folder with an handful of jpegs inside, but the terminal window briefly appears and then automatically closes with no result.

If I manually call the script and pass the arguments it just exists with no output:

paq8pxd_v106.exe C:\test-folder test.paq8pxd

paq8pxd_v106.exe .\test-folder .\test.paq8pxd

paq8pxd_v106.exe C:\test-folder C:\test.paq8pxd

paq8pxd_v106.exe C:\test-folder

None of the above produced any output. What am I doing wrong?

Jan
11
1 week ago
Activity icon
issue

FezVrasta issue fregante/chrome-webstore-upload-cli

FezVrasta
FezVrasta

PKG_NO_TWO_FACTOR_AUTH

Hi, Google is forcing everybody to use 2FA, is there a way to make this CLI work in this new situation?

Error: PKG_NO_TWO_FACTOR_AUTH Enabling 2 step verification on your account is required for security purposes. Please visit https://www.google.com/landing/2step to set it up.

Activity icon
issue

FezVrasta issue jihchi/dify

FezVrasta
FezVrasta

Apply a diff?

Hi, thanks for the library, it looks great!

I was wondering if you have any plan to make it possible to apply a diff to an image in order to recreate the compared image?

Jan
10
1 week ago
Activity icon
issue

FezVrasta issue comment facebook/create-react-app

FezVrasta
FezVrasta

Support for the experimental syntax 'jsx' isn't currently enabled (45:5):

Steps to reproduce:

  • Create a new react App
  • Add https://github.com/Tordek/broken as a dependency (it's simply a project that contains a file with .js extension but uses jsx syntax.
  • Attempt to use the component in the app.

Result:

Failed to compile.

../broken/index.js
SyntaxError: D:\XXXX\broken\index.js: Support for the experimental syntax 'jsx' isn't currently enabled (4:13):

  2 |
  3 | export const Broken = () => {
> 4 |     return (<div></div>)
    |             ^
  5 | }

Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

However the offered solution does not work because react-scripts/options/webpack.config.js disables the babelrc option.

On the other hand, this problem only seems to exist on Windows; it works fine in Linux.

FezVrasta
FezVrasta

Having the same issue on mac after I upgraded to Create React App, it's only happening while running the unit tests

Activity icon
issue

FezVrasta issue comment facebook/create-react-app

FezVrasta
FezVrasta

feat: add PROFILE environment variable as alternative to --profile flag

I think this small addition would be very useful to make it easier to conditionally build profiling-enabled builds on CI environments.

Rather than having to redefine the installation script it's enough to set the PROFILE environment variable to true.

Basically, with this, I could have a .env.development with PROFILE=true to automatically make my development (not local) environment builds include the profiling build of React DOM

Activity icon
issue

FezVrasta issue comment facebook/create-react-app

FezVrasta
FezVrasta

docs: improved Flow documentation

  • add instructions to enable new JSX transform with Flow
  • add instructions to suppress node_modules type errors
Previous