na11.blogspot.com
na11: urllib2 POST progress
http://na11.blogspot.com/2011/10/urllib2-post-progress.html
Thursday, October 27, 2011. It is possible but you need to do a few things:. Fake out the urllib2 subsystem into passing a file handle down to httplib by attaching a. Return the correct size, used to populate the Content-Length header. Method on your file handle: as httplib calls. Your callback will be invoked, letting you calculate the percentage and update your progress bar. This could work with any file-like object, but I've wrapped. S progress: %.2f'. Subscribe to: Post Comments (Atom).
na11.blogspot.com
na11: Web Browser Control rendering mode
http://na11.blogspot.com/2012/04/web-browser-control-rendering-mode.html
Monday, April 16, 2012. Web Browser Control rendering mode. Mivel default-bol nem a legfrissebb IE szerint renderel a windowsos web browser control, ezert ha azt szeretnenk, hogy adott oldalt megis ugy renderelje akkor ezt kell megadni:. Subscribe to: Post Comments (Atom). Web Browser Control rendering mode. Fiddler a free web debugging proxy. BrowserStack and IE VMs. Httplib2 - python lib. Poster - python lib. Nxslt - a Feature-rich .NET XSLT Command Line Utility. Reflector for .NET.
cheaptalk.info
在ImageMagick和OpenCV中接入pngquant的libimagequant | cheapTalk
http://cheaptalk.info/2014/08/18/use_pngquant_in_imagemagick_and_opencv
Show me the …. 日期: 2014 年 8 月 18 日. 将其整合至这两个库的难度太大,不适合笔者这样的图像小白,交给后人来解决吧 P.S. 其实这个事情,这个库的作者很早就在IM论坛主动提出过要替换他们的算法,结果人家不怎么给面子,叫去做成个filter插件的形式,然后这个作者是编译遇到问题还是怎么的反正没做成,后来就不了了之了。 The basic flow is:. 1 Create attributes object and configure the library. 2 Create image object from RGBA bitmap or data source. 3 Perform quantization (generate palette). 4 Store remapped image and final palette. 事实上对于一个没什么图像处理背景的开发者 比如说我 来说,这个API还是不够简单,以致我看完之后还是不知道怎么做Overview中的第4步 也就是编码成png8。 这里主要说一下有关liq image create rgba这个函数。
cheaptalk.info
zhcn381 | cheapTalk
http://cheaptalk.info/author/zhcn381
Show me the …. 日期: 2016 年 7 月 22 日. 主要需要关注两类goroutine,一类是dump数据的 可指定并行度即goroutine个数 Backup goroutine,还有一个则是混合各集合数据并真正输出到归档文件的Multiplexer goroutine。 当一个backup goroutine开始准备对某个集合进行备份时,它会创建3个channel 一个用于发送集合数据给Multiplexer goroutine的writeChan、一个用于从Multiplexer goroutine接收写成功数据长度的writeLenChan,还有一个用于从Multiplexer goroutine接收集合dump完毕信号的writeCloseFinishedChan。 每个Backup goroutine开始干活时,它一边从mongodb dump数据,一边将数据通过writeChan发送给Multiplexer goroutine。 Multiplexing Golang Channels to Maximize Throughput. 日期: 2016 年 4 月 3 日.
dflect.net
Google PageSpeed Insights Madness – dFlect
http://dflect.net/google-pagespeedinsights-madness-smiley
New or Updated Posts. OS X: Understanding and Configuring Mail Drop. May 10, 2015. Update: Oct 25, 2016. Essential Applications for macOS. Jan 12, 2015. Update: Sep 25, 2016. Jan 16, 2015. Update: Sep 22, 2016. Safari Content Blockers for Mac and iOS. Apr 13, 2016. Update: Sep 8, 2016. New File System for macOS. Jun 16, 2016. US-TF: A Custom Keyboard Layout for OS X. Feb 17, 2015. Update: May 12, 2016. May 15, 2015. Update: Apr 13, 2016. Back to Apple’s Mail. Apr 7, 2016. Image of the Month. Nov 4, 2016.
blog.gopherwoodstudios.com
Gopherwood Studios Blog: March 2015
http://blog.gopherwoodstudios.com/2015_03_01_archive.html
Monday, March 30, 2015. Development Log 0: The Shifty, Twisty Forest. We're starting a new game of our own! We decided that we liked our Shifty, Twisty Forest prototype. Enough to try fleshing it out into a full game. We're going to post regular (or irregular) updates on the development of the game so you can see how things are progressing. So, drop in every once in a while, check it out, and chime in with your opinions. Here's a quick summary of our progress so far:. We'll get a real artist eventually.
jubatian.com
Quantizing images for fun and profit
http://www.jubatian.com/articles/quantizing-images-for-fun-and-profit
Quantizing images for fun and profit. Quantizing images for fun and profit. Image quantizing is the process of reducing the color count in an image in order to make it compress better (in png or gif formats). It is so a lossy method of compression, however a consistent one at that. Why someone should do this, and how it can be done the right way? This article tries to cover these subjects. So first, why quantize images: what is the benefit, where it is necessary? Then, how this quantizing works? In very ...
phenixyu.blogspot.com
UtOpIaN: 08/2014
http://phenixyu.blogspot.com/2014_08_01_archive.html
只可惜遊戲做完了,公司也收起來了。C'est la vie. 阿公講古分隔線* * * * * * * * * * * * * * * *. 所謂的Texture Atlas就是把零散的小貼圖集合成一張大貼圖,不僅可以加速貼圖載入的速度,也可以避免OpenGL的texture swap cost。 但是!但是~卡牌角色衣服總是要多露有多露、胸部要多大有多大~. 胸部都那麼大了,你卡片解析度不加大也說不過去吧? (都是視網膜螢幕害的). 我們假設卡牌解析度是512x640,以iOS最大貼圖解析度2048x2048來看,最多可以塞個12張。PNG格式大約是4-5MB,PVR格式是2MB,PVR CCZ格式可以壓到1.5MB左右。 看起來還不錯是吧?你忘了卡牌遊戲動輒數百張的卡片數量,光是計算PVR的時間就可以看部藍光DVD了!更別說哪天某張卡片圖樣要更新,又得重算一次。 再來如果說遊戲要同時呈現數張卡片,好死不死,每張卡片都散落在不同的Texture Atlas,那麼貼圖記憶體的使用量也會倍增。 最佳化,但是在這種使用情境下,就.不那麼理想。 Posted by Phenix Yu.