skysight-inc/HackerNews huggingface dataset:
> Especially with "end", to signify a barrier, as opposed to whitespace.

But in any programming language you're already indenting blocks for humans. Why repeat the same work? Especially when it allows for inconsistency between how a human and how a machine would read the code.
"GOV.UK increased signups to the organ donations register by 10,000 every month with just a bit of clever A/B testing as a side project."

Interesting.
Software is slowing down faster than hardware is speeding up.

Write your own; that's the only way of staying sane. (It's especially atrocious with vertical market applications, of course. Not only does the SW I used to use in the past suck more and more, but it doesn't even keep adding the features I really need.)
Frequency analysis works against a few dozen characters.
Definitely this. I might browse around and get inspiration by some websites I like but I build everything my own.
It's a browser extension - a bit of code that runs some scripts, in this case modifying the style of the page when you go to a specific domain (gmail). Extensions are run inside of the security sandbox for that domain with a higher privilege level than normal webpages - consequently, the extension could send all your email and activity from other tabs to a 3rd party. The Gmelius website says they don't though. You could, if you were so inclined, check the code inside the extension package if you wanted. If it was doing anything dodgy they'd be found out pretty quickly.

tl;dr Yes, it could read all your email. I doubt it does though.
A CEO’s thoughts on Entering the Startup Phase – Again
But how do we know that the 3 is random? Maybe you have some hidden three-ist agenda? I'm much more inclined to trust Randal on something like this than some random guy on Hacker News!

Then again since you're some random guy....
New Vulnerability Found in Apps Using Wi-Fi
Show HN: Send notifications and receipts for Stripe Webhooks
I don't get why anyone would want a modular phone. It's so backwards from where we are heading. Promise you a non-modular phone will be smaller, lighter, etc. The slight variations in how people customize a phone... guarantee they'd be happier finding a phone they liked and buying it. Plus... phones aren't expensive, why not just throw them out ever 18 months?
Looks like learning rage.

When faced with a new thing to learn, point out all the mistakes and flaws that give you reasons to not learn this shitty thing in the first place.

Or it could be the 3rd stage of grief :)
Tiny AI Startup Vicarious Says It’s Solved CAPTCHA
Yawn. Wake me when somebody has some actual verifiable details.
I think they are just splitting up trust to less trust-able entities. Sure, the impact of a malicious entity would be less severe, but the chance of any being malicious is rather big. Cause let's face it, my mom is not going to run her own server, and I believe she has the right to control her data as well as all of us do.

I believe the only way to properly implement a social network is not to trust anyone but your friends. I'm thinking something like a freenet-like apporach, everybody in the network holds a little bit of encypted data, but only the ones you have accepted as friends will be able to see your data unencrypted.
I don't know - it's just a default general API, obviously it's not going to match everyone's use case. I would say that even relying on sort made by someone else is already not fit for many use cases.

If such a petty and trivial "problem" is what you have against Javascript, then you are basically saying it's a good language :--)
Thanks for pointing to the discussion. I wish HN was better at recognising a duplicate post.
Not for me, thanks... The appeal of having a classic Dualit is that I can replace any of the three parts that might fail (elements, on/off switch, clockwork timer) in a couple of minutes with a screwdriver. Everything is serviceable and fixable, and it isn't really that hard to learn how to make toast manually...
> The government could just as well pinpoint the hosting provider, and pull some strings to take the site offline, then read through the captured database.

That would be counter-productive. The goal is to keep track of the individuals and ensure they don't endanger others or create social risks (assassinations[0], terror attacks, ...). By taking the site offline, you'd increase resentment, make them move to a new host of some sort or (worse) drive them underground completely and become unable to keep tabs on their activity.

[0] http://en.wikipedia.org/wiki/Jacques_Chirac#Assassination_at...
Launch Genymotion Android emulator from your terminal
Is it compatible with Firefox 24?
It's about what's within it, not how they wrote it. But at the same time what's within it evolves with practice. With novels and poetry imagination is the limit. Practice pushes that forward, probably more so than with the sort of writing Ryan is doing. He makes some great points though.
ES6 brings "rest parameter" [0].

function(param1, param2, ...rest) {}

[0] http://ariya.ofilabs.com/2013/03/es6-and-rest-parameter.html
pnr final charting status prediction has always been a problem. numerous sites have tried to solve this by making people vote on individual pnr blog posts. I have build this prediction by analyzing past data.

Technologies used - flask, mongo, zeromq, scipy
Feedback is greatly appreciated
The sort function is fine when used as intended (for alphabetic sorting). If you want numeric sorting you use sort(function(a,b){return a-b}).

[1,10,5,-15,-2,4].sort(function(a,b){return a-b});
[-15, -2, 1, 4, 5, 10]
> Anyone not stupid or insane just learns ruby or python or scala or go or even php or .NET.

I started with PHP and C#/VB.NET, before learning JS. I know Python, Scheme, Java, I've played a bit with Clojure and Ruby[0]. After all that, JavaScript (admittedly, usually through CoffeeScript) is my favorite language. It provides everything you need to build almost anything you want, wrt tooling.

I understand and agree that it has warts, as does every language. But to call its use "stupid or insane" is ridiculous.

[0] I have yet to understand the concept of blocks, as they seem to be just a half-assed implementation of first-class anonymous functions. If someone can show how they improve on them, that would be much appreciated.
It's not broken.
I did get the mini display port to work with a generic mac adapter - this one: http://www.amazon.co.uk/dp/B002WUVAVE

But actually as I was plugging a USB hub in anyway, it was easier to just use a cheap USB to VGA adapter. Similarly, there are loads of cheap USB to Ethernet adapters around. You can get away with USB2 devices, they dont need to be USB3 standard. Basically, its a windows laptop so pretty much any USB thing will work with it.

I notice that people make 'usb docking stations' (a docking station that connects via one usb port) but they all have separate power supply. I think there's a gap in the market for an unpowered all-in-one usb docking station, because such things can clearly be made to work.
On Hiring: Trial Week - Yay or Nay?
People often share IP addresses. On our campus, we had a couple of public IPs for hundreds of clients.
> The protests were huge, and some people have compared it to the Tea Party (minus the guns).

And either better dressed or significantly less dressed (many, both inside and outside the country, wondered at the existence of such fabulous anti-LGBT protesters)
Yes it is: https://addons.mozilla.org/en-US/firefox/addon/gmail-ad-remo...
My photos of lower and midtown Manhattan during and after Hurricane Sandy
Google parsing email for data to use in maps?
....aaaaand scene. Cut!
Its true that the touchpad on the touch cover isn't great, but on the other hand the _whole_device_ is a touchpad at the end of the day. For scrolling and zooming it quickly becomes very natural to touch the screen rather than the touchpad on the keybaord.
While both are social responses derived from some societal "standard" and ones interaction with it; the former, I typically think of, as being more of an involuntary reaction, whereas the later is thought of as motivating conscious behavior. The often hypocritical actions of people who will do something until they get caught, is the big example. Clearly it is not against someones personal morals, but it does generate a response due to a negative interaction with another member of society, which in many cases might be motivated by guilt.

Terrible wording aside, I think the two have both intersecting and unique qualities, guilt and morality, that depending on the person will be called into play at various points in the decision making process.

Disclaimer: IANAbehaviorist, I was just raised by one, and nearly married to one.
> In a normal situation this would have been fixed simply by adding a wait primitive to the language which would schedule the events when the result is still being fetched... 80 percent of the programming is about doing one motherfucking thing with another motherfucking thing and you need both of them to complete the action.

I love JavaScript, but I totally agree with this.
Time to Say: good bye WordPress?
As a developer, that's awesome. As a citizen.. I would guess not so much.
Implementation wise, it uses 75 image frames that are displayed according to percentage of the page scrolled. Before I looked, I thought this might be a HTML5 <video> controlled using the scroll events - wonder if that would be feasible?
That is a very desktop application view. As programmers we should consider CPU cycles equating to battery life.

Whilst it might not have a big impact, if every programmer thought pragmatically about energy usage then the environment as a whole would benefit.
I have literally no idea what you meant by this.
Facebook keeps pushing the bounds of what's acceptable in terms of personal privacy. They have given no indications that they will ever stop pushing the privacy boundaries. This behavior seems to be a major component of their operational/business model.
Another rant by a programmer who clearly doesn't understand JS... It does have its drawbacks (what language doens't?) but if you have some coding discipline you can code pretty big application without headbanging.
Are there any compile-to-JavaScript languages out there, which do this?

I read about function* and yield, but this seems to require all functions to be rewritten.

Also I don't quite understand how this accomplishes to run 2 functions in parallel, if they are async.
That would be a one time transport though, not a continuous trading relationship. Also the biological assembler can still be transmitted as information. We are talking about futuristic and alien civilizations with far more advanced technology, certainly it would be possible.
When you double-click an image and it opens that viewer app, that is pretty annoying. You can switch the default viewer for images to be the windows 7 'image preview' app.
I was under the impression that in prison, time is the one thing you have plenty of.
Was not sure what to expect when I first saw the title.

I expected something along the lines of Erlang: The Movie. (I'm also surprised that there are still people who don't know about Self.)
It outperforms Python at everything except where Python just calls a C function. Ruby (especially the recent releases) is on par with Python speed, if not faster. But neither is close to JS.
Easier, simpler story to tell than the long version, of which the details don't really matter?
Not when I posted this, he's edited his comment.
Using Immortality to Kill Accidental Callback Cycles
[1,10,5,-15,-2,4].sort (a, b) -> a-b

You're right; that was totally difficult.
A valid point; that just seemed like the easiest way of phrasing it to me.

Anyhow, what I was trying to say is that the linked article trashes Promises, and Dart has Promises, so Dart is at least in that respect not a solution.
No argument here. It's really a shame and, if you think about it, email is the least evolved method of electronic communication for the masses in every day use (with the exception of possibly IRC).

BBM would have been the ideal email replacement (it's also still extremely popular in Asia), but too bad it's proprietary and centralized.
It's almost always the case of some third-party program causing power draw (or other bugs like not sleeping when the lid is closed). Remove things until the problem goes away, and add them until they come back.
The reason alot of people like dynamicly typed languages is that they don't have to babysit the compiler. Small example, in JS, if you have a function that works on a "age" property of an object, it doesn't matter what kind of object you send in, as long as it has an "age" property. You can do this easily in staticly typed languages as well, but you have to write more code (generics, class/struct-definitions, interfaces ...).

> I mean, if I have a variable I ALWAYS know what kind of data I expect in it

Really? Why did people invent generics/templates, interfaces and class-inheritance then? You won't always know what type you are receiving, and alot of the time you don't really care either, as long as it meets your criteria.

> The problem is that you hardly have a choice nowadays

Course you do: C/C++, Haskell, OCaml, Go, Nimrod... Soon you'll have Rust to play with as well.

> <wait for GC... ok, done>

Depends on your usecase. As long as your active memory use don't number in multiple GBs, GC is quite fast. I have an application spawning 1GB of garbage a second, this takes 5ms (a second) to collect. Not bad IMHO. The work they are doing on the new G1 collector also seems promising. Btw, GC can in many cases have lower overhead than ARC (Python also does ARC btw).

> strongly typed but still allows generic object pointer (id)

Last I checked, most of Obj-C prefers dynamic typing. NSArray and NSDictionary for instance, can contain any type. Regarding (id), most languages allows this. "Object" in Java/C#, void* in C/C++, interace{} in Go etc.

In the end, it doesn't really matter what language you use, as long as it gets the job done. If your language isn't available, you're mostly able to use another language anyway. Almost every language nowadays has a JS-compiler. There exists a Java Bytecode -> Native code compiler, same with C#.
My comment from the blog:

Additional point: the candidate may not be able to work (paid) at another company for a week without breaking part of their contract, such as a "devotion" clause.

(For example, something like a "the Employee must not, without the Company's prior written consent, engage in any other employment or business activity" line in the contract.)
I haven't tried more than one external screen, but presumably between the display port and the USB hub you should be able to connect several. USB-to-display adapters are basically outboard graphics cards, right?
Google purchased WIMM [0], a wearable computing device running a modified version of the Android operating system [1]. Even though the WIMM website is shutdown you can still access their app store [2] to get an idea of what is possible.

ps. I hope we see an embedded Linux SoC, meaning that you do not need to tether this with your phone, the watch is stand alone, and will likely replace the phone down the road. Most other smart watches require that you tether with your phone, which acts as the brain, so it makes programming difficult, and battery life suffers, since you have radios talking.

[0] http://appleinsider.com/articles/13/08/30/google-buys-smart-...

[1] http://en.wikipedia.org/wiki/WIMM_One

[2] https://my.wimm.com/store

[3] http://en.wikipedia.org/wiki/System_on_a_chip
Really like this approach - fascinated to know how this works out over time.
Being an old trombone myself, I find the learning curve to get proficient in any recent UI framework isn't worth my time.

I use an old school text editor to write html/js manually, and then maybe I play a bit with photoshop. Results are not jaw-dropping but not too shabby either, and I can put together a landing page in a couple of hours. ( eg. http://newspo.st )

So yes, I'm here just to brag about it. I'm a terrible person. :)
mmmmm The Wire
http://www.patheos.com/blogs/friendlyatheist/2013/07/16/what...

Seems like 0.07% from survey by Federal Bureau of Prisons.
> It also means that over time, the Darwinian pressure is for us to become ever more good, as that is what gets rewarded. Therefore, if one day we meet powerful aliens, they are likely ethical aliens.

I can't agree with this kind of reasoning. Evolution doesn't have direction, there's no such thing as "good" in this process. Even historically some factors made certain level of cooperation better for survival it doesn't mean it'll be true forever and the balance is always shifting even in recent history. And aliens is guaranteed to have a vastly different "evolution" history than us, using the word "ethical" is nonsense.
no threads... (WebWorkers to the rescue, still no threads)

counterintuitive variable scoping (poor new programmers that keep plaguing the web with bug after bug and shitty global riden code, until they eventually understand enclosures and functional scope), just so shitty.

can't really use all the language because it's broken in different places depending on the runtime (see "JavaScript the good parts" to learn the safe subset), it's like walking through a landmine coding in javascript, too many "don't's"

a=[]; //length is zero.

a[0]=1; //length is one.

a[23]=2; //length is two.

a.length //ask javascript for the length? outputs 24. SHITTY "LANGUAGE"

This is a language that has been stretched thin for a lot of things it wasn't meant to do.

Can we has script type="text/python", or script type="text/ruby", have some decent languages running on everybrowser once and for all, can't believe we're trying to rebuild everything that's already been matured in so many really powerful languages in this messy language. The fact that there are so many, so many frameworks for doing the same things, or that nobody knows for sure how to organize large amounts of code in a standard way show how weak this thing is.

can't wait for the javascript madness to end. in the meantime, until we don't decide to hack Chrome, and Firefox to include a virtual machine that can run the language of your choice we're stuck with this piece of shit.
Free isn't cheaper than cheap. Framing it as "Scholarship" puts a very intentional spin that it's meant to support (or even invest in) people who need it most. Letting people set their prices would just decrease the service's perceived value (the Humble Bundles can allegedly have value way over their average payments, but I can't really see beyond around five dollars.)
Very cool! Still, I doubt that plastic violins will win the hearts of musicians. They look different; they play differently. I won't guess if that sounded good or not; I've got a tin ear. But is sounded different. Calling it a 'stradivarius' was disengeneous. Its a plastic box that looks like a violin.

I think that 3D printing will win when it starts making things that couldn't be made before. How about an instrument with complex echo chambers impossible to reproduce with wood and glue?
as people said on reddit, the CL timing on the chart is "bogus" http://www.reddit.com/r/lisp/comments/1pgdyo/hylaslisp/
SQL Injection possibility Laravel 3.x
I am not sure the EU law regarding the mandatory two years of availability for computer parts apply to the UK.
If you want to learn about how bonkers the MPAA ratings process is, check out this documentary: This Film Is Not Yet Rated http://www.imdb.com/title/tt0493459/
You didn't miss your cue, and delivered your lines perfectly. We're done for the day, we're not bringing in Eevee[1] and Dziuba[2] to shoot the "every language has warts hahaha what are you, a noob?" scene until tomorrow.

You did great, thanks again. Don't call us, we'll call you.

[1] http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...

[2] http://pages.citebite.com/b2x0j8q1megb
Business idea: Generate "Government ID" that is good enough to pass Facebook verification.
Is that with the new fish? On 2.0.0 /Mac OS X, this doesn't work.
Should "creative types" really be pluralized? This is one guy. I know a lot of the best musicians in my area and see a lot of national ones - I almost never see Windows laptops. Let alone a single Surface.
I'm afraid that there's not much to show yet, apart from some little prototype scribblings, and the basic idea:

The web that we build for today is a rich, almost entirely backwards-compatible stew of nearly two decades of browser development and standards work, resulting in a triumvirate of very different languages that need to come together in order to make a web application happen: HTML + CSS + JS. Two of them are weak, data-description languages, one is strong and general-purpose. You have to learn all three, and learn about the quirks and sunspots accumulated over the years.

So, as a thought experiment, imagine what it would be like to work with a single language that was general-purpose, but also excellent at describing data, especially the trees (HTML) and property lists (CSS) that make up web documents. Perhaps it knows about the intended lifecycle of your HTML in a more structured way. Perhaps other flatly descriptive parts of your application can be merged with the "flat" styling of your CSS descriptions. Perhaps the idea of "binding" is built-in.

After that, there's technical hoopla. If it's interpreted in the browser, you need to be light and parse quickly, you need to be able to "JIT" chunks of code into optimized JavaScript when necessary, and you need to be able to dynamically generate the appropriate source maps, so that it feels closer to a seamless experience.

Is such a unifying language possible? I don't know. But imagine how much more fun it might be to work with — and more importantly, how much more accessible it could be for folks just getting started.

But when there is something to show, y'all will be the first to know...
Yeah its a good point. The Surface is like a flagship to show how Windows 8 hardware is supposed to be done properly.
Barack Obama's tweets hacked
The Truth about Remote Working
I was with you up until port knocking.

The problem with the implementations I've seen is that the daemons themselves can introduce vulnerabilities. Why bother compromising OpenSSH when the lesser-used port-knocking daemon is vulnerable?
Google retools reCAPTCHA authentication system.
Stupid Programmer Tricks and Star Wars GIFs
Well, this will probably just be ignored or downvoted, but as far as I can tell, ToffeeScript (a derivative of CoffeeScript which is a derivative of JavaScript) is the best language to be programming in today.

Of course "best" is subjective, but I believe that the combination of Node.js's superior module system and the available packages, the clarity of the language (which actually surpasses Python) combined with the asynchronous single-threaded event-based model, and ToffeeScript syntax which makes asynchronous code read like synchronous code, makes this a superior platform.

I do think that Go is a wonderful evolution of C, but the module system or at least ecosystem is inferior to Node's, and the language syntax and concurrency approach (although very useful and better than Node's in many circumstances) is old-fashioned.

Many people don't trust, don't learn, and ultimately cannot objectively evaluate JavaScript, simply because it is too easy to use. [sarcasm] And everyone knows that real programmers don't use easy languages. Those are for beginners.[/sarcasm] That's the real explanation for most of the JS hate. The other part of it is the people who did try to learn it, found out there were problems, and then for whatever illogical reason decided that they couldn't use CoffeeScript or any other similar language to compensate for those problems.