Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dunham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
901.
▲
by
dunham
13y ago
OSX keychain runs as root. The user is prompted if an app asks for an entry in the keychain that it has not created the entry and has not explicitly been granted access to the entry You need root to get at the keys otherwise. There is cod
902.
▲
by
dunham
13y ago
Perhaps the child figured out the PRNG.
903.
▲
by
dunham
13y ago
Honestly, I haven't looked into it. The bounding box thing sounds messy. But on chrome, firefox, and probably safari, it appears that you can call document.getSelection() in a click handler, and the returned object will be an appropria
904.
▲
by
dunham
13y ago
Python does reference counting. The downside is that you can leak memory if you have circular references. The programmer needs to take care to not let this happen. (This is essentially the cause of the Javascript memory leaks in IE, althou
905.
▲
by
dunham
13y ago
Metafont, the scalable font system for TeX, had per-printer definitions to adjust the font's bitmap rendering for a specific printer. This stackexchange answer briefly describes those parameters: http://tex.stackexchange
906.
▲
by
dunham
13y ago
I suspect the best way to make rich text editing work across browsers is to do what the current google docs editor does: Drop contentEditable and just implement your own editor in javascript. Read key and mouse events and manipulate the DOM
907.
▲
by
dunham
13y ago
How are they with spam? I'd just run my own mail, but I can't beat Google's spam filtering. (They have millions of email accounts, real time, as a data source.)
908.
▲
by
dunham
13y ago
All I see locally is a ".onecache" file - a binary file that appears to contain the notes themselves, and a directory named "OneNoteOfflineCache_Files" of attachments (embedded images, etc.) I don't recognize the h
909.
▲
by
dunham
13y ago
Evernote's documentation says they "recommend" Google Authenticator, but I've never managed to set it up because their setup process requires SMS. (Is the TOTP support premium only?)
910.
▲
by
dunham
13y ago
Where? I'm logged in, and the download link in the dev center sends me to the XCode page, which then sends me to the app store, which still has the old version of XCode. (This will probably get sorted out in a few hours - the store di
911.
▲
by
dunham
13y ago
You can also just create a *.user.js file and drop it on the extensions page. (Still works in chrome 35.)
912.
▲
by
dunham
13y ago
You can try ad-blocking font urls. (I've done this in the past to get rid of a hideous heading font on some apache site.)
913.
▲
by
dunham
13y ago
Mine started failing a few months outside the replacement period (3 years). I was due for a new work laptop, so I just replaced the machine.
914.
▲
by
dunham
13y ago
It's like awk, except that you match entry/exit of syscalls, function calls, method invocations (in ObjC/Java), and give code to execute with access to arguments, return values, stack trace, etc. It can be used to write tools
915.
▲
by
dunham
13y ago
Leanpub is using markdown for books. And O'Reilly sometimes uses Asciidoc, which is similar to markdown.
916.
▲
by
dunham
13y ago
This is what you get if you type "gmail" into chrome's location bar.
917.
▲
by
dunham
13y ago
It's possible to tweak it yourself. If you're in Chrome, save this gist to hn.user.js, edit to taste, and drop the file on the extensions page. https://gist.github.com/dunhamsteve/8572389
918.
▲
by
dunham
13y ago
They're required to put up those signs at least 48hrs ahead, but good luck contesting it. My sister-in-law was hit with the same thing, done by "Precision Engineering". She tells me that if you actually could prove they didn&
919.
▲
by
dunham
13y ago
The Simile group at MIT did something similar back around 2006. Automatic identification of collections in web pages (repeated structures), detection of fields by doing tree comparisons between the repeated structures, and fetching of subse
920.
▲
by
dunham
13y ago
Does it work offline at all? I took a brief look at the API, and it seemed like any time you wanted to make a change to the data it needed to talk to the server.
921.
▲
by
dunham
13y ago
FWIW, on OSX Evernote stores everything locally in a future-proof format. They use a directory tree, with one directory per note. Each note has HTML file, all supporting files, an "enml" version of the HTML file (i.e. a HTML-like
922.
▲
by
dunham
13y ago
I cut my teeth on Sun keyboards and emacs, so I always remap caps lock to control.
923.
▲
by
dunham
13y ago
What about multiple "users" in Chrome? If you go to the settings page, you can add additional "users" and then open a window as another "user" using the icon in the upper right corner. Each user gets their own
924.
▲
by
dunham
13y ago
You need to factor in speedups due to advances in factoring algorithms, too. And it's possible that the software doesn't have any options between 2048 and 4096. (I have no idea, I didn't check.)
925.
▲
by
dunham
13y ago
Maybe unload/delete the kernel module? (This is how I used to silence the pcspkr beep on Linux.)
926.
▲
by
dunham
13y ago
I have a pretty solid understanding of compression algorithms and the BW transform in bzip2 still seems semi-magical to me: ftp://apotheca.hpl.hp.com/gatekeeper/pub/dec/SRC/research-reports/SRC-12
927.
▲
by
dunham
13y ago
I use Ghostery/Adblock, but I have found that it breaks some web sites (whose javascript expects the tracking code to be loaded). BTW, if you're using Chrome, you might also want to look into the "Users" section of prefe
928.
▲
by
dunham
13y ago
Yeah, pretty much identical, except there is no table involved. Thanks for the link.
929.
▲
by
dunham
13y ago
When I first tried this, years ago, I found it too awkward. I eventually settled on using my thumbs for five, and my fingers for single digits (like a Japanese abacus). This feels reasonably comfortable to me, is easy to use, and covers a s
930.
▲
by
dunham
13y ago
iBooks/epub3 will do popup footnotes, if you mark up the document just right. For more info see: http://www.pigsgourdsandwikis.com/2012/05/creating-pop-up-fo... The blog article doesn't mention it, but I
More ›