News for hackers. Stuff that matters.
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by JonathonW on Thursday October 26, 2017 @01:01AM (#15556474)
Reminds me of MapSCII [1] that was posted here a few months back, which also uses braille characters for rendering.

[1] https://github.com/rastapasta/mapscii

Re:Drawille: Pixel graphics in terminal with Unicode Braille... by mildtaste on Thursday October 26, 2017 @12:34AM (#15556372)
Drawille is amazing. I built an image viewer for the terminal with it, very rudimentary, sort of 'cat' but for images https://www.npmjs.com/package/tty-view
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by bwasti on Wednesday October 25, 2017 @11:55PM (#15556235)
the -B flag in p2pvc allowed something similar! https://github.com/mofarrell/p2pvc
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by mrguyorama on Thursday October 26, 2017 @12:41PM (#15560521)
Wow, I googled for a project that could do this and found Drawille literally last night.

I was looking for a way to quickly display graphics right in the terminal, cross platform and with default settings. I wanted to build a simple python library that would allow you to graph 2D plots without opening excel or using a graphing calculator. The best alternative I could think of was using the PIL to draw and image and quickly .show()ing it

Re:Drawille: Pixel graphics in terminal with Unicode Braille... by skate22 on Friday October 27, 2017 @06:50AM (#15567190)
Matplotlib is great if you dont need it to be in the terminal, or use it to generate an image and then display it with Drawille
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by j_s on Thursday November 02, 2017 @12:23PM (#15611812)
Show HN: Plot directly in your terminal with matplotlib | https://news.ycombinator.com/item?id=13700512 (2017Feb:28comments)
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by bramd on Thursday October 26, 2017 @04:33AM (#15557276)
Pretty cool. And if people are wondering, yes, screenreading software can output this to a braille display. However, mainstream displays only have one line of braille making 2d images somewhat more difficult to understand.
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by JeanMarcS on Thursday October 26, 2017 @10:27AM (#15559065)
Reminds me of the Sinclair ZX81 where you had 4 plots/pixels characters to draw with
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by scandox on Thursday October 26, 2017 @04:22AM (#15557216)
> ?source=hackernews

In the URL. Is this a thing? Can you analyse the source of traffic to a repo?

Re:Drawille: Pixel graphics in terminal with Unicode Braille... by thisacctforreal on Thursday October 26, 2017 @04:31AM (#15557259)
A usual method for forums and such is to embed an image with an src hosted on your domain, then analyzing the logs. I used to do this to mark forums as read in a browser game I played, as a player-linked ID was in the URL (sent in the referer)

Github solves this particular method by downloading the src and mapping it to camo.githubusercontent.com, so maybe OP didn’t realise that, or GitHub shows the stats somewhere.

Re:Drawille: Pixel graphics in terminal with Unicode Braille... by Daviey on Thursday October 26, 2017 @04:33AM (#15557280)
You can usually see the source of traffic if you are the repo owner:

https://github.com/blog/1672-introducing-github-traffic-anal...

I don't know for certain, but I suspect that a URL parameter will show in "Popular content" as a dedicated entry. If so, nice hack.

Re:Drawille: Pixel graphics in terminal with Unicode Braille... by j_s on Thursday November 02, 2017 @12:26PM (#15611841)
This is also a way to bypass the year-long dupe detector/blocker, since it was submitted 9 months earlier.
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by mkesper on Thursday October 26, 2017 @02:04AM (#15556737)
Does mplayer have a backend capable of using this?
Re:Drawille: Pixel graphics in terminal with Unicode Braille... by unpwn on Wednesday October 25, 2017 @11:36PM (#15556173)
pretty cool concept. I'd like to see a game made with this