Recent submissions

Comment · 1 month ago
Comment · 6 years ago
be cool in real life. the web is toxic can life can suck. mass media just amplifies it and can make it more annoying.
Comment · 8 years ago
Safari doesn't support DASH and probably will not.

Chrome does not support HLS.

DASH isn't plug and play. It's an XML representation describing how to ingest media streams using something like Media Source Extensions.

There are a lot of players out there that will do this heavy lifting for you.

Comment · 8 years ago
Also chiming in with a project I've put together in Swift

https://www.github.com/krad/morsel https://www.github.com/krad/plainview https://www.github.com/krad/pupil

morsel ingests h264 & aac and produces fragmented mp4 files & playlists. plainview reads the playlists and uses MSE in the browser to play them via the web pupil is a WIP server that reads h264 & aac over TCP and passes that data to morsel, then uploads to any s3 compatible storage (AWS, Minio, etc)

The swift stuff works on Linux, iOS, tvOS, etc

edit:

There's also a WIP project called "kubrick" https://github.com/krad/kubrick

It's a simple POP wrapper around AVFoundation that allows for building media processing pipelines.

There's an example in the project for reading video samples and passing them through a series of Metal shaders to produce fun effects.

Comment · 10 years ago
Comment · 11 years ago
Giving people a button that would make a drone fall out of the sky sounds like something that would need more regulation than the drones themselves
Comment · 12 years ago
No different from learning a human language I think.

The first thing you're exposed to is its sounds and symbols.

They look & sound strange and your brain instinctively tries to make sense of them by comparing it to something you are already familiar with.

Then when you dig into it you begin learning vocabulary and grammar. You focus on that for a long time until the sounds sound less like gibberish and resemble something like what you've been practicing putting on paper.

Once you get comfortable with the constructs and stop focusing on them you can start conversing - putting more effort into what you're trying to say then how you would go about saying it.

After that then you can start picking up all the idioms, colloquialisms, cliches, double entendres, etc

Finally you can start inventing your own.

Comment · 12 years ago
I think it's because Swift is so new only a small percentage of people have actually looked at the language spec.

First thing I thought of when I saw all the func calls, curly braces and beaks (->) was "this looks like in between Lua and Go"

After starting to dig into the book, it's pretty apparent that isn't the case

Comment · 13 years ago
Aditya, if you're reading this: the next time a TSA agent threatens to call the cops, let them. If you hadn't made any outbursts, you haven't broken any laws.

Plus they'd be calling REAL cops. Ones that have to enforce and abide by real laws or actually face consequences.

Comment · 13 years ago
Comment · 14 years ago
Have used this in combination with CocoaLumberjack on a good number of projects and it has come in VERY handy. Highly recommended.

Not too difficult to get it wired up with papertrailapp.com either - That combo makes it VERY handy

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton