skysight-inc/HackerNews huggingface dataset:
Hey! I built CodeWorld. Thanks for the kind words!

Yeah, the examples are a mess right now. Let me point you to a couple things: first, there's a partially complete tutorial (click the Help button) with some simple examples. Second, (and this is very early on, so please be forgiving!) there's a draft of a textbook at https://docs.google.com/document/d/1NbMtySIDNK40Bk4ImrUAE95S... So yeah, we're working very hard on fixing the documentation issues. Patience!

I don't have such a good answer about syntax. The syntax is about as good as I can make it. There is autocomplete (Ctrl-Space) for built-in function names, and brace highlighting, and I'd love to work on more features to make the programming more interactive with immediate feedback. I also wrote a simplified version of Haskell's standard library and wrote a simple post-processor to reword the more confusing error messages, in an attempt to make it easier to find and fix problems that do occur. If you have ideas or find particularly bad examples, please add a quick example at https://github.com/google/codeworld/issues/new

If this doesn't work, and you look for alternatives to teach programming to your daughter, you might consider Scratch or (if you're still into doing it with functional programming) bootstrapworld.org.

Thanks for looking!
I stopped by the booth at Defcon, but I didn't have an optical drive on my MacBook Air for the puzzle disk. Probably just as well, as it's been some time since last I did anything like this. The contest creators put some creativity into this one!
Expert programmer here that looks for the Xerox PARC developer experience, not the AT&T one.
Its called revenue estimation, and every business everywhere does it every day.
Pretty cool. The site's been described as the Youtube for Data Viz. Kind of hyperbole, but I personally like the idea.
I'd say "languages with Algol-inspired syntax" rather than "traditional imperative languages". There's some overlap between the two, of course, but there are declarative languages with more Algol-style syntax (e.g., Prolog) and imperative languages without it (e.g., Smalltalk).

Also, does the adding parentheses make it anything other than legal (if ugly) Haskell? It looks to me like just anti-idiomatic Haskell where all the functions are defined to take tuples instead of being in the more idiomatic curried form?
A LOT of armed cops just busted this Uber driver, for a street-pick up
England has a variety of sexual offences laws. Even what he is alledged to have done is not rape under English law it is a serious offence under similar laws.

Here's the definition of rape: http://www.legislation.gov.uk/ukpga/2003/42/section/1
Yes, ZocDoc. Also Yelp to some degree.

The reviews, in my experience, are less useful than you might imagine. People have very different ideas of what makes a good doctor and they seem much more likely to write reviews when they're not happy.
I really wish this had been around a month ago. I guess I learned a lot about angular by building it myself.
21 and did that on an old TRS-80 in my basement.
Why Scala encourages this type of comment I will never know.
Be the Product – A product design exercise
Animating the Firefox Desktop Pages
IMHO it's not relative all and is pretty clearly defined - "big data" refers to technologies and processes for analyzing data that doesn't fit on a single machine, and only to that.

It is often misused to mean anything that doesn't fit on an A4 sheet of paper, but for many companies the largest dataset that they have fits in the RAM of an ancient laptop.

If you need to analyze a couple million sales transactions or a dozen gigabytes of web visitor logs then the most appropriate methods won't include 'big data' in their descriptions.
Google tracking your every move? Like literally every single move
Very interesting. What happens if the med students give advice contrary to the physician?
I'm a non expert in Scala and after a little learning it is extremely legible and provides many ways to clearify your syntax. If you're arguing that syntax should be obvious, I think that's a non starter in a technical argument. That's like believing that programming should be possible without programming.
DataArt’s iOS 8 Beta Response
Go would make a good candidate, given that it is also a google project.
> The browser market has a healthy competition and can fix itself if one player is abusing their power. If you belive that Chrome is a threat to your privacy, feel free to use Firefox or something else.

Are you trying to disagree with the OP? Because he's saying "the browser market should fix itself via you choosing Firefox because Chrome is a threat to your privacy."

He's saying "we should do X because Y", and you're saying "no, everything is fine because we can do X if Y".
Very much yes. If someone tells me about a bug, and they tell me "It always happen when I do this", my immediate reaction is "Oh, good, that will be easy to fix."

If instead they say, "It sometimes happens when we do this", then that means it's going to require serious investigation because we will need to start correlating different events to see under what circumstances the bug does and does not pop up. That is very much like the scientific method.
For what? Treason? He is not a US citizen.
Yes and no... not to make it easier, per se, but to make it more like math. I built CodeWorld, not to teach Haskell, but to teach middle school math! So the main motivation was to make it easier for students to see the connection between the functions they write here, and the f(x,y) that they see in algebra.

That said, uncurrying functions also has a huge benefit when it comes to understanding error messages in Haskell. I love currying in Haskell, and it's very powerful... but it's one of the features that sometimes leads to obscure or misleading errors -- especially when you leave out type signatures... which I do for the first month or two.
"I can look at Swift without having ever written any and know roughly what it's doing. I can't with Scala."

Gut feeling, Scala is the new Perl. At least with respect to 'idiomatic' Scala/Perl encouraging a terseness, as well as a fairly deep/loyal (if small) fan base. Also, many of the use cases where the language shines tend to be non-mainstream - usually other languages handle mundane 'every day' use cases differently, perhaps more verbosely, but also with a lot more developers on board.

Just a thought that popped in to my head. I've no doubt I've offended the very core of many Scala and Perl devs out there just now. ;)
I'm pretty sure that many, many people in any organisation feel they work harder than the people around them. Put another way, the perceived average is far above the actual average.

For example, this is a community of developers but I'm sure on a business forum you'd find many people to disagree with your experience that development is harder.

It's also worth realising that without the business side of things, there is no business - even if you have good software. Similarly, your co-founder can't sell air, so he needs a good product grounding the business development. You may be working unequally, but the dependence from one to the other is equal.

Even inequivalent exchange can benefit both parties. It's a specific case of the general idea of the 'laws of value'. Take a look at the essay International exchange and the law of value by Isaak Dashkovskij.

http://libcom.org/library/international-exchange-law-value-i...
Chrome Fires Its Big Gun At Pointer Events, Hurts Developers and End Users
That's exactly what it is. It's all Haskell, just with tuples as arguments. If you want normal Haskell back, just do this:

{-# LANGUAGE NoImplicitPrelude #-}
import HaskellPrelude
import CodeWorld -- for pictures, colors, etc.

The stuff from CodeWorld is still uncurried, but the rest of the language is still there.
Angular pane splitter
Once again, nobody is denying anything about memory problems. But there are two things at play here:

1. One person's experience is not universal. With a web browser as customizable as Firefox, there will be certain configurations causing problems that aren't caught by tests or by dogfooding. Some people are probably seeing leaks that users with a default configuration don't see. For example: https://blog.mozilla.org/nnethercote/2014/08/15/the-story-of...

2. People need to report their problems in ways that are actionable. HN is not a bug tracker. If somebody on HN (Hacker News! News for programmers who presumably know how a bug tracker works!) is having memory issues, (s)he should have no problems filing a bug in Bugzilla. Firefox has had about:memory for years now; save that report and attach it to your bug.
I'm not sure the author understands why Java is the language in the first place - there is an army of developers who knows how to use Java. Yeah, it might not be the best language ever, but neither is C++ and neither is Scala.

For what Google is doing their choices were basically C++ or Java, there is no other embedded, performant option that hits mass quantities of developers worldwide. Every other language is either too niche, or not performant enough, or doesn't have the features you would want. Sure, I guess they could have done C#, but I'm pretty sure Google hates Microsoft, so that's not going to happen.

iOS only has Objective-C because of NextStep and OS X. Otherwise, it could very easily have had C++ or Java. Blackberry ended up with C++ for their native toolkit.

Has there been a significant mobile platform that wasn't C++ or Java that doesn't have some historical reason like Obj-C has behind it?
I'm 26, I remember borrowing a few books from the library that walked through creating a game in QBASIC.

Those were the days. :')
We are out of my depth here, I have no experience or knowledge of the optimizations that Pypy does. So, I am trusting Alex Gaynor's word that it wouldn't help, since if anyone would be an expert on Pypy's optimizations, it would be him.
I tested with a conventional English word list for comparison. Here are the Lorem hits: http://pastebin.com/yh26U7iz
the visualization is nice but the website gave me a headache.
I keep my browser relatively small so when I pressed play the visualization wasn't fully in the window, so I scrolled down to centre it but the website decided I wanted to see the next visualization and moved me there. Scrolling up again took me to the previous one but unloaded again. This happened 3 times before I understood that the only way I was going to see the data was by enlarging the browser.
Minecraft is very popular among kids, however I tried hard to deny my kids to play that. Instead I redirect them to program in python and processing and javascript, that might be more boring but they can play whatever games they built themselves using the 'real' programming language. So far it worked well. I always wondered how beneficial Minecraft(and the new code Mod) could be to kids? I dared not to let them play as I was told it's too addictive for kids...
> Open Web, Javascript Only world, and Patents free video codec etc, doesn't matter to 98% of the users online. It is a very noble thing to do, but most users dont care.

"Fighting pollution is a noble thing to do, but most users don't care. They just want fast cars."

Users don't understand enough to care. That doesn't excuse us who do understand from caring.

The web that users love today is possible because of ideals like interoperability which they don't understand.
Nope. Though "kahareksan" sounds like something you'd hear in Pohjanmaa.
Sortd – Email | Organized | Period
Android app bypasses carrier billing systems instead of censorship
eCryptfs has a lot of use right now. It's what (e.g.) Ubuntu uses to implement secure home directories. It's not a block filesystem, but it is a filesystem. (You mount it on a directory; it's just backed by a directory of encrypted files)

IIRC, there has been criticism of the implementation, and possibly the design. This may be what is referred to.

There are also things like EncFS, too. I'm not sure what the view of some of these other filesystems are from a cryptologist point-of-view.
Were was this a month ago. Had to do this for Play!, great work.
> but idiomatic Scala, as far as I've seen, encourages terseness and the use of opaque punctuation-laden operators

This is not idiomatic Scala.

http://docs.scala-lang.org/style/naming-conventions.html#sym...

> Avoid! [...] As a general rule, symbolic method names should be well-understood and self documenting in nature. The rule of thumb is as follows: if you need to explain what the method does, then it should have a real, descriptive name rather than a symbols. There are some very rare cases where it is acceptable to invent new symbolic method names. Odds are, your API is not one of those cases!
It's not a big deal to enjoy junk food sparingly. The problem is these foods are made to be addictive and the data suggests that more and more people are crossing that health boundary. Just look up global obesity trends - it's not just a "'Murican" problem anymore. Food addiction is real, and ask any addict how hard it is to stay on the wagon when their drug of choice is constantly shoved in front of their face.

"Personally, I don't think that's a big deal."

You may live a healthy life so out of sight out of mind, but the obesity epidemic is a huge issue (no pun intended) in regards to quality of life, healthcare costs, etc.
Although you can fix a bug in GCC and submit it to the project (been there done that) you cannot deploy a gcc change as part of a C program.

Then again, you can't really deploy a Linux bug fix as part of a Linux program either, so the whole linux-windows-lisp-others analogy is tenuous.

The analogy holds in the sense that in Lisp we have less of a barrier between the programmer and the language, and in free software we have less of a barrier between users and the software. But the barriers are different.

And, ironically, the barrier which is out of your way in Lisp is still out of your way if the Lisp is a closed-source, proprietary Lisp. That is to say, doing many things in the Lispy way does not require you to rebuild the implementation from source, or to have the source.
Scala is an immensely popular jvm language (as far as jvm langaugesg go). That's why it would be a good candidate.
Implicits? Compared to Java, Scala is not a simple language. I'd say Scala's complexity is on the order of Haskell + Java syntax with additional glue on top of that.

Not to say this is bad, it just means you need greater discipline when writing software in Scala. A bit like C++ (yes, I went there! :-)).
Ohloh Code Search
You know. I checked the source (still checking) but it really seams what they did was give patients access to their notes, and then ASK them if that improved things.

How could this honestly be considered evidence that this is a good idea? This is the standard of evidence that a Homeopath would present.

Who could take this seriously? Patients reported taking their medication more regularly, here's an obvious question: Did they actually take their medication more regularly?

Maybe somewhere in the body this is answered. Let me keep looking.

edit: NO

although self-reports fall short of objective data, open
notes may prove to be a simple intervention that has an
important effect on medication adherence.

Good, glad they lamp-shaded it.

edit2: http://www.myopennotes.org/

oooooohhh. This makes more sense. This is a paid for study.

Why does this have 200 upvotes?
When I first started programming every single bug was caused by something that couldn't possibly be related to the problem...
I saw it in theaters, and piracy is not to blame, sorry. I liked the first two, but this one was just not as good. They tried too hard to bridge the gap with a "new generation" of Expendables, and less about our old-school action heroes blowing shit up (which is the entire point of these). And Terry Crews only had a bit part which sucked because he's the funniest of the bunch.
Hi. We're the Pickle Team. Evan and Morgan are the co founders.

We've been working on this app, Pickle, for a few months now out of a tech accelerator based in Memphis.

We've been seeing some really interesting/unexpected results since our launch a few days ago - it's been taking off with the college crowd, and instead of just the "useful" applications of the app (getting instant feedback on outfits, profile pics, etc.) that we predicted, we've been seeing people use it for all types of random and fun picture-based surveys.

Feel free to contact us at morgan@trypickle.com or evan@trypickle with any questions or feedback.
I am not arguing against fixing problems. I am arguing against voodoo thinking.

I'm getting the feeling that the way I learned to debug is somehow very different from what everyone else here is doing. I've never found a bug I haven't been able to fix or understand. I'm not bragging. It's simply the truth, and it's why I'm mystified about the negative reactions I'm getting here. I've spent my whole life debugging things, and I've never once ran across "maybe the bug is caused by this new problem, even though it's obviously completely unrelated, so I'm going to fix it and cross my fingers." It just seems ludicrous, the same way that it was ludicrous to think the alignment of the stars could determine whether you'll have a happy life.

The oracle you consult while debugging is the program itself. If you don't understand the behavior, then you add logging statements until you do. You log everything, absolutely everything, and then reason about what the program is doing when the bug is occurring.

There was exactly one bug I was never able to fix, and it was because the bug resided in closed source code (D3D9). Multithreading was triggering the bug even though their code claimed to be MT-safe. At that point, there was nothing I could do except revert to unmultithreaded shader building. It was a terrible race condition that took a full day to track down, but it didn't require any kind of correlation tricks. It simply required that I rule out large swaths of the codebase until it was logically impossible for the bug to be anywhere except in the D3D9 library.

Yes, of course, fix problems as you run across them. But that's a separate discussion altogether.
Here's something interesting.
The image only has 47 unique RGB values in it.
47 is such an arbitrary amount though. It doesn't go into power of two cleanly.
I think this is actually the crux of the issue. The language gives you enough rope to hang yourself with, and when people do hang themselves with it, those who look in from the outside throw the baby out with the bathwater.
Variart – Code meets art
Who cares? It worked, didn't it? Maybe he knows regexes better than JSON parsers.
I think its more that the "wat." comment wasn't a chance to learn anything new. It was just snark.
Yes, we do that. But we also have learned, the hard way, to have some humility with that knowledge. Something may disagree with our mental model, but we're careful not to say something is impossible because our mental model may be wrong. (In fact, it is wrong, since we're dealing with a bug.)
The younger generations grew with VM based implementations, never learned the memory safe system programming languages that lost the market to C and C++ and lack compiler design understanding.

As such, any language they see announced as safer than C and C++ must be VM based.
Author here.

Altman provided no argument whatsoever in his post that the existence of a sexist act is the cause of women's underrepresentation in tech. He was fairly careful - he didn't even explicitly state causality, he merely implied it. Maybe an argument is out there somewhere, but not in Altman's post.

I think the fact that sexism reduces the desire of women to participate in something is established.

Directionally, maybe, but I've seen little evidence the magnitude is significant. In spite of the built in sexism, Catholicism and Islam both have far more women than Atheism (or technology). I don't see any reason to believe medicine or law are less sexist than tech, or were less sexist back when women started flooding into those fields.

If you have evidence of correlation, link to it - Sam Altman didn't.

I do have a "reactionary axe" to grind against bad reasoning and this particular topic is a huge source of bad reasoning.
The colours go from 16708e and increase all RGB values by one. So the next ones are 17718f, 187290, 197391 etc.
Gosh that sounds like an excellent weight loss product if you could make some sort of weighted undergarment that didn't make the wearer look frumpy (assuming it actually works of course). The problem would be that people would get used to the amount of calories they burn while wearing the product, and would probably balloon up as soon as the stopped wearing it.
But usually those patches are already validated. Providing validated patches is one thing; developing them on the live system is another.
The voice is Alan Kay who lead the invention of the modern day Desktop computer / GUI. The system is probably a prototype of the Dynabook, a laptop / tablet for children.

The code is Smalltalk which Alan and team created while inventing Object Oriented programming.

You can play with Squeak, which is the modern version of this system.
Obesity is not just an American issue anymore. Note that this article is British.
I think that's definitely it. That old Dispatch periodic table has done a lot of damage to Scala's reputation IMO (even though it's no longer used by Dispatch).

Looking at the major Scala libraries and frameworks today, I don't see a ton of symbolic operators in use. Akka just has ! and ? (both of which have very obvious uses once you understand actors), Play only uses them for iteratees (which most devs will never have to think about, plus it provides named equivalents for all of them), SBT has been cutting back. Outside of scalaz, the problem seems to be under control.
At Multiverse Impasse, a New Theory of Scale
https://en.wikipedia.org/wiki/Contract_killing
Countable.js
That was my first thought too. Aside from supporting certain possibly useful syscalls, the kernel has nothing to do with the desktop environment running on top of it in userland.
Pedantic, but important: there's no such thing as a "block filesystem". There is encryption performed at the level of a filesystem, and encryption performed at the level of a hardware device (schemes like Truecrypt are, in fact, simulating hardware disk encryption).

It's a little ironic that encrypted filesystem implementations on Linux are so bad, because the filesystem is a much better layer at which to perform encryption than the device itself.
Lessons from my Failed Kickstarter Project
HTTP Shamer here. I absolutely practice 'responsible disclosure' when it is appropriate.

In the case of TripIt, they've known about this issue for a VERY LONG TIME and chose not to address it. I'm incredibly sad about this because I absolutely love TripIt.

There's several sites and apps I've either found out about myself or have been submitted to the Tumblr that I do think warrant responsible disclosure, and I've either done that or am working on that. Sadly, only one of those vendors even has a security e-mail address with a responsible disclosure policy.

In the case of Scribd, if you're using HTTP for all of your account activity, it's not going to be encrypted, period. I'm not going to responsibly disclose that passwords are sent cleartext over HTTP because that's obviously what happens with HTTP. If the vendor made any attempt to use SSL that appears broken, I would stop and responsibly disclose.

In the case of apps going out and checking for updates insecurely, I think that behavior is prevalent enough to see, and obscure enough to exploit, that responsible disclosure doesn't really apply. It's just that HTTPS is something I'd like to see on developer roadmaps. There's been good discussions about this on Twitter, including the VLC team closing a ticket about it.

If I saw personally-identifiable information being sent from an app, I would stop and responsibly disclose.