skysight-inc/HackerNews huggingface dataset:
Ask HN: Safe to Use FFMPEG in Mobile Apps?
We are considering adding some Video Editing capabilities to our app. We got our features complete using FFMPEG in the iOS app.

Before releasing we are checking all license and its not clear if its safe to use FFMPEG in Apps on iOS and Android.

Anyone has idea on whether FFMPEG can be used in app without running into licenses issues for video editing?
pretty much. scripting envs are extremely flexible and powerful, thus very prone to such issues. thats why you dont give user input to shells unless you want the user to have the full shell access. environment included.
Every investment vehicle is overvalued which led to a glut in, amongst other things, venture capital. With more capital available than needed for viable business models, a lot of founders created innovative new ways to spend venture capital and soak up the available cash.

What's funny is that a founder of an unprofitable VC backed startup generally still makes substantially more money than most people. What does it matter if they're spending a ton? The people who ran Groupon into the ground walked away and got other jobs, it wasn't their money...
Yes, the Memory Pool System by Ravenbrook (https://www.ravenbrook.com/project/mps/) is a proper, moving garbage collector. It uses precise GC on the heap and conservative GC on the stack, as does the garbage collector in Steel Bank Common Lisp on x86 chips. I need it because I need my code to run on 100,000 CPU supercomputers with a controlled memory footprint to develop organic nano machines (seriously).
Yeah, I'm aware. PUP and Clive Palmer went from being the punchline of the Chaser boys' jokes to something seriously wrong in a very short period of time.
Ask HN: Replace HTML,CSS,JS for mobile web?
I see many browsers being developed for mobile. All of them still use HTML,CSS,JS for rendering web page. Why not replace it with a different presentation format that is suitable and efficient for mobile ?
Those years don't make sense. Do you mean you were there in 2009 and they raised in 2000?

It's hard to know when you're at a company that will make it big. Ok, so you can probably tell if you're at a FB or Google and you're on your way up. Likewise, you should be able to tell when you're at a really BAD company. Most companies are somewhere in between, though.

That said, I'm not disagreeing with you. People shouldn't be working that hard unless there's a reason to. The goal should be to get to a point where the path to success is reasonable clear and makes those long nights useful. Otherwise it's better to fail fast (much easier said than done).
Class War Meets the War on General Purpose Computers
Glenn Greenwald, Snowden and Julian Assange spoke eloquently about how NZ made international promises to get surveillance bills passed years in advance of bringing it to a vote. When a country manipulates its people (like Australia is doing now) to get them to vote a certain way, you're seeing an awful lot of the "Republic" in the term "Republican Democracy".

Other readers, please see my other comment in this comment section about the Snowden Leaks and the NSA wrt terrorism and how the contents of the leaks combined with other sources unilaterally refute the idea that the intelligence apparatuses are being used for (or indeed are even useful weapons for) counterterroism.
A webserver doesn't have to interact with bash directly or otherwise for a system to be vulnerable to this bug.

Here's one scenario:

1. A webserver may set environment variables passed to it from a URL perhaps.

2. Malicious users could craft a URL that set environment variables containing bash commands that do nefarious things.

3. The next time bash is launched (either by a human or programmatically) those nefarious commands are executed perhaps with root privileges.
Thanks for your great works! I am using Alamofire on my project right now. Do Alamofire support or will support async image loading via URL just like AFNetworking? I can't find the API anywhere on the docs.
How is that working out?

FWIW - I spent about 7 years in MS and now >5 in Amazon - I overall like the MS model, at least from a developer perspective.

It gave you a lot of time to focus on getting your complicated piece right with unit tests - and you could leave the integration tests / PM'ing to the respective folks. Amazon is like where Bing is going - but the end result is that it ends up favoring breadth oriented folks more than depth folks. That's ok if you are building a business logic / app tier, system teams are a different story.

For the same reason, the latest MS path doesn't seem right to me. It feels like they are taking the wrong lessons from startups / AWS.

But again, it has been 5 years since and I don't have the big picture - so I guess I will wait and watch.
Facebook without ads, right? COuldn't Facebook just provide an option to pay a subscription fee if you want no ads?
Yeah, that's true but with caveats: one being "a handful of craftsmen," the other being limited access to those community colleges. This is especially true in states that are slashing public spending on education. My point was that these types of jobs offered on site training 20 years ago, and now they don't, shifting the costs to prospective employees.
I suspect this is pretty much the answer. Whether or not the reserve bank will move interest rates on people's mortgages a quarter of a point will get far more news coverage than this.
We're sad because we haven't heard from you in 12hrs. Did we do something wrong? Do you not love us? Log in now to show your love for our amazeballs saas app that was handcrafted with love and powered by coffee.
Glass Doesn't Flow (2011)
And regardless, the cgi script could invoke bash, or invoke something that invokes bash, etc.
That's one of the benefits of Rust imho - no legacy baggage. One of its downsides as well - no ecosystem to draw from. Oh well, take the good with the bad I guess.
I like URLs with year YYYY . Don't like how they hemmed it on "freethinking2006".
I liked it, there was one bad case where the background was newspaper text. Chrome on Mac and there were no performance problems.
It is a little spooky when you go through the numbers. Reminds me of this a little. http://en.wikipedia.org/wiki/Reichstag_fire
There are many compartments within the Central Intelligence Agency, and within the Intelligence Community (IC) [1]. This contributes to the difficulty of applying oversight to the IC.

[1] http://en.wikipedia.org/wiki/Sensitive_Compartmented_Informa...
What enviroment are you on?
That should probably have been ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin --sysconfdir=/etc

Once upon a time, distributions documented their build configurations. Or maybe it's that I used to only use FreeBSD.
This is completely surprising to me as well. I can't even imagine what a person like that would be like, at the workplace. I certainly have never talked to one. If you ever meet a programmer that talks 10x more than he listens, please show me it.
Hardly an irrational consumer choice. I miss them so much. At first I though CFLs were a really good idea (less energy used, yaaaay) but after using them i realize they can't compare to incandescent bulbs. The brightness and light quality just suck compared to incandescent bulbs. And yes, I've tried every light bulb under the sun. My bedroom is so dark. I even added an extra lamp to my living room and it is still darker than when I was using incandescent.

I tried using CFLs, I really did. I really wanted to like them.

http://en.wikipedia.org/wiki/Phase-out_of_incandescent_light...
So CIA basically tossed some blood, with their "balanced report" and caused sharks to swarm in. And news worry why people don't trust them.

I loved this quote:

“And then I wrote some stories that made me realize how
sadly misplaced my bliss had been. The reason I’d
enjoyed such smooth sailing for so long hadn’t been, as
I’d assumed, because I was careful and diligent and
good at my job,” Webb wrote. “The truth was that, in
all those years, I hadn’t written anything important
enough to suppress.”

It seems whenever someone does a moral thing in spite of society, he is often persecuted for it. From informants revealing secrets of bad government deals, to leakers, they all seem to be targets.

And it's interesting who often funds the detractors.
The last one, you are trying to find contradiction where there is none.
Corporate cartels are incredibly unstable though, because it is always in a single company's best interests to defect. They tend to last much less time than a patent, and are obviously not legally enforceable.
They covered that in their talk. It 100% was implemented.

You can watch the talk here: https://www.youtube.com/watch?v=eKSDmwKcFQA
Um, not at all.

Given the absolute raft of laws that Uber/Lyft/et al. violate most of the DA's are being more respectful than I would have expected, actually.

SF could force these services to shut down tomorrow and they would be on very safe legal grounds.
Here's the quote in a bit more context:

> The internet, while a tool which has revolutionised the way we live, work and operate, has also revolutionised the way sinister and criminal behaviour is orchestrated and undertaken across the world. The internet poses one of the greatest threats to our existence because of this. Therefore we must give ASIO and ASIS increased powers, capability and reach to do what must be done to protect, maintain and advance our safety and security.

Source: http://parlinfo.aph.gov.au/parlInfo/search/display/display.w...
She could take whatever taxi or ridesharing service she thinks is legitimate. I doubt your wife is so unusual that there isn't a market for the type of car service she desires.
Does it even matter what is inside the event horizon?

How does time dilation in a gravitational field affect the "speed" of the collapse of whatever material makes the black hole? Is there a sort of Zeno's paradox where the matter can't actually reach the singularity? While this doesn't change the nature of the event horizon - matter gets pulled toward the horizon strongly, and if an atom goes in, it ain't coming back out - it would seem that what you really have in a black hole is just a "dead pixel" in the universe where nothing is happening.

It would be interesting to see some research on minimum possible singularity mass and radius, and observe, or not, Hawking radiation on a generated singularity. Just so long as the singularity is generated in a vacuum somewhere at least as far away as a Lagrange point, with a solar escape velocity trajectory :-)
I have a Kinesis Freestyle 2 keyboard, it's pretty great. I also emailed them off and on for weeks asking them questions about their keyboards, the people there are great too.
Erick Sihotang Singer Love Hope
Out of curiosity can you point to a "properly implemented reputation system" that "works great?" And please don't cite online drug or carding markets they have centralized vetting, escrow services, high barriers to entry on both sides, and HUGE legal incentives to play nice and avoid legal attention.
So long as it's not the last thing we ever build, since dropping one could be a planet killer :-(

Hmm. Fermi paradox anyone?
People can copy the source, but they cant copy the top download count, or a reputation as a good developer or company. Once you have loyal customers and a reputation there is no point in hiding the source code in my opinion.

They can copy your code, but they don't understand it like you do, and therefore can't provide the same level of support or quality in updates. If they copy your code and make it closed source, people won't trust it, and if they copy your code and make it open, you can just steal changes you like back again.
I made a similar switch to SublimeText, at least for programming tasks (non-programming tasks I still use vim since it works with just a terminal). Vintageous has a much better vim emulation than Vintage (the default vim plugin to ST), and ST has lots of interesting plugins. And I can use both modal and non-modal shortcuts (I use, for example, Ctrl+S to save rather than Ex-mode's :w since I find it less disruptive for my workflow).
Inclination of religious people to prove their texts to be relevant in light of scientific discoveries is interesting trend. And I see it everywhere, in all religions. Have you heard of term scientific religion?
No. The programs are not about terrorism at all.

Check for other comments on this thread (I posted a lengthy one) for details.
Speaking of Strawberry Music Festival, there's one next week (October 2nd and 3rd) in Dali ... anyone fancy a trip to Yunnan for an HN China meetup? :) Feel free to get in touch, email in profile.
Have you tried company-mode?

http://company-mode.github.io
We used to have only one person working per household, plus maybe a part-time job. Can't we go back to that, preferably without the sexism this time?
This wasn't written by just "someone." It was written by Sinofsky who many thought would be CEO someday.
I use MacVim in the Terminal as well as a GUI.
"Except that many large employers are self-insured anyway"

Many; it's not all, I'm not sure it's most, and the dynamic I spoke of is still present in smaller employers.

"So, unfortunately the company then has an incentive not to employ sick people and old people."

I never claimed employer based coverage was a panacea. I explicitly called it weird, and I specifically said that it doesn't entirely fix the issue.
Being from Greece, with roots in Kalambaka, which is where Palaiokostas still probably lives, the money he gives to the poor is an insurance policy and makes a nice story, but it is totally immaterial compared to what he stole from the rich. Also, he himself has not killed as far as we know, but his "associates" were quite ruthless, especially Rizai who was convicted for paid executions.
Try putting `set lazyredraw` in your .vimrc
I also work in Bing.

Most people are in offices or in an area with a few people, but (at least for me) our team is scattered around, so we're not nearby each other at all. It's not easy to stop by or ask a quick question without going for a short walk.

Personally I like the office arrangement - you can make it silent, control the temperature, etc. I do wish that teams were grouped more closely together but that doesn't seem to be a concern for anyone higher up.
I was a hardcore emacs user for over ten years but the extra features I get with a really good IDE like IntelliJ are worth the switch, IMO. Now I only use Emacs for quick & dirty edits.
I used Eclipsed(ADT) and now using Android Studio. Eclipse has the decent vim plugin too. It can detect your vimrc and you can use your key-bindings. Only a while ago, Ideavim has this features where you can load the config with ~/.ideavimrc . Overall, IntelliJ is nicer IDE than ADT
I think most people living long enough term in China to grapple with the language are well beyond caring about brand names. :)
To be honest I was just kind of thinking "oh great another language implementation," before I read what you're actually doing and why you needed to create clasp. I appreciate the difficulty of writing precisely GC'd C/C++. It's pretty awesome that you were able to use clang to (I assume this is mainly what the analyzer does) track roots in C & C++ code.

Best of luck.
"I'm totally addicted to modal text editing to the point that I feel crippled when I've to edit text in a non-modal editor...but if you can imagine somebody programming on an on screen keyboard on a tablet, you know how modal editor users feel about non modal edition."

And vice-versa.
I think more people are willing to switch away from Uber/Lyft than from Facebook since (from what I understand about the service) there's nothing really personal about them except for user ratings. If a new competitor opened up tomorrow that promised to be decentralized with fewer fees, I'd bet on it succeeding. Facebook has many more purposes like communication, media hosting, and event planning (with a very strong network effect). People aren't going to give up on that platform very easily.
You are correct, pure anarchy can provide the freest speech - until it causes retribution. Pure anarchy isn't great for society, so we have a of laws that trade speech for social benefit. Patent, copyright, criminal, civil. Granted, many of these are broken. I would propose that anarchy is a very undesirable state, so we need laws to protect free speech.

Honestly, my heart goes very quickly to democratic free speech. And it's not the same thing. We only had it for a short period of time - the wealthy now have more speech again. Can you really have a democracy when speech isn't democratic?

Net neutrality: It's more complex than a monopolistic problem. I would suggest you look more into it.
This looks cool but I can't get it running on Ubuntu 14.04. I just installed sysdig but I don't have the shellshock_detect chisel :/ Is it available yet through apt?
Yes, this is quite common. Come to #vim on freenode and we'll help you troubleshoot it. There's a large and welcoming community waiting for you over there.

Launch macvim as `mvim -u NONE --noplugin` and see if you can still reproduce your speed issues. If you can't, then your problem is not with vim, but with a plugin (or with your ~/.vimrc).

You can use bisectly[1] to do a binary search over your installed plugins looking for a faulty one. This is similar to how git-bisect works, and it's WAY more effective than disabling your plugins one by one. I've personally used repeatedly it to narrow down problems to vim-gitgutter, which is quite possibly the buggiest plugin I've ever used.

[1] https://github.com/dahu/bisectly
> Ebay auctions aren't a necessary utility

But having someone pick you up in a private vehicle and chauffeur you around is?
It's a hard step in logic to go from criminals getting off due to insufficient evidence from encrypted iPhones, to the wrong person being convicted.
It's unlikely that 1000 year bulbs would actually be useful for 1000 years. Just as incandescents are being replaced for sake of energy efficiency. And I find it hard to imagine any economic system that could efficiently build 1000 year bulbs. It requires spinning up factories for a short period of high volume, mass production, followed by a long, low volume trailoff. That's a costly and wasteful process under any economic system. Our limited time and money is better spent solving more immediate problems, methinks.
Just shows you that for Australia to regain a functioning government, it will take us to elect someone other than LNP or Labour who will undo the damage.
Yes the laws are outdated, but it almost seems like they are just ignoring all of them.

And of course the government feels pressure to stay relevant.

But legal threats and other government systems can't keep up with a fast-changing digital economy.

I think that we need some kind of effectively integrated system of regulation that can somehow represent the public good in a way that interfaces more directly with things like mobile apps and the blockchain, etc.

I also think we need to move away from a single-point-of-failure, all-powerful centralized government into something more egalitarian and decentralized. Maybe even polycentric.

Exactly how you do all of those things is an incredibly challenging set of problems.
On Reddit, comments are rewarded for appealing to all kinds of human emotions. A quick one liner that doesn't hint at technically savvy might get the most upvotes on Reddit. On Hacker News, comments centering around knowledge and its acquisition tend to be rewarded. While I didn't make your comment any lighter, I'd assume this is why others did.
IDEs can be great for writing code for particular platforms — I don't think there are many people writing Objective-C or C# in vim — but it's hard to imagine "ditching" a general-purpose text editor for a platform-specific IDE.
I'd imagine the rich and powerful citizens of SF are regular users of Uber et al. Doesn't seem like the wisest political move to shut it down.
What do you get if you run "sysdig --version"?

If you used the official Ubuntu packages, those are a few versions behind upstream (currently at 0.1.87 while we are at 0.1.89): http://packages.ubuntu.com/trusty-backports/sysdig.

What we recommend is uninstalling those ones (sysdig and sysdig-dkms) and just use the binaries that we, Draios, provide, following this: https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-...

Should be very easy, and sysdig --version should show 0.1.89
I'm sure part of the process will examine this. We have to update our laws to deal with the new world. Privacy laws are decades behind.

There could be several reasonable approaches. E.g. 5% of their content expenditures must be Canadian, whether or not it is watched.

I'll leave the discussion of whether this is desirable alone.
Why are taxi services regulated?
Any bulb will do that if you run it on 1/4 of its rated voltage and never turn it off. It will be about as bright as the "Centennial" bulb.
Is anyone offering this in a managed capacity like DynamoDB type setup in AWS us-east? If so please let me know.
Jd (the J database) isn't as powerful as KDB+, but it's pretty good and only costs if you want to pay for support.
There's the fact that a lot of the structure (.xml/.json "data views", things that aren't linked from anywhere, etc) are likely to disappear as the BBC switches from their old programme database to the new "Nitro".
I usually buy only from sellers which have already sold lots of the particular item in question, with good feedback. The ability to see sales volume and feedback for a particular _listing_, and not just a particular SKU or particular seller, really makes my life easier.

A few of the things I've bought from Taobao recently:

Bluetooth receiver for headphones $16: http://item.taobao.com/item.htm?id=38718297406

48v 20Ah lithium battery for electric moped $192: http://item.taobao.com/item.htm?id=16566200878

Ultrasonic jewellery cleaner $19: http://detail.tmall.com/item.htm?id=13861247309

Waterproof bluetooth speaker $6.36: http://item.taobao.com/item.htm?id=39374503285

Bluetooth adapter for amplifier $3.75: http://item.taobao.com/item.htm?id=20525099344

Custom-made venetian blinds ~$10: http://item.taobao.com/item.htm?id=15785435641

Google Cardboard $4: http://item.taobao.com/item.htm?id=39893565312

All of the prices above are in USD and include shipping.
The source of bad writing: curse of knowledge
A brighter future: five ideas that will change solar energy
My favorite example is the Roomba. Cool new vacuum cleaner invented, ridiculously broad/abstract patents filed... result, near zero progress for 20 years.
I've heard that some people browse and buy using Google Translate. I imagine it's difficult (because listings include lots of text embedded in images) but better than nothing :)
I can verify that "POS" does not stand for what Moneris hopes it stands for.
So they tell us that in order for their scan to pass,
we need to disable all of the security measures that
are currently protecting the server.

Ha, what could they possibly be scanning for, malware? The sad thing is that I'm sure companies are doing that.
Help save cats ordered to be killed by a Missouri mobile home park owner
>> And God said, Let there be light: and there was light.

> Light was created on the first day, but the Sun was created on the fourth.

Where does the Bible say the Sun was created on the fourth day? It doesn't appear in the KJV or JBS; is it written like that in another translation?

> Proverbs 8 identifies Wisdom as the first of God's works

Are you saying that you think this is a contradiction because Genesis says Light was created on the "first day?"
Are online drug markets decentralised?