skysight-inc/HackerNews huggingface dataset:
TLDR: Compounding effects that add up over time, and extremely dubious use of the words "tremendous cost (to society)."
At my current work, we have a completely separate bathroom with a shower - in addition to "normal" bathrooms with a urinal and a stall toilet.

It's wonderful actually.

At Facebook there was one bathroom on the second floor of building 15 with a shower as well. That was the best bathroom I found there.

It's great to have a nice bathroom and full privacy, it just makes it more comfortable.

At sales force at fifty Fremont there is a guest bathroom adjacent to the main reception on 36 that is individual and private - best restroom in that building.
It was/is a combination of a couple MTHFR gene mutations and black mold exposure. The mutations make it more difficult for the body to process mycotoxins, and those started messing with her nervous and endocrine systems.

The misdiagnosis happened because there were some similar symptoms to depression. (She was very tired, but could never sleep. Dark moods, but in hindsight that was mostly because she felt crappy.) The doctor had no idea and she was willing to try anything to feel better, but SSRI's never really helped.
At a resort I've been to a few times, the nightclub area had a cool design. It was a largish round room with sink in the middle. The perimeter was individual tiny rooms with just a toilet. These were all gender-neutral, I guess that's OK because they were actual rooms, having walls and doors.

It seems like that gender neutrality would allow for extra efficiency, so that the dense-pack around the perimeter of a single restroom can handle more potential guests.

I never asked about how it affects cleaning effort, though.

In any case, the original article points out specific OSHA regulations. So it doesn't really matter if there are alternate designs that could work better; you're still stuck in the traditional paradigm, as regulation always acts as a drag on innovation.
That was old Visual Studio, from the days of VS6 which shipped VB6, prior to the launch of Visual Studio.NET (2002).
Not to mention it may be a performance optimization.
Our office has the same issue. The problem is, the code only talks about number of employees but not proportional allocation between genders. It's possible that they have 200 men but less than 230 employees. This means they need 8 waterclosets, but naturally the builders made 4 for women and 4 for men. It's up to code, but don't expect to always be able to use the bathroom at work.
> Scaling and operating this repo is actually quite simple for us as CocoaPods developers whom do not want to take on the burden of having to maintain a cloud service around the clock (users in all time zones) or, frankly, at all.

The CocoaPods developers seem to be missing the entire point of git: it's a _distributed_ revision control system.

Setup a post-recieve hook on Github to notify another server, that is setup with a basic installation of git, to pull from Github so as to mirror the master repo. Then, have your client program randomly choose one of these servers to pull from at the start of an operation. Simple load balancer to solve this problem.
I'm not familiar with Drupal at all, so I believe you. I just liked the analogy. :)
Swift Package Manager will also have a centralised package index in the future, here's a quote from their [package manager proposal][1]:

> We would like to provide a package index in the future, and are investigating possible solutions.

[1]: https://github.com/apple/swift-package-manager/blob/master/D...
Any recovery method can be built. Maybe your bank's key can authorize a new key for you. Maybe your government can. Maybe three out of five friends you picked can.

It's better to start from the other side of the problem: how do you want to recover your identity?
With regard to speed and pure portability, neither are comparable to C++. Also, C++ is not a corporate controlled language like the others. It's an ISO standard. So there's no comparison to be made there either.

Corporate controlled languages do not allow developers to fully control the software that they produce. C++ allows this and it's very fast and safe (even safer since C++11).

Microsoft has C#. Google has Go. Apple has Swift. Oracle has Java. Which would you want to lock your software into? Also, most all of those languages (or at least the critical parts) are implemented in C++ (hotspot).
I don't know Ruby and reached the same conclusion in about 15 seconds. Could be nice to make it a function [or name the results] "capitalizeWords(text)". Possibly adding indentation could help:

@sentence = @sentence.
split(' ').
map!{ |x|
x = x[0..0].upcase << x[1..-1]
}.
join(' ')

[Edit: Fixed code, thanks knodi123]
To be fair: What is proper practice, is far from what is common practice
Let's get back to the basics.Get 500 Twitter followers in a matter of months
> The buffer is initialized as a vector with 10,000 lines. If a file is loaded with more than 10,000 lines, or surpasses this limit while editing, it will add 1/10th of the amount of max lines to the buffer....This behavior only becomes useful after the 10,000 line mark, although a little wasteful. If say while typing we hit the 1,000,000 line mark, Moe will allocate space for 100,000 lines. This is not very resource efficient, unless you are someone who typically types an additional 100,000 lines after your millionth line.

This is incorrect. Intuitively, if you're using large files, you're likely to generate large changes in file sizes. Algorithmically, this is a very common approach. Collections in most languages double their size whenever the existing capacity is exceeded. This minimizes the number of times you need to reallocate lists of increasing size, and works nicely with the memory management systems of various operating systems.

It's also not resource efficient to need to change the size of the collection for every new line. I would suggest that a 10,000 line initial capacity and increasing by 10% on reallocation are appropriate compromises.
When I started learning low level programming, I've studied C and x86 assembly simultaneously. This gave me a somewhat broader perspective.

From my experience with learning Rust, it might be a little hard to grasp both "the low level world" and Rust-specific things at once.
The tone of the comment is not consistent with the "Show HN" guidelines. The validity of a concern over test coverage does not excuse it.
I love GitHub's response, but I would urge the project more strongly to use modern CDN solutions. CDNs are dirt cheap and incredibly powerful nowadays, for the data sizes that we're talking about here.
Hi, redbeard is it? I think you misremember something, I didn't start working at Uproot Labs but at Cloudinary.

As you can see we went for Apache2 (decoder) and LGPLv3 (encoder) shortly after FOSDEM.
Why reward laziness and sloppy thinking? Anyone interested in HFT can peruse a few dozen threads on HN, where these questions have already been answered at length.
I'm seeing something similar, only with Carthage instead of CocoaPods
I think you are underestimating the cognitive burden this added complexity puts on your ops person (maybe yourself)

I know for me, it was a choice between farting around with lets-encrypt for hours, or a $40 wildcard cert. so I went with the $40/year cert instead.

There are just too many choices for lets-encrypt with no super-simple how-to for people who don't know this stuff (like myself).
Using influence to sell
THis is a series on how to win over customers and influence their buying decisions. Everyone including your ideal clients have two levels of desire. The surface desire is what is top of mind. The inner desire is what they really want.For example in the fitness market, the surface desire of a prospect may be to lose weight or go to the gym. Their inner desire may be to look good in their clothing, be admired by others or to have a six pack.Example 2: An entrepreneur changed his product name from “How to have a happy home” to “How to get your husband to do what you want”. Which copy brought in more sales? - See more at: http://www.growingstartup.com/influence-strategy-series-1how-to-sell-to-surface-and-inner-desires/#sthash.Y4x1de0i.dpuf
FBI quietly changes its privacy rules for accessing NSA data on Americans
Microsoft has changed, they now know what will bring the antitrust hammer down. They no longer sabotage or hamper competition actively like they have in the past. Instead they're trying to be everything to everyone and cater to everyone's needs.

Does that mean they're altruistic and want to save the world at their own expense? Definitely not. But they also recognize when when they're not going to win a fight and have started to compete in markets they can't own.

That being said if they own a market (e.g. PC Gaming) they aren't going to exchange money for warm fuzzies.
Did you try generator expressions as well? I'd hope that the interpreter would manage to make them as fast as the loop form, but...
That's a red herring. Java only appears as fast as C++ for workloads that don't require speed, e.g. human time vs. computer time.
Java portability was a main feature of Java. Kill that and you kill Java. Java Android is not really Java.
We don't have those on American bathroom stalls, but it would be useful.
​Why has SQL Server come to Linux? Windows-only cloud makes no sense
Of course Microsoft is doing all this with the goal of making money at the end of the day.

But if you remember the Microsoft of 10 or 20 years ago, when they were bashing open source at every turn, spreading FUD and exploiting their monopoly on the desktop to crush competition, things have changed a lot. Not neccessarily because the "new" Microsoft is made of nicer people who just want to be friends with everyone, but because the world around them has changed.

The end result, though, is the same - Microsoft appears to be embracing open source and community-driven development processes.
Canadian province Ontario plans to trial universal basic income
Some of the treatments are expected to also reverse the effects of aging, so you wouldn't live for 1000 years in the body of a 150 year old. Although I suspect it won't be neat and clean. So if you're born into a world with aging treatments, you might live for 1000 years in the body of a 25 year old, but if you age and then get the treatments, even though you might have the body of a 25 year old, you might have some scarring or other effects left over (like an obese person who loses weight very quickly and has extra skin).
The Money Pulse – Your Experts in Forex, Finance and Business
Lol, what a bunch of a-holes.
I find cunt pretty much common among Australians too..
> So they've decide that the business model of the past two decades is doomed?

Isn't it? How much growth do you see around the PC and Office business?
I really wish someone would make a version of this form letter for HFT: https://craphound.com/spamsolutions.txt
Great example of this - my current client, who requires on-premise development, blocks Fastly. Guess what runs on Fastly? NPM.

So no development if you need to use npm. I can download e.g. Grunt from GitHub directly, but installing the local package immediately tries to download dependencies from npm.
> Apple has no dedicated console device they sell.

ahem ... http://www.apple.com/tv/ :P
Same goes for almost any language-specific package manager you could name: Rust/Cargo, Clojure/Clojars, Node/npm, Elixir/hex, Python/PyPi.

No matter which way you slice it, what CocoaPods is doing is a bit daft, especially at their scale.
This may very well be the first time that Cocoa Pods was told that they're consuming a huge amount of resources. They might not have even known that what they're doing is considered abuse.
But that's the old and busted neo-Nazi party. We now have a new-hotness neo-Nazi party (Alternative für Deutschland, AfD).

Sigh.
We'll find out, won't we? In the meantime, my audience is those who are willing to suspend disbelief and start learning about the technology to see if I'm right.
In the US most women feel men's bathrooms are nastier, and refuse to use them in general. Hovering & "seatpissing" is highly regional; almost none in the midwest of the US, while much higher (70% of seats?) in some parts of Europe (I am afraid in my experience Portugal is worst). Can't remember but the coasts are worse than the Midwest in the US and regions in California also differ.

It's partly a result of how clean you expect things to be to start with: if you don't trust that seats will be clean, you won't sit, and then you'll guarantee they're not clean. If you expect them to be clean, they'll remain clean(ish).
OTOH Homebrew also uses github as its package host and has a respectable 62000 commits and 5600 contributors and github seems to be just fine with it.

The big differences seems to be in the way they do their thing: I'm reasonably sure homebrew just git clones then updates the local repository normally[0], it has "only" 2500 files in Library/Formula, and because of its different subject it is way less write-active, CocoaPod has 1k commits/week which look to be increasing pretty much constantly, homebrew is around 350 with ups and downs.

Also not sure it matters, but homebrew has lots of commits updating existing formula, cocoapod changes are almost solely addition (publishing a new version of a package adds a new spec and doesn't touch the old one)

[0] which is exactly the bread and butter of github
Same here. What happened to me is, instead of asking myself "Is this a prime number?" I
kept starting to ask myself "Can this number be expressed as a multiplication of two other numbers?" for which the answers are obviously reversed.
I'm not sure which of us is sillier – you, for lying about this, or me, for spending my time calling you out.

Or, hopefully, it was just a typo of 53. In which case I'd be impressed, since I haven't topped 25.
Bret Victor's ideas lack a lot more than that. Complex systems contain hundreds of sub systems which in turn can contain hundreds of algorithms, which then contain many many variables. All interacting in some way. His ideas simply don't scale to this level (he works with < 10 variables, enough for a nicely packaged demo).

Chris Granger himself stopped working on LightTable because he didn't believe in the project, and if you use it, the live editing gives minimal gains in productivity. As well as being buggy, slow, distracting and potential dangerous when blindly running half complete IO operations.

As for Eve, well.. his first release was a visual programming tool that inflated 3 line sql statements to take up a whole page with, you guessed it, boxes and arrows. Now he is working on a 'card wiki' idea which effectively tries to hide all the program logic behind pictures and hyperlinks. Neither are good ideas, or once again, scale in any meaningful way.
How to Take Advantage of Algorithm-Based Marketing in a Competitive SEO Niche
Speaking of marketing... At 19 points with 0 comments my suspicion is that this article is an engineered "content marketing" effort on the part of Amplitude :)
BNP Paribas 3 hisse için tavsiyede bulundu
that was quick.
From MartyJS to redux
Decreasing the loop's upper bound to Math.sqrt(value) and only testing odd values after 2 are really simple ways to improve performance.

Beyond that it'd be nice to build a list of previously determined primes to reduce your number of checks, but I guess at that point it might just be better to implement classic primality tests...
I've heard 91 called the "smallest non-obvious composite". Assume that testing for divisiblity by 2, 3, 5, and 11 is easy - for 2 and 5 you just look at the last digit, for 3 you take the sum of the digits, and with two-digit numbers a number is divisible by 11 if and only if both its digits are the same. Also assume that you can recognize squares. Then 91 = 7*13 is the first number that you won't recognize as composite using these test.
Du.co | London, UK | Fulltime, onsite

Duco is a fast-growing software company that is changing the way businesses around the world control their data. Our web-based reconciliation service, Duco Cube, enables financial institutions across the globe to get to grips with cost, complexity and regulation.

A FinTech Innovation Lab finalist and multiple award winner, Duco is leading a wave of new, easy to use, self-service solutions for some of the world's biggest businesses. We are hiring fullstack engineers, UI engineer and a QA lead in London as we scale the team to solve challenges like performance engineering, security.

Our team of 10 engineers, VP Engineering and CTO are responsible for developing our product in Java, Ruby, Javascript and C++, there is a little bit of python as well for good measure.

You can find our jobs at https://duco.bamboohr.co.uk/jobs/ or email me peterdotchatterleyatdudotco

We have made some great hires this year, and hopefully can find even more this year on HN.
Because if you really are annoyed about it perhaps you should explain why it's wrong so it will eventually stop being proposed. People are wrong about all sorts of things, that doesn't mean we need to belittle them or be snarky.
There is a rule for divisibility by 7 - take the last digit, double it, and subtract from the rest of the numbers. If that is divisible by 7, the original number is too. For example, 91 gives 9 - 2 * 1 = 7, so it is divisible by 7
I agree, but compared to what he's put in, I'd be surprised if he has any ambitions of getting out anywhere near what has gone in. I think it's more of a lifestyle business (in the literal sense)... but I could be wrong! :)
A system like that would be surprisingly hard to build. The problem wouldn't be the ML algorithms - it would be just about everything else. A few things you need to solve robustly to build your counter:

1. The "same background" doesn't really exist for most cameras in most settings. Changes in illumination alone will make segmenting the background tricky. Moving objects in the scene will also be hard - think fountains and trees in the wind. Google for "foreground-background segmentation" to see some papers on this.

2. I haven't seen anyone use recent ML algorithms with less than high quality images. That may not matter, but it could matter a lot.

3. Extending recent ML algorithms to work with video at a high enough frame rate to be useful (10Hz at a minimum) may or may not be easy.

I'm sure that what you're proposing could be done. But I think that the number of small annoyances you'd hit would probably discourage most people who aren't treating the problem as a research exercise in Computer Vision.
I think the parent was expressing the project owners' thought, "we could do this, why not," and not saying they agreed with it.
I don't know Ruby, but it looks like a very clear implementation of a function to titlecase a sentence. I am right?
Mindful Presenter’s Learning Centre
>They also are all equipped with a white noise machine that's connected to the ceiling light switch.

That is most likely a ventilation fan. The white noise is a side-effect.
I am sympathetic to the author's argument. Programmers should strive to write understandable code. However, I think you should also assume that people reading your code are fluent in the language and its idioms. You wouldn't expect a novelist to write books at a first grade reading level just to appease people that haven't put forth the effort to learn the language beyond just the basics.
How to Raise a Powerful Girl
I work at a company whose office gets a fair amount of press for being cool and "stylish." What you don't see in the press is the half of the office whose only natural light is a 1 sq ft porthole in the corner. It's a dark, depressing work environment that shouldn't be legal. The other half of the building is "open" and "stylish." I seriously wish we had those German laws to prevent situations like this.
I am curious if it is in production at dubizzle and if so, how it is deployed.
Nope. Actual white noise. The company owns the property and built the building.
A brief overview of hack.summit() 2016 (part 1)
hopefully we can now move to using real artifact repositories.
The Lost Art of Compilation
Please reduce or remove the background music in your demo video. I could barely make out the sounds being picked and that was probably the only reason why I watched the video.
Google hires founder of 4chan
pjc50's question was rhetorical, and was offering a critique of the "sharing economy" mindset. That it should be pretty obvious is exactly the point.
Yes (first hand experience)
Jeremy Bernstein's discussion of NATO+3d modular has some interesting screen dumps of Max/MSP programs. [1]

Depending on the temperament of the "NATO.0+55 pilots" [2], the code could get pretty ahem "artistic" looking. [3]

[1] http://www.bootsquad.com/old_site/nato/nato00.html

[2] https://en.wikipedia.org/wiki/Nato.0%2B55%2B3d#NATO.0.2B55_p...

[3] https://en.wikipedia.org/wiki/Nato.0%2B55%2B3d#/media/File:N...
Yes, "cloud" is changing everything, for better or worse. Microsoft realized that enterprise, their primary market, LOVES cloud and that Windows technologies were much less capable in the cloud than open technologies for a variety of reasons, not the least of which is licensing.

MS is opening their platform to run on Linux because they want people to continue using Windows, Visual Studio, and .NET as development platforms. The core of MS's business has always been Windows, and secondarily, Office. Since so many people want to use the cloud, and on top of that since so many people want to use the cloud via sexy vendors like AWS, Microsoft needs the heart of their Windows lock-in strategy, which is .NET, to work on it.

These moves are defensive of .NET's place in enterprise development, and consequently Windows's place on the enterprise workstation. Once MS feels that .NET is far and away the clear choice for development in the cloud-centric world, they'll work to bring more people onto Windows as the cloud OS of choice (Azure, etc).
I have something similar bookmarked though I can't remember the original author. I've been using it for a while as quick note taking app and it works wonderfully. (tested on chrome)

javascript:(function(d){d.write('<body contenteditable style="font: 2rem/1.5 monospace;max-width:60rem;margin:0 auto;padding:4rem;">');var k = 'c'; var q = d.querySelector('body');q.innerHTML=localStorage[k];q.oninput=function(){localStorage[k]=q.innerHTML;}})(document);
Living to be 1000 sounds great until you realize some of the awful people in this world would be right there with you..forever.
I can just imagine a sql server team meeting where they discuss sql server's effect on laptop battery life. Given sql server's intended environment, I almost wonder if its activity is intentional.
weren't the nazis the ones who banned political parties? It seems merkel is being a bit... fascist.
`map!`, `<<`, and `0..0` are all unnecessary and distracting here. The availability of `capitalize` aside, `map`, `+`, and `0` would be better choices.
It's pretty nifty - it seems to pull in from your history, and then show `user/repo` for the most recent one you've looked at.
No...

If you were just born, then you will probably die by age 4000. But if you are 3999 then you will almost certainly live to age 4000. Your probability of reaching a certain age is always contingent on your current age.
Microsoft is just a 'Solutions member', which is among the lowest form of membership for Corporate entities. They are only required to pay $20K a year. Not required to contribute any engineers to Eclipse Foundation. The 'membership' portion of this announcement is pure PR. If they were setting aside real cash, they would join as 'Strategic Member' where they would be required to contribute real cash and minimum amount of engineers to Eclipse.
How would you define "dirt cheap"? One of the most popular CDN's out there (Akamai) charges $3,500/month for 10TB/month. Who's going to foot that bill? :)