vigneshv_psg

Joined 15 years ago

Karma
182
Submissions
62
Member since
May 27
Googler. Technology Lover. PSG Tech Student. Blogger. Football Fanatic.
View on Hacker News

Recent submissions

Comment · 2 years ago
are you talking about a specific thread? if so, could you please link to it.

i see some generic posts about how ffmpeg is written in C and Assembly and will not be re-written in C++, but nothing about Rust.

Comment · 3 years ago
Isn't it an inherent problem with phones that if they are left on charge forever that their battery will explode? I've had test devices that I left connected for months together and inevitably the battery has exploded on every single one of them.

Perhaps, it can be hooked up to a smart plug and charged up whenever battery goes down below a certain percentage and shut it off when it's full.

Comment · 3 years ago
yeah these are pretty much the options. i believe the ffmpeg command that OP suggested would do option 3.
Comment · 3 years ago
yeah it probably doesn't matter in practice. you may run into some audio sync issues.

but the ~1 second precision that you see is by accident where the source file happens to have a keyframe every 1 second. that may not be the case always. :)

Comment · 3 years ago
i understand that this is the fastest way to extract frames, but it is limited by key frame availability in the original file (i.e.) you can only start the output from a keyframe.

in this case, it is important to be aware that the times you specify may not be extracted exactly. it will be off by a few frames based on keyframe availability. the only way to extract exact frames is to re-encode. :)

Comment · 3 years ago
Comment · 4 years ago
Slightly off topic, but a hack that i have found to read recipe websites on my phone is to use the "Print Recipe" link that most websites provide. It gets rid of most of the annoying ads, autoplaying videos and unzoomable text (or text tapping on which takes you to some random link because the page resized and you accidentally tapped on an ad).

The "Print Recipe" page usually contains just the recipe in a format which is easy to read without any clutter.

Comment · 8 years ago
hmm, while this is cool i am not sure if it is a full-fledged replacement for the Google Finance "portfolios" feature. That lets you add the number of stocks you own for each symbol and shows you an aggregate gain/loss per day, etc. That was the main reason i was using google finance.

I have now transitioned to my own Google Sheet with the "=GOOGLEFINANCE()" function for getting the stock data. Works pretty well.

Comment · 11 years ago
As far as i know, most of the outsourcing companies have a contract with the employee that will make the employee pay a huge fine if he quits them after moving to the US. I'm not sure about the legality of this, but a lot of companies enforce this somehow.

(source: i'm indian and i have a lot of friends who moved here on a H1B through the 'outsourcing' companies).

Comment · 11 years ago
yes, but using a thing they already have comes with privacy concerns. it also depends on their wifi/bluetooth being in "discoverable" mode.
Comment · 11 years ago
I am just curious. Wouldn't it be more easier to do this with specific devices than using the phones?

Each passenger can be given a smart card along with the boarding pass (or embedded in the boarding pass). The sensors could merely check for the smart card at certain points and determine how long it took for the passenger to clear security, etc. The airline can then collect the smart card back just before boarding when they scan the boarding pass. Seems like a simple solution that would work without much privacy concerns.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton