skysight-inc/HackerNews huggingface dataset:
I feel likes there's a middle ground between acting like a 'pussy' and barreling headfirst into something.

I mean, the guy who takes the time to make a spear and plan an attack is probably gonna live a better life than the dude that charges right into a slap-fight with a lion and the other dude cowering inside the cave.
Yes, I think you will find the public perception of the police to be much different in urban inner cities than in small midwestern towns.
I believe you are thinking of the retarded potential http://en.m.wikipedia.org/wiki/Retarded_potential
> Its absolutely criminal that applying a recommended update with security critical fixes in it should turn my computer into a DoS device for my local network.

Let's be careful. Extremely irresponsible and horrible? Yes. Criminal? No.

We don't want to give the EU any more ideas about who to bully next. It could be me or you (in effect if not literally).

If you've signed a contract with Apple that there will not be breakage, then it's a matter for civil (not criminal) court.
As Apple has full control over their hardware and the selection is limited, I expect better QA from them. I dealt with spotty WiFi driver issues with them in the past and it took months to get a fix.
Yosemite has been a massive mess since the day it was released - easily the most buggy, unreliable OS I've ever used. It is a stark contrast to the solid reliability and performance of 10.8/10.9 and every update seems to make things worse.

It's as if Apple is no longer spending as much time on stability and performance and a lot more on flashy bells and whistles.
Seems like you'd have a similar problem with almost any job interview for any type of position.
Sorry you had a bad experience. Just curious, have you tried asking for help on /r/rust or irc? I find Rust community is pretty friendly and helpful.
Actually, this raises an interesting issue.

You truly can't speed up software dev by adding more people (beyond a certain point)---it's not just on late projects that it is true.

But you can do that on testing. If you want to run 1,000 tests 10 times each, to drive down the possible rate of errors to near zero, you just need to have 10,000 people run one test each.

So basically, you can make the entire process take only as long as the longest single test.
I'd focus on the distant goal: Getting this coworker to make higher-quality contributions in the future. (Which helps him/her in their career just as much as it helps your project). In that light, I think it's doing them a favor to be honest. Refactoring their code for them (cleaning up their mess) isn't really teaching them much, or setting yourself up for anything but a repeat of these events. In your position, I'd probably reject the pull request and give them a handful of pointers/things-to-work-on.

You don't have to mean about it, just be straightforward and make sure you're only addressing the inadequacies in the code itself, not attacking them as a person. I'd try to convey this message (in your own words): "I appreciate the hard work you've done. That being said, I think you're a very capable programmer, so I'd like to see you push yourself even harder. If you were less-talented I would accept the pull-request, but I'm betting that we can get even higher quality output from you."
If the industry is unwilling to invest in the training or tooling for a safe language like SPARK Ada, is there research into "easier" safe languages, something between C and Ada? Or do companies like Boeing still expect to be writing new avionics safety in C in 2030 or 2040?
Actually, we have a way to boost the immune system that has none of those side effects - regular, moderate exercise.
Yeah - living long enough to reproduce in modern times is easy enough now - but it wasn't back in the day.

I do wonder if survival back in the day actually required the level of risk taking that adhd people are capable of. If you stayed in one place - maybe you ran out of food - things like that.
I've heard Japanese doesn't really have "curse" words. I can't say how true that is.
With Mavericks I was okay connecting to two 30 inch Dell displays. Once Yosemite came out, I would face problems with resolution on the displays switching or even better I would be forcibly logged out. So I gave up on dual monitors for a while until recently but now I face CPU usage issues.
if you were trying to it wouldn't be a very strong argument since Windows has to support hardware from a million different vendors and deals with a lot more third party drivers.
The Clojure and Go people always like to talk about their non-object systems, which are of course very object-like. The only real functional purists is the haskell community.

I'm personally working a new language/programming environment right now based on traits/mixins; there is still a lot of fun to be had there.
Ubuntu called - 15.04 just came out, they replaced the whole init system, pretty flawless. 14.04 still great. Pick your flavor, KDE is amazing now. And Canonical is doing the same thing Apple is, ignoring the desktop to focus on mobile! But at least it just stays reliable rather than getting worse every release...
Out of curiosity, what's the best solution to this? One thing I noticed is that every loop will pass through an entry less than 100, so you only need to remember the last 99 numbers below 100 when checking what's been seen-so-far.

You could also precalculate or cache the answer for 1 through 100 to save rerun time.

But maybe a little bit more math would reveal much better optimizations.
Surface Pro 3 had awful wifi reliability at launch, but it's only gotten better since then. Unlike OS X's wifi.
>Honestly, we haven't had many issues with it, so I don't know that I could agree it's terrible.

If it works for you, then it works for you.

The one thing I know for sure is that peer reviewed studies over the last 50 years show that work sample tests are the absolute most predictive tests you can perform.

If what you're doing is as close to a real work sample as you can reasonably get, then you're probably doing better than 95% of companies. And from your description of your process it sounds like you are.

>It seems a lot simpler than and just as effective as doing a pair programming event where you have to make sure that both people have not seen the particular task before, which basically means the interview will have to be completely customized for each candidate.

The pair programming isn't necessarily essential in my opinion. The essential part is eliminating the artificial adversarial and timeboxed nature of the traditional whiteboard interview.

>it means it's pretty hard now to compare two different candidates.

That's actually a pretty key insight. The practice that many companies have of allowing interviewing engineers to use any problems they want is completely opposed to this.
Do you have Ubuntu on a Mac?
> One of the main issues, in poor neighborhoods is the government of these places invest very little in them and typically the only governmental presence is the police

One of the reasons they often invest very little in those places is because they have very little...local services like police and public schools are often largely funded out of local budgets, which come largely out of local taxes. I think things would be a lot better if public services were locally administered but funded entirely from the state budget, with a large fraction of the allocation determined by the number of relevant people in the district of the service.
IMHO local privilege escalation on a supposedly personal and single-user computer isn't quite as bad in comparison to DoS'ing the network.

There's also claims that 10.10.3 doesn't fix the vulnerability either:

http://www.forbes.com/sites/thomasbrewster/2015/04/19/apple-...

http://9to5mac.com/2015/04/21/os-x-rootpipe-vulnerability-se...

Waiting for 10.10.4 might be the best choice for now...
That's not really Apple's doing though.

Hamachi has always been a buggy thing. I would get kernel panics in 10.8.x with it. I stopped using it because of that.
Why NASA Called the Northwest Indian College Space Center
It is happening on my late 2013 Macbook Pro. It seemed like 10.10.2 either fixed the problem or reduced it to me not noticing. But the 10.10.3 update has made working remotely incredibly frustrating.
A lot of the trouble here comes from Clojure's cryptic function names and non-static-typing making it hard to get work done. The only real mistake I see a unprofessional choice of language. The mistakes and successful debugging are totally fine.
10.10.3 is not the worst; the transition from 10.6.8 to 10.7 was the worst migration Apple ever made. I routinely got kernel panics from three or four different causes, poor wifi connectivity, etc....

A number of commenters are saying good things about 10.8 - I've been on 10.8.5 for several months - and, for the first time in a couple years, I actually have to deliberately power cycle My MBAir to put in Security Patches; 10.8.5 is just that stable. I'm constantly amazed to check and see the uptime has been good for several months. The Beachball of death is (mostly) gone. The random freezes (with the exception of the Notification Tray Bug, which Apple hasn't bothered to fix, but they have somehow reduced) are almost completely gone. And, best of all - I haven't had a Kernel panic in 6+ months.

It's going to be a long, long time before I move off of 10.8.5 - life is to short to be screwing around with unreliable operating systems.

What I don't understand - is given that Apple controls the Hardware and the Software and the Drivers - why do they keep releasing such crappy operating systems for 6-9 months every year? Why can't they slow down their tempo, and release a new operating system every other year, but actually release a quality operating system, the way they release quality hardware?

Marco is absolutely right in http://www.marco.org/2015/01/04/apple-lost-functional-high-g... - Apple is seemingly taking pride in releasing shoddy software on a rapid pace, which is the antithesis of what you would think they would want to do to maintain their "quality" brand.

Another problem with Apple - is that the operating system that I would like to put my friends and family on, 10.8.5, is hard to do. At least with Windows, you can buy them a Windows 7 CD for $45, and give them a stable place to start.
That's actually part of the vision for http://cafe.com, launching this fall.
Red Alert 2's "all your units explode" copy-protection was incredibly stupid. It would let you type in something like a 30-digit CD-key, and then not prompt if you got it wrong and trigger the "exploding units" code in the game.
A merge will provide you with a single commit-message, rebasing will provide you a commit-message for every commit, making it easier to remember what the intent of a change was. Sometimes that isn't clear.

Regarding the "rebase, commits will jump between features" part: that really depends on how you do things. On my projects, we use git flow. In such a scheme, every branch you would rebase, belongs to the same feature or bugfix.
Ask your friends who aren't software engineers. How many of them solve problems they've never seen before while someone watches over them during an interview?
The vast majority of other professions spend their time talking about past projects.

For instance all my designer friends show off their portfolios, then maybe they get a take home work sample. My writer friends submit samples of their work. And my engineer friends discuss past projects they've worked on.
Needs more cowbell!!!!

3 is not enough.
It must be related to particular hardware combinations. We have 9 macs here of various ages on Yosemite with no problems. We had one machine go totally wonky for a while, but it turned out to have a bad memory chip (off-brand memory upgrade that we did).
Could you tell me what the agenda was? I didn't catch it...

Other than making the NYPD look bad of course. That I got.
> So I suspect that there are some important confounding factors involved!

Hence, I only "suspect" that there are confounding factors, I do not in fact "claim" that there are confounding factors.
> the first byte code based VM language

UCSD pascal would like to have a word with you. Circa 1980

> fully object oriented and the first byte code based VM language.

Smalltalk would like to have a word with you. Circa 1984

> Java was the first maintstream GC language

Basic (in all its variations) would like to have a word with you. Circa 1968; And perhaps it is going to bring along its buddies Lisp (1958?) and APL (1950-1960, depends on who you ask).

All of these languages were mainstream at one point or another - in a much smaller world, but still, mainstream.

Java wasn't the first to offer all of these together - Smalltalk did that in 1984, and I'm not sure Smalltalk was the first.

> Java brought programming to a higher standard with clear syntax, easy of use and a much faster learning curve than languages up to that point. That paradigm gave rise to new languages like Javascript and new designs for large scale software.

Java's syntax is clear only to someone who is versed in Java (or a Java like language like C, C++, C#). Python came out at the same time (1991) and brought a syntax much, much clearer, with a much faster learning curve. It was also VM based and GC, by the way - and having programmed both in 1991, I can tell you Python was often much faster (mostly owing to dicts being implemented in C, whereas Java was all interpreted).

> So, I think it's irrelevant if Java would make it if introduced today since I am not sure today would be here (or at least in its current form) without Java.

I agree. But I don't think that's necessarily a good thing. Specifically, I don't think Java deserves any accolades. It's the COBOL of the 21st century. If Java wasn't around, and Python took over, I think we'd be in a much better place. If Java wasn't around and C/C++ continued their reign, I supposed we'd be slightly less well off. We don't have to agree on opinion. But we should be able to agree on facts.
Yes but here is how your word of mouth for that goes:

A: should I buy this game?
B: I played it and it's just stupidly balanced.
A: Ok I guess no then.

Notice how in no part of the exchange is anyone going to be communicated any pertinent information about the context, nor do they have incentive to do so.
>Yosemite has been a massive mess since the day it was released

That's pretty unfair to say without giving examples.
That begs the question, what is taking up all the CPU?

Is the GPU not doing what it should be, and somehow the OS has fallen back to software rendering everything?
> easily the most buggy, unreliable OS I've ever used

Are you 10?

Seriously, when did you start using Operating Systems if this is the buggiest, most unreliable OS you've ever used.
If Java was released today, it would still be valuable. Java is a small, well defined language (without many surprises). Java runs on an open source platform, OpenJDK. The JSR's are incredibly well designed -- Web programming (Servlet, JSP, JSF), Message Driven Beans, JMS, JPA, and JAXB.

If you look at benchmarks of web applications/frameworks, Java-based ones are blazing fast.
so, probably uncool to not be an Apple-basher now, but I am on 10.010.3 and run 100% WiFi and Bt at home from my 2012 Mini to an Apple Airport 802.11ac base as well as a 2012 MBP and do not see this level of TOXICITY.

We have approx. 15 Macs in the office, all on Yosemite, mostly Retina MBPs with a couple of older laptops and have been seeing occasional WiFi dropouts on machines, although the situation seems to be resolved if the affected machine is restarted.

I'm not disputing that people may be getting a TOXIC ride on Yosemite, but the hyperbole seems a little extreme.
I don't know, but Java definitely succeeded at least in part because of the programming environment at the time.

I didn't live through the time that Java saw it's rise in use on the enterprise, but what I've been told by others that was a big deal at the time were two things combined that made it attractive, and it being one of the few languages that was very accessible that had these two characteristics. These were:

* Garbage Collected language.

* Being able to write code in Windows (which is what most enterprise developers used then and even now), and deploy on Linux/other OS reliably.

Again, this is just what I've heard from others that were there, so feel free to correct me if I'm wrong.

Today, there are other options, so maybe it wouldn't be as big a sellilng point. But to me at least, it is still one of the languages that allows this the easiest by far.
The lack of grammatical genders in English is also a significant difference from German, IMHO.

It's interesting that of the largest economies in the world, the non-grammatical-gender languages seem to reign supreme (English, Chinese, Japanese).
I feel the same. For our build farm at work we have to reboot our Mac Minis every two weeks otherwise they just stop being able to talk to the network. This started when we updated to Mac OS 10.9 and hasn't been any better with 10.10. The lone circa-2006 Mac Pro we have in the farm has had no issues though.
I think being able to do syntax extensions (a la LINQ) as a language feature would be great. Although I don't do much of it now, when VB.Net introduced XML literals I craved it in C#... other nice to haves would be regexp literal notations (or even expressions like perl), or template string handling like ES6.

It's a really nice time to be working as a programmer, although the proliferation of options has gotten to be nearly too much to keep up with even the fraction that I try to.
I don't like how ADHD is viewed as a disorder. I was diagnosed at an adolescent, in my prime.

I like to think of it as a gift of creativity.
Why do you say strange? Linux has thousands, maybe tens of thousands of developers working on the kernel. The pace of progress is absolutely monumental.

This isn't strange, this is inevitability. OSX and Windows simply cannot compete, Im rather shocked that they are still trying.
In a couple of years, your conversation will sound like this:

You: so, what are you doing these days?

MBA: well, I've been at McBainCitiGold for a couple years, but I'm getting bored, I'd like to start up!

You: oh really? Go for it! I really don't regret doing it myself.

MBA: yeah, but I'm just waiting for the right idea. And the salaries are too low. The kids, school, car, condo... By the way, do you have any ideas?

Wait a few more years and this time they'll tell you about how they'd like to invest in startups, but the entrepreneurs ask for too much, so they just had to invest it in property instead. Or are on their 17th meeting with a poor founder who for some reason (location, CV, lack of connections) is stuck raising from this type of amateur angel, unable to pull the trigger and "keeping options open".

This being said, I don't blame them. Startup life (outside the megafunded) is tough, has low expected value, requires sub-optimal life decisions (goodbye family) and, I think, only fits certain types of people who are very independent minded and enjoy that kind of challenge. The MBAs I know who did it with the express intent of getting on with a company fit that type, and one of them has hired his 100th employee last year.

When I hear a corporate type say "oh, I'd like to do startups" I think it's pretty similar to hearing many people say "I'd love to try the military". A passing thought, either being polite (admiring your life choices) or to be rapidly dismissed once encountering what those career paths entail.
I want to hope it's RAM OP is referring to. But if it's disk, that is way way too low of a margin. You should keep at least 10% of your disk empty especially if it's an SSD.
The Clojure in the article isn't idiomatic, as the author admits. You could do something very similar in Clojure, though the details are different. In fact when I tried this problem my solution was shaped about like yours.
If you think exactly like I do, you may not be the ideal candidate.

However, if your approach is so radically different that I can't see how you got there, you may not be the ideal candidate.

Don't worry about being different in your approach. It is, however, very important that you are able to keep someone on the same page.

Edit: autocorrect
You could just plug into the ethernet.... oh wait... you can't do that with a few of their models.
Disabling transparency will most likely help tremendously on the CPU load. In System Preferences -> Accessibility -> Display -> Uncheck "Reduce transparency".
So much for the promise of the new macbook that does everything wirelessly…
Collections. I tried to set the flag to allow them. This used to work in the dev release I downloaded 2 months ago, but there is a new error that says unstable features are not allowed in the beta release and I cannot override an outer flag –– or something like that. At that point, I just gave up.
> easily the most buggy, unreliable OS I've ever used.

Windows ME?
If so, where are the bells and whistles? The UI has been stagnant or in regress since 10.5. They've, what, added blur shaders, scroll bars, and reskinned to a fisher-price icon set? It's not like they don't have the money to pay for a large enough, good enough dev team. They just gave $200B back to investors!

My bet would be that they never got around to bringing the core dev team back from the iPhone. I don't think it's a mistake that the last Mac OS X upgrade I was excited about happened in 2007. Still, that was 8 years ago! They should have noticed something was up with the replacements long before now!
I don't recall ever seeing Apple use an Intel solution for wifi, only Broadcom and Atheros. These are the only plugin kexts I see inside IO80211Family.kext:

AirPortBrcm4360.kext

AirPortBrcm4331.kext

AppleAirPortBrcm43224.kext

AirPortAtheros40.kext

They each support multiple chipsets so the kext names that appear so specific are a little misleading, but it's still just those 2 companies apparently.
It's true that this is an issue. But social cohesion and cooperation can mitigate some of issues that exist with respect to funding. Yes, it would be better if there were at least something like 50/50 local to state funding for gov't services. However, the transient aspect of some of the residents don't allow the community building which helps other neighborhoods with more stable residents. however, we do have the example of poor immigrant communities (even African) which because of the tight cohesion, can overcome the funding issue. It takes energy and cooperation and dedication. To be sure, this exists in poor white areas too --again, they suffer from lack of 'community' and cooperation. And I wish local government would step in and intervene instead of just having the police deal with the symptoms --it's the quick fix, the bandage. Teach people and support their efforts to build their neighborhoods, give them opportunities to advance and join in on the rest of society rather than keep them at the periphery. Instill the importance of education. Make education "cool", not something to look down upon.

I grew up in a mixed neighborhood with UMC, middle class and poor kids. Poor kids had a pernicious tendency to want to avoid learning and actually made fun and put down kids who attempted to get serious about studying. It was a kind of bullying. Fortunately, I got along with them so they did not bother me, except rib me about being the 'kid who studied and did homework.'
No I'm not 10 but thank you for asking.

My team has a mix of MacBook Pros ranging from 2011-2014 - everyone has daily - yes daily problems with Yosemite.

I have never had an OS crash and lock up as much as I've seen in Yosemite.

- Beach balls are a daily occurrence.

- Finder crashing when switching from wired to wireless.

- iTunes refusing to launch for seemingly no reason.

- Failure to map network drives until finder is force killed.

- Poor wireless performance.

- Corrupt boot process.

- Excessive CPU usage from window server service.