GithubHelp home page GithubHelp logo

parsify-dev / desktop Goto Github PK

View Code? Open in Web Editor NEW
203.0 4.0 2.0 2.58 MB

Next generation notepad-based calculator, built with extendibility and privacy in mind.

Home Page: https://parsify.app

parsify app electron calculator numi soulver plugins extendable parsify-core engine

desktop's Introduction



Parsify Desktop

Next generation notepad-based calculator, built with extendibility and privacy in mind.


๐Ÿ’ป Website โ€ข ๐Ÿ“„ Documentation โ€ข ๐Ÿ“ Changelog



Download

You can install Parsify Desktop for free using GitHub Releases.

The free version is limited in functionality; more details can be found in the documentation. You can buy the license from the official site, supporting further development and unlocking additional features.

We offer significant discounts for students of all ages.

Supported platforms

  • macOS 10.11+
  • Windows 7+ (64-bit only)
  • Linux (most distributions)

Each release is tested on the latest version of macOS, Windows, and Linux Ubuntu.


Copyright ยฉ 2019-2023 Parsify Technologies. All Rights Reserved.

desktop's People

Contributors

xxczaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

desktop's Issues

Calculations not working on Linux KDE Plasma 5.22

Calculations and expressions never get resolved in the right-hand panel of the app. A grey bar appears and pulses, as if the app is attempting to load the result of the given expression, but it never gets resolved.

I'm a first time user hoping to test this app out. I'm using KDE Linux desktop. Downloaded the parsify-desktop_1.7.0_amd64.deb package from the Github release page. Installed using dpkg without any issues.

Screenshot of app with the issue

When starting the app via the terminal (/usr/bin/parsify-desktop) I get this console output:

Electron's autoUpdater does not support the 'linux' platform
(node:59656) UnhandledPromiseRejectionWarning: Error: The name org.freedesktop.secrets was not provided by any .service files
(Use `parsify-desktop --trace-warnings ...` to show where the warning was created)
(node:59656) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:59656) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error occurred in handler for 'eval-expressions': [Error: The name org.freedesktop.secrets was not provided by any .service files]
  • Parsify-desktop: 1.7.0
  • OS: Linux KDE neon 5.22 (Ubuntu-based)
  • Linux kernel: 5.11.0-34
  • KDE Plasma: 5.22.5
  • Graphics platform: X11

Timezone not showing proper time calculation

Hi!

Timezone calculation seems incorrect. I'm on UTC-03:00 and my computer is synced with a timeserver as such.

If I type "Time in Germany" the result is UTC-2 (one hour more than my local time), where it should be UTC+02:00.

All locations I try seem to be calculated based on UTC+1 instead of the local timezone.

image

The screenshot was taken at 0:12 AM in UTC-3 / GMT-3 / Argentina Time

Support for Multi-byte character in variable names

Hello! Konnichiwa(ใ“ใ‚“ใซใกใฏ)! I'm using this product everyday in Japan.
I like this product very much. But I have only one complaint.

Sadly, this product cannot use multibyte characters in variable names.
This problem is an inconvenience for people who use Japanese, Chinese, Korean, etc.

If resolved, I will purchase a paid license.
Additionally, probably that's not just me! ๐Ÿ˜€

(Environment: Windows 10 Pro 64 bit Build 19043)

image

Logical operators

Heya!

If, else, or, and, =!, > and < are useful for basic noncontinuous functions. In my case, this is the math I'm trying to program.

image

BR
Victor

Error: Unhandled Promise Rejection - sha512 checksum mismatch

This error just popped out of nowhere:

Unhandled Promise Rejection
Error: sha512 checksum mismatch, expected lpoYIgKOzWfd+yLGdtDaoiDjkFT6LuaDimXst5cAyjNOyfrlmWuOjb1xGCziygB2ISPArDdd30kcxlgT+YjQPA==, got eytX1BeQGaCqZSjpU7222lEnJ0N8kjFm1aiJvxq2cEgLrRoiaaivmKzUj+hMT/WC5pmiYRbLciUK1d5GRpeNVQ==
    at newError (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/builder-util-runtime/out/index.js:212:17)
    at DigestTransform.validate (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:409:35)
    at DigestTransform._flush (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:393:14)

Inline comments

It would be nice if inline comments could be supported.

10 GBP in USD // unit conversion

Update error on waking pc

When I wake my PC from sleep in the morning the following error message pops up.

"Unhandled Promise Rejection
Error: Unable to find latest version on GitHub (https://api.github.com/repos/parsify-dev/desktop/releases/latest), please ensure a production release exists: Error: net::ERR_NETWORK_IO_SUSPENDED
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:2575:21)
at newError (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/builder-util-runtime/out/index.js:212:17)
at PrivateGitHubProvider.getLatestVersionInfo (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js:146:48)
at async PrivateGitHubProvider.getLatestVersion (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js:90:25)
at async NsisUpdater.getUpdateInfoAndProvider (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:487:13)
at async NsisUpdater.doCheckForUpdates (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:503:20)
at async Timeout._onTimeout (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/app/background.js:1:3707)"

File: Display of Filename and -path, Create New

First of all, thanks for the v1.1.0 update! ๐ŸŽ‰

Just tried the File options, saving and opening files work great. ๐Ÿ‘
What came to my attention, I don't know, which file is currently open, which also means, I don't know which file will be overwritten when saving.
It would be nice to have the filename and -path being displayed. Of course without taking additional / too much space from the UI in the best case. Would it be possible to have it like in Visual Studio Code, being displayed next to the menu items? Or as a footer maybe. Of course, some people would like the UI to stay as minimalistic as possible, so maybe the file display could be optional and/or if using a footer, just being displayed on mouseover. [Might need some truncation when displaying the file path as well and having a small window I guess.]
Currently, there is no New File option. So, in case I was working on a saved file and I want to start a new one, I can simply delete the content of course, but doing a standard Save by accident would overwrite the previously used file. So a New File option would avoid this to happen and could also check and ask users if they want to save the currently open file first prior to creating a blank new Parsify window with no file connection.

Thanks!

Omit update error on network disconnection, e.g. machine going to sleep

When I close my laptop, putting it to sleep, I will get an update error, when starting it up again. Maybe you can omit this warning. Thanks.

Unhandled Promise Rejection
Error: Unable to find latest version on GitHub (https://api.github.com/repos/xxczaki/desktop/releases/latest), please ensure a production release exists: Error: net::ERR_NETWORK_IO_SUSPENDED
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2571:21)
    at newError (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/builder-util-runtime/out/index.js:212:17)
    at PrivateGitHubProvider.getLatestVersionInfo (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js:146:48)
    at async PrivateGitHubProvider.getLatestVersion (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js:90:25)
    at async NsisUpdater.getUpdateInfoAndProvider (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:487:13)
    at async NsisUpdater.doCheckForUpdates (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:503:20)
    at async Timeout._onTimeout (C:/Users/UserName/AppData/Local/Programs/parsify-desktop/resources/app.asar/app/background.js:1:3851)

v1.5.1 - Windows installer broken?

As I wiped my laptop recently, I tried to install the latest version v1.5.1 via Parsify-Desktop-Setup-1.5.1.exe. But it seems, the installation doesn't finish as all I get is the Uninstall Parsify Desktop.exe within C:\Users\user\AppData\Local\Programs\parsify-desktop, followed by the alert regarding the desktop shortcut, that Windows can't find the app exe. ๐Ÿคทโ€โ™‚๏ธ

Thanks.

Result column doesn't adapt to line breaks of expressions

If an expression exceeds a single line resulting in a line break, unfortunately the results of following expressions don't move down to match their expressions to the left.
Also vice versa if a result needs line breaks, see blow. I guess time is broken though..?
Parsify v1.1.0 - Windows 10

Parsify Desktop - 1 - no line break
Parsify Desktop - 2 - with line break

vice versa โ†’ result using line breaks:
Parsify Desktop - 3 - line break in result

Reload can cause hang in Windows 10, App v1.5.2

I have the following text file. Once the data was stale (after few minutes) I tried View>Reload and the app seemed to crash. No errors, just a hang, no text displayed in the app just a blank background.

It also seems to need you to click "enter" from a restart to get the parsing going. What is the refresh rate - is it 100% manual, and is "reload" the correct function?

Before reload:
before_reload

After reload:
after_reload

Parsify doesn't forget a variable value if that variable is also the name of a unit

  1. I write code where m is the unit metres, and everything is going well
  2. I accidentally name a variable m, and everything changes
  3. I rename my variable to mc, to indicate that it's the constant m, not the unit m.
  4. Everything doesn't change back to m being just a unit.

It seems parsify is remembering my mistake here! That's not what I wish would happen.

image

(the output value of w=80 m is obviously incorrect, m has no numerical value in the code any longer.)

How does Parsify handle currency updates?

Just wondering, how often and using which source, the currency rates are getting updated?
While being here, the ISO currency abbreviations work fine, but are you planning to integrate currency symbols as well? Like $ for US dollars, โ‚ฌ for Euro...
Thanks.
[Yep, former Numi user, but switched to Windows. ๐Ÿ˜‰]

Rounding errors in trig functions

I'm getting a rounding error with basic trig functions:
sin(pi) = 0.0000000000000001225 <- Should be 0
sin(2*pi) = -0.0000000000000001225 <- Should be 0
cos(pi/2) = 0.00000000000000006123 <- Should be 0

Unhandled promise rejection on startup

Not sure what's up but each time I open Parsify, I get an error like this, and the input side of the app is replaced by a white box saying "An unexpected error occurred.". Can't get it to run! On 1.4.1 now, this error is new to me.

Unhandled Promise Rejection
TypeError: Cannot read property 'value' of undefined
at IpcMainImpl. (C:/Users/Victor/AppData/Local/Programs/parsify-desktop/resources/app.asar/app/background.js:1:11092)

Expression with multiple values using a comma for decimal separator shows no result

I appreciate the support for the comma as a decimal separator. Sadly, I may apparently only use it exactly once in each line.

Example:

4.5 + 7.5 * 10          | 79.5
4,5 + 7,5 * 10          | 
4,5 + 7.5 * 10          | 79.5
4.5 + 7,5 * 10          | 79.5

1.2 + 2.3 + 3.4         | 6.9
1,2 + 2,3 + 3,4         | 

What I can see is that no result is displayed if more than one comma is used (see above). Very confusing!

Structured indent system

I'm a big fan of structuring information thusly in Notepad, using indents

image

which could also be used to structure e.g. a series of similar equations into a more legible pattern in parsify

My suggestion is to implement the same indent functionality as seen in Notepad into Parsify.

Date format

Allow the date format to be changed in the settings.

Can't get calculations working

Hi,

I pasted some calculations from Numi (similar app to yours) and can't get it working.

price = 150

# excise
markUpRate = 75
exciseTax = 10
eTax = price * (1 + markUpRate / 100) * exciseTax / 100

Screen Shot 2020-06-04 at 11 18 08

Tried with times, divided by - same result.
What am I doing wrong.
Wanted to check docs, but the page doesn't open

Thanks

Can't get v1.1.1 to work - rolled back to v1.1.0 [Windows 10]

I did the official uninstall, deleted the following folders as well in order to do a clean install:
C:\Users\UserName\AppData\Local\parsify-desktop-updater
C:\Users\UserName\AppData\Roaming\Parsify Desktop
The installation of v1.1.1 seems to happen, but when launching, I get this error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. TypeError: Use `delete()` to clear values
    at ElectronStore._migrate (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\node_modules\conf\index.js:228:11)
    at new Conf (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\node_modules\conf\index.js:141:9)
    at new ElectronStore (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\node_modules\electron-store\index.js:23:3)
    at Module.<anonymous> (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\app\background.js:1:2792)
    at t (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\app\background.js:1:124)
    at C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\app\background.js:1:923
    at Object.<anonymous> (C:\Users\UserName\AppData\Local\Programs\parsify-desktop\resources\app.asar\app\background.js:1:933)
    at Module._compile (internal/modules/cjs/loader.js:967:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)

The app window doesn't appear, but looking at the task manager, there are some background processes of Parsify running.
So, I uninstalled v1.1.1 and did the same steps as mentioned before, installed v.1.1.0 again, which does work. ๐Ÿคทโ€โ™‚๏ธ

Thanks

colon symbol [ : ] breaks headers and comments

This just came to my attention as I had a colon symbol in a header.
Hm okay, looking at the manual, you incorporated labels, which are followed by a colon...
I guess, for headers and line comments, you could check for the # or // at the beginning of the line. For inline comments..? ๐Ÿคทโ€โ™‚๏ธ ...checking, if a colon symbol is preceded by // anywhere to the left could work to disable the : as a label token within inline comments as well.
Thanks.
[Parsify v1.1.0 - Windows 10]

Parsify Desktop - colon symbol breaks comments

Issue when app startup at Ubuntu 20.10

Hi mate @xxczaki i'm prouded user of Parsify.
After update from 1.2.2 to the 1.4.1 version i allways receive a similar message when startup the app. This is the message:

Unhandled Promise Rejection
TypeError: Cannot read property 'value' of undefined
at IpcMainImpl. (/opt/Parsify Desktop/resources/app.asar/app/background.js:1:11092)

Do you know how can i hanndle with this? As an workaround i'm did an downgrade to 1.2.2 version
To give you more information my OS is Ubuntu 20.10

Originally posted by @joaovicentefs in #32 (comment)

App doesn't open on Windows 10

Just bought the app. Excited to try it... but it doesn't open.
Windows Build 19635.mn_release.200522-1435 (weekly Insider)

I don't see anything overt in the Event Logs, and I don't see any logs in the installation directory to troubleshoot this. I checked AV, and no alerts at runtime. Happy to help figure this out if you give me some guidance on troubleshooting.

Importing Soulver 2 Files

I'm looking to move from Soulver 2 to Parsify. Is there a Parsify plug-in that can import or covert Soulver 2 files to Parsify?

copying input and output simulatenously

Hi!

I'm interested in a solution to a use case where one would copy both the input and the output as text, in order to show the work behind calculations. Currently, it's easy to do in e.g. Calca, as the results are shown on the same line as the input. The same is not true in parsify, because the results are in a separate pane.

It's not the same functionality as #22, but both are related to copying expressions and results. I just wish to copy them together, perhaps for every line in the whole document at one time.

Expand scientific notation

It would be better to show numbers in their full form rather than in scientic notiation reducing cognitive load.

3.952e+5 // 395200

Settings are not getting saved

v1.5.2 | Windows 10
I tried first changing the Date format, also tried enabling Always on top. It seems, changes within the Settings do not get saved: They get discarded when clicking the x in order to close the Settings.
Thanks

Time as variable - currently gets locked during a session

I am actually not sure if this is a bug or an intended behavior:
When I am getting a time e.g. time in Berlin | 11:49 CEST, this will turn time in Berlin into a fixed variable, meaning it won't update to the current time: Writing the same expression, results in the previously set / old time. I guess, this could make sense when using it in an expression, which shouldn't change every minute. Currently, I have to quit and start Parsify again in order to get an updated time.
So as said, the fixed variable might have its advantages, but could there be an option to update the time variable without restarting the app? (This behavior might be true to date as well..?)

Thanks
[Parsify v1.1.0 - Windows 10]

Output error messages

Hi!

I was struggling a bit with a calculation, and after a while I figured out that it didn't give me an answer because there was an error with the units.

image

Obviously, the result of n(h) in this case contains both metres and a unitless value, which is an unacceptable answer. An error output would be useful for weeding out math errors such as this. Initially I thought n(h) simply wasn't finding h as a variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.