It lets you comment out a line without having to remove the trailing comma from the previous line. That'd be useful if JSON had comments.
I've seen people do this in the SELECT portion of SQL queries too.
Personally, I hate this.
HN user
[ my public key: https://keybase.io/danajp; my proof: https://keybase.io/danajp/sigs/I1JCbsVbG-6pT4k2yiN0RDCeZH9B3CA3LUPy00Vu7-8 ]
It lets you comment out a line without having to remove the trailing comma from the previous line. That'd be useful if JSON had comments.
I've seen people do this in the SELECT portion of SQL queries too.
Personally, I hate this.
Ah yes, looks like it does use CONNECT.
This looks pretty cool, but why not just run sshd on port 80/443 then use corkscrew[1] to tunnel through an http proxy?
For python, there's pexpect: http://pexpect.readthedocs.org/en/latest/
You could probably do something like that, but it'd be a huge waste of time. The time to brew a batch is pretty much the same no matter the volume. I.E. Brewing a 5 gallon batch takes about the same amount of time as brewing 20 gallons, assuming you have the equipment capable of doing that volume.
Here are all of the supported ! searches:
https://duckduckgo.com/bang.html
or just search ddg for !bang
The killer feature for me with ddg (as a programmer) is the ! searches for documentation:
!php strstr
!python os.makedirs
!pypi requests
!js String
etc.This gives you a single search bar for all documentation, which is amazing.
edit: formatting
As another reply has suggested, David Friedman's Machinery of Freedom is an excellent book which describes how private defense, law and dispute resolution might happen.
This video is a good introduction to the ideas presented in the book http://youtu.be/jTYkdEU_B4o
I take a similar approach. I have a dotfiles git repo in ~/dotfiles/ and have a Makefile which creates symlinks in my home directory. For example, ~/.bashrc is a symlink to ~/dotfiles/bashrc. That way, I can have a whitelist (whatever's in the Makefile) instead of a blacklist (like a .gitignore).
Any numbers with leading zeroes, i.e. 0000123, excel will interpret as the integer 123 even if you change the column format to "text". It's infuriating.
The only way I found to get around this was to open a new workbook, change the column type to "text" and then paste the data in. I believe this was excel 2010 on windows.
How do I combine data from multiple log files? How do I tweak my "queries" without scanning all of the data again? You get this kinds of things (joins, indexes, etc) for free from RDBMS. If I'm analyzing log files I have to write my own code to do it.
I'm not saying RDBMS is the best solution for everything and neither is OP. But it's appropriate when you don't necessarily know every way you want to access your data up front.
> RDBMS exist because people use to query those systems directly , does your users log into your database directly ?
No, but I do. What if I want to analyze my data in some way I hadn't expected? SQL lets me do that with a single query.
1. Your ORM can derive it's schema from the database's.
2. I think the main point of the post was that you can run ad-hoc SQL queries no matter how much you've denormalized. You can't necessarily do that with a NoSQL database.
I don't ever use git -p directly, but I use magit (https://github.com/magit/magit) for emacs, which makes staging changes this way very easy.
Why wouldn't he just grab a knife from his kitchen? Or run them down with his car? Or a bat? Or set their house on fire?
Not having a gun isn't going to stop a person who wants to hurt someone else from doing it. It's just a tool.
Where is transactional DDL on this list?
You make a request for several ranges of a file using the range header, something like:
Range: bytes=100-200, 600-800, 1500-
If the server supports ranges, it will respond with a 206 Partial Content status, and send a multipart/byteranges response body, which looks like this http://www.freesoft.org/CIE/RFC/2068/225.htm. Basically a delimited string containing all the ranges.
This is useful for some streaming audio/video formats and especially for large pdfs. IIRC, pdfs typically have header information at the end of the file, so it's useful for a pdf reader to get the end of the file first.
Do you think the government should have subpoena power in order to collect evidence? Do you think they should be able to search a murderer's home for the weapon?
Of course they should. But that's no the issue here. The issue at hand is whether or not the government can compel you to give them information.
Consider this. You have a box, buried in the Mojave desert, with some documents in it. You've memorized the gps coordinates of this box. Should they be able to compel you state those coordinates?
Sure, they could search 100s of square miles looking for your box, and they might stumble upon it. But they shouldn't be able to force your to tell them where it is.
An encryption key is the same. They can try to brute force it if they wish. They're just looking for a much smaller box in a much bigger desert.
These protections extend to everyone, no matter how despicable.
In order for good people to be free, some bad guys might also get away. Such is the price of a free society.
Oops. Somehow missed that link at the bottom.
I like clipperz.com. Completely web based. Encryption is done client side in javascript, so not even clipperz can access my account.
Can't this be achieved just using ssh instead of setting up a process that listens to the network?
from remote machine:
ssh me@macbook pbcopy < foo.txtEspecially doing anything that requires one bank to talk to another. Why does it take 5 days to move money between banks? It's ridiculous.
I once had mistakenly setup a transfer from one bank to another and I wanted to cancel it. So I called up the destination bank and they said there was nothing they could do. I called the source bank and had to pay 30 bucks to put a stop payment order on the account AND they couldn't guarantee it would stop the transfer.
Are you suggesting that there's 4 Chinese guys putting out records of Pink Floyd covers? Somehow, I don't think I'd mistake them for the original.
Have you had good luck with this? I'm running zfs on an open solaris server, but I hate solaris and would like to switch to linux. I never got the impression that zfs on fuse was stable enough to trust with all of my data.
It does actually support this, it's just not a bookmark, it's a "search engine".
For example, if I want to type "yc" in the address bar to get to news.yc:
1. right click address bar, select "edit search engines"
2. click the add button
3. give it name like "news.yc", keyword is "yc" url is http://new.ycombinator.com. The "%s" in the url isn't required.
When I imported my bookmarks from firefox, it did this automatically. It took me forever to figure out how to add new ones.
edit: formatting
Organizing the protest, Free Software Foundation (FSF) operations manager John Sullivan said, "Our Defective by Design campaign has a successful history of targeting Apple over its DRM policies. We organized actions and protests targeting iTunes music DRM outside Apple stores, and under the pressure Steve Jobs dropped DRM on music..."
Yeah, I'm sure that's why they dropped DRM from the iTunes store.
edit: formatting.
I use this everyday. http://beta.gotapi.com/ is the slightly nicer, newer version.