designandsuch Posted December 18, 2014 Author Share Posted December 18, 2014 I'm the author of the other converter and I have to say that there are a few tiny issues with the keywordless approach due to how Alfred works. The autocomplete (<tab>) is broken because it assumes that the number is the keyword. I think it's evident there are some issues with the keyword-less method, far beyond the handful I predicted in my previous explanation. I would not recommend using it for anyone unless you understand the consequences. This is simply not how workflows are intended. It interferes with all kinds of native Alfred features.. The only real answer to these suggestions probably sounds something like this; If you think typing "Units" is too long for you, which I can understand if you happen to use this feature a lot. Than simply change the keyword to 'u' or anything that makes sense to you. I assume this is a redundant tip, because if you are using Alfred Workflows in the first place, you will know how to do this, and you probably already did Link to comment
designandsuch Posted December 18, 2014 Author Share Posted December 18, 2014 (edited) Something else to add perhaps... in case you run out of things to do : decimal, binary, octal, hexadecimal I might but just out of curiosity. Who ( you perhaps ) has a real use for this? Edited December 18, 2014 by designandsuch Link to comment
wolph Posted December 18, 2014 Share Posted December 18, 2014 I think it's evident there are some issues with the keyword-less method, far beyond the handful I predicted in my previous explanation. I would not recommend using it for anyone unless you understand the consequences. This is simply not how workflows are intended. It interferes with all kinds of native Alfred features.. The only real answer to these suggestions probably sounds something like this; If you think typing "Units" is too long for you, which I can understand if you happen to use this feature a lot. Than simply change the keyword to 'u' or anything that makes sense to you. I assume this is a redundant tip, because if you are using Alfred Workflows in the first place, you will know how to do this, and you probably already did Very true. The library I wrote is (for me at least) just a more advanced calculator with some unit conversions build in. Calculations similar to "2 * cos(pi)" are a regular occurance for me so for me it basically replaced the Alfred calculator It definitely depends on your use-case. Link to comment
David Posted December 19, 2014 Share Posted December 19, 2014 I might but just out of curiosity. Who ( you perhaps ) has a real use for this? Subnet calculating, for example... i can also use the default calculator in OS X though, so no biggie. Using alfred would just be more convenient. Link to comment
designandsuch Posted December 21, 2014 Author Share Posted December 21, 2014 Subnet calculating, for example... i can also use the default calculator in OS X though, so no biggie. Using alfred would just be more convenient. Thanks a lot, I must say that I have no knowledge on this topic whatsoever, but I will definitely look into it. It seems like one of those topics you should have at least a basic understanding of. So I will defs look into it, and I will notify you when i incorporate it into the workflow +1 for the link Subject22 1 Link to comment
Leempi Posted July 16, 2015 Share Posted July 16, 2015 (edited) This workflow is pretty awesome. 1. Would there be a way to show default results that you want? For example: Units EUR - USD: 1.08 - AED: 4.00 - 1 EUR > Bitcoin - 1 EUR > US Dollar Or maybe shift the results so most used currencies are on top for faster access? 2. The other thing I was wondering was why: units EUR AED returns 4 but units 1 EUR AED returns 4.0031? 3. Also also: Why not show immediately the conversion in the displayed results for user selected currencies? Actioning the item will copy it to clipboard. Continuing to type conversion currency will then display that one. units EUR - 1 Euro > 4.0031 United Arab Emirates Dirham Currency AED - 1 Euro > 1.0098 United States Dollar Currency USD & units EUR SAR - 4.009 Saudi Riyal 1 EUR > SAR Edited July 16, 2015 by Leempi Link to comment
stonefury Posted October 15, 2015 Share Posted October 15, 2015 (edited) 1kilobyte = 1000 bytes? Isn't it 1024? Is there a better tool out there for just converting mbps and so forth into other formats? Edited October 15, 2015 by stonefury Link to comment
designandsuch Posted October 16, 2015 Author Share Posted October 16, 2015 1kilobyte = 1000 bytes? Isn't it 1024? Is there a better tool out there for just converting mbps and so forth into other formats? Please look into the mebibytes ( https://en.wikipedia.org/wiki/Mebibyte) I'm using the proper decimal vs binary conversion according to ISO standards. This has been discussed multiple times before and it all depends on the discipline you're working in, so the only reasonable thing to do is to follow the International System of Units Link to comment
auco Posted August 11, 2016 Share Posted August 11, 2016 Is this workflow known to work with Alfred3? I can't seem to get any results... Starting debug for 'Units' [2016-08-11 13:58:27][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 Warning: simplexml_load_string(): The page you requested was removed. in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 Warning: simplexml_load_string(): ^ in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 Link to comment
designandsuch Posted August 11, 2016 Author Share Posted August 11, 2016 Is this workflow known to work with Alfred3? I can't seem to get any results... Starting debug for 'Units' [2016-08-11 13:58:27][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 Warning: simplexml_load_string(): The page you requested was removed. in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 Warning: simplexml_load_string(): ^ in /Users/*****/Library/Application Support/Alfred2/Alfred.alfredpreferences/workflows/user.workflow.98CAE326-BE35-4DAC-B450-CB9F9569EAE5/units_v2.php on line 960 @Auco If you download the latest version it should work fine ( http://designandsuch.com/work/alfred-workflow-units ) Link to comment
JLoun Posted December 15, 2016 Share Posted December 15, 2016 Hi, could you please release an older version that's compatible with Alfred 2? The current v3.4 doesn't seem to be working. Link to comment
wolph Posted December 15, 2016 Share Posted December 15, 2016 (edited) 2 hours ago, JLoun said: Hi, could you please release an older version that's compatible with Alfred 2? The current v3.4 doesn't seem to be working. A (temporary) solution could be to use the unit converter I wrote: http://www.alfredforum.com/topic/5256-advanced-calculator-with-fast-off-line-unit-converter/ It's a lot faster and functions without an internet connection and it supports Alfred 2 without a problem. I should note that it probably supports less features so it's a small trade-off Edited December 15, 2016 by wolph Link to comment
drwatson Posted July 10, 2017 Share Posted July 10, 2017 convert 1 usd to sek ✔ convert $1 sek ✔ convert $1 to sek ✖ Why doesn't the last one work? bug? Link to comment
greenamit Posted June 4, 2018 Share Posted June 4, 2018 Hi, I've been using this wonderful workflow for few years now. However, it stopped working in the last few days. Any idea why? Is this group still active (didn't see any update for months)? Thanks Link to comment
Tsunami Posted June 4, 2018 Share Posted June 4, 2018 Still works fine here. Make sure you use the latest version from http://units.dnsu.ch/download. Link to comment
targumanu Posted June 4, 2018 Share Posted June 4, 2018 It doesn’t work for me anymore, either. It gets stuck on “Wait for it...” (Alfred's debugging console says "Queuing argument '5km cm'"), and no result is returned. Link to comment
greenamit Posted June 5, 2018 Share Posted June 5, 2018 15 hours ago, Tsunami said: Still works fine here. Make sure you use the latest version from http://units.dnsu.ch/download. The download page is down too. Any good alternatives? Link to comment
Tsunami Posted June 5, 2018 Share Posted June 5, 2018 (edited) It's not down. The domain is probably blocked on your end, which would explain why the workflow is no longer working for you. The workflow simply calls a PHP script on that domain and displays the result. Edited June 5, 2018 by Tsunami Link to comment
iandol Posted June 5, 2018 Share Posted June 5, 2018 You could also try: https://github.com/deanishe/alfred-convert Link to comment
designandsuch Posted June 6, 2018 Author Share Posted June 6, 2018 @Tsunami is correct. In the case of @greenamit I was able to confirm that the server did not block the specific IPs. It's hard to figure out how many users have issues with this, since there are still a lot of people using Units without any problems. Anyhow just wanted to let you all know that I checked with my hosting provider and they confirmed that there where no blocks or problems on their side. cands 1 Link to comment
mcouthon Posted June 8, 2018 Share Posted June 8, 2018 Adding my 2 cents here - stopped working for me as well a few days ago. Both the workflow and the download page aren't working. Trying to curl results in: ❯❯❯ curl http://units.dnsu.ch/download -vvv * Trying 195.238.74.50... * TCP_NODELAY set * Connected to units.dnsu.ch (195.238.74.50) port 80 (#0) > GET /download HTTP/1.1 > Host: units.dnsu.ch > User-Agent: curl/7.54.0 > Accept: */* > * Recv failure: Connection reset by peer * stopped the pause stream! * Closing connection 0 curl: (56) Recv failure: Connection reset by peer Maybe it'll help somehow. Link to comment
Sekator Posted August 3, 2018 Share Posted August 3, 2018 Stopped working for me as well :( Link to comment
greenamit Posted December 21, 2018 Share Posted December 21, 2018 such a shame it is not working. Link to comment
Belfong Posted April 2, 2019 Share Posted April 2, 2019 (edited) The website shows v3.4 released on 26th Nov 2016. In Packal.org, there is also a V0.6 on Nov 2016 also. I suppose Packal.org is very, very outdated, correct? Edited April 2, 2019 by Belfong Link to comment
RPBarnes Posted April 14, 2019 Share Posted April 14, 2019 v3.4 works fine for me on Alfred 3 on Mojave. Thanks for the workflow 😁 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now