wonginator1221
wonginator1221 on Hacker News
Nice! I struggled to learn jq initially and I made a similar page for my team.
One suggestion is to use with_entries as a replacement for the 'to_entries | map(...) | from_entries' pattern. For example:
jq '.metadata.annotations | with_entries(select(.key == "label1"))'
is equivalent to
jq '.metadata.annotations | to_entries | map(select(.key == "label1")) | from_entries'
I personally had my Macbook Air that I bought in August 2012 have its 128GB SSD fail on me this past August. The data was not recoverable and I had to get the SSD replaced by an Apple technician for free as my Air was still under warranty.
Fortunately, I was mostly backed up, but it is definitely aggravating to see a < 12 month old SSD fail.
I'm a huge fan of vim-fireplace[1] (and almost every other tpope vim plugin). vim-fireplace provides essentially all of the functionality listed above through a lein nREPL connection.
[1] https://github.com/tpope/vim-fireplace
My friend also runs the ListServe Archive. It's quite interesting to dig through some of the older submissions and see the variety of the content.
http://thelistservearchive.com/
Posted by
wonginator1221 on Wednesday January 23, 2013 @04:07PM
from the ign.com dept.
I think that there's also a chance that charging karma for a comment could also alter the quality of discussion here on HN. Although it may reduce comment "spam", commenters would have a stronger incentive to follow popular opinion to ensure that the cost of posting a comment is recouped. This could potentially reduce the number of dissenting (yet still intellectually provoking) comments.
This hivemind mentality is a major problem in many online communities, but I do think that the hiding a karma on is definitely a step in the right direction.
You could enable the mouse for mouse interaction with a supported terminal. In my tmux config:
set -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on
This particular configuration will allow you to scroll, select text and focus windows and panes with just a mouse click.
Even after deleting FB cookies, what prevents them from tracking you (with reasonably good accuracy) using your IP address. In that case, you might as well just blacklist all of facebook.com.
In my opinion, internet users must be aware that there is no easy way to be totally anonymous, whether it be Facebook, Google, etc. If you require complete anonymity, you might as well unplug your internet cable.
Well, It's a great way to try out
rm -rf /
I can't even say that my macbook sleeps reliably. There are some times where closing the lid fails to put my computer to sleep and manages to kill it's battery while it's in my bag. Occasionally, I'll open the lid and my macbook will not come out of sleep mode.
It feels a little flimsy and does sin around in the headphone jack, however, it's a neat little dongle and I have yet to have any problems reading cards. I generally keep the dongle in my bag so that I have easy access to it when I need it.
Although, I was initially skeptical of Square's success, I have found Square to be great for splitting small charges such as a dinner or a gas bill between my friends and I. The little card reader gizmo is a great conversation starter.
Do any of you buy your tea online? I've heard good things about Adagio, but haven't had a need to buy from them.
Is the idea behind this to launch an app in a month or to create and launch an app in just a month? The latter sounds much more intriguing.
On the android app, the heart pulses to your heartbeat. I checked my pulse simultaneously and it seems pretty accurate.
The second major programming assignment I was given during my freshman year of college was a retirement calculator. Although the main goal of the assignment was to implement a interest compounding program, I believe my professor used this assignment to get us out of the get rich retire early mentality.
If I recall correctly, an average single person would need to save well over $1 million USD by retirement if they wanted to live comfortably for the next 10 years.
Shell script version
#!/bin/bash
VOICES=("agnes" "kathy" "princess" "vicki" "victoria" "bruce" "fred" "junior" "ralph" "albert" "bad" "bahh" "bells" "boing" "bubbles" "cellos" "deranged" "good" "hysterical" "pipe" "trinoids" "whisper")
MSGS=("deploy is now complete" "deploy complete" "deploy completed" "sir the deployment has finished" "hey the deploy is done" "look at this cool deploy" "deployment completeed")
VOICE=$RANDOM%${#VOICES[@]}
MSG=$RANDOM%${#MSGS[@]}
say -v ${VOICES[VOICE]} ${MSGS[MSG]}
I have tried the freezer trick before with varying success.
On one occasion, my friend's laptop hard drive kicked the bucket and failed when I tried to use Spinrite.
However, a few weeks ago, a Aeagate hard drive from my brother's Macbook failed. Throwing it in the freezer for a few hours did the trick and we were able to make a full copy of the data.
Digg, back in its prime, use to be a thriving tech community. However, since its expansion, it has attracted all types of internet users who seek infographics, videos of cats and political commentary rather than tech articles.