skysight-inc/HackerNews huggingface dataset:
Energy is conserved, but you may end up with heat instead of sound. Also, sound near an object behaves differently. As you stand further back you get constructive and destructive interference between different parts.

Beyond that we operate on a logarithmic scale when it comes to sound, what sounds slightly louder to us can be heard over much larger areas.
> This article is written from a scholarly point of view and has a lot of conjecture but I definitely don't think they had any boots on the ground to make the conclusions that they did, particularly with regards to saying the epidemic in Appalachia is a result of on the job injuries. There are no jobs to get injured on anymore.

They may be confusing people injured in the workplace with people receiving Social Security Disability payments:

http://www.dailyyonder.com/files/images/DisabilityMap.jpg

If you look at the map with the percentage of Americans receiving disability it does seem to correlate rather strongly with the overdose maps - at least in Appalachia.
> 1.day.ago

So apparently .day multiplies the number of seconds in a day by the receiver, then .ago subtracts that from the current date[0].

However, not all days contain the same number of seconds. This is where "friendly" APIs like this lose me - they're vague and sometimes incorrect.

In Foundation, which I consider to have a decently designed date API, "dates" are doubles of seconds all since a reference date, and "date components" are used to express the concept of days, months, and years - which also require a time zone and a calendar to even make sense.

[0] https://stackoverflow.com/questions/21392065/how-do-you-impl...
I'll let in on a secret as to when a breakup is about to happen. Communication between the couple plummets, and is usually one sided, heavily weighted towards the side doing the breakup. Happens, every single time.
Funny you should mention Django, because its the magic framework in python land that does all those things you label Rails doing and it does it way way worse than Rails.
Man vs. machine: Race the tube: Barcelona
One possible efficiency gain you might be able to use is the Snipping Tool if you're on windows (and I'd bet OSX has an equivalent). It lets you drag a box around a part of your screen, takes it as an image, which you can then copy to your clipboard with one click (or ctrl-c I believe)
>I won't be considering buying a Tesla again until you can buy one and drive off with it that day.

Do you really want this? If this were true, you would be buying a car that x number of people have test driven. It will come with 100+km on the odometer already. If I'm spending $100k on a car, I'd rather a brand new vehicle that was driven onto the truck, and off of the truck and by no one else.
Given that these gadgets will probably all be location aware, I'm pretty sure the company[1] can figure out who you're dating and what stress they have. Basically, triggering your reaction to the breakup will probably get a search on what your former significant other was feeling and the data processing would probably happen from that end.

I really don't want to deal with that world.

1) both people need to be using the same device, but that's probably more common than not with peer groups. Lord help us all if they come up with a standard exchange protocol between devices. The alert "Hey, the dude entering the room now is really mad" is going to set off all kinds of hell.
> By which I mean to say, using a Mac or an iPhone is at least 50% about using a Mac or an iPhone, and maybe 50% about doing whatever it is you are trying to do.

Could you elaborate on this? I don't feel that way at all when using any modern OS/device, but maybe I just haven't thought about it in the same way.
We ended up creating https://github.com/meltwater/secretary to allow storing encrypted secrets in config files checked into Git by devteams. The encrypted secrets are passed as env vars through the continuous delivery pipeline, Mesos/Marathon and into containers. They're then decrypted and injected into the app environment at runtime, safely inside the container.

At startup the container reaches out to the Secretary daemon that holds the master keys, using public key cryptos to authenticate itself. The Secretary deamon uses Marathon to authenticate containers (checking their public keys stored in env vars) and validate that they're authorized for the specific secret in question (checking that the encrypted secret is indeed part of the containers env vars).

Meaning that Marathon is the single source of trust of which container can access what secrets. The problem then becomes controlling who and how changes are made to the Git repo containing the CD config, which is something Github does well with roles, status/deployment API and pull requests.

We had a similar problem as some describe with the distribution of the initial secret (i.e. Vault token) and one time Vault tokens being cumbersome in dynamic scaling envs. We didn't want the cleartext token ending up in config files nor in the https://github.com/meltwater/lighter config we use to drive our continuous delivery pipelines that go into Mesos/Marathon. We also had some other aspects like

* Wanting to keep secrets, app config and code versions promoted together throughout or deployment pipelines. Seeing secrets as another type of app config we wanted to track all config and versions for an app in the same way, in the same place to avoid mismatches or deployment dependencies.

* Wanting to enable our very independent devteams to easily manage secrets for their services, same was as they manage the app config, versions and rollout of their services. And delegate management of what service is authorized for what secrets to devteams (with both automated checks for unencrypted secrets, and some gentle manual coaching post-commit)

* Versioning and rolling upgrades for secrets? E.g. how to roll out a new secret in a Marathon rolling upgrade? Creating and managing versioned keys in Vault seemed somewhat cumbersome.

Perhaps something like that could be used to solve your initial secret distribution problem or even handle the secrets themselves until Vault has solved the initial secret problem..?
I have no doubt the signal to noise ratio is disconcerting. Not all shells contain precious perls...
Reading this made it feel like everyone at Tesla is afraid of Elon Musk, which hopefully is not the case. Not being able to talk honestly to a CEO (or anyone) is how things fester.
I think the long-term solution is to drop V8. The V8 developers pretty much do not care about Node at all. Perhaps Chakra can come to some agreement to keep their APIs stable and if so they can become the new default engine.
Yep - I was exaggerating to make a point a bit. Although there are folk drums that are totally sealed (African talking drums, for example), the drum kit toms and snare that most people think of as "drums" are vented. It's not really the same as a tuned resonator like a violin, though. The vent is just there to ease pressure and keep the heads from choking on the attack.

Still, it gets across the idea that sound doesn't come out of the hole, but rather radiates from the entire instrument.
It's always interesting to see qualitative stuff associated with quantified self; it seems like ultimately the goal is to lead a (happier|better) life, which is a very qualitative notion, but we end up turning as many things as possible into quantitative criteria and looking post hoc for some pattern.

Koby's tweet shows what a breakup looks like, and it's tragic, but if you imagined someone retrospectively posting a screenshot of their heart rate readings from the day they met their current partner, we might see a similar pattern of elevated readings as well, wouldn't we? It seems like it would be just as plausible (to me, anyway).

I'm not saying that we should find better dimensions to measure (I think we'll always find ambiguous, confusing results absent context), but that whatever we measure should get qualitative context if we want it to really mean anything.
Point well made.
I'm no expert on the topic, but bemoaning the death of nuance and the invasion of identity politics doesn't automatically count as an attempt to maintain the status quo. It's just a rejection of a specific solution and/or the methods such a solution calls for.
Sure, but presumably there would be a pattern of rising stress levels leading to the event. This looks like a square wave, which indicates an instantaneous change from one state of stress to another, which would indicate he was the party receiving the bad news.
> Of course this new technology will add new jobs: on the coasts to write the software

It's completely ridiculous that software development is concentrated in any one geographic area. Software development can be done just as effectively from anywhere. So why isn't it spread as uniformly as the world's population?

Maybe part of the solution to the problems you describe is a call for programmers (and other professionals that can work from anywhere) in the US's interior to not leave for the coasts, but start companies and hire people locally.
Give it time: http://www.stuff.co.nz/environment/10248028/Expert-supports-...
Have you tried Zotero for this. Works brilliantly and it is relatively easy to export to a form of bibtex.
Thanks for your input. I didn't realise Ansible had added that in 1.9, that's really awesome.
I have no experience in your field, but I'm very surprised to hear that this isn't worth a phone screen for a 21 year old. Tough industry!
> Nest not being able to function while there is service outage (e.g. can't change temperature if server is down) https://twitter.com/Jenthulhu/status/688918036791840768

This was actually a software bug shipped in an automatic update. The bug caused the Nest battery to drain faster than the HVAC power line could charge it. In my experience, Nest works fine when not connected to the Internet.
Top Motivational Books That Can Inspire Aspiring Entrepreneurs
Good. I will not use Microsoft's operating systems as they have never put your interests first. I find this disturbing.

I have been running various Linux distros since Microsoft
came out with Windows XP and their BS licensing which tied one copy to the hardware.

Whether its DRM or mining personal data, people just need vote with their wallets and send a message to them saying these profit-making shenanigans won't be tolerated.
That's a problem of implementation, not API. It could just as well instatiate a generic Day class that would know how to add itself to different dates.
> You'd be surprised how stressful it is to break up with someone.

I'm human and 45, I'm really not surprised, but I'll play the odds on who did what to whom.
I really hate to see web and app developers comparing to themselves to doctors. That seems far more egregious.
Good question. Can anyone say why it's not more widely used for this purpose?
Considering how terrible polygraphs are, you could use any number of stress-related metrics for an equivalent level of information.
Got a badge for climbing 33 stairs + a plethora of others, while in actuality I was riding my motorcycle.
>So this tells me that the candidate is not a strong graphic designer, not a strong prototyper, nor a strong researcher.

I'm not a graphic designer nor do I hire them, but your conclusion seems overly dramatic. Perhaps this prototype does not meet your high bar, but that does not mean that the candidate overall is not qualified. It just means that this particular work did not demonstrate these skills to your satisfaction. The candidate might have these skills and dismissing them after one prototype seems to be setting yourself up for many false negatives.
I like the idea. It reminds me somewhat of sliding out a secondary app on a new model iPad, but with many vertical panels instead of just a maximum of two.
EFF Pries More Information on Zero Days from the Government
yes, you can download the video assets after encoding + download the player for self-hosting
Indeed, tribal cultures are far less reliant on all types of abstractions, whether it be money or the written word.

Therein lies the problem it may be: we have become lost in abstraction and confuse money with real wealth. It's like we can never get enough because we are starving ourselves eating the menus instead of the dinner while at the same time not realizing that there is only so much dinner one can eat before becoming sick.

The more we rely upon abstraction, the more disconnected we become from the reality which that abstraction is supposed to represent.
5 Reasons Why Office Design Matters
I would personally kill for better mouse integration in i3 (which I use on all my daily-use machines), and I would be extremely happy to augment it with touch screen support (which I would largely want to use for tile manipulation).

In fact, a main reason I use i3 is because it is literally the least ideological tiling window manager when it comes to mouse use. The productivity gains I get out of tiling don't come from using the keyboard, they come from not having to deal with the (imo, especially in the post-1024x768 era) very messy overlapping window model. Things are where I expect. I can move them from one screen to another and sane things happen. Plugging in and unplugging a display doesn't make hash of my organization. Things are never buried under incomprehensible layers. And so on.
Very little can be moved to it.
To add another side to this coin, having recently used Phoenix to write an api after hearing good things, I found Elixir clunky, and Phoenix poorly documented. It tries to be too much like Rails (I realise this is the point, though), and is currently failing spectacularly in my opinion. YMMV obviously.
Added a link to sources to my original comment.
11 Questions to Ask When Looking at Commercial Office Space
Is your infrastructure ready for the IoT onslaught?
You should visit some manufacturing plants. Ask them how many people used to work there and how many do now.

Companies have a social responsibility to the communities they profit from.
My Take on Haskell vs. Scala (2012)
Whites, like blacks, have always been shooting dope.

The racism implied in your comment is rooted in having harsher jail sentences for using/possessing drugs preferred by blacks. That's a fact.

Obama and Holder tried to address this not too long ago. I don't know how far they took it.
data to support what? I didn't make any claims. It is widely reported that the Taliban banned growing poppy (it was un-islamic) in Afghanistan and since US forces put them on the run the local war lords, who help US forces with intel, etc., have overseen the massive rebirth of the industry.

It is also widely reported that there is a heroin epidemic in the United States. To me they must be somewhat related.
XT angered people because it was seen as an attempted coup. That was back when the Core devs were viewed as untouchable gods by most of the Bitcoin community. People are now willing to accept Classic because the core devs have been acting like babies. They've destroyed their reputation with the community by refusing any compromise, attacking Classic with Trojan pull requests and making a lot of outlandish statements in public forums. This hasn't sat well with the people who are heavily invested in Bitcoin. If XT were introduced now it might have gained more traction.

At this point the community seems to be mostly decided that they want to break the Core dev's monopoly and Classic provides a lowest common denominator way to do this. I just hope the Classic devs make better choices.
Everyone always perceives themselves as "fighting back", i.e. sees the other side as the aggressor and oneself as merely defending. Since this bias is shared equally by all, it's guaranteed to produce nothing but escalation unless we develop the ability to be a bit more objective and respectful in our arguing.
1. Currently It's hard to migrate a whole Stash Server / Bitbucket Server.
2. Thanks
3. Oh, ok we already use a thing like that for Stash
4. Currently we are 5 people, but we use Git Hooks extensively and used a rebase workflow before we used a Stash Server.
Also we only use a special style of commits that go into our global git server, people should take time to write their commit message.

> yearly per user purchased in packs of 10 $390 per pack

Remove the Pack and we are happy. Paying monthly would help also we try to grow, but sometimes we need to shrink (if people don't fit) we move really slowly when it comes to people, we had some issue's at the beginning, so we learned from that the hard way.
How Virtual Weapons Created a Booming Economy
This looks VERY interesting.

Thanks!
How mutton flaps are killing Tonga
strange, mine doesn't do that:

Python 2.7.10 (default, Sep 8 2015, 17:20:17)
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit = "I'd like to assign a value to this non-reserved word!"
>>> exit
"I'd like to assign a value to this non-reserved word!"
That's a lame reason to not use Python
I may be wrong but it looks that you just misunderstood what migrations offer and their usage patterns.
What if you have to remove one column and split its data into two new ones? I can provide dozens of similar examples from my production code.
In short, migrations are not only about schema metadata.

It would make more sense if your gem would generate migrations from schema.rb changes.

Also, that rant at the end of README kinda shows that you're hating the tool you're trying to use. Why not use another? You are not tied to ActiveRecord.

I'm not trying to say that migrations are flawless as a tool. I've faced at least one major problem with them. But still.
You might try building on top of (or researching) ShellShape: https://github.com/timbertson/shellshape
Obligatory Paul Krugman link: http://web.mit.edu/krugman/www/smokey.html "In Praise of Cheap Labor"
Or any composite number. If it's divisible by a composite number, it will also be divisible by the smaller primes.
No, the answer is that they don't have a lot of people that use Linux. You can't honestly tell me that Macs work better than Linux for most of the tasks a programmer or devops needs to do on a daily basis. I know it's true that they don't work as well as Linux machines because I have had to support both platforms over my twenty years in this industry. Here's a neat trick (and just one example): Set up LDAP authentication on a server and then try to get your MacBook's to work. Good luck!
Indeed. I have this problem with my S4 right now - I can't install anything anymore, because something (apparently the OS; INB4 yes, I've checked the obvious things like data caches) grew to take most of it, and I'm stuck at ~500MB free. Most apps can't even be moved to SD card, and those that can be only get moved partially.
I imagine this is an odd-edge case being that it's not a typical purchase, but a purchase of a showroom model.
Honestly I think we're in a semantics loop of sorts. I view the Tesla auto company through the same lens as Kanye West's shoe line with Adidas. Yes, Kanye and Tesla sell as many units as they want. But, and this is a big but, neither the automotive or shoe industry are the primary field of expertise for the person at the top (Elon, Kanye) and thus can reasonably be viewed as an outsized 'hobby' until they return to their core competency. Some hobbies can be extremely profitable, no doubt.
Everyone is "allowed" to call themselves whatever they want.

I would argue there are practical rules to follow depending on your audience. In this case it seems fine but obviously can cause issues with the modern interpretation of what hacker means.
What approaches and software are you considering?
So I listed to them as they were trying to sort out what happened and if someone nearby had the car I wanted, it sounded like what happened was that all the cars in the shipment were brought to another local dealer and then taken from there to the other dealerships. The dealership I went to picked up the wrong car instead of the one they were supposed to have (same color, same engine, etc., only trim package differed).
Relative size counts for a lot. Honda can recall five million cars because they're big, and they produce almost that many cars every year.

But my point was just that big car companies can still fuck up big time in very stupid ways, but we don't say they're hobbies. My point with Takata is simply to show that GM didn't have to approach their ignition switch problem in a stupid way.
It depends on the tooling you have available. If I encountered a 2000 line C# method, I would use Resharper and start with the extract method command and then extract class.
You must be a corporate shill who thinks its a acceptable to hold someone's money hostage by extending past my "no interest", wasting my time and really trying to sell me crap I don't need or want. We should be able to cancel as easy as we sign up. In the real world it is never as easy as "no interest" with many of these companies, look at all the stories of people trying to cancel their cable packages.
> I want them to be better, to be more efficient for professionals.

This is a good goal. But gestures and multitouch will not lead you on the path to that goal. Consider tiling window managers like awesome or i3, that already today help programmers (myself included) be more efficient. They achieve this by reducing time-consuming dragging, dropping, resizing and clicking actions either by replacing them with keyboard shortcuts or simply by automating them away. A UI where you have to move your hands even further (distance keyboard-screen > distance keyboard-mouse) will actually decrease productivity (and likely cause RSI problems as well).

I realise this is a mockup/concept design. But if you want to pursue the idea further, I very much recommend using a tiling window manager for an extended period of time, to learn from that paradigm.
Relevant: http://phoboslab.org/log/2013/09/html5-live-video-streaming-...
Considering that most of the US drugs are either made in the US, or come up from Mexico, I think blaming countries that are on the other side of the world separated by the largest oceans is a bit ridiculous.

http://opiophilia.blogspot.com/2013/05/heroin-in-united-stat...

US Heroin comes from South America and Mexico.
Because that's been done before; go lookup 10 GUI, and it will look remarkably similar. It's different from the accepted standard, but not actually a new concept.
Show HN: The console-based, lua-scriptable, mail-client now supports IMAP
I've sometimes thought the most egalitarian way to design a GUI would be to make it exquisitely accessible to the blind. This would force designers to organize their GUI with sensible, navigable hierarchies of data and controls.

To me, an exquisitely blind-accessible GUI's should function like a fancy keyboard navigable/editable graph data structure that echoes the hierarchies and relationships represented on the sighted displays. The biggest boon to such a GUI would be that the blind-accessible controls would function as an "expert" mode of navigating the GUI - one would never have to touch the mouse or trackpad to get stuff done.

Sighted users would benefit from learning these keyboard controls and we'd inject some hyper-productivity back into our apps to counter the fisher-price'ification that has been creeping into GUI's over the past 10 years.
Again, though, it only indicates that your partner is stressed, and potentially that they're stressed about the encounter they're about to have with you. It doesn't measure enough (assuming there's enough to measure) to know the difference between "He's going to break up with you." and "He's been fired and doesn't know how to tell you."
'millionaires' are all over the map. some are not into cars, some are.

it's really annoying when people think 'real millionaires don't buy expensive things' -- yes, they do.