skysight-inc/HackerNews huggingface dataset:
I'm currently trying to get realtime audio streaming over WebSockets to work. I'm encoding audio using libspeex on the server side (an iOS device) and decoding it again on the client using speex.js[1].

Transmitting Speex "frames" (where each frame is a 20ms chunk of audio) over WebSockets and decoding in JS works beautifully. However, I have a really hard time to queue up these 20ms AudioBuffer nodes perfectly, without producing any glitches or pops. I'm not sure its even possible with the current API.

What I would like to have is an AudioBuffer node where I can dynamically append chunks while its playing. Since all(?) source nodes are for one time only use, the browser could free the data that was already played again.

An AudioBuffer that allows modification of the data while it's playing would work too - you could just loop it and use it as a ring buffer. However, my understanding of the spec is, that modifying an AudioBuffer's data is explicitly prohibited once its playing.

[1] https://github.com/jpemartins/speex.js/
why would anyone need to know your secret? Except that it would give them more characters in the substitution cypher. The card assumes a user will keep the same secret for each site, so just keep the start of the PW the same.
Beyond that, find a problem, fall in love with it, become obsessed by it, and look for ways to solve it.

Great advice. I'll get on that. Thank you.
Even if weight were a problem, a hands free headset trivially solves it.
Beating a dead horse, huh?

I made it clear from the first comment on that it's my opinion and you don't have to agree.
This Week in Science 11/01/15: Inhalable Vaccines, a New Antibiotic, and More
You might be the first person I've ever heard suggest that Cryptocat didn't have a "backlash". Cryptocat comes pretty close to being reviled. It's 10x more so in private conversations between technical experts, but it's also very visible publicly.

(I think the project deserves the flak it takes, and continues to endanger its users today).

The "Russia" thing is just dust people throw into the air to thwart reasoned discussion. People don't like Telegram because it is prima facie cryptographically incompetent. There's no one resource that sums up all the brokenness and weirdness --- certainly not Alex's post here, which concerns itself with a specific bug he and Juliano found. You have to collect all the data and paint the picture yourself.
I massively disagree with the importance of swappable batteries. While I suppose there are people who are pretty happy hauling around a bunch of batteries with them, I haven't considered such a thing since camcorders were cool. A big part of keeping technology mainstream is to not require a utility belt.

(n.b. I don't mind if they're user-removable for replacement once they've totally died, but this also seems to have become rather rare for what I assume are manufacturing reasons)
ECSTASY (OFFICIAL VIDEO HD) JOHN LARS ZWERENZ – Rock Music Video – BEAT100
While it's not as bad as the '90s, gang violence still occurs regularly in EPA in spite of your anecdotal evidence. http://blog.sfgate.com/stew/2014/11/11/what-are-the-bay-area... and http://m.sfgate.com/crime/article/16-indicted-in-gang-crackd...

EPA has been a dump long before the 1950s, when this article begins its history. When Stanford opened for business, alcohol was prohibited in a one mile radius. Right outside that mile was Whiskey Gulch, where EPA began and high crime rates with it.
I had my first exposure to this "deterministic" execution concept when I was writing the data collection part of a computer-based electrocardiogram interpretation service. the ECG cart hooked up to the patient at a hospital somewhere in the US would call our service located near Chicago. The front end would answer the phone and present three analog signals to the analog to digital converter which would sample each channel every 2 milliseconds, and write chunks of digitized samples to disk.

The trick was we noticed that the OS (RBM or Real-Time Batch Monitor from SDS, later Xerox) would mask all interrupts for short periods of time. This would delay the timer interrupt by an amount that would lead to an error in the voltage read (e.g., the rapid upward spike of the QRS wave) that would be significantly more than the quantization error.

Thus, with each release of the OS, I would have to track down the instructions that would mask the three classes of interrupts, and change the code so as not to mask the timer interrupt. This was, of course, delivered in a form of 80 column cards.

Not everyone gets to work on problems of this sort. To adapt the NASA list to JS seems a bit of a stretch.
What percentage of people don't/can't charge their phone every night? And of those who don't/can't, what percentage of them aren't satisfied with the myriad external battery cases and on-the-go-chargers available for smart phones. I challenge the assumption that the majority of people are asking for better batteries. I think it's like people asking Ford for a faster horse.
This is one of the main reasons I still don't have a smartphone. Battery life on an old Nokia is well in excess of 5 days, it works whenever I need it when on the road even when there are no wall sockets for miles around.
AFAIK you can compile static binaries with Go and thus eliminate the dependencies.
Here's PDF:
http://mincore.c9x.org/breaking_av_software.pdf

Disclaimer: I hate slideshare with passion. Presentation format and how they use HTML makes it painful to use if there are some connection issues (and their servers routinely hang on slides.
Microsoft has being doing good decisions lately. They are becoming more open, also integrating more with industry leaders. Another good strategic decision they made was the partnership with Dropbox (https://blog.dropbox.com/2014/11/dropbox-microsoft-office-pa...) not mattering if they already have a similar service (OneDrive).

To me, these are signals of a good administration. This company is changing to keep growing, and I believe it is working. It's not the same Microsoft we knew a decade ago.
You really think that people are discriminating against Russia? Damn. What about the fact that they have a bizarre homecooked protocol?
I thought that, but it only solves the voice/audio portion - doesn't solve anything about holding the device to interact with the screen.
I used to always carry spare batteries until a change of work forced me to switch to an iPhone, and there's an upside to plugging in an external battery to charge instead - no need to reboot your phone and interrupt whatever you're doing.

edit: a phone you could "sleep" the RAM to capacitors for 30 seconds and swap batteries in without restarting would be awesome. Kind of like the old Palm devices when you swapped AA's.
Wikimedia's resources are over two orders of magnitude smaller than those of the other top-10 web sites. It is only fairly recently that they have more than a handful paid developers. And they have a huge amount of data they would have to convert. In fact, I think they would have been up to it, but there simply were more pressing concerns.
>Whenever Apple creates yet another "new and improved" charging port that requires a proprietary "smart" cable, I cry a little.

How many times have they done that?
Eight Powerful Negotiation Tips for Introverts
If you use your smartphone for what you use your dumbphone for it will last just as long if not longer. I have a spare Android phone I use as my on-call phone where I have data turned off and it lasts 2 weeks no problem.

edit: I used to use my dumbphone as most people use their smartphones today. It was a Sony Ericsson so it had multitasking Java J2ME support[0], a high-quality camera, GPS so I was continually shooting, tweeting, on IRC, Google Maps, Facebook etc. I had to swap batteries halfway through the day same as I do now. Not much has changed.

[0] https://farm3.staticflickr.com/2612/4022002606_b6c5935cf4_o....
When I first moved into my flat I discovered that the previous owner had wedged some kind of brass plate across the contacts for the cooker circuit. Terrifying.
An LG G3 with the auto brightness feature enabled, maybe.

With brightness bumped up to a more user friendly level, my battery lasts <<1 day. I like this phone, but consider the battery life to be laughably bad.
There are probably som Android phones with removable batteries. Perhaps not in standardized sizes though.
Take everything away from the computer that makes the average person excited about using the computer?
Satire Lives
I'm not sure it's a perfect analogy. People might ask Ford to go faster, people are asking technology to let them work longer before it dies. I think the sentiment is pretty clear: this doesn't mean we need better Li-ion batteries per se, but either we need hugely longer-lasting sources of power, or we need hugely more efficient displays/radios/processors.
Micro-USB has a 1.1 amp maximum current as specified. That's half the charge rate of a current lightning connector. The upcoming type C connector will do 3 amps, so thats an easy 15 watt charge rate which would probably start hitting thermal limits of the batteries. If you make more circuitry you can run them up to 100 watts (um, maybe 60 watts) by negotiating higher voltages.

And it's reversible!

Sadly, adoption will probably be slowed somewhat since there are governments that mandate the nasty old micro usb connector for mobile phones.
I agree... as much as Web Standards and their implementation is suboptimal, I remember a time when you were GUARANTEED that the style and layout you wrote for one browser would simply just not work in any other browser. I don't think people remember how bad it was and how much better it is now.

It was like every browser was it's own terrible brand of IE6. Each with their own weirdness that permeated every aspect of the browser.

You ended up having to write as many stylesheets as browsers you wanted to support (ok,ok, netscape, firefox and mozilla suite shared the same stylesheet).

"Cross-Browser" was as unattainable and desired as the Holy Grail, "This site works best in IE6/Firefox/Opera/Safari" was not a suggestion like "This wine pairs best with cheese" but a warning of terrible consequences like "This milk is best before curdled".

Ok, so we're still not 100% cross-browser 100% of the time, but it's a term people don't often need to think about anymore.
Yes, it seems like they are to me. I created a test analytics account that has a fake URL and is not on the web but it has now accrued over 35 "hits" from forum.topic5768xxxx.darodar.com where 5768xxxx = the GA tracking code ID that is private and not exposed on the internet. Very annoying.
For me it's not the end of the world, just an annoyance. Why am I carrying around a spare battery and charging cable just so my phone can be 2mm thinner?
That's the case in the EU, where all smartphones sold must use Micro-USB by law. In America and elsewhere I believe every manufacturer still has its own proprietary "solutions."
Is it worth noting that if wearables caught on, this would offload some of the work from phone batteries, effectively extending battery life? A big if, to be sure.
> The weapon at least for now is built around an enormous, enormously heavy, custom-milled steel barrel

How do you mill a barrel? I was under the impression that barrels were turned, bored and then rifled.

http://www.firearmsid.com/feature%20articles/rifledbarrelman...

You might be able to mill some bits out of the exterior but I really wonder how a mill could be part of the machining of the business bits of a barrel.
You might be interested in looking at what https://github.com/brion/ogv.js does.

Just curious, if your goal is realtime, why aren't you using WebRTC?
LD relationships, at this point, are not much different to F2F relationships, in my experience. If anything, the use of asynch comms (meeting via PMs, for example), means that conversations get to intimate details faster, because people involved have a little more time to be the person they want to be, rather than a jibbering bag of dating nerves. Less of that underlying ambience of subdued panic, that is common in F2F dating.

You could absolutely simulate intimacy, yes. But it would be as satisfying and useful as a digital ice-cream simulation.
I like https://icrypt.me/
But what if you forget to charge it at the end of the second day? Maybe what you need isn't a better battery but something that reminds you to charge your phone at night?
> Does anyone know why the integrated batteries aren't more form-fitting? If you could have the battery fill all of the empty spaces you could probably get even better charge.

Yeah, LiPo batteries are quite flexible, but the problem is that you have to balance multiple different-sized subcells when trying to fit battery in every cubic inch of space in your laptop.
But you can literally buy cases today that add additional thickness and provide extra battery capacity. Have you bought one, and if not, why? Perhaps you like your thin phone after all?
Taig free download
I think it's an interesting metric that can act as a starting point for a more in depth understanding, but by itself its pretty hollow.
May I suggest you to use typewriter? It runs without batteries, and is about as useful, you can write on it.
The EU seems satisfied with adapters (that's how Apple complies, for example), so I don't imagine it will be a big impediment even if the regulations aren't updated for the new standard.
Probably using the term more along the lines of custom-built.
Revenue is the most famous of the easily gamed. Target free cash flow.
this is something google should take care of, not the site owners that use GA.
A little misleading: Kindle _device_ sales in physical stores have dropped off. There are no numbers for sales of e-books themselves here. There is good news that (physical) book sales are up. A more balanced article (from the same newspaper) seems to be: http://www.telegraph.co.uk/culture/books/booknews/11335718/T...

Personally, I'd want to know if Amazon.co.uk simply had better pricing or a similar promotion on Kindles.
Gibson came close to both hacker culture and the first world anarchists ("Panther Moderns" ~= "Anonymous"). And Asimov's "Multivac" has often been compared to the internet.
I find it interesting in how there is some dependence on the fingerprint secret being shared across the Telegram channel in order to verify identity.

What if a user sends the screenshots of the fingerprint over, say, a medium decided in the chat on the fly? Unless you can MITM every service they're using, you could just /tweet/ the fingerprints, for instance, and check on a different machine for a matching key. Or what if the screenshot is tampered with by hand, like, signing the center of the square with a finger drawn, transparent signature? How would an attacker replicate that?

Of course, the "supervillain" model still works and enough computation time and power might find it, but there are a multitude of ways to ensure that the secrets match on everyone's devices.
So Profit.
Thanks, I'll have a look!

I can't use WebRTC yet because I want to have support for IE and especially Safari & Mobile Safari. I want to add audio for an iOS App[1] that's using jsmpeg[2] for video streaming.

[1] http://instant-webcam.com/

[2] https://github.com/phoboslab/jsmpeg
I'm not the OP (and, btw, would love to hear the real answer) but having been through the exact same process (both the "it should only take an hour" and "wow how did that take 12 hours?" parts), here's my general answer:

Some things just take way longer than we think they will. Sometimes it's sheer mis-estimation (setting up the basic CSS style sheet, getting the layout to look nice, getting the transitions working properly, etc. all seem simple but still require raw time and effort), and sometimes it's just that nasty bit that _should_ be easy and just ends up not being easy ("why isn't the DIV centering??") and you blink and 3 hours have gone by. And that part should have taken 30 seconds.

So it no longer surprises me when things that should be simple end up taking 10 or 100x as long.

BTW - fantastic article on this subject I read recently:

http://blog.hut8labs.com/coding-fast-and-slow.html

That all being said - OP - would love to hear about your process.
Amazon UK is down
It seems that amazon UK is down...
http://amazon.co.uk
Yes I suspect that woz hasn't ever seen any serious electrical kit the fuses for those look just like the normal cartridge fuses but way scaled up.

it was only 20 years ago that a local company stopped making knife edge switches (the sort used as props in Frankenstein movies )
They still didn't release the server code, didn't they?
Call me cynical, but the first thing that springs to mind with these kind of opening up is the sign of a company no longer with the bullying power to not care about being open. Rather than these changes occurring because a hierarchy of managers had a change of heart (look guys, they learned that open source is good!), a market share drop from 97% to 20% makes you humbled and reconsider your strategy, and products that don't yield returns are just sitting there and might as well be open sourced because it fosters good will in your company. IBM had to do it. Microsoft are doing it. Apple won't be doing it now that they're the big boys in town. Compare their Swift language which will remain proprietary for as long as Apple can get away with it, just as Microsoft has always done.
The battery cases waste way too much space with all the extra layers of plastic, redundant charging circuits and ports. External batteries are still more space-efficient (and yes I do carry them, every day).

I would absolutely buy something like the Motorola Maxx if work didn't require me to use iOS.
The stigma thing is sadly true of people. The place I live - a college town in IL, is in a really cool little neighborhood. 20 years ago it was solidly "the ghetto". 15 years ago the residents got sick of it and started organizing community efforts to make it a nice place. 10 years ago, the city got involved and started helping residents through policing, community and "historical districting". The people who had caused problems - prostitutes/pimps, drug dealers, gangers, started working elsewhere, and the "bad" areas contracted on themselves. A lot of folks in that lifestyle started living well instead, the rest retreated.

5 years ago I got my house for 1/2 of what the same house in other parts of town would cost. People thought I was crazy despite how much the area had changed for the better. These days the area is undergoing some gentrification, and it's sad seeing families move out to be replaced by graduate students - I like a neighborhood where there are children playing, and families hanging out. Heck, someone broke into my house once, shortly after I moved in, and the fact that there were families at home meant the cops were called and caught them in the act, rather than now, where I suspect an afternoon break-in would go unnoticed since no one is around.

But despite all of that - people still say "wow, it must be scarey living over there. You have good job, upgrade out to the booneys, is being close to downtown really worth the risk?". I just laugh. And consider buying the next house up for sale to rent to grad students.
O(2^64) is the same as O(1)

Pretty pointless estimate.

Just for reference to see how large 2^64 is,

2^64 microseconds = 584,555 years

Even if you find 10,000 computers capable of 1 million checks per second (a huge "if"), it would still take 58 years.
> How many times have they done that?

iDevice 30-pin, iDevice Lightning, MagSafe 1, MagSafe 2. To make matters worse, MagSafe stuff is patent restricted, so there's not much competition for chargers...
I think measuring "human-usable information" is a slippery slope. You'll start with just believing that only human-language text qualifies, but the definition can be pushed.

For example, "human-usable information" could be added by changing the color of certain words. If our site is meant to teach English, changing all nouns to the color green is useful and definitely "human-usable information," right? But how do you measure the amount of information it conveys?

It's ultimately very philosophically hard. This matters because a webapp's assets (images, styling, scripts) are as much a part of its content as the actual text on a page. But if you confine your definition to encompass only human-readable text, I don't think it's useful.
To simply equate socialism with Soviet control was always simplistic and a worldview that caused untold grief

This idea allowed the CIA to overthrow democratically elected leftwing governments in South America while permitting and cooperating with rightwing nondemocratic murderous governments.
Remember those non-automatic mechanical watches? 2-5 days on a single charge was normal. Wireless charge + 2 days battery life is perfectly ok for most cases.

OTOH, even mechanical watches can auto-recharge now, why not autorecharge smart watches?
Apple's pretty good at that - the last time I looked at the ifixit teardowns their batteries were 30-40% smaller than the competition, and battery life was comparable. But they use that advantage not to increase usable battery life but to decrease device size.

I doubt "order of magnitude" is going to happen barring some revolutionary display technology.
working here
TL;DR This is all the concrete code from the article:

1 awaitPing andThen sendPong

I'd find more valuable blog posts explaining how to solve a concrete problem with concrete code using the Actor model than mishmashes of quotes appealing to various authorities.
I can give you an Inbox invite if you're curious about what the gmail team thinks the future of email looks like. It is a platform built around various functional groups that email is used for, which may or may not be urgent.
I'd say it's relatively popular. It's also growing quite quickly:

http://blog.javascripting.com/2014/07/28/fastest-growing-new...
An Arguably Unreal Particle Powers All of Your Electronics (2013)
It's our side project that we've done during the weekend. We used React, Javascript and Java. We are open to questions if there are any :)
That's why we shouldn't adopt the anarchist symbol as is. A variation would be needed.
First of all, this assumes that it was someone's job to sit there watching top all day, manually intervening and killing processes. That's ridiculous. Sometimes a sysadmin needs to kill a process --- fine, they look at the load, often know something about who's running what and why, and make a decision. This takes less than a minute. When would they ever load this stupid GUI?

What's more, any information that you can encode into the GUI representation could easily be operationalised into fixed policies, instead. The reason you need a human to do these things is because there are aspects to the decision that can't be represented in this way --- whose job it is, what their deadline is, whether that job is running within its expected parameters or outside of them, etc.

So, all this sort of interface can do is get in the way --- it makes it harder for the sysadmin to dig more deeply, and find out what they need to know.
Indeed. Or to go further, you can't trust even compiled sources you place on dev mode device if you didn't also compile the entire OS and drivers. Still, not Telegram/TextSecure's fault
The article is by ESR and in his mind "hacker community" is a very specific group. A group who happened to have their heyday when the game of life had just been published and Conway was still offering a prize for an infinitely expanding pattern. This makes it really more of a coincidental thing rather than a representation of any inherent trait of the community.

Though even for that community(and people now who really like the game of life) I don't think it is a great logo. Circles are not a very pretty or pleasant way of representing the game of life and it makes me think of a board game when I look at it.
Free climbing seems like the least forgiving hobby in existence.