skysight-inc/HackerNews huggingface dataset:
Python string formatting and UTF-8 problems workaround
"By default, Go programs run with GOMAXPROCS set to the number of
cores available; in prior releases it defaulted to 1."

This is exciting, but what are the implications? I remember something once about some 3rd-party code, and maybe even some stdlib code behaving poorly on multiple processors.
I fix this for the demo already :)
For heavy regular drinkers, alcohol withdrawals last a lot longer, with some symptoms (such as sleep-cycle disturbance) lasting years: https://en.wikipedia.org/wiki/Alcohol_withdrawal_syndrome
bletchley park maybe not a witticism, more of an easter egg
Same can be said for many (western) European nations...
Absolutely. But they have to do something, since standing still will allow their competition to eat them alive, and I think that moving into hardware along with their various services is a good move to at least try.

It's probably too early to call it either way; the Xbox division took something like 6-7 years to start posting profit. Surface was (still is?) in the negative, but it's been gaining traction lately and if it isn't already profitable it will be soon.

Surface in particular is a good example of what they should do in hardware: make something that nobody else really does and do a damn good job of it. There are other Windows tablets, but nothing comes close to Surface in terms of build quality and form factor. They tried to differentiate the Xbox One with Kinect, which didn't work, but points to that being their strategy. With Windows Phone though, I'm not really seeing it. The main draw is the OS (which isn't much of a draw because of the low marketshare -> no apps feedback cycle).
According to the article they wanted $1.5b, but decided to leave it open for another few hundred million because they could. As you do :)
There were actually two groups, each responsible for a single direction. I started recording after we paid and passed the first group.
One of the bigger sources of bugs in OO programming is state changing unexpectedly. Functional programming seeks to minimize that.
Bing may he a failure but it may hold on to certain niche searches like adult content.
Writing Angular 2 in TypeScript
They aren't even in the same ballpark. Hell, Google isn't even in the same ballpark as AWS and Google made $83million in the time it took me to read the article. DO is great, but doesn't belong in the same sentence as AWS.
Let's also mention how utterly moronic it is to type three our four entire english words for one type definition. Do you really want to type `unsigned long long int x = 4` all the time? No, you should never type that. It should always be `uint64_t x = 4`. (That's also ignoring the mental indirection required for every line of code that experienced programmers take for granted. Try explaining to a new programmer why 'long' changes storage size on platforms or why 'long long' and 'long' is usually, but not always the same size. Be explicit, not english.)

Basically, if you are still typing "unsigned long long" or even "long" in 2015 in a modern environment, please stop. But—you may say—we want long to be 32 bit on 32 bits and 64 bit on 64 bits! No, you don't. That makes your system difficult to reason about. Plus, you'll probably start casting your inputs to printf() instead of using proper printf type macros, which breaks things even further. Adopt proper types, use proper types, stop programming like it's 1975. Good luck.
> much smaller

Not really, they have ~118k employees and are planning to remove about 7800, so about a 7% reduction. For reference Apple has 98k employees, Google 55k, Facebook 10k.
I'll come back and post a link to the video afterwards. If I forget, email me using freelance /at/ adamloving.com
> If you want to see what life is like without access to modern financial tools, got visit an Indian Reserve in Canada. Housing is cheap there.

So the wealth which flows in resource-abundant places is due to banking, and subsequently the lack of wealth in some desolated lands is due to the lack of credit availability, and both have nothing to do with the natural conditions of those regions?
I'm a meat eater due to my biology more than anything else, I love the taste and I'm allergic to most fruits and vegetables (ORA).

Before the degree of my ORA was known, I did play at being vegetarian for 6 months for ecological, not moral reasons. I don't see a moral difference between eating a fruit and and an egg, or salmon and a herb, milk/blood and maple syrup. The arguments that fauna are somehow more alive than fauna has never felt very strong to me. We've all been evolving and finding our niche for about the same amount of time. We've all got our own versions of response to external stimuli. Its just much harder to empathize with an apple tree than a chicken, especially when it comes to the ultimate sacrifice.

However, the ecological arguments for vegetarianism around sustainability and CO2 emission seem sound for the standard american lifestyle.

Of course that starts to flip if you hunt (I don't). Large scale agriculture does more damage to the environment than culling native mega fauna, which is arguably beneficial. It flips again, if you have your own garden, supplemented by local, organic specialists. And then you reach a much better level of reuse/yield if you can feed scraps to chickens and pigs and fertilize your ground with blood and bone meal. (it always makes me laugh when vegans think their organic vegetables are 'cruelty free').

So, no. I don't think the implications of saying you are vegetarian are immediately obvious. The more I research it, the healthier and more sustainable a diet of mostly fruit and vegetables supplemented by the meat of a couple of pigs, 6 or so chickens and the occasional hunt seems to be. But if you genuinely believe that fauna are some how better than flora I guess that simplifies the equation and somewhere down that path you get labelled a zealot.

I suspect the same is true with programming. What you want is a system of mostly functional business logic that is supplemented with objects when it makes sense (modeling the state of an electrical circuit?!?), and the odd 'declarative hunting trip' when you need to cull the date from the database :)

It is possible exist on just objects, or just functions but variety is the spice of life and the sum is often greater than the whole.
> FP is largely defined by what it avoids

Why? FP is just a theory of computing, equivalent to all the other existing theories. It allows to do some analysis which is not that simple with the other theories (and it is crappy with the other important analysis methods, most notoriously with complexity analysis). It does not "add" or "avoid" anything at all.
> and a decent approximation is doable in pure C99 (ask me if you want a sample).

I'd like to see that.

I can see some pretty straightforward ways to do it with C11 and _Generic, but I don't see how C99 helps.
I can see you've decided to ignore what I actually said and instead substitute your own version.

I'll tell you what I can't comprehend – people who apparently find it difficult to accept that other people have differing priorities to them, and aren't mentally subnormal as a result.
Lumia 640 here.

Nothing bad to say. No regrets.
As someone who has been through C -> C++ -> C# and now F# and Haskell, I understand why initially you wouldn't see what needs fixing. The problem I have found as I have been working with larger and larger OO programs is that they're incredibly difficult to manage in my mind. Mutable state, dependency hierarchies, hidden state, unknown side-effects, etc. Moving to functional programming has made everything much simpler (for me).

The idea of an object is fine, but it doesn't need methods attached to it. Also, by making an object immutable, anything can have a reference to it, and do what it likes with it because everything else pointing to it essentially has a 'snapshot' of the world at that point-in-time.

That makes it very easy to move packets of data around a system, without the burden of the attached methods. And if multiple processes have a reference to the object, they know that what they know is true now, is going to be true when they come back to use the object again.

Once you detach the functionality from the data, and once the thing you're pointing at can't change, then you realise that actually everything you do (applying functions) is a projection from an input to an output, and that state is an emergent property of the function. Therefore you don't need to manage this morass of ever changing objects.

A request can project to a response, a query can project to a list of results, etc.

Then all outputs are dependent on only one thing, the input. Not shared mutable state, not unknown side-effects, etc. Then everything is testable and provable, and it's very easy to test and prove, rather than requiring elaborate mocking frameworks, dependency injection, etc.

The more I did this, the easier I found it to keep a mental map of my programs. And ultimately that's the major thing that programmers have to deal with. It's our own weak and feeble minds that get in the way of developing more complex programs, and we've developed these elaborate techniques to help ourselves.

For me functional programming is another one of those crutches, and it's a damn powerful one. Because I know that once a function, that projects an immutable type to another immutable type is written, it stays written. It doesn't suffer from code-rot as the rest of the app grows around it. I can then safely park that part of the program in the 'done' pile and never worry about it again.

Finally, most of the things that are supposed to be OOP's strong points (like polymorphism, encapsulation and modularity), I feel, can be done better in functional languages. Pretty much every pattern in the GoF Design Patterns book can be better implemented using functional techniques.

Anyway, your mileage may vary obviously, but as a reformed OO programmer, I'd definitely advise you to give it a shot. It takes a bit of time to sink in, but it's worth it.
Considering there was already so much confusion about the ARM-based Surface vs the x86-based Surface Pro line, I don't think they want to introduce additional confusion by also having the "Surface" name now apply to phones and restart that headache.
Nor does the linked article explicitly talk about so-called "mostly functional" programming, but lostcolony's comment is on point either way. Is there some context around your linked meme that implies mutable state or pointing-and-laughing?
These are pretty big to me:

The garbage collector is now concurrent and provides dramatically lower pause times by running, when possible, in parallel with other goroutines.

By default, Go programs run with GOMAXPROCS set to the number of cores available; in prior releases it defaulted to 1.

But how important is this? It doesn't seem like it affects the average user:

The compiler and runtime are now written entirely in Go (with a little assembler). C is no longer involved in the implementation, and so the C compiler that was once necessary for building the distribution is gone.
Live Coding conference proceedings
Oh, wow, I got it without even trying just by rotating my laptop screen 90 degrees (portrait vs. landscape if that make sense.) with just a web browser on this HN page (no other white screen needed).

I'm sure I've noticed this effect before, as I often stand my laptop on its edge on the floor like an open book when I'm not using it (easier to reach down and grab the body that way), but hadn't paid it much attention and had no idea of the cause.

Retina MBP if that makes a difference.
NYSE/NYSE MKT has temporarily suspended trading in all symbols
Try this short blog post: "Clojure Is Not For Geniuses" http://adambard.com/blog/clojure-is-not-for-geniuses/
treefunder, could you give us a bit of color on this? I have gone through the Q & A on the site and I don't really understand the value proposition. This seems like a bitcoin clone (a decentralized currency) owned/maintained by a centralized authority(treefunder inc).

> Why would someone want Jet over BTC?

> What does Jet "do"?

Also, your website is pretty devoid of any explanation of you or your services. Just a ton of resources and tools with no explanation of why anyone would invest time/dev hours/money into this system.

Thanks.
Too bad you were able to recover the phone - Cortana is great, for the intelligent assistant part as much as the voice interface.
So obviously the "move fast and break things" philosophy is meant for some fun web applications. But what's the equivalent "modern best practice" for systems that are much more weighed towards stability and resilience as opposed to new features?
The Man Who Taught Mutual Funds How to Invest in Startups
Yea but what if it was vendor agnostic? Rackspace has always been super expensive compared to the rest.
With the new scheduler I believe this is much less of an issue. It is huge though because there might be a bunch of data races in the wild that were hidden until now and are about to see the light of day. Hopefully most people test with -race these days.
I'm still wondering the "why" and the "how is this different from Bitcoin and other alternatives?"

Edit:

As vonklaus said, we need a little more information. You call it experimental, so what's experimental about it?
Babun, a Windows shell you will love
Because the nice guys wearing suit and tie tell them it is all perfectly save, just sign the dotted line and they will put your (loaned) money to work on the market...
25-50k is generous, but won't float the project. I'll take this as a reminder to send some meager grad-student dollars their way.
Unfortunately it seems as if there is a higher concentration of those people in some communities. Making them difficult to avoid if you want to use that tool.
Thread on mailing list:

http://thread.gmane.org/gmane.comp.lang.go.general/159797
Maybe! But proving an assertion like "Functional programmers are more arrogant than OOP programmers" or whatever is probably impossible. So here's my contribution to this debate: I write Haskell in my free time, and I'm not great at it, but if beginners ever need anything, e-mail me and I'll do everything I can to help. So for my part, I'm going to be non-arrogant and super-helpful and damn the rest.
NYSE Suspends Trading in All Securities
I think most of developer will do , When they see such huge opportunity .
Dribble and cofounderlab combine for indie game developers with different skill set.
e.g. I'm programmer seek a 3d animator/modeller
I know there’s a variety of led lighting options out there, do you have any recommendations based on your experience?
> We all agree that XBox is a huge success,

Do we? Aren't people constantly speculating about them spinning it off because it's a loser?
Both Intel and HP have donated to OpenBSD: http://www.openbsd.org/donations.html
Android phones have been a nightmare for me from a support point of view and for certain user groups Windows phones can – is my hypothesis – be a much, much more enjoyable experience.

My dad has some Samsung Galaxy (probably a couple generations old at this point) and doesn’t like it and doesn’t use it much beyond actually making phone calls (he even hates writing text messages). My mom has the simplest of the simple Nokia Lumias (also a generation or two old now) and she uses it all the time for all sorts of things. Browsing the web, communicating via SMS, Facebook Messenger, Whatsapp, reading email, making phone calls, taking photos (and sending those to people with exactly the messenging app she wants to use). She is able to achieve all this without ever needing help and the phone never gives her the feeling that she is not in control.

Sure, part of that may be differing attitudes of my parents towards technology (my mom has certainly a slightly greater ability to get used to and comfortable with newfangled tech), but I do think Windows phone is very friendly towards people. It’s very sparse, but if it does what you need to do then that’s a plus and it helps you feel in control.
He may be a good geographer, but he is known for his work in anthropology and history that is not peer reviewed and is nearly universally seen as a rhetorical success but analytic failure.
I'm gonna have to go with PG's advice here. Stop trying to start a company. You don't start a company just for the sake of it. Even if you have a project that's cool and useful, it doesn't mean it needs to be a company.

I'd focus on working on projects and rolling them out. See if people use them. If you can find a way to monetize, do it. Just build things to get experience. Don't try to start a start-up just cause.
What?

You use DNS failover and multiple load balancers.

FOO.COM A record -> 1.2.3.4, 1.2.3.5, 1.2.3.6

Then at 1.2.3.4, 1.2.3.5, and 1.2.3.6 you put a load balancer that splits loads between all of your clients.

Any LB goes down, and DNS client retries will deal with it. If any backend server goes down, your LB will deal with it.

Using this pretty successfully at digital ocean right now. What is the downside? I guess client DNS retries takes a few seconds, but for a rare case of a load balancer dying, seems not a deal breaker.
I'm pretty sure they got a donation closer to the lower $25,000 bound. I check the fund raisin page quite often and up to this morning it showed a total of $100,000 raised. It's now at $125,000.

Still great regardless of the amount. I'm happy that the money was donated to the project.
How much for these levels:

Vibranium

Adamantium

Unobtanium
Thanks for reply. We are all interning this summer, but have a lot of free time. Since we have experience with a startup. We realized that it's not just building the tech, but doing the selling, acquiring users etc.

Now that we know this, we are struggling to find an idea that we can build, but also have time to grow during the school year as well.
With such cheap Windows phones, I wonder if there's still a possibility that Microsoft can use them to make real revenue on services, or if offering those same services on the other mobile platforms is enough.

What again, in a Services, Services, Services Microsoft, is the point of a third-place mobile platform?
Because many people think of it and define it in terms of how it differs from the paradigm that they're familiar with, and because people often incorporate functional programming concepts into imperative program designs.
Gitcolony Enterprise is here the most advanced peer code review tool
I don't know that Microsoft, which still continues to have products like Windows and Office that generate lots of money, really falls into this category.
Trading Halted on NYSE
Looks interesting. Just signed up - the design immediately grabs me, and I'm looking forward to seeing what I can produce.
DO's UX is a game changer, I personally think is why they have been so successful in what seemed like a crowded market with the "same" business model as the others.
Azure is closest I think. Enterprisey cloud hosting.
Good feedback. We'll add some instructions to the page.
Unfortunately english isn't very precise: it's difficult to parse what MichaelGG was referring to by 'that'. I assumed he was referring to scraping (his previous sentence), but it's also possible he was referring to the CL case.

For the record, I maintain my belief that there should be a law that applies to scraping of publicly available sites.

> You wanna sue a business for scraping your site? Hey, fine, that's a civil business issue. (And really, there shouldn't be legal limits on that kind of behaviour to a publicly accessible system anyways
Seems like they were having issues earlier today, since before market open. Looks like a network issue based on the previous reports. Those were marked as resolved; unsure if the current issue is related to the previous but it seems likely.

Other exchanges and trading venues appear to operating normally.
I'm not sure picking off one of the weakest players in the market for that price is such a good deal.
I don't disagree with the thrust of this post, but

> When we first embraced Ruby, we were writing web apps in Java.

Avdi's reference to people coming to embrace Ruby is specifically in the pre-Rails time period. So you're talking about different, though absolutely connected, things.
> automatic formatting, linting and code completion

You are describing tooling that is used to write code, but not to read or debug it. And Ruby is exceptionally easy to write without any tooling whatsoever.

The hard problem with dynamic languages is reading the code and understanding what it is doing at run time. And that is where TFA suggests Ruby is terrible.
Obviously the new GC and GOMAXPROCS take the spotlight, I was just surprised about the new trace function.
The answer is NO to both questions. I don't see what's fascinating about my comment. I live in Tucson AZ and I work in the IT department as an Applications Developer. My department has 30+ employees and I only know of four other people in my department that own Windows Phones.
There is an interesting story on how NASA used similar techniques to debug a problem on Deep Space 1, from earth, they were using Common LISP, you can find a bit more detail in here (http://www.flownet.com/gat/jpl-lisp.html) look for 1994-1999 - Remote Agent. I remember one of the guys who worked on this gave a talk which was in youtube but I was not able to find it again.
> If the FP>OOP is similar to Structured>Assembly, then for some reason, the real world has not shown that same magnitude of increased benefits. Fix that perception and the root of "arrogance" goes away. Today, we don't say one is "arrogant" for explaining that structured programming will allow teams to write software faster with less bugs.

This is only true for problems above a certain (not entirely trivial) complexity -- otherwise, my structured code is WILDLY less efficient to code in. Further, structured code requires a keener meta-theory and more abstracting prowess to correctly use.

Similarly, FP has many of the same requirements to leverage the benefits over structured code in general that structured code has over assembly, and we just sort of get lost. Fully leveraging the FP techniques is sort of at the edge of monkey understanding of computation, and not everyone can really work well at that level -- which is why we don't let all the programmers design the architecture, regardless of language.

In the cases that we really applied it well, it seems to have consistently yielded massive improvements in reliability and throughput. Asynchronous, immutable data algorithms have been much of the latest innovation in the industry for certain applications (stretching from database queries against large data sets to firewall routing rules).

IMO, monkeys are kind of dumb and humans tend to think too much of ourselves, in general. Several of our technologies would work better (like they should in theory) were we slightly less dumb in our day-to-day execution.
Have they really come up with such a great one after the M8? The M9 seems to be pretty weak.
Where I work they call it "rebalancing."
+1: insightful. Honestly though, despite the sarcasm, that's not a bad idea.
Which Mental Tasks Should We Offload to Computers?
TempleOS has no networking :)
Goodwill if nothing else. I mean it's probably less than they spend on toilet paper in a month. At their scale, it's not an amount that has to have anything "in it" for them.
13 Tips for Successful Email Marketing Campaigns
A coworker just noticed that - my Nokia is about the same weight as his larger Android phone.

In my case, the phone isn't thick enough. I had problems with it slipping out of my pocket (I once went back to the car looking for it to find it on the ground getting rained on), so I added grippy skateboard tape on the back.

If I change phones, I'd do it again. Why not just buy a case? Because to get a grippy case, they're too grippy and will hold onto the cloth in my pocket when taking it out. The skateboard tape is "just right".

Someone ought to produce & sell grip-tape with die-cut patterns in it. Peace-symbol, happy face, Totoro, etc.