HNHacker News
TopNewBestAskShowJobs

skanga

268 karma · joined March 6, 2010

d29948f2ae7dc8433f1c172ad8b91073ac9d132fe612cab97b6d0e7e1d5608fa
submissionscomments
skanga··on Firuzabad Fire Temple (2015)
Zoroastrian here. Not religious at all but happy to answer any Qs you may have.
skanga··on Jellyfin: A Free Software Media System
Is it possible to customize the movies screen to eliminate pagination and use a continuous scroll instead?
skanga··on Ubuntu 19.10: It’s fast
Is there any difference between installing KDE Plasma on Ubuntu v/s just using Kubuntu?
skanga··on Startup Benchmarks
Anyone have a list of names of these specialist funds in deep tech?
skanga··on Show HN: Simple tool to make a habit of exercising
Can you add "laps" to the target counter?
skanga··on DSVPN – VPN using TCP at port 80 and 443
Any plans for a version on Windows?
skanga··on Bye lands orders for nearly 300 electric planes
Why all the nay-saying? Give them credit for finding their niche and delivering (on the orders at least)!
skanga··on Ask HN: If you had millions to invest, what sectors would you bet on?
Flying Cars. If you want to invest contact me!
skanga··on How I Lent My Camera Kit and Had It ‘Legally Stolen’
Is this “Voluntary Parting” nonsense specific to KitSplit or is this more widespead in the industry. Anyone know? For example when I rent my car thru Turo they say the same thing.
skanga··on Startup School Advisor Track: You Are In
I got it too. Went for a nice long walk and made great plans about taking over the world! Came back and saw the "sorry" email. Crushing!

But what to do. That's life! We all can use this as motivation!

And let's stop with the blame/reputation stuff - it was a mistake and they apologized. Not like YOU never made any mistakes!

skanga··on Ask HN: How do you sell to governments and large organizations?
Any techniques on exactly how you do that?
skanga··on Learn just a little Awk (2010)
Also try mawk - it runs much faster than awk.
skanga··on Show HN: Parabola.io – Automate your work with visual programming
Great idea - especially for non-programmers.

The question I have is - can it outperform the command line? (see https://news.ycombinator.com/item?id=17135841 for more)

I almost always use awk/mawk for such things.

skanga··on Show HN: Telescope – News and RSS Reader
A new poll puts Beto O’Rourke just 3 points behind Ted Cruz in Texas

This was in the sports section

skanga··on Ask HN: What are the some passive income strategies you do beside your IT job?
Manage them yourself. It's not that hard. Otherwise the property management company eats up most of the profits.
skanga··on Show HN: Gnomecast – A Linux Chromecast GUI with transcoding and subtitles
This is written in python. Anyone able to get this running under msys with gtk3, etc
skanga··on Show HN: A simple Go web server with logging, tracing, health check
Nice. Does anyone have a server like this but with the addition of

* serving of files and directories

* LetsEncrypt certificates and SSL

skanga··on Show HN: Termipal – native micro-GUIs for shell scripts and command line apps
Something like this but portable across Linux/Win/Mac would be pretty cool.
skanga··on Why I’m Against Unions at Businesses I Create
Should we also BAN the ability of Management to fire their workers?

Because layoffs also promote a corrosive us-against-them dynamic that destroys the esprit de corps businesses need to succeed.

skanga··on Ask HN: We have a great team and capital but can't find a good idea
It's simple. Add another person to the team who has a brilliant, world beating idea but no working capital, great team, etc. You can talk to several to see who has the "best" idea. For a start on this process you can contact me :-)

PS: I use google's email service and have the same id there as I have on YC.

skanga··on Paper bag reveals forgotten history
The Parsi (https://en.wikipedia.org/wiki/Parsi) angle of this story went unaddressed!
skanga··on Sun Flyer, an Electric Trainer Aircraft
Thanks for the correction. But no thanks for the snarkiness!
skanga··on Sun Flyer, an Electric Trainer Aircraft
Yes, the props rotate backwards - it's called windmilling.
skanga··on Elon Musk’s Tunnel Plan Isn’t as Crazy as SpaceX or Tesla
Too many unknown unknowns here.

When mankind first started to burn fossil fuels nobody anticipated that it would impact climate on a planetary scale. This is an idea that needs much more study before we rush into it.

skanga··on Show HN: Serveo–Expose local servers using only SSH
Looks interesting. Somehow it would not work on a image file.
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
Here are the updates with everyones changes:

  # Encrypt a file
  encrypt() { openssl enc -aes-256-cbc -salt -a -in $1 -out $2; }

  # Decrypt a file
  decrypt() { openssl enc -aes-256-cbc -d -a -in $1 -out $2; }

  # Fetch weather forecast
  weather() { curl "http://wttr.in/$1"; }

  # Convert input text into a QR code
  qrify() { curl "http://qrenco.de/$1"; }

  # Fetch information about a stock
  stock() { curl -s "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=$1&apikey=KPCCCRJVMOGN9L6T" | awk '/\. / {$1=""; gsub("\"|,",""); print $0}'; }

  # Conversion rate between currencies
  currency() { curl -s "http://api.fixer.io/latest?base=${1^^}&symbols=${2^^}" | grep -Eo "[0-9]*[.][0-9]*"; }

  # Fetch cheatsheet
  cheat() { curl "http://cheat.sh/$1"; }

  # Fetches DNS nameserver
  dns_nameserver() { awk '/nameserver/ {print $2}' /etc/resolv.conf; }

  # Fetches WAN ip address
  wan_search() { dig +short myip.opendns.com @resolver1.opendns.com; }

  # Show actual destination of a tinyurl. Eg: untiny "tinyurl.com/savepii"
  untiny() { curl -s "http://x.datasig.io/short?url=http://$1" | awk -F '"' '/dest/ {print $4}'; }

  # Get your remote IP addr
  myip() { curl -s http://x.datasig.io/me | awk -F"\"" '/ip/ {print $4}'; }

  # Fetch movie info
  movie() { curl -s "http://www.omdbapi.com/?t=${1/ /+}&apikey=946f500a" | jq ". | {Ratings:[.Ratings[1].Source, .Ratings[1].Value ], Plot, Actors, Director, Genre, Rated, Year, Title}" | sed -e '/Ratings/{N;N;N;s/\n/ /g;s/"Ratings": \[     //;s/,    /:/;s/   ]//}' | awk -F'"' '/: / {print $2 ": " $4}'; }
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
Nice. Will do.
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
Thanks. Good idea.
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
Thanks. will do.
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
This seems insanely over-engineered. So I re-wrote most of them as bash alias one-liners.

  # Encrypt a file
  function encrypt() { openssl enc -aes-256-cbc -salt -a -in $1 -out $2 ; }

  # Decrypt a file
  function decrypt() { openssl enc -aes-256-cbc -d -a -in $1 -out $2 ; }

  # Fetch weather forecast
  function weather() { curl "http://wttr.in/$1"; }

  # Convert input text into a QR code
  function qrify() { curl "http://qrenco.de/$1"; }

  # Fetch information about a stock
  function stock() { curl -s "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=AAPL&apikey=KPCCCRJVMOGN9L6T" | awk '/\. / {$1=""; gsub("\"|,",""); print $0}'; }

  # Conversion rate between currencies
  function currency { curl -s "http://api.fixer.io/latest?base=$1&symbols=$2" | grep -Eo "[0-9]*[.][0-9]*"; }

  # Fetch movie info
  function movie { curl -s "http://www.omdbapi.com/?t=${1/ /+}&apikey=946f500a" | jq ". | {Title, Year, Ratings:[.Ratings[1].Source, .Ratings[1].Value ], Rated, Genre, Director, Actors, Plot}" | awk -F "\"" '/:|%|Tomato/ {print $2 $3 $4}' | sed '/: \[/d' | perl  -pe 's/,\n/: /'; }

  # Fetch cheatsheet
  function cheat() { curl "http://cheat.sh/$1"; }

  # Fetches DNS nameserver ???
  function dns_nameserver() { cat /etc/resolv.conf | grep -i ^nameserver | cut -d ' ' -f2; }

  # Fetches WAN ip address ???
  function wan_search() { dig +short myip.opendns.com @resolver1.opendns.com ; }

  # Show actual destinatoin of a tinyurl. Eg: untiny "tinyurl.com/savepii"
  function untiny() { curl -s "http://x.datasig.io/short?url=http://$1" | awk -F '"' '/d
← PreviousPage 5 of 7Next →