skysight-inc/HackerNews huggingface dataset:
Reading LYAH or the wikibook might be a better way to go, but I don't like it when people say "go read a bunch of stuff" to me, either, so I'll try to help...

Do you want a step-by-step guide for implementing a monad, or using a monad?

The first thing to realize is that Monad is a design pattern. Like any design pattern, it's more applicable to some goals than others.

Could you clarify a bit?

"right, I have these two functions, one looks like `x = 1` and the next looks like `incr y = y+1`, what do I call on what to combine them with a monad, then how do I define a monad which only calls the latter if the former returns 1?"

The best interpretation I can come to is that you want some plumbing that will hide an implicit check that the value being passed along is 1? This would not fit "monad" well - for reasons I can get into if that's actually what you're asking.
The pumps at the local gas station also have such a button. Should he have mentioned those? A reasonable reader understands that "unique", "no one", and "anything" are referring to the market Amazon is selling the device in.
I think the problem is also vim which doesn't have a really great way to do syntax highlighting. At least not an easy way. Highlighting is all in a single thread and blocks which makes it slow on large files and the regular expressions seem fragile. I think a better way to do syntax highlighting would involve a lexer and bison instead of regular expression hell.
How you plan on funding the army? Pillage?
Life is probably easier and cheaper if you embrace advertisers but I can't stand them.
Well I got good news for you. I'm not doing any science.
The Apple lock-in only works as long as the users are happy with their (maybe limited) choice. Apple needs their customers to upgrade to new devices every few years.
It's a copy of CookieClicker

http://orteil.dashnet.org/cookieclicker/
> Apple has proceeded from being OK at walking and chewing gum to being good at it.

That may be so but honestly the last release of OS X that really worked for me was snow leopard. Just as a quick list of common well known issues with Mavericks that I have and I'm not the only one to have...

- Sometimes when I plug in my headphone, there's a bug and audio stops working instead of switching to the headphone. The only fix I found is to restart the computer.

- I'm using a macbook pro retina with 16GB of ram and mission control slows the system to a crawl whenever I want to use it. Expose just worked on a computer with 4 times less ram and vastly less powerful.

- Sometimes when I connect an external screen, the computer just crashes completely.

Honestly, I just wish Apple would start actually doing some QA and fix those issues... The machine itself is great and powerful but it's really a pain to have to deal with all the bugs. And I say that not as an apple hater (all of my computers are from them except my server).
I like Mitmproxy. http://mitmproxy.org
If you need help with depression and would rather try to figure it out yourself, consider Julian Simon's "Good Mood: The New Psychology of Overcoming Depression". Some of it didn't make sense to me, but I know much of it has helped me and a few depressed friends.

[1] http://www.juliansimon.com/writings/Good_Mood/
And yet if I "lost" 2 years of financial records...
>Google and Amazon both understand the web a whole heck of a lot better than Apple

I really doubt this. Google yes. Amazon no.

What has Amazon did that shows it "gets" the Cloud?

It has its one (and that's it) highly succesful store front (which is like a Google that only offered the search service). That's is, as far as the Cloud goes for Amazon.

As for AWS, the do get cloud infrastructure and services to developers. But that's not the Cloud (like CISCO is not the Internet), and it's a far cry from "getting" the Cloud itself, and being able to create cloud services people use.

Amazon can sell you the infrastructure to create Twitter, ot the new Gmail, or whatever yourself. But they don't really create those things themselves.
That being said, I think they've learned that getting your cash depends on you being satisfied, and their interests tend to align/dovetail with yours better than MS or Google. With MS/Google, you don't pay them, the advertisers or corporate buyers do and they don't care as much.
Neflix stopped handing out API keys in March of last year, they have been phasing it out.
I think it's a stretch to say this, itself, provides any notion of identity. You could certainly implement identity with any of the myriad ways of maintaining references with state, of course.
To see whether something is amiss statistically, we'd have to also check whether data of no consequence goes missing at the same frequency.

If organizations are really bad at storing data, but it only gets tested with important queries, incompetence is going to look a lot like malice (I make no case for which this particular incident is).

Of course, I've painted somewhat of a false dichotomy. If you are required by policy to retain email, doing so is unlikely to give you any benefit and may well cause severe political problems.

The most logical thing to do is severely understaff and underbudget the sysadmins responsible. Then, when the backups are needed, there's a significant chance they'll be nowhere to be found, and you've saved money in the process too.

That would be malicious incompetence, so to speak.
could use corporate taxes. Note the top poster said "individual rights".
Everytime I configure a dell to something equivalent to the analogous Apple product, it comes out about even or about 10% more...and in a hideous plastic casing.
NFLX would prefer we not measure their offerings against AMZN's. That's what I think, anyway. Amazon has more headliners than they know what to do with - they rotate them on and off Prime's frontpage regularly enough to give the impression you'll never watch all of it. Netflix, on the other hand... Netflix and I fought an 18-month staring contest over whether I was going to watch The Lincoln Lawyer.
I guess have an 'out of band' observable? Each observer that needs to communicate instruction back to the original observable can drop messages into an OoB observable, the original observable can subscribe to the OoB observable and then react to those messages as it sees fit.

Or do you think it should be an inherent feature of the stream itself? Isn't the point of IObservable to be the dual of IEnumerable, so calling Select on IEnumerable is a projection from A -> B, calling Select on IObservable is also a projection from A -> B, I think having an additional effect breaks that duality. So an Observable that has a side-channel or out-of-band stream wouldn't be an Observable, it'd be another category (which is why I suggested Pipes).

I totally understand why you'd want something like that, I'm just not sure it's fair to suggest Rx has design mistakes because of this though.
Congratulations on finding ways to make yourself feel superior to the lower class. You are exactly the type of person humanity needs more of.
Sony’s Revolutionary Curved Sensor
>Weirdly implemented, slow, and frequently unavailable backend services

Well, they do have the #1 app store, a syncing/backup service used by half a billion people, and the #1 music store in the world (per profit / people). Oh, and a huge music storage service.

I don't find iCloud or iTunes or the App Store slow myself. And I'm tens of thousands of miles from the US, and thousands of miles from a decent latency ISP.

They're "slow" and "frequently unavailable" compared to what? Is the experience of bying stuff from the Google Play store any better? Is the experience of buying music off of Amazon any better? (I'm not talking about Open vs Close, and other philosophical stuff -- I'm asking about what you claimed here, e.g that it's "slower").
The latest brain research is showing two powerful trends worth talking about in any conversation among friends and advisers:

1) The key role of sleep appears to be flushing toxins from the brain:
http://news.sciencemag.org/brain-behavior/2013/10/sleep-ulti...

2) Sleep disorders appear to precede mental health concerns, including anxiety and depression:
http://www.cnn.com/2012/03/30/health/conditions/sleep-apnea-...
http://www.adaa.org/understanding-anxiety/related-illnesses/...

Your brain is your performance and health computer. Please remember to take care of it.
From what I recall reading about this in the academic literature, the primary concern here is that speculative operations on the alternate paths consume power just like any other operation.
Should be easy to fix, criminally charge those involved with obstruction of justice, declare it an issue of national security and request that the NSA provide these emails.

Where are the drives, where are the backups? Why haven't the drives been sent to 3rd parties for extraction including reading platters directly.
lol Only Gruber.

Google is closest to the goal and Satya Nadella's new-guard at Microsoft is taking risks to get there as well. Among them Apple is doing the least to play nicely across platforms. So customers with 1-2 hardware touchpoints in the Apple ecosystem have to rely on Apple's competitor software and services.

When I think of the line of Apple products, I definitely don't think 'seamless'.
One of their supported storage primitives is CRDT-based, according to [1]. I, for one, am really interested to see how this works in practice. I've been quite excited about CRDTs, but haven't seen enough examples of them in the wild to get a sense of their drawbacks — for instance, how difficult it is to use them to model various processes or data structures.

[1] https://twitter.com/adrianco/status/476843040330743809
Thanks for opening up, I can relate to marriage-to-stay-together situation. I honestly hope you are feeling better. I upvoted because I feel like more people should see it.

>>> Why was I down voted

Don't worry, probably just some kiddo from reddit :)
x86 does this already since the P6, in fact the performance difference would be much worse if it didn't. The reason why this particular case has that behaviour is because there are actually two conditional branches - one for the loop itself, and the other for the check inside the loop. The CPU is able to execute both paths of one branch in parallel, but not the 4 possible paths of two branches in a row.

(I'm quite tempted to get out one of my P55Cs to try it out...)
The most interesting claim is that only email from outside the agency has been "lost".
> It doesn't mean that at all. You might as well say "if shoes are good enough for going to the corner store, then multiple pairs of shoes are good enough for going to the moon".

A large system can be decomposed into a set of loosely-coupled smaller systems (indeed, that's often a preferred architecture for a variety of reasons independent of whether the language is static or dynamic).

A trip to the moon cannot be decomposed into a series of walks equivalent to a walk to the corner store.

Therefore, no, your analogy is not valid.

> That doesn't make any sense at all. How is having information written down instead of having to constantly remember and/or deduce it an impediment to reading?

Visual (and mental, really) noise, mostly -- there is a reason why clear, effective, easy-to-read writing is often not writing that avoids all potential ambiguities and is sure to define as much as possible to avoid people having to deduce things. Making everything explicit is generally generally in tension with readability, not an aid to it.
Very well said. I have been tinkering with famo.us and it is looking very promising
Netflix just keeps creeping one tiny step at a time farther and farther away from the awesomeness that they once were.

I used to love Netflix. I was a loving, loyal, evangelical customer and fan.

Now I just find them somewhat useful. In the future, who knows?
This is the one I have been using for so long... and it is open source as well.

http://jsoneditoronline.org/
I'm all but convinced that this is true - there's been several times where my connection to every major site was absolutely crawling to the point of absurdity but good ol' speakeasy came in just fine to ease my mind and tell me that my connection was great
On your way to absurdism you skipped over a bunch of legitimate prior art in the consumer space, such as the OnStar roadside assistance system (press a button in your car, OnStar service rep starts talking through your radio), or even dialing zero on your phone.
We can all play the game you're playing. It goes nowhere. Here's a statement from you, above:

"he just doesn't know anything about the industry he's writing on"

Your statement is using hyperbole for effect, but it is false if regarded in isolation as a logical proposition (which seems to be your angle). Gruber's Apple sources are gold and he's very well-connected to an influential Apple developer community. He does not "know nothing".

It's fine to critique him, but be smart about it. He is myopic (Apple, Yankees, Scotch, letterforms, etc. - it can be tiresome), he has a tendency to interpret all Apple happenings in the best light, and he's overly critical of Google.

His writing has a lot in common with sports commentary -- Apple is "his team", and he can be chauvinistic about them, but he's trying, in his own way, to understand the whole league.
21 Bite-sized puzzles that coders will love
Sorry to disagree with Gruber, but I don't think a set of devices made by one company is the future. It's always been Apple's play, in part because of the consistency of experience that it affords them, but it also let's them off the hook on the hard problems--device interop, working with varied OEMs, etc.

Whether open (Google) or closed (Microsoft), platforms that run on multiple OEM devices are the right way forward. I don't know about others, but I don't want to live in a world where my only option to control my house, car, and life is to go to an Apple store. At least Google and Microsoft give us some choices.

So far, there's been no mention here of the developer experience. Gruber only mentioned developers, but not the 'developer experience.' It's like it doesn't matter anymore. Apple is finally doing interesting things in the developer area with Swift. However, here, they're playing catch up with Microsoft and, to a lesser degree, Google. Their language at 1.0 is similar to Windows Phone 7--very late to the game. In addition, you're still left with much of the less than desirable developer toolset. Microsoft developed C# and Visual Studio more than 10 years ago now. They're way ahead here. They also open source much of their developer stack now (the new C# compiler, TypeScript, web stack, etc.). Gruber doesn't even mention this aspect. I guess it's not important to end users, but it does make a difference with the people building for their platforms, devices, and services.

I feel like we're living in a constant world of incompatible systems whose (nearly) sole purpose is to "own the market": VHS vs. Beta, GSM vs. CDMA, Canon vs. Nikon lenses, and so on. This world makes the Internet and the Web seem like a rare anomaly. Tesla's opening of the patent portfolio in an attempt to stave off incompatible fuel stations is apropos to this.
I disagree.

Kindle is a shining example of this.

Apple on the other hand... well, they created iTunes... but that's really the only "cloud" technology that they have besides the actual iCloud (hosted on AWS, possibly?). Apple has shown that they struggle when creating web experiences for customer. Remember ping.fm?
well, considering they are claiming its only emails from the director, any email sent to her from inside would be available as a sent email from that person.
Honestly, and this is all my personal experience so not really generalizable, but finally admitting that my old startup had failed and we were going to shut it down was like getting released from a prison. Instantly you no longer have to worry about the thing you spent all your time worrying about and you can re-balance. It's pretty liberating in all honesty.

Just make sure you have people around to support you and also to use all that new found mental capacity on.
Reading his developer blog, I was completely caught off guard when he said (weeks in) that he had only then realized that there was a second phase of the game. Good for him for not just saying, "Oh, wow, never mind!" at that point! (But also, it's interesting that he found the first phase alone worth recreating. It's engaging, but most of the game's depth of story comes later.)
There are different layers of the cloud: IaaS, PaaS and SaaS.

The only layer Apple gets is SaaS and really only for its own apps/services. Apple keeps trying to do PaaS, but the anti-decentralization and specifically wall-garden approach of a seemless experience across all your Apple devices, but a sometimes intentionally crippled experience across other devices you own and a certainly deficient experience with devices owned by others with whom you may want to share an experience, Apple will always be second fiddle.

They might be able to get somewhere with HealthKit, since AFAICT, that may be largely a single-player experience (at least for a while). HomeKit on the other hand is a different story. The moment you move to a household with more than one person, they will need to either play nicely with other devices not their own or become increasingly seen as irrelevant. HomeKit only working with Apple devices is a dealbreaker for every home with at least one resident using a non-Apple device. Now that Android has a comparable experience to Apple, that's a fairly common phenomenon.

Google understands PaaS and SaaS.

Amazon understands IaaS and PaaS.
>Non-founders often will not get it, in my experience.

This is the kind of self important nonsense I would expect from a high schooler. Sorry, but starting a company is not the only way to feel intense ups and downs, or to put your heart into something only to be disappointed. Maybe thinking that you're problems are completely unique is contributing to the problem. There are lots of other people with their own problems who are either able to relate or at least empathize.
Why The U.S. Is Starting To Blow Up Old Dams
>There are real benefits, they're called convenience and compatibility.

Besides the fact that built-in regex literals are hardly any more "convenient" than a function call (a few keystrokes saved at best), regexes shouldn't be "convenient".

If anything, they should be discouraged. To quote JWZ: "Some people, when confronted with a problem, think 'I know, I'll use regular expressions'. Now they have two problems."

Oh, and "compatibility" doesn't come to play at all. Why would regex literals be any more "compatible" (with what?) than a regex object/functions? Compatible to what? JS and Ruby syntax?

>And what's wrong with tying a language to a specific regex syntax? After all, you're also tying it top a specific outside-of-regexes syntax.

For one, because you have to keep maintaining it forever, as part of the core syntax, whereas with a library you could deprecate it. It's not like there aren't several regex flavors, and approaches on how execute them (e.g:
http://swtch.com/~rsc/regexp/regexp1.html ).
Exactly.

And iTunes worked for three reasons: (1) it's a single player experience; (2) the iPod; (3) DRM lock-in (there is no longer lock-in, but only for songs purchased after the date lock-in was expired. iTunes Match was a service added to maintain lock-in after DRM-free music was announced.)
Nobody claims war creates wealth. People do claim that war creates wealth locally even as it destroys wealth globally.
I've seen a fair number of comments assuming malfeasance here, so I'm just gonna note an actual news article about this. From http://www.npr.org/templates/story/story.php?storyId=3217839...

> The IRS said technicians went to great lengths trying to recover data from Lerner's computer in 2011. In emails provided by the IRS, technicians said they sent the computer to a forensic lab run by the agency's criminal investigations unit. But to no avail.

> The IRS was able to generate 24,000 Lerner emails from the 2009 to 2011 because Lerner had copied in other IRS employees. The agency said it pieced together the emails from the computers of 82 other IRS employees.

So, reading between the lines here, it looks like the IRS doesn't archive email at the server level, and any copies of mail were retrieved from individual workstations.

I don't see conspiracy here. I see incompetent IT processes and a lack of mandated data retention policies. Maybe I'm predisposed to employ Hanlon's razor, but that's only because I've found it to be the best explanation for most situations like this. If it was a coverup, it's a terrible one.
This thread is 50 shades of gray, damn.
I think the best way to do well after failure is to be intellectually honest with yourself.

Polonius said it best "To thine own self be true."

As an engineer, in Seattle and the Bay Area, you will always have access to jobs.

For non-technical founders, you will have had gained valuable experience that will make you significantly more attractive.

You often have to wear multiple hats, manage your time, focus on what matters, and you gain a lot of experience in finance, shipping product, dealing with investors, dealing with customers, all of which is harder to get if you have a specific role at a larger organization.

Now, there are startups, and there are startups. If you quit your job and tinker at something for a few months to a few years and never really do anything to show for it (ship an MVP, hire an employee or two, raise or attempt to raise money), then, I imagine you didn't really learn anything, but if you were able to do those things, you will have gained real world applicable experience.

Being a founder, was the 2nd best thing that I could have ever done to my career.

My start-up didn't fail, but I ended up leaving because I was slowing it down.

My role now is basically a founder working for a late stage organization. I use lean methodology and entrepreneurship thinking to build new services to explore untapped market opportunities. Instead of raising funding with investors, my company will fund the growth of the service into a full fledged business unit.
Star Fleet Battles The Cnidarian Collection
Formerly known as the Koligahr for Star Fleet Battles, these jellyfish have developed new and powerful antimatter technology.
Btw, I have a coworker that has the external screen problem and he's had it crash 4 times in a day. He had to take it to the Apple store because it's a hardware issue.
I came here to post this joke. damn, damn, damn!
what the fuck are you talking about?
No, it's very much different than Google. Google doesn't have your cash at heart. They've largely been uninterested in your cash. The cash they do care about is that of the advertisers that use their platform. Apple is unapologetically interested in your money and less interested in impinging on people's privacy.

We can argue over which model is preferable to users, with may preferring to pay and others preferring the sponsored option, but you can't really say that Apple and Google are equivalent.

People like to frame the Apple vs Google battle as one of openness vs closed-ness, of an ecosystem with many participants vs a walled garden with just Apple. But I see it far more as a battle over how we choose to pay for technology...directly or indirectly.
"Thank you to all of the developers who have participated in the ecosystem throughout the years."

I'm not sure "thank" is the word they wanted.