skysight-inc/HackerNews huggingface dataset:
Haskell functions return side-effects using the IO type, with the boilerplate plumbing being hidden with monads and do-notation. "main" in Haskell by default has a return type of "IO ()", and any "IO" values returned by that function are executed by the runtime.

The end result in this case is something that just looks and feels completely imperative.

but if you were to try and call, say, the "rmdir" function inside another function that didn't have an IO return type, you'd get a compile error. (More specifically, you could technically call the function, you just couldn't return the "IO" value as a result, so it couldn't perform any actions).
Fluxible – Build isomorphic Flux applications
The sort answer to your question is no. Just like dreams being unable to use any visual imagery, the same goes for concepts like bright, dull, color, etc. are abstract concepts that I really can't put any particular image to. Rule of thumb is that if you can't fully describe it in words that don't involve referring to visual cues, I don't know what it is :) As for feeling it ...it depends. I myself can still see differences between light and dark, as long as they are different enough. Think lightning at night, a lamp turning on in a dark room etc There's no color, shape or anything like that when I see that though. I therefore kind of know what seeing is, but only a very small portions of it. For people who are even more blind than I am, meaning ...no vision at all ... they wouldn't really 'feel' it, its oftencompared to imagining you have a sense that you actually don't have, like a dolphin's ability to always know where north is ...at least ...it was dolphins that coulddo that, no?
India SC orders to stop advertisements relating to sex determination
> IO type

:)
In the last year I filed 7 bug reports to Apple.

One was closed as a duplicate. For another one they requested additional information.

The other 5 reports received no response at all.
I like the Pattern thing. However, it seems to me that you're going to quickly run into trouble if you need to even vaguely emulate shell scripting. Shell utilities live and die by their options. It's unfortunate Haskell supports neither named arguments nor default values. Which means that in order to emulate options, you would need to pass records to your "shell" utility, which, on top of being cumbersome, forces you to prefix every option in a way unique to your utility, since you cannot have two records with the same fields in the same namespace...
Very useful, thanks. Basically: "your age to retirement depends entirely on your savings rate, as a percentage of your take-home pay".

So, in short, try to live on less, put the rest in the bank and don't spend it. Live on what you need, avoid needless luxuries. And avoid credit card debt like the plague, right?
Math notation is OK, our ways to represent it digitaly are bad (because math notation isn't 1-dimensional string of symbols, it's actually 2-dimensional).

The solution is to make a way to represent it properly, not to throw it away (because we don't have a better 1-dimensional alternative).
Yes, the code uses the IO monad, you might want to look it up.
Two Senators Have Proposed a Tax Holiday Tech Companies Would Love
Slightly higher performance tune ? ECU remaps and similar devices can add significant performance improvements typically around 30% more torque and power.

Car manufacturers generally aim for their cars to be mostly identical regardless of the country they are sold. Hence they are often targeting lowest common denominator country emissions levels.

And I've done ECU remaps before. You definitely do NOT need to upgrade brakes and suspension.

Example: http://www.bluesparkautomotive.com
I always thought he'd be that way. I remember an old copy of The Secret of Monkey Island had a comic take on anti-piracy protection [1].

[1] - https://upload.wikimedia.org/wikipedia/en/d/df/Secret_of_Mon...
any links/proof to back your claims?
So what should he use instead?
So what if there was ? Everybody including myself (technical) would just install it regardless. We place faith in companies having proper testing procedures.
I'm sure this has been argued to death but the counter argument is invisible formatting changing behavior is a bad thing. Sure if you get your entire team to use spaces or the same tabs great but passing open source code around to lots of programmers some of which use tabs and some of which use spaces ends up leading to wasted debugging time when someone used a tab where they should have used a space or visa versa.

On top of that I find it invaluable to be able to space out debugging code. Example

void SomeFunc() {
int x = doSomething1(1, 2, 3, 4);
int y = doSomething1(4, 5, 6, 8);
int z = doSomething1(5, 6, 7, 9);
printf("xyz=%d,%d,%d", x, y, z);
int a = doSomething1(0, 2, 3, 4);
int b = doSomething1(1, 5, 6, 8);
int c = doSomething1(2, 6, 7, 9);
printf("abc=%d,%d,%d", a, b, c);
int d = doSomething1(6, 2, 3, 4);
int e = doSomething1(5, 5, 6, 8);
int f = doSomething1(7, 6, 7, 9);
printf("def=%d,%d,%d", d, e, f);
return x * y * z + a * b * c + d * e * f;
}

vs

void SomeFunc() {
int x = doSomething1(1, 2, 3, 4);
int y = doSomething1(4, 5, 6, 8);
int z = doSomething1(5, 6, 7, 9);
printf("xyz=%d,%d,%d", x, y, z);
int a = doSomething1(0, 2, 3, 4);
int b = doSomething1(1, 5, 6, 8);
int c = doSomething1(2, 6, 7, 9);
printf("abc=%d,%d,%d", a, b, c);
int d = doSomething1(6, 2, 3, 4);
int e = doSomething1(5, 5, 6, 8);
int f = doSomething1(7, 6, 7, 9);
printf("def=%d,%d,%d", d, e, f);
return x * y * z + a * b * c + d * e * f;
}

On a long functions I find it much easier to see/find/delete the debug print lines by indenting them separate from the real logic but I can't do that on any language that enforces code blocks by indentation.

Commenting out also because an issue

void SomeFunc(int v) {
bool doit = v > 5;
if (doit)
{
DoSomething();
DoSomethingElse();
DoSomethingOther();
}
}

For testing I often want to comment out the if

void SomeFunc(int v) {
bool doit = v > 5;
//if (doit)
{
DoSomething();
DoSomethingElse();
DoSomethingOther();
}
}

If I was in python I can't do that

def SomeFunc(v):
doit = v > 5
#if doit
DoSomething()
DoSomethingElse()
DoSomethingOther()

Error! I have to format the whole function just to comment out a line for testing. Yes in this case I could put `if true` (then requiring two changes instead of one) but there are plenty of other cases where code blocks by indent make it really annoying to work with my code.

So no, significant indentation is not a good thing.
> but the deafening hype is slightly puzzling.

> With time, React Native could become for mobile what Qt is on the desktop -- and that's high praise in my books.

Sounds like maybe you're not so puzzled after all?

I'm not sure what you're hearing is hype. I think it's just excitement. Nobody is declaring this as The One True Way just yet, but a lot of people (you and I included, it seems) are cautiously optimistic that it could make mobile development a lot better.
Well, the OTHER useful example is STEPS project of the VPRI institute which claims that you could build the equivalent of our modern desktop software which much, much less code.
The big issue with this project is that AFAIK no code is available..
But it could be an interesting way: maintain an existing enormous codebase and build from scratch in parallel another one, then meet at the middle.
SugarCRM to Vtiger Migration: Complete Guide
Ok get ready for a rant about 1st world problems.

It seems confused about sound. I had to uninstall Google Play completely so my official JBL OnePlus headset wouldn't start playing music in Google Play instead of Spotify.

These issues continued when I made my first audio recording. I was at the doctors and recorded the meeting, after that every time I try to play music from my headset it starts that audio recording. Even though the audio recording program is closed several reboots ago. Workaround is to open the phone, start spotify playing, pause, then I can use the headset as normal.

The worst bugs in a phone are bugs in the actual phone feature, imo. And in my case CM seems confused about the screen when I'm in a conversation. It's supposed to darken when I move the screen to my ear but it never lights up again when I move the phone away from my ear. Often I have to unlock the phone to end a call. The headset also seems unable to end calls, only answer them.

Waking up it's very sluggish, sometimes unresponsive. It has this "knock knock" feature where it wakes up if you tap the screen twice. This feature worked for a day or two when it was new, then stopped working for several weeks until I tried installing a stock android image on it and failed, reverted to CM and then the knock-knock worked again.

Even though the knocking works to wake it up, it often will not accept input for those first few taps after it wakes up so you end up having to erase your unlock code and start over a lot.

And speaking of stock android. Since none of my friends with stock android phones, nor me with my Nexus 7 at home, seemed to suffer these issues I decided to try the official stock android images from OnePlus.

I ended up in a reboot loop issue that has been reported on the bug tracker and on the forums. The problem is that I can't have my sim lock on if I want to install the android image because then it keeps rebooting the phone as soon as I unlock it. So I had to revert back to CM because I didn't feel like disabling the sim lock was a good option.

I could probably go on if you give me some time to think about it, there are definitely more bugs that I have experienced in my short time with this phone.

On a personal note, I was intrigued by CM because I am a FOSS junkie and know that it's a fork of android. I've had phones like the N900, ZTE Firefox OS and Jolla in the past. I love ideas like Replicant. So you understand why I bought the OnePlus. But in retrospect I should have just gotten an Xperia or an HTC since they have both provided models with unlocked boot loaders and Sony have even opened up their Android source code.
> UnsafeMutablePointer (which is basically direct C-style memory access)
Quite a lot of libraries here: https://wiki.haskell.org/Command_line_option_parsers
> This is just Tesla being their usual disruptive self.

Dealerships have been doing this for YEARS.

There are many dealerships who sell ECU remaps/devices that significantly increase performance of the car. And the biggest joke is that some manufacturers e.g. Mercedes actually turn a blind eye to it in many situations.
I wonder why it uses the convention:

stdout (input "test/foo")

instead of:

output stdout (input "test/foo")

which would be expected considering the previous line.
Some parts of this article struck me as bizarre, like the "Why do you ask?" part. And the parenthetical "this also works well for questions about sex and drugs" was even worse! I guess in some cases it's useful or important to ask "Why do you ask?" but using that line every single time? I think that would get old very fast.

The counter-examples seemed plastic. Who doesn't tell their kids "because it costs too much money" when they ask for some stupid toy they are going to play with for 5 minutes and then forget. I explain the cost of things all the time to my kids, it would never occur to me to dodge the subject.
FWIW Go does implement a significant subset of generics in a type-safe way. For any parametric type P[T], if P has no public methods or fields that mention T, then Go can implement it by allowing an interface (not necessarily interface{}) type for T. As long as the implementation of P does not upcast T values (something which is generally frowned upon, although tolerated in some circumstances), this will be as type-safe as in any language with parametric polymorphism.

For example, bufio.NewReader would probably, in a language with generics, be phrased as a type with respect to a type parameter. Something like (in bastard Haskell)

class Reader a where
Read :: a -> [Char]

newReader :: (Reader a) => a -> BufioReader a

In Go, it's:

package bufio
func NewReader(r io.Reader) *Reader

The interface argument is implicitly a type parameter here.

This subset of generics covers a wide range of software components, even if it doesn't include the usual container types.
> Google has a chip on their shoulder when it comes to Microsoft

Here's a good summary of the history behind this:
http://www.windowscentral.com/google-problem-windows-phone
UnsafeMutablePointer<UInt8>

Which he somehow dismisses but is the corresponding thing to an unsafe C array.

I'm not a big fan of Swift but this rant is rather unfounded. Sometimes you have to give up high level abstraction for performance. In Obj-C he was willing to do so by using an C array. In Swift on the other hand he insists on using the high level array implementation.
>- In general the document is solid, but I've found the usability of the generated docs to be poor. You think they could bribe a few Google designers to spend some time fixing that...

Please elaborate. What exactly do you mean?
This can be blocked in Chrome with a Plug-In[1]

[1]https://chrome.google.com/webstore/detail/webrtc-block/nphkk...
It is, I believe,poor reasoning to equate privilege with power in the way you seem to. From a different perspective: a privileged white male [me] who is very sensitive to history and narrative, who knows that there is so much institutionalized bigotry in my sub group, who must actively work to be the man I wish to see around me, can feel completely powerless in the face of fate to live outside the external expectation of what my skin and penis are supposed to mean regardless of the prodigious opportunities I have enjoyed due to the biological lottery.
Dont want to do work? Create a simple progressbar
They probably all code on MacBooks, search using Google, buy their books off Amazon and I bet they all have a Facebook account.
Using this Docker image doesn't give you one of the big benefits of Docker: being able to package your application in a light-weight way. This image creates an entire init system inside of Docker! May as well just use a virtual machine at that point.

* Ruby: https://registry.hub.docker.com/_/ruby/
* Python: https://registry.hub.docker.com/_/python/
* Node: https://registry.hub.docker.com/_/node/
* Meteor: https://registry.hub.docker.com/u/danieldent/meteor/

What's special about those? You get an ONBUILD version too. You can package up your app along with Python/Ruby/Node/Meteor.

And the other dependencies (i.e. database) have Docker images of their own that you can use.

Nice and composable, reproducible infrastructure.

This phusion-passenger-all-in-one monstrosity puts us back in the pre-Docker days.
That article was awful. She starts by claiming political correctness doesn't exist because we don't know what it means, so she defines it using a straw man definition and spends the rest of the article knocking it down.

Political correctness is responding to politically unpopular viewpoints with punishment and vitriol.

Her point seems to be that labeling things political correctness which are actually reasoned arguments is harmful to discourse. But even if some idiots are doing that, that still doesn't mean that "actual" political correctness (i.e. responding to politically unpopular viewpoints with punishment and vitriol instead of reasoned arguments) doesn't happen or isn't harmful to discourse.
Somehow it seems that currently everything happening in the USA is "Dead on Arrival" - including Swift.

This time due to shipping an utterly broken compiler to an unfinished language, without being able to contribute to it. Because if we could contribute to it, Swift might still be soon something that people love to use. But I somehow really don't believe that this will ever truly happen.
into the woods
OK. How do you easily fork to run a command in the background? How does setting up pipes work? What's the idiom for chdir'ing to a subdirectory such that you pop back out again when you're done (I'd use a subshell with (ch xxx; ...) in bash)?

Getting into more tricky stuff, what's the equivalent of <() in bash?

This doesn't really demonstrate anything that shell scripts are actually written for: orchestrating and composing other processes, and job control.

If you wanted to leverage type checking for safety, it would be more interesting to typecheck the streams input and output by pipes.
How well do you see Clojure as a language fitting in the UIKit patterns?
Nonsense.

"Traditional vendors" routinely update their cars to give better performance where it doesn't cost them anything and brings other benefits e.g. safety. Especially if the components are reused during multiple generations e.g. MY14/MY15.

I am buying a used LandRover now where I will get more than a 0.1s performance improvement when I take it into the dealership for a transmission software update.
i don't know how it could be a threat if robots can't have a consciousness. "Michio Kaku: Could We Transport Our Consciousness Into Robots?" -> https://www.youtube.com/watch?v=tT1vxEpE1aI
Pairing with Junior Developers
Number of questions :) I'll see if I can answer them, at least how I think about it. :)
For me, color is abstract enough for me to be unable to imagine it. Asociating colors with objects is something a lot of blind people do, but it turns into parameters on an object that way. Color = blue; there's no description ... blue = null pointer exception;
As for visual beauty, this is incredibly difficult at least for me to fully comprehend, because you sighties have the annoying habit of changing what you think is beautiful every so many years :P
Beauty might be the smoothness of the sculpture, its simetry, its proportions being exactly right. That is the only, somewhat clinical, description of beauty I can think of, at least visual beauty. I must say that when it comes to beauty in humans I tend to disregard it completely. People look like what they look like and that is subject to change anyway as time goes on, no use worrying about it if I can't see it myself anyway.
I myself live on my own, therefore I am forced to cook, clean, do my own laundry etc. if I like it or not. This, like a lot of other things, is something you learn to live with. I can safely say that yes, I am fully functional in my own home :)
Changes in the kitchen area can be a little annoying, but would never severely throw me off. There's only a finite amount of place the knives could've gone, to use your example. I tend to lay out everything I need before starting to cook though, to avoid ...less than ideal situations when such a thing happens.
Unfamiliar environments are a bit of a tricky thing. You are right in assuming a dog is an incredible help in such situations,I am hopefully receiving my first dog some time this year but I see time and time again how this affects the confidence and independence of blind people I know. To answer your question though, it really depends on the person. Some people have a very good sense of direction and wouldn't have a problem in a forest or would get used to another's house quickly enough. I myself have a bit more trouble with that, but I do hop onto a train to an unfamiliar city if I know someone will be at the final station to pick me up and take me where I need to go, thats not something every blind person would do. It depends on a huge number of factors.
I am based in Central Asia, I would appreciate if you consider telecommutes.
> Occupy ran into this. Occupy leaves behind one lasting achievement - the identification of "the 1%" as a problem. They never had a coherent agenda.

Small correction: From what I understand Occupy didn't have a coherent agenda by design. The initiators of the movement had other goals, and were relatively successful by their own measures (and I agree, to an extent).
That's not the issue.

The issue is that, if you want to simulate both "grep" and "grep -r", you need to different functions, or you need to have your "grep" function accept a record of parameters.
It isn't insane. It's been happening for many years.

And the software development process is pretty standard waterfall. And yes they absolutely test that software to the hilt. Generally though the software is architecturally quite basic i.e. they don't do anything too fancy.
If you have a high salary and live far below your means, then you have substantial savings. Do you disclose your overall assets / amount of savings to the kids? If you have savings and kids do you want to gift the maximum each year, and do you discuss estate planning and such?

I think annual income is just a single metric in a much larger equation which should be discussed by every family. E.g. the realities of what support you might need in the future, or what support you might be able to provide.
I hadn't even heard of those devices. I used to use Cyanogenmod on my G1, as 2.1 wasn't officially supported. I also put it on my HTC Desire but the need to do it became less when newer devices properly supported WiFi and Bluetooth tethering. I do not see how further fragmentation of the Android system (that is, additional markets) is a good thing when Amazon market / Google Play / endless Chinese markets are all around. Given the scope for malware in unchecked markets, another market and distributor surely isn't a good thing.

Additionally, what major phone manufacturers and carriers are going to go with this? If Android devices do not come with Google products (GMail / YouTube / Maps / Hangouts), are the devices as useful? I think not.
I've had this idea bouncing around in the back of my head for a few years for an idea to use technology to reimagine churches into "micro churches". I feel like with communication such as it is, you could turn churches back into what they once were 2000 years ago, small gatherings of a small number of people (10-30) in an informal space (coffee shop, home) for church. It was foster stronger sense of community, and would avoid 85% of the cost of a traditional church (assuming you still gave 10% as alms). Not something I've ever built, just something I've had knocking around back there. Someone else is welcome to take the idea and make something of it.
FFTW -- Fast Discrete Fourier Transform. Reason: it routinely beats proprietary FFT routines on real & complex and single & multidimensional transforms, and with better accuracy.
I think the hype is partly because many people (myself included) really like, even love React (and Flux). So being able to use it for native apps is great news for us.
I don't know about Tesla specifically, but in general the security of embedded firmware is pretty catastrophic [1]. OTA updates are definitely a two-edged sword: on the one hand, they allow vulnerabilities to be fixed (without taking the car to a service center); on the other, the update process can itself be an attack target (e.g. man in the middle serves firmware image with malware included).

[1] https://www.usenix.org/system/files/conference/usenixsecurit...
There's some difference between a court order and a software update.
Not sure why you got downvoted, but you make a good point.

Political parties change their "offerings" when they lose votes.

Analogy: When 2 large competing grocery chains start loosing business to small organic stores the big stores will start carrying organic food. The small organic store will never dominate the big stores but they can cause the big guys to
change.
Using oauth for a simple command line script to access Google's data
Funny, it lists my LAN IP as "public IP" and my Docker interface as "local IP". My actual public IP, since I'm behind a corporate firewall is not listed at all. This is on Chrome 39.0.2171.99.
If that means updates and security patches in a timely manner, and a roadmap for support for older devices, then that's good, surely???

And I say this running my XPeria S with Android 4.1.1 and my Motorola Xoom on 4.1, with my wife's Samsung S4 Mini running some 4.1 or 4.2 (and no notification light, it's stupid). Let's hope nobody finds out where my devices are on the Internet because they're likely full of security holes that will never ever be plugged.