2,635 karma · joined Aug 26, 2008 (18y ago) · 736 submissions
comment 11mo ago · link · parent
But if you change or add something in building ffmpeg.so that should be GPLed.
Apparently they copied some files from ffmpeg mixed with their propitiatory code and compiled it as a whole. That's the problem here.
comment 1y ago · link · parent
But it rectified itself.
The same thing happened when Internet arrived. "Don't believe anything you read on the Internet."
I guess the reaction was same when printed media arrived.
But the thing is, things get better over time.
comment 1y ago · link · parent
https://news.ycombinator.com/item?id=45503560
which points to the actual blog of the author on github, instead of a news coverage of it.
comment 1y ago · link · parent
If you have enough free memory, the file will be cached in memory anyway instead of residing on disk. Therefore both will be reading from memory, albeit through different API.
Looking for recent benchmark or view from OS developers.
comment 1y ago · link · parent
That was not my experience when I was working with lua. Did anything change since? Asked google. Answered :
> In Lua, if a variable is assigned a value inside a function without being explicitly declared with the local keyword, it will automatically become a global variable. This is because, by default, all variables in Lua are global unless explicitly specified as local.
comment 1y ago · link · parent
The article basically says that when you have multiple suppliers or consumers, the "order" of the queue loses meaning. It turns into an "unordered" pool of data. Therefore focus should be shifted from maintain a "queue of data" to a "bag of data".
comment 1y ago · link · parent
Limit you JS input to 1 GB. I will have more problems in other portions of the stack if I start to receive a 2 GB JSON file over the web.
And if I still want to make it work for > 2GB, I would change all int in the source to 64 bits. Will still crash if input is > 2^64.
What I won't ever do in my code is check for int overflow.
comment 1y ago · link · parent
- tab separator instead of space. you don't need cut -d with tabs. tab is the default separator for cut.
- use xsel -b to capture clipboard data while adding. Copy the URL into from browser to clipboard. And then run on console
$ url.add hn bookmark script # all parameters are keyword tags.
The script fetches the URL from clipboard $(xsel -b)comment 1y ago · link · parent
Rockets need to eject particles to generate force. And to eject 1 kg of fuel, its photo synthesis system has to lose 1 km of mass in one way or another.
The solution is to find a way to generate thrust without rocket fuel ejection.
comment 1y ago · link · parent
I believe they have solved this problem by now. Though no idea how.