Better HN
topnewbestaskshowjobs
Log inSign up

wonginator1221

116 karma · joined Jul 22, 2009 (17y ago) · 23 submissions

Submissions

comment 6y ago · link · parent

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'

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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/

comment 13y ago · link · parent

A relevant post by Derek Sivers regarding averages: http://sivers.org/below-average

comment 13y ago · link · parent

I suspect it might be possible by modifying the device field in the pci_dev struct [1] in include/linux/pci.h when the device is initialized.

[1] http://www.makelinux.net/ldd3/chp-14-sect-6

7.

THQ Dissolved(ign.com ↗)

95 points · by wonginator1221 · 13y ago · 53 comments

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

Joel Spolsky wrote a little on founder equity and a potential method to divide ownership.

http://answers.onstartups.com/questions/6949/forming-a-new-s...

comment 15y ago · link · parent

Well, It's a great way to try out rm -rf /

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

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.

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

On the android app, the heart pulses to your heartbeat. I checked my pulse simultaneously and it seems pretty accurate.

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

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]}

comment 16y ago · link · parent

How about a live demo?

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

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.