skysight-inc/HackerNews huggingface dataset:
Amtrak still uses motor-generators on some parts of the Northeast Corridor to convert 60 Hz AC grid power to 25 Hz AC traction power.

It's exactly what it sounds like: a motor that is mechanically coupled to a generator. The motor runs on 60 Hz AC and turns the generator at the correct speed to produce 25 Hz AC.
A very nice utility to have installed.

It can also convert a video to an mp3:

youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=OKbtC223e30
This is the best video downloader. It has downloaded videos from every site I've thrown at it. It even downloaded videos from Comedy Central!

Edit: https://rg3.github.io/youtube-dl/supportedsites.html
That I like. When we get drug that can save lifes immediately, pharma lobby will make every effort to hinder its way to the market, requiring more tests on humans. Humans ARE animals. Enough tests! Gimme the drug. Ad: 'Too effective. Humans use at own risk. 100% rabbits recovery rate'.
I've used this quite extensively. It's less critical for YouTube now that almost all YouTube videos work with the HTML5 player, but it helped quite a bit when every other video required Flash. Still necessary for many third-party sites as well.

It'll also download an entire playlist, and add sequential numbers at the beginning (with the -A option).
I'm not sure about the usefulness of this, but it's creative, beautiful and unconventional for sure.
Yes. As the service provider, you can create a DNS record to verify "myapp.example.com", which is sufficient to get a certificate issued for it.

For a setup like this, you may still be better off getting a single wildcard certificate for "*.example.com", which (as far as we know currently), isn't possible through Let's Encrypt. But it's certainly possible to get these certificates through Let's Encrypt.
Or even shorter:

youtube-dl -x --audio-format mp3 OKbtC223e30
Yeah pretty much. Not only inspired, but also inspire them through meaningful objectives.

I'd love to work for spacex or tesla. I don't care how much they'd pay. I'd just love to work on projects similar to what they've already done. Heck if I could otherwise feed myself i'd just happily work for free.
I thought that it uses the native OS X file choosers unless you have ide.mac.filechooser.native set to false in the IntelliJ registry.
I just use quvi for that.

Example:

quvi -vm --format $format "$url" --exec 'wget %u -O %t.%e'

instead of $format put any format that the video supports. To query them, use:

quvi --query-formats "$url"

So it's going to be something like:

quvi -vm --format fmt43_360p "$url" --exec 'wget %u -O %t.%e'

And to extract audio from the result you can use:

avconv -i something.webm -vn -acodec copy something.ogg

Youtube however is switching away from fixed video files to separate streams to be used with MSE. You can note that higher resolution video is not available the old way. So downloading that won't be so straightforward.
> Security must be embedded in each program from the start.

Agreed. Wholeheartedly. However, the way most of us interpret that bit of conventional wisdom is that security should be added to existing features, for example, by cleansing user input and not passing on tainted input (shellshock is a classic example of this, in the vein of a system-based XSS vuln). It does not mean that we should develop "security" features as addons to existing systems.

In this case, they use an untested cryptographic primitive (SSKG) which was published by Poettering's brother almost a year after the feature landed. That's negligent and reeks of nepotism.

I wouldn't recommend that any sysadmin use this feature in a security context (there are existing security products that provide log-signing, with security notifications and patches).
+1. There is a plenty of witch doctor tech available in the wild, and in daily use of many 'uncivilized' people, that will never gets its way to the market. Because these work, and things that work are disruptive.
UPD: my fav in this particular case - solution of some Amanita mushrooms in alcohol. Cures any burn, no traces left. Works even on hot chemical burns, like from caprolactam. Will never be accepted by official med.
http://youtu.be/ptO6mccWtIo?t=4m22s
In general youtube-dl is great, but that short id input handling is broken, as evidenced by this:

youtube-dl -x --audio-format mp3 -fCtvurGDD8
How I hacked Slack into a community platform with Typeform
Thanks for taking the time to answer my, and everyone's questions.
Mostly its combined drawbacks making it worse than the alternatives.

It's pretty heavy, a bicycle of around the same cost doesn't weigh much more than some models.

It has low range, you can get a motorised bicycle for much cheaper which has more than 3 times the range.

It can't be used in the wet, while this might not be a problem depending where you live, you're kind of screwed if it rains on your way somewhere or before you go home.

It's fairly sensitive, you're specifically recommended not to do fairly common things with it.

It's expensive, if it was fairly cheap I could see people overlooking the drawbacks and maybe using it for messing around on.

I guess it'd be OK if you really hated bikes and lived in an area where it never rained with everything nearby. The whole thing just seems really underwhelming to me.
"Parallel and Concurrent Programming in Haskell" by Simon Marlow is a great resource: http://chimera.labs.oreilly.com/books/1230000000929
Digging that hole seems expensive.
youtube-dl supports muxing the separate video and audio streams from YouTube. You just need a recent ffmpeg/avconv and youtube-dl -f bestvideo+bestaudio.
I just use chrome extension
The picture they're drawing isn't very straight, as many have demonstrated.

Until these "experts" provide evidence otherwise, it's useless to berate readers for pointing out the obvious.
I'd like to see that in Russia. There villages are dying for the last 40 years. Providing basic income in rural economies would save Russia too.
I work in a company that could be labelled as enterprise, thus I think I couldn't use the Community edition.
The problem is that I'm not one of the developers (I am a sysadmin), but I had installed the Express edition in the past for example to simply compile some code that I found online (free).

Same happened in my past companies, "real" developers were using full blown VS but I was sometimes doing some small project (not as side project, small = "quick hack that I needed and developers had no time to do that")

If they stop releasing Express edition (that's not clear, I've not searched if Community will superseed Express or if they'll keep both) it will be impossible for me to do so.

Having said that, I think this fully featured Community edition is interesting
There are actually lots of Asians outside of STEM. Art doesn't involve that much history (art history is quite different), and especially design doesn't. Also, Asian American vs. Asian is very different.

> That's probably another reason why there's little Asian students outside STEM.

I totally read that wrong the first time.
Thanks for giving me more information! I am just learning about this stuff. However, it seems to me that a classical explanation is enough here, as well. Why would the measurement of Up/Down spin destroy information about Left-Right spin in the classical case? It gives no information about left-right spin. In a way, that's what happened in the link I shared.

Suppose Alice and Bob had unlimited pairs of marbles labeled "RU" "RD", "LU" and "LD" paired up with their opposites respectively, e.g. RU with LD. Alice would randomly select four marbles, one from each pair, and Bob would select the corresponding opposites. Now they separate and go to their homes, not knowing what the marbles are.

Alice checks the first letter on the marbles only, and sees that she has R* and R*. She concludes that her spin is "LEFT" and that bob has the "RIGHT" marbles. Now, she decides to check all the letters on her marbles and realizes she has, say, two RT marbles. She knows that Bob has two LD marbles.

Can a spin be not 1 or -1? Could it be in between? That would be the case here if Alice had RU and RD, and once she checks both letters, she knows what Bob has as a result.

But in the classical case discovering first letter doesn't give you any information about the other. Doesn't that capture everything?
What actually happened to quvi? Is it really still active? (https://github.com/legatvs?tab=repositories). No more commit since last year.

Same question for clive/cclive...

By the way, FFmpeg has support for the 0.4 branch of libquvi, so if you built it with --enable-libquvi you can ffmpeg -i http://youtube... (assuming libquvi and its scripts still work)
I tend not to criticize design decisions unless they are just plain asinine... Mostly if it is more of a matter of taste vs comfort level. I won't reject new designs just because they are uncomfortable.

There are only a handful of design changes in Android 5 that piss me off... I don't mind having email and gmail's apps combined. Two irksome things, is that the account switching circles are all but useless, I have 5 email apps, it only shows two bubbles, and there is no way to really tell which one is what. I can use the dropdown, but once you have more than two accounts, it should only show the dropdown picker. The second, is there doesn't seem to be a way to set an email as unread... I often will peak at a mail, and mark it unread to get back to. I know that inbox is working to get around things like this, but inbox really doesn't fit my workflow.

Aside from that, the keyboard changes don't bug me. Even the double swipe for settings really isn't that bad.

I really don't do much on my phone though... I removed facebook for shoving not one but two spyware apps down my throat, I removed most of the heavy battery offenders, and tend not to install apps that ask for permissions they have absolutely no need for... (flashlight apps that want sd and contact access, I get they need camera access for the flash)...

It will really be an interesting few years as phones approach today's desktop capabilities... I think remote displays will be a next thing... car interfaces especially..
People usually invest in producing some thing. In order for that thing to have value, you need people who spend to buy it. It seems pretty simple to me.

As for why it might be better to give money to someone to spend than to someone who invests: someone who can't afford to spend needs money more than someone who can afford to invest.
This appears to be the only option for Free Software access to soundcloud.com.
Because it interprets video IDs that start with a dash as short options? This should be better:

youtube-dl -x --audio-format mp3 -- -fCtvurGDD8
Like many tools, youtube-dl supports a -- flag to indicate "the remaining arguments are not flags". So your example would work as:

youtube-dl -x --audio-format mp3 -- -fCtvurGDD8
The main issue with American politics is that some representatives think that their ignorance is as good as reasoned opinion.

I'm in no way championing direct democracy - I think we agree pretty much about how representative democracy is supposed to work and how voters are supposed to vote. Where we differ is that I think transparency is essential to any functioning democracy. As you say, voters don't have the time or inclination to inform themselves properly about the issues at hand. But instead America has a system where most politicians don't bother to actually form well thought through opinions either, but rather rely on the opinions of the people that fills their campaign coffins. Allowing them to do that in complete secrecy would be the same as giving the power directly to the oil companies and military industrial complex.
I've also used it for downloading all possible formats for a video when debugging problems that only seem to be there in some resolutions.
I'd suggest the term "Bootstrapped" to "Lifestyle".
> What actually happened to quvi?

Good question, I didn't keep track of its development. Your best option would be asking developers if they are planning to work on it further or not.

> By the way, FFmpeg has support for the 0.4 branch of libquvi

Same as mpv I think. You can play Youtube videos with it directly:

mpv "$url"

Which is kind of fun, since you can do tons of things that aren't available in the browser player - looping, playing only portions of the video and all other things which mpv can do.
semi joke: what about dissipating energy in excess via heat, sound and flames? :)

more seriously: what about having a setting for not fully charging the battery (let's say 80-90%), possibly user configurable, so if you don't risk your life if you forget about it?

and finally a question: how does a Prius work? according to this[1] The amount of electrical energy capable of dissipation is limited by either the capacity of the supply system to absorb this energy or on the state of charge of the battery or capacitors. Effective regenerative braking can only occur if the battery or capacitors are not fully charged. For this reason, it is normal to also incorporate dynamic braking to absorb the excess energy.

Searching online I found this[2] that seems to be not that far from my semi joke :) as a user says "instead of taking that energy and putting into the battery, the engine throws it off as heat."
But it's also true that a Prius is way more complex and bigger, so it could have more features put in place compared to a small board like this.

[1] http://en.wikipedia.org/wiki/Regenerative_brake
[2] http://priuschat.com/threads/fully-charged-hv-battery-no-reg...
I do find it slightly strange that saving a few bytes from the size of an image is suddenly of such pressing importance that we need to resort to all these hacks.

JPEG2000 has been available in some browsers for years and years now, but I've yet to see any site selectively sending it to supporting browsers to save bandwidth, or anybody advocating for doing that. JPEG2000 first became available in browsers 10+ years ago when connection speeds were very much slower than today, so the benefit of using it was even greater back then, yet it saw very limited adoption.

Also I note that the saving from using webp compared to the optimised jpeg is only 18kb, meanwhile the page wastes 40kb of bandwidth on a Google analytics script. What Google gives with one hand it takes away with the other.
Li-Fi:Visible light communications could outshine Wi-Fi
Idea Sunday – have an idea you want to see executed?
It is Sunday! If you have an idea you would like to see executed but do not have the time to do it yourself then share it here.
What about Sandbox doesn't suit your needs?
Vendor guidance would be great.
The middle column is changing by at most one number. Furthermore, it's changing by at most one number always in the same direction, a feature not shared by the right column. (The direction thing doesn't matter for binary grey codes, since 1 + 1 = 1 - 1 = 0 and 0 + 1 = 0 - 1 = 1.)
Not saying it's a good or bad api - but it's not restful

I've had a quick go at redesigning it to be more restful.
Not perfect, but better i think. Would like to hear others opinion.

/sessions [POST|DELETE]: Open|Close a API session

Certificate Authority management

/cas [GET]: Get a list of all CAs in your account

/cas/{caId} [GET]: Get further details on a given CA

/cas/{caId}/cert [GET]: Download the CA's certificate

/cas/{caId} [DELETE]: Delete a given CA

/cas [POST]: Create a new CA

Certificate management

/cas/{caId}/certs [GET]: Get a list of all certificates for a given CA

/cas/{caId}/certs/{certId}/details [GET]: Get further details on a given certificate

/cas/{caId}/certs/{certId} [GET]: Download the certificate

/cas/{caId}/certs/{certId}/sigreqs [POST]: signing request

/cas/{caId}/certs/{certId}/private-key [GET]: private key for a certificate

/cas/{caId}/certs/{certId} [put]: Re-issue an existing certificate

/cas/{caId}/certs/{certId}/status [put]: Change certificate status

/cas/{caId}/certs [POST]: Create a new certificate
Thanks, good to know. I'll try it out.
You just need more mass. Have a look at this concept: http://eduard-heindl.de/energy-storage/index-e.html (unfortunately the english version is very sparse, the german version has some more images and videos: http://eduard-heindl.de/energy-storage/ )

The idea is to cut a 1km diameter cylinder into the ground (solid rock), and then lift it up up to 500m by pumping water underneath it. The power stored can power a country for a day.

I am somewhat sceptical, but this guy is totally serious about it.
There's an iphone header in the screenshot.
the pereson was asking for an example, that is all. i can't even speak for whether the jolla devices are any good. only that is it shown that is done and in shipping hardware right now, not some time in the future.
Neat idea, but shadows cast on the ground don't move around an object a full 360deg over the course of the day.

If the metaphor is that we're looking at the object from above, then the angle of the shadow would depend on the time of day, the day of the year, and the object's latitude. Now THAT would be a neat plugin.

Others have mentioned that Google does it like this in Google Maps...which is even stranger because there is a very clear real world analog in that case. I would have expected that they would take the care to render the shadows as they would actually appear for that location at that time.
It's easy to just throw the streams of Soundcloud songs against whatever music player you have at hand.
MPD even has a playlist plugin, which correctly handles basic soundcloud.com urls and handles all the API stuff for you.
Note that quvi support has been removed on mpv git recently. They seem to be considering a switch to youtube-dl instead.
https://github.com/mpv-player/mpv/commit/9b45b48c466765b6491...
In Defense of Uber
I see generating new certificate happens on the server so it keeps the private key. Instead of sending the CSR and keeping the private key on the client. Sigh.
That's interesting. How are they planning to use youtube-dl? Does it have a C library or mpv allows some plugins in other languages?
JS1k demo: “Highway at Night”
I thought Cash for Clunkers was looked down upon because it sucked up a lot of the cheap, affordable cars. (Genuinely curious.)
I think quvi might be dead. mpv-git actually dropped libquvi a little while back because it was buggy and development was inactive. It's been replaced with a youtube-dl based downloader, so in mpv-git, this would invoke youtube-dl to get the video:

mpv --ytdl "$url"
I'll take 10 skilled maintainers over 100 not-so-skilled ones any day. It's like that Swedish proverb, "the more chefs, the worse the soup". The better the OS, the less maintenance it needs. Just look at OpenBSD.
The bit that invokes youtube-dl is a Lua plugin. It checks if the URL starts with http:// or https://, and if so, invokes youtube-dl -J on the command line to dump JSON information about the video.
I wonder how much of this custom tweaking ends up back in the Linux community due to GPL? If I am interacting with a GPL hypervisor, can I request sources for it for instance? I mean AWS is a huge Linux success story, does anyone know if Amazon gives anything back?
Investing is effectively lending it out to someone else to spend to your mutual benefit (them by spending it efficiently to make economic gain, and you by getting a cut of that economic gain.)

If nobody's spending, though, you can 'invest' all you want - there's no broader economic gain from letting someone else hoard your money instead of doing it yourself. You'll only gain interest from those willing to trade their long term interests for their short term ones. There's simply more supply of money, and less demand for it, resulting in less return on your investments.

As an (extreme and unrealistic) example, your bank isn't going to give you a high interest rate if the only person spending money instead of investing it all is Bob, who's occasionally willing to borrow at 1% to buy a new TV when his old one breaks. In fact, you'd be lucky for them to even be willing to store your dollars without a fee: What's in it for them? They've already got what they need to lend to Bob covered a million times over.

Consumers aren't the only ones buying, but their lack of buying has knock-on effects on broader investment opportunities - if Bob's the only one buying TVs, TV manufacturers certainly won't be spending money on fancy new equipment. Their suppliers won't be spending money building new mines for materials or manufacturing equipment for construction. This all translates into fewer opportunities for investments, and less demand for your money with which to invest.
This is a wonderful and well thought-out answer. Thank you so much.
I'm currently working on a site that uses react/flux with some use of media queries and size detection for rendering... effectively the phone and portrait tablet displays will be similar, and the desktop and large displays will also be similar... I'd prefer to be able to break this into two camps for the initial html sent to the browser (via server-side rendering) This way less is sent to the phone/tablet browsers to render initially... and less jarring change as other features load after initial display.

The only way to do this is browser sniffing.. although minimal.. for the most part if "phone" or "mobile" are in the browser I can send the lighter phone version... otherwise they initially get the desktop view. It isn't perfect, and to be honest, I'm doing more detection than just that.

There's also issues with where/when I can cash rendered output. And when/where I can cash certain results. For example the record id's for a given search will cache the first 10k id's so that paging becomes very fast, with the results limited to that set. Other queries will also be cached.

It really depends on what you are trying to do... growing from a few thousand users to millions takes some effort, planning, and thoughtfulness that isn't always the same.

The way I would design an app for a few hundred internal users isn't the same as for a public site, isn't the same for a very busy public site. You have to make trade offs or collapse.

Why should a phone user on a strained 3g connection get the content for a desktop browser.... By the same token, I HATE when I get a search result for a page on my phone, and that site redirects me to m.site.com/ (no path after /)... I don't just design/develop web based applications, I'm also a user...
I wonder if there is any way to specify to it which stream to pick, since Youtube has many options. By default it picks H.264 / AAC, at least when it's using quvi.
You can sign up here at infobitt.com.
Not really. Imagine a company where 99% of hires had graduated from Stanford and 1% from Harvard, but only 1% of people promoted to management were Stanford grads. You wouldn't say "well, the percentage of Stanford graduates in the country is statistically insignificant so it makes sense for there to be very few Stanford grads in management".
I've applied for the world's first global #hackathon by koding. Join my team
youtube-dl gets updated very frequently and the version that comes with your distribution (ie, ubuntu) usually is out of date and doesn't work often on most sites. So its better to download from the source and update it using "youtube-dl -U"
Of course, and that's what happened to Kursk.

But:

The released air would go up, regardless how pressured it is. While going up it would decompress taking up more space and therefore having greater force to push the tank up (as I mentioned, released air would be capture in a construction similar to a tree with leaves. Imagine leaves upside-down capturing the air.

I'm sure you can find different type of mix that would be less-compressible and overal better for this experiment.
Converting it to MP3 is a bad idea. Youtube uses other lossy codecs inside, such as Vorbis and AAC. So reencoding it will degrade the quality. The best option is to keep the audio as is.
Dart – stagexl video playback