HNHacker News
TopNewBestAskShowJobs

daw___

2,906 karma · joined February 20, 2013

I am @daw985 on Twitter.
submissionscomments
daw___··on QRCP: Transfer files to mobile device by scanning a QR code from the terminal
Author here, this is a refactoring of qr-filetransfer, already discussed in the past [0].

Here's how it works: qrcp binds a web server to the address of your Wi-Fi network interface on a random port and creates a handler for it. The default handler serves the content and exits the program when the transfer is complete. When used to receive files, qrcp serves an upload page and handles the transfer.

The tool prints a QR code that encodes the text:

  http://{address}:{port}/{random_path}
Most QR apps can detect URLs in decoded text and act accordingly (i.e. open the decoded URL with the default browser), so when the QR code is scanned the content will begin downloading by the mobile browser.

To send one or more files (or directories):

  qrcp /path/to/file
  # Or
  qrcp send /path/to/file
To receive one or more files:

  qrcp receive --output ~/Downloads
[0] https://news.ycombinator.com/item?id=16647977
daw___··on Bypass Paywalls Clean for Firefox
From a developer point of view, wouldn't it be more useful, ethical and financially effective to reach out to these websites and teach them how to implement paywalls right?
daw___··on Ask HN: How do I escape webdev?
DevOps would seem the perfect path out to me. You won't have to work on code anymore, but you could still use your coding experiences when implementing deployment solutions.
daw___··on Show HN: Banco, a project management system for the command line
Author here, from the readme:

Banco Management System, or simply Banco, is an opinionated project management tool for the command line that helps you organize notes, tasks, bookmarks and documents for your projects.

Banco objects (notes, tasks, bookmarks, etc) are stored in the filesystem, implemented as plain text files and folders within the root of the project, so you won't need to install or run any database or server. This enables you to easily create archives and backups, move projects around the filesystem, use command line tools, or keep track of changes by using version control.

daw___··on Show HN: One Page Calendar 2020
I'm not really sure what I am looking at.

EDIT: Now I am. Clever!

daw___··on Venice Battles Flooding Amid Highest Tide in 50 Years
The city in Italy.
daw___··on “We have no reason to believe 5G is safe”
Genuine question: what is the point of this comment?
daw___··on Ask HN: What are some well-designed, but less well-known native Mac apps?
Grapher is very well done. I used it a lot when studying calculus. https://support.apple.com/en-gb/guide/grapher/welcome/mac

Edit: I'm no longer a Mac user, I remember Coda (by Panic) being ahead of time as a text editor for coding.

daw___··on Ask HN: Looking back, what have you wasted lots of time on?
Gentoo, and a couple unrequited loves :-)
daw___··on Google Calendar Is Down
Intermittent 404/200 in Italy.
daw___··on Julian Assange arrested in London
What does Julian say in the video?
daw___··on Show HN: Cliapp.store – An App Store for CLI Apps
"You can try out Git for free. To use it regularly, you must buy a license."

Which license does this notice message refer to? This is completely wrong!

daw___··on List of Websites not available in the EU because of GDPR
Because are those that run the most ads, which do profiling and automated decision-making (i.e.: real-time bidding). It's hard to get that GDPR compliant.
daw___··on Show HN: Open Logos – Free logos for open source projects
A suggestion: I would make the "How it works" section always visible.
daw___··on Show HN: World Cup API for 2018
I tried loading over HTTPS and got the following error:

    This server could not prove that it is
    worldcup.sfg.io; its security certificate
    is from *.herokuapp.com. This may be
    caused by a misconfiguration or an
    attacker intercepting your connection.
daw___··on [dead]
All good in IT, 10:13pm CEST.
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Hi, I'm hearing of issues about QR codes unable to be scanned; can you please try scanning the code that I posted in this comment and tell me if it works? :

https://github.com/claudiodangelis/qr-filetransfer/issues/6#...

I'm trying to collect as much info as possible to identify the cause. Thanks!

daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Ah, you are absolutely right
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
That is not bad! I might consider renaming it.
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Whoa!
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Hi, this has been already reported, many thanks for the headsup. The reason of that os.Exit(0) is to let the user not to care about quitting the tool after the transfer has been completed. There might be pending pull requests that fix this problem, I'm going to review later today.

Users response to this tool is really overwhelming, lots of interesting ideas and solutions have been already provided in the last 24 hours!

daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Oh, that looks interesting and definitely related! Starred, will have a look soon.
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Oh, sorry to hear! I have no idea at the moment, do you mind opening an issue on Github? I can take care of opening an issue myself tomorrow if you can't.

https://github.com/claudiodangelis/qr-filetransfer/issues

Thanks!

daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
This is not going to work unfortunately, the program expects the arguments to be paths.
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Thanks!
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
I'm sorry, I have no experience with Nextcloud :-/
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Reasonable
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
That's an interesting point. Maybe the tool could create a temporary file with the data piped to it.

But for now I think you should stick with:

pbpaste > /tmp/clipboard.txt && qr-filetransfer /tmp/clipboard.txt

Thanks for the idea, I'm tracking it in github.

daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Ah, right, makes sense thank you.
daw___··on Show HN: Transfer files to mobile device by scanning a QR code from the terminal
Sorry, I'm not sure what you mean. How is this dependant on a specific OS?
Page 1 of 5Next →