HNHacker News
TopNewBestAskShowJobs

yangyang

1,556 karma · joined April 4, 2009

submissionscomments
yangyang··on Fast Database Emerges from MIT Class, GPUs and Student’s Invention
Alenka is another open-source GPU database engine that looks quite interesting:

https://github.com/antonmks/Alenka

yangyang··on Pony ORM - Use Pure Python to Speak to Your Data
It appears to build an AST from the code object on the generator, and then translate to SQL.

https://github.com/ponyorm/pony/blob/orm/pony/orm/decompilin...

https://github.com/ponyorm/pony/blob/orm/pony/orm/asttransla...

yangyang··on Postgres: The Bits You Haven't Found
So does Hacker's Keyboard, along with ctrl, alt and a load of other useful stuff: https://play.google.com/store/apps/details?id=org.pocketwork...
yangyang··on Next Time Your Mom Says Don't Go Out in The Rain, Spray Yourself With This
Reminded me of this: http://liquidglassshield.com/, which looks very similar.
yangyang··on TIL: There used to be an Internet Explorer for Unix
Dave Cutler was very fond of MIPS and worked on that port, but I think it was done concurrently with the x86 version.
yangyang··on TIL: There used to be an Internet Explorer for Unix
There were NT ports to MIPS and PowerPC too.
yangyang··on Another reason you should learn to code: Python for Excel
Also see PyXLL http://pyxll.com, which has been around for a while and is more comprehensive.

It lets you write Excel addins in Python in a very straightforward way. Python functions can implement functions, menu items, macros. Supports asynchronous functions in the latest Excel.

See examples here: http://pyxll.com/introduction.html

yangyang··on Show HN: Script Excel with Python
Nice.

Also see PyXLL (http://pyxll.com/), which lets you write Excel plugins in Python (CPython).

yangyang··on Poll: What is your primary operating system
Interesting, I will take a look, thanks.

The trouble with digital photography apps is the lock-in - I've got tens of thousands of photos processed with LR, so I'm basically stuck with it. Glad that I didn't go with Aperture - at least I have two platforms to choose from rather than one.

yangyang··on Poll: How long have you been programming?
I started out with BBC BASIC on my Dad's model B when I was 7 or 8. I remember reading a book called "Structured Programming" or suchlike, and hardly used a GOTO again - BBC BASIC was reasonably advanced for its time in having DEF PROC and DEF FN.

From that I progressed to an original IBM PC AT (still got the Model M keyboard from it), using QuickBASIC at first, then QuickC. Then my Dad got a 486sx20 with a stratospheric 16mb of ram. Kept going with the C and some assembler on DOS, messed around with OS/2 2.1 and REXX as well, and then got Slackware Linux 2.1 in 1994. I messed around with all sorts - C, lisp, x86 assembler, C++, shell scripts.

I've programmed professionally, using Delphi, Java, C++, Perl, Python and C#, for 15 years.

yangyang··on Poll: What is your primary operating system
Windows 7 at work, which isn't too bad (coding Python and .NET stuff).

Mac OS and Arch Linux at home, with an OpenSolaris storage server and OpenBSD firewall.

yangyang··on Poll: What is your primary operating system
I've tried PowerShell a few times. The thing that puts me off every time is not being able to bind keys. I find it so painful not being able to use emacs shortcuts at the prompt.
yangyang··on Poll: What is your primary operating system
I run the same. That - plus tmux, Emacs and Chromium - is just about perfect. If I wasn't tied to Lightroom for photography I'd get rid of the mac.
yangyang··on Poll: What is your primary operating system
It'd be really interesting to hear what people answering "other" are using.
yangyang··on Building Windows for the ARM processor architecture
So it will include desktop support. That makes it much more interesting.
yangyang··on A Programming Idiom You've Never Heard Of
Perhaps in this case - but how about a case where you partially iterate over the file, but then the file object goes out of scope? CPython would close (and free) that immediately, but other implementations probably wouldn't.
yangyang··on Pure python html templating using with statements
Could probably use contextlib to simplify the implementation a bit: http://docs.python.org/library/contextlib.html. Indeed HTML generation is the first example.
yangyang··on Show HN: a Lisp that uses JSON instead of S-expressions (in .js)
Because it's pretty straightforward - there's very little parsing involved (in this case basically none).
yangyang··on Ask HN: What are you reading right now?
Principles of Functional Programming - Glaser, Hankin, Till

I Have America Surrounded - John Higgs

yangyang··on Programmers' salaries at Google $250k (and up)
Total compensation = salary + bonus + perks + whatever else they give you.
yangyang··on I swapped my MacBook for an iPad+Linode
Neither are sensible for anyone who uses Emacs keybindings (at the shell or in Emacs). I have my prefix key set to C-t, which is tolerable.
yangyang··on Things That Turbo Pascal is Smaller Than
> 16 bit COM programs won't run on my 64 bit system

Have you tried DOSBox?

yangyang··on Things That Turbo Pascal is Smaller Than
Maybe he meant QuickC (http://en.wikipedia.org/wiki/QuickC)
yangyang··on Kindle Format 8: Announcing HTML5 Support in Kindle Format 8
Look at the many newspaper and magazine apps on the iPad. They often contain interactive content - videos, graphs you can blow up, slide shows, and so on. And I'd say they're better for that. If the Kindle Fire is going to compete with the iPad for those formats, it needs to provide a similar experience.
yangyang··on Kindle Format 8: Announcing HTML5 Support in Kindle Format 8
As far as I know, PDFs don't reflow text. They're only suitable for a fixed screen size.
yangyang··on Android 4.0 SDK Now Available
> No smudge trails left on the screen

Surely you're still going to touch it after you've unlocked it? :-)

yangyang··on TakeThisLollipop - really clever/creepy use of the Facebook API
Maybe that's the point of it - most people won't think twice about authorizing, but might realise what they've opted into once they see it.
yangyang··on Realistic Skin Rendering in WebGL
Some of the other examples are pretty impressive too: https://github.com/mrdoob/three.js
yangyang··on Show HN: New way to search for used cars (my weekend project)
It would also be nice to have the option of using age instead of mileage, or possibly miles / year.

Sometimes an old car that's hardly ever driven, with a low mileage, isn't as good a bet as a newer car with lots of miles that's been well maintained.

yangyang··on Amen: the world's most famous sample and the rise of the musical copyright
There have always been loads of sub-genres. The stuff you mention there is very commercial.

Looking at some of my vinyl from over 10 years ago, you can compare Jonny L http://www.youtube.com/watch?v=3qo1aoR96oI with Goldie http://www.youtube.com/watch?v=x8u7MNG-ug8 or PFM feat Conrad (from '94) http://www.youtube.com/watch?v=gxcMPPoZI7s, or Roni Size / Reprazent http://www.youtube.com/watch?v=cwI0gbGEyuI.

← PreviousPage 5 of 11Next →