News for hackers. Stuff that matters.

oxplot

The only way I know how this could work is if the two devices share, in realtime, the various parameters and timing information related to the active bluetooth stream (e.g. hopping to the same channel at the same exact time) since they won't be able to get any help from the transmitter (e.g. phone).

If that's how it'll work, then it should be easy to have 10 of them receiving the same stream since one can be the master and configure every other one in its radio range.

I can think of two:

* Connecting an extra unpowered set of headphones will drop the overall impedance and depending on your source (e.g. a smart phone), you may not be able to get a reasonable volume.

* Related to above, if you have to turn up the volume too high when using two headphones, you can easily damage your hearing when going back to one without lowering the volume.

I have personally been bit by both.

Re:No Space Left on Device on Tuesday September 06, 2016 @03:19AM (#12434174)
Standard practice to store a large number of files but in such a way that they don't end up in a single directory, is to create a crypto hash of your object names and use the first n characters as the directory name. Properties of hash functions will ensure that the files are distributed evenly between all the directories.

git is an example of a program that uses this technique (among others) to store blobs. In case of git, the blob names are already SHA-1 hashes.

Re:Chrome is warning users about insecure pages on Saturday September 03, 2016 @12:36AM (#12417750)
What I don't get is, why don't browsers try https as well as http when bare/http URI is entered so we can simply make servers stop listening on 80.

Thank HN: For saving me hours of reading

I almost exclusively start with comments on HN these days and it has saved me hours of reading through misinformed, flat out wrong, pointless rants, you name it. I've also learnt as much in comments as I have reading the actual posts. I'm aware that I may be missing good content as well but I think the pros here grossly outweigh this con.So thank you HN :)

( Read More... | 1 comment | 7 points | on HN )
Re:The Dropbox hack is real on Wednesday August 31, 2016 @04:33AM (#12396830)
Make sure you sign yourself up for something like https://haveibeenpwned.com if you haven't already. Sometimes being timely in responding to leaks can make a big difference on any further leaks.
Re:Evolution of shells in Linux (2011) on Wednesday August 24, 2016 @07:28AM (#12351214)
Learnt new commands: pushd and popd
Chrome will show an overlay box if you press backspace a second time (seeing it not work the first time as you expected) telling you to use Alt + <- to go back.
Re:Fixing JSON on Saturday August 20, 2016 @03:29PM (#12327978)
Inability to add trailing commas creates two problems:

- You can forget to drop/add comma when copying an existing line - Adding/Removing last element shows up as two changes in diff

Re:Go 1.7 is released on Monday August 15, 2016 @07:52PM (#12294474)
And smaller binary size too. For a statically linked blob, that's a big plus.
Re:Spaceplan on Saturday August 13, 2016 @02:51AM (#12280553)
so I did `for i in {1..10000}; do xdotool click 1; done` and ... the game crashed :(
Re:Ask HN: What book impacted your life the most and how? on Saturday August 13, 2016 @01:24AM (#12280385)
Mastery by George Leonard - learning that goal of doing something was not to reach a goal, was the most profound lesson I learned towards enjoying what I do everyday by the way of enjoying the process.
I actually clicked the link hoping to see a good example of how to extend Kubernetes and I was not disappointed. I'm thinking of writing a plugin that registers DNS names based on a custom annotation on a Service resource.
Re:Headphones Everywhere on Wednesday July 13, 2016 @09:18AM (#12085884)
Interesting about the stats and the sudden increase in 2012. I have personally been listening to music in public since 2004 and days of iRiver [1] for the reasons the parent post mentions.

[1]: http://www.superfi.co.uk/images/product/large/100001914_1_.j...

My main gripe with btrfs is how it quickly becomes excruciatingly slow after some use and using it with VM disks for instance is impossible while keeping the COW feature on (again because it's slow). Does bcachefs have these issues?
Re:Ask HN: Examples of reliable software you enjoy using on Wednesday June 29, 2016 @09:02AM (#12001354)
Oh I can't remember the time before `jq`. It should be part of the standard linux toolset.
Re:Ask HN: Examples of reliable software you enjoy using on Wednesday June 29, 2016 @08:58AM (#12001332)
Some more examples:

"delete inside quotes" == di"

"select all of the block" == va{

Re:Google's geographer-in-chief on Tuesday June 21, 2016 @06:01AM (#11944664)
So is every photo of the Statue of Liberty. They own a specific production that represents the real world.
Re:Headless Chrome is coming soon on Sunday June 05, 2016 @04:05AM (#11840072)
Not an answer to your question, but somewhat related:

I recently worked on an automated thumbnail generator which used PhantomJS (headless Webkit browser) to load some 20000 pages and screenshot them. The problem was that these pages had javascript code that would start loading resources long after `onload` and friends had fired. So the way I implemented onload was to monitor all resources and if there was delay of few seconds after the last one had finished, I'd consider the page loaded. It turned out to be quite robust.

Re:William Gibson has written a comic on Tuesday May 31, 2016 @10:05AM (#11806556)
Ye, I've also had a very hard time enjoying this mix. I feel clumsy and I suspect it's something one has to get used to.
I think the current education system is inefficient at best. It also fails to expose kids to variety of skills/professions out there enough, so they can get a taste of what it's like to be this or that. Most kids don't know what they want to do even after starting college because all they've dealt with has been subjects that taught them the tools (e.g. mathematics, language) without giving them context.

Further to that, instead of focusing on minimalism and utility, each subjects goes to depths far beyond of what most kids need to know to make use of. Lo and behold, they're going to forget majority of it in a month. And some subjects have gone completely off the rails, like English, with the main focus on past literature. That's not what natural languages are most used for. Arguments, public speaking, legal, journalism, marketing. These matter day in day out, not what Shakespeare spewed while he was high on an Autumn afternoon. That's fine too but let the kids do it on their own time and focus the efforts in equipping them with critical thinking, etc for when they enter the wild!

Re:Ask HN: What do you want to learn in 2016? on Sunday May 29, 2016 @08:10AM (#11796069)
I wanna learn Go. After a lot of thought went into what new language to pick (Rust, Nim, Go, etc.), I settled on Go because like Go I'm a minimalist and the feature set and grammar of every other language is just exhausting.
Re:BCHS Stack - BSD, C, Httpd, SQLite on Thursday May 26, 2016 @10:08AM (#11778046)
Given that a C server is most likely multithreaded, wouldn't it be more heavy weight than an equivalent green thread/coroutine setup like golang?
Re:Visual profiler for Python on Saturday May 21, 2016 @07:48AM (#11744343)
I have just recently discovered chrome://tracing and wrote a quick python profiler [1] to output in its format.

[1]: https://github.com/oxplot/crprof

Re:Google Allo and Duo, new messaging apps on Thursday May 19, 2016 @05:48AM (#11729040)
FYI, they use ANN to understand your messages and only then show choices of quick replies. Think of it as a simplified google search auto complete, which at least personally saves me a ton of time.

Older »