HNHacker News
TopNewBestAskShowJobs

wangweij

78 karma · joined February 28, 2011

submissionscomments
wangweij··on Lorien – Infinite canvas drawing/whiteboarding app
How do I span and resize on a MacBook?
wangweij··on C# Raw String Literal Proposal
One benefit of multiline raw string is that you can directly copy/paste a block of characters between the program and its source. Unless there are very sophisticated IDE support this proposal does not work fine in this sense.
wangweij··on _Application.Run(Object, Object, Object, Object, Object, Object, Object, Object
As I understand, only children of father's brothers can be prefixed with 堂, because they have the same last name and are traditionally considered to be in the same house. All others, including children of father's sisters, are all prefixed with 表.
wangweij··on Myanmar Prepares to Migrate from Zawgyi to Unicode
Sorry but I don't quite understand what the problem here is. Is it about a different character set? Or encoding? Or glygh rendering? The article keeps using "font".
wangweij··on Google's censored Chinese search engine: a catalogue of ethical violations?
I'm with Google. Many years ago when Google created the censored search site in China, it was the first one that showed the sentence "According to local laws, some search results are removed". Before Google, no search engine showed this and people didn't even realize they were seeing censored search results.

With a new censored search engine in China, Chinese users can access more accurate (and ethical) information than what they have now even if it has fewer results than google.com. This is not only about politics or democracy. In fact, even local players like Baidu will be forced to enhance their search results, which means their users (maybe forced to use it because it's the default one on their cellphones) can get better search results.

I don't think Chinese users will be stupid enough to think the censored search results reflect what the real internet looks like. People know about VPN but often find it difficult to use. VPN providers are being closed down or even sued everyday. Apple's AppStore no longer provide VPN apps. Those who claim only VPN users deserve to use Google are evil.

To me, the only bad thing is that the Chinese government will think they are "strong" enough to force a company like Google to obey them, but I think this is just a face gain for them but the ordinary internet users have much more benefits.

wangweij··on Google Memory Loss
Maybe every photo using the front camera is a selfie?
wangweij··on macOS High Sierra: Anyone can login as “root” with empty password
I hope a judge will order Apple to make all source code of macOS to be readable by everyone. This does not necessarily mean open source: you will not be allowed to modify and re-release it.
wangweij··on In 1957, Five Men Agreed to Stand Under an Exploding Nuclear Bomb (2012)
> I would say that we are very lucky there hasn't been a WW3. It likely would have casualties in the hundreds of millions.

Why so many casualties, if atomic bombs were not invented?

wangweij··on Show HN: Marta – A fast and minimalistic file manager for macOS
After so many years, I've learned to not click on the maximize button at all. Just double click the title bar and it will fill the screen.
wangweij··on Google will use Chrome browsing data for ad tailoring
While I am able to switch to another browser (I already did a long time ago), I don't believe I can avoid visiting sites "that show ads from Google". How much can Google collect from those sites?
wangweij··on Previously Downloaded OS X Installers No Longer Work
Expired and compromised are two different things. If compromised, it will be published in a CRL with a reason flag.
wangweij··on Sigma.js: a JavaScript library for graph drawing
What? No co-occurrence between Fantine and Cosette?
wangweij··on Myths about /dev/urandom
This is my understanding: /dev/urandom is just a blind producer returning any number in some pool; /dev/random is a producer as well as an inspector, it returns the same number from the pool but it also has an extra eye on the source of that pool and refuse to work if it believes the source is of low quality -- here, not enough entropy.
wangweij··on The Nobel Peace Prize for 2014
Then the prize should have been awarded to the voters.
wangweij··on CGrep: a context-aware grep for source codes
Examples or it didn't happen.
wangweij··on The desktop and the developer
The Mini is a 2.3GHz Intel Core i7 with 8 GB 1600 MHz DDR3. A new MBP could have more RAM but only the highest 15' model has a matching CPU.

Edit: I work from home so mobility is not really crucial.

wangweij··on The desktop and the developer
I've used Mac for 8 years (since the 1st gen Intel MacBook) but now I really want to run away. My current Mac is a server-level 2013 i7 Mac Mini with 8G RAM. It's not uncommon for me to run Mail, SubLime Text, IntelliJ IDEA and one or two VirtualBox guests on it, and then CPU goes high, the whole machine slows down, and fan produces loud noises. On the other hand, my ThinkPad running Windows 8.1 with a similar hardware spec can handle them smoothly. I agree Mac is more developer friendly than Windows, but doing daily developing work with cygwin/SubLime Text/IntelliJ IDEA is almost identical on both platforms. I admit I'll try installing Linux if I make the decision to switch to the ThinkPad as my main desktop.
wangweij··on Doge2048
I have no idea how much I scored when the game is over. I only got to to see the dog with sunglasses.
wangweij··on Yahoo acquires Ptch
Ask the users to download the data? Since they are about photos and videos, why not simply say "if you can provide us your Yahoo account, we will move all your data to Flickr in a private photo set"?
wangweij··on Mercurial developer responds to "Switch to git?"
Modifying local history is not dangerous, so I think mq is good. Never really used histedit and rebase.
wangweij··on Woz talks iOS 7 and PRISM in an off the cuff airport interview [video]
Evil, is what Woz says is evil.
wangweij··on Cowards
If a company is brave enough to close its business in China, what prevents it from doing the same in US?
wangweij··on Dropbox Acquires Mailbox
When Dropbox sees a dup, it does not upload the file at all and therefore you know there is a dup. If I understand correctly, Gmail always uploads the attachment. When there is a dup Google saves storage space. Users will never noticed any difference.
wangweij··on My Very Own Protocol Droid
Just reading the title I thought the guy created his own C3PO.
wangweij··on Google Effect
Using IDE in programming makes you forget the class methods and type of arguments. Is that the same thing?
wangweij··on Mosh: the mobile shell
I know this sounds not very secure, but since one of the best features of mosh is that you needn't install it, why not provide a place to download binaries for all platforms?
wangweij··on English Letter Frequency Counts: Mayzner Revisited
Many years ago I read an article claiming the order is etoanirsh... I still use it in hangman games.
wangweij··on Receiveee.com - disposable email address
Is this service really safe? It shows me a page with URL like https://receiveee.com/123456WC, and an email address of 123456XM@mailseal.de, so only the last two letters are different. Now once my email is sent and the address made public, isn't it very easy for someone to find out the page?
wangweij··on China listening in on Skype - Microsoft assumes you approve
So the iOS version of Skype, does it also have a Tom version for China?
wangweij··on Mona Lisa in 50 polygons, using a genetic algorithm (2008)
Is there a limit on the number of vertices for each polygon? If no, I think there is always a way to emulate anything with a single polygon.

Edit: albeit the colors.

Page 1 of 2Next →