skysight-inc/HackerNews huggingface dataset:
So I'll avoid the potential language flame war as best as I can.

It is the sync on async part I am talking about (see code snippet in sub thread). The layering of synchronous constructs on an asynchronous model which only exists to support the single threaded browser model is getting very convoluted. That's the part I'm talking about.

It is perfectly reasonable and trivial to support a multithreaded model in the browser if the multi-threaded code does not alter shared state. Which obviously is the intention of Web Workers and in there case there state seems to be primarily the DOM, I just feel that this is the direction we and browser developers should be looking into more and where the effort needs to be. And that Web Workers are part of the story not the story.

In my experience concurrency can be kept to a remarkably simple level if either the developer or the language/framework author are willing to follow some simple constraints. In my ideal world:

var x= concurrent(function(x) {
return doSomething(x);
})(1000);

Would execute the function without any closure or access to globals (like the DOM). Now we have no shared state, so we could run this function in a parallel thread. Now add back access to stateless resources like HTTP requests and we're rocking and rolling.

Web Workers just seem to be a heavy handed approach to achieving this.

If there is a framework or method available to achieve this and I have missed it out of ignorance please someone correct me and show how this can be done simply. My goal is to have simpler code not to win an argument.
It's not about whether it gets turned down - it is what all the constituent countries get out of the negotiations - because each one has a veto.

Spain for instance would I'm sure be very interested in the fisheries policies in Scottish waters, something to buy off the Catalans. Belgium (another country with worries about secession movements) might have something to say about Anglo-Saxon capitalism, France certainly will. Germany will want to be strict about budget deficits.

Other countries have agendas that don't perfectly align to Scotland's. They have what we want, and Scotland would have a deadline, that isn't the best position in the world to negotiate from.

If you care about independence at (almost) any price then it shouldn't matter, but it is clear the SNP don't believe a majority of voters do.
Thanks HN! I am one of the founders of Cotopaxi. We are a direct-to-consumer outdoor brand focused on humanity, ie. each product contributes to various social causes. Having worked in non-profit and built e-commerce businesses before, my co-founders and I are eager to find a way to give back more sustainably. We would love your questions and feedback! Thanks!
Blivet-gui (new gparted like partition manager)
>In other words, Reddit feels really bad that your stolen nude photos are being shared all over its website, but won't do anything about it unless you're privileged enough to understand the copyright system or able to afford a lawyer who does.

This is the most deliberately misinformed way to say that. Reddit's stance, correctly might I add, is that they won't take down anything unless they have to by law. That is the most pure form of free speech they can allow. That means shitty things are going to be posted there and unless they are illegal they won't take them down. Why is reddit getting the blame for all this? They didn't steal the photos, they didn't even host the photos, what do you want them to do?
"The only reason "science" would claim that your assertion is wrong is if your explanation doesn't agree with reality."

Your statement is a circular reference to the problem of induction. You arbitrarily claim to be able to make accurate assertions of reality while at the same time agreeing that the essence of reality is unknowable.

This reply of yours is full of circular reasoning. Stop using the word good without making your case for righteousness. You can't substitute it with practical or useful either, both infer benefit at the personal degree.

Just because an expectation proved to be useful once, remember that the past does not predict the future.

"Belief in the Causal Nexus is superstition"
"Inertial confinement fusion device" != "Fusion Weapon"

If you want to make a point about relative dangers, you should be comparing apples-to-apples. Simply expressing fission as a phenomenon is even easier than fusion, you can dig up rocks that do it all on their own.

Weaponizing a phenomenon, on the other hand, always requires some additional work.
> That's what XML had and has. JSON became successful because it did not do this. Discuss.

XML tried to describe the structure in the XML itself. mikeash is referring to describing the structure in the code, and that makes a heck of a lot more sense. The code definitely should know the structure, or at the very least know what type of value it's expecting when reading values out of a JSON blob.
Regarding e-mail encryption I am really anticipating Lavaboom to kick off
https://www.lavaboom.com/en/
One of the tragedies of Common Lisp programming: good Lisp hackers seem more interested in writing yet another Common Lisp than extending the capabilities of existing ones.

It's not like there isn't work to be done: writing decent native array and higher order mathematical primitives in any lisp would be a huge improvement over the existing state of affairs; we know SBCL and CMU-CL have the compiler for it (Fateman wrote about this in the 80s for pete sake), but ... no such thing exists. A package management system that you don't have to invoke lucifer to use would also help (leiningen for CL). A common threading model that makes sense would also be nice. Yes, yes, you get some half assed threads on some platforms in some lisps; big deal. Make them work everywhere instead of developing ... yet another Common Lisp.

For open source, we already have: CLISP, SBCL, CMU-CL, GCL, ECL, ABCL, MKCL, MCL, Movitz, OpenMCL, CLiCC, Kyoto, CCL, Jatha, ThinLisp, UABCL, WCL, XCL.
For pay-for Common Lisp, Corman, Allegro, LispWorks and doubtless some others. Obviously, the world cries out for more Common Lisp implementations!
The EU may make an exception to Schengen as Scotland is in a unique position - it will claim (with some justification) that it is already in the EU (and outside Schengen) and the starting point for it should be the UK's current position.

More interesting on the CTA is that it would involve signing up to many of the immigration policies rUK and Ireland have agreed to as part of that deal - that contradicts the more open immigration policy the SNP are selling as part of their pitch (which also includes the CTA).
I have, it's one of the links in there. I truly loved reading that discussion.
The threat of censorship is quite different than actual censorship. I have to live with most websites being blocked, search engines not working, wondering from day to day what will work, or if the VPN will, actually work or not.

Now you talking about what the states could or would do, even though they haven't done it yet. Actions are much stronger than paranoia.
46,7 tsd Follower and his first tweet – Peter Thiel on Twitter
True, Thunderbird is so buggy when it comes to deleting drafts after sending them.
The truth is the UK government would be shooting themselves in the foot if they didn't enter a currency union - unless they thought the Scottish economy was a real threat to the stability of the rest of the UK, or that having Salmond's cronies on the board at the Bank of England was politically unviable.

The thing is though that in a currency union there's only so far the two economies can diverge before they have to adopt different currencies to maintain stability (Greece and the Euro is a fine example of the bad end of this stick) - which kind of defeats the purpose of being independent, to an extent.
The favicon and title change work on mobile, but the URL is clearly wrong.

http://www.imgur.com/qn3pUIL.png

I suppose this is another use for typo domains.
Plus Ireland "was plagued by poverty and emigration until the mid-1990s." http://en.wikipedia.org/wiki/Economic_history_of_the_Republi...

I have plenty of graduate Irish friends, almost all of whom live and work in the UK or America, they care about independence in spite of the costs. A massive majority of Scots don't, because Scotland's place in the UK is not one of conquered subject nation and thus her constitutional arrangement is much better.
Right. "I added this short manual to my program, but now all my RAM is gone! Whats going on?"
We don't encrypt it. We don't send it anywhere. You have to come to us to read it.
I think that would be better too, that's my fault for hiding it behind that extra page. I'll look into bringing those up to the front. Thanks for bringing it to my attention!
> I actually suspect that large sites like Facebook, etc will maintain multiple certs at the different levels and dynamically serve the best one up that the client can support.

How would you do that? When the TLS connection is established you know nothing about the client except its IP address. All of the interesting information about the browser is transported via the HTTP stream which is tunneled inside the TLS connection.

HSTS is simple by comparison, as it's only an HTTP header.
That's not what I understood, I understood that that was what they thought PG was going to tell them, not what he actually said.
> Thanks. Also wondering: should more senior people be offended by exploding offers. Architects, team leads, etc?

If anything, they should be less offended. Companies are often simultaneously hiring multiple junior developers, so it's less necessary to make purely sequential offers.

Technical leads, on the other hand, are typically hired for a specific need. Given their cost, companies rarely are hiring multiple leads simultaneously. Hence, parallelism of offers is impossible. Plus, since all senior devs are in high demand, employers want to make offers to as many as possible—before someone else snaps it up.

Hence, exploding offers are a completely justifiable hiring tool.
You can use eitherDecode to get that behavior. http://hackage.haskell.org/package/aeson-0.8.0.0/docs/Data-A...
TLDR: I just discover that strict type system are there for a reason
An "eternal truth"? It's called Westphalian Sovereignty because it's the result of the eponymous historical event, prior to which extranational forces played a huge role in the internal politics of states.
The i7-5960X compiles the kernel in 42s

http://openbenchmarking.org/result/1409087-LI-COREI759667
See, for instance, his take on Bitcoin. Perhaps grep it for "libertarian".
Indeed, we already have such a reactor, just about where we would want it!
What if they were tickets to something:

"Announcing super concert 2,000 is open for ticket purchases! Click here now to get your!!! ONLY 5,000 slots available!"
This is really not a very practical picture of bitcoin's capabilities outside the developed world. In the developing world, bitcoin is very difficult to spend or cash into local currency, even assuming access to a capable smartphone/pc with internet and the technical skills necessary to manage and securely store bitcoin

>Vendors in the middle of Africa do not need a bank account and credit card merchant account to sell products online. Plus they can distribute the earnings to their family members working across the country with their mobile phone, without their family needing accounts.

The "middle of Africa" is pretty much the quintessential example of a region where bitcoin is completely impractical. Poor internet infrastructure, high rates of computer illiteracy, limited access to capable computers... bitcoin simply isn't the answer (yet).

Consider this guy who went over to Kenya in the name of a bitcoin charity effort, only to be sobered by the reality of the situation on the ground.

http://letstalkbitcoin.com/blog/post/lets-talk-bitcoin-133-t...
Apparently heated by nuclear fission!
Enter to Win $100. Free Mobile App Dev Competition
SO, now twitter wants to store financial data on users now too?

No thanks
No, I'm not joking. Gold remains the only asset people will trust their money on at a time of war and the only asset which could create a new currency[1] successfully, if needed. Comparing gold which has a 3000+ year history at currency backing to a 5 year old experiment is a little bit hard for me.

> Many users of Bitcoin are deeply mistrustful of the government's ability to manage money, and making it distributed literally puts all the power into the hands of the people.

Here: http://www.convalesco.org/blog/2014/02/11/on-the-matter-of-b...

[1] http://moneymorning.com/2013/01/29/why-germany-wants-its-gol...
I agree with Matt,

There is no quantity of correlation that promotes one iota of certainty or probability.

The issue is Matt, many people like this gentlemen here actually believe that scientific experimentation offers explanations.

How many times have we heard, "there must be a rational explanation", when it fact never has a rational explanation ever been provided for any phenomenon.

We can't involve degrees, when the extreme principles infer that no such claims can be made. There is an unknown amount of probability given any proposition.

The only form of falsifiability we're capable of is in whether or not a person is conforming to the traditional use of language. If I say that 2 + 2 = 5, then I am wrong, since the rules for mathematical language are understood with certainty based on our tradition.

If I claimed that a plane IS powered by fairy dust and yet it is NOT powered by fairy dust, then I am technically wrong since I abused the use of language.
With all due respects to Stanley Elkin:

No, annoying is not good. Annoying is annoying.

Computer languages are there for me to get things done, not to get in my way. Attempts to force good behavior invariably fail. Burn some more midnight oil to figure out how the language/library can deal with it.

I once saw someone write that the 1st and foremost goal of a language was to disallow mistakes. That's nonsense. If it were, all we'd have to do is make a non-functional programming language that can't do anything. So I guess sort of the next step in functional programming?
Not sure, I see its not posted also. Maybe somebody should shoot them a message asking.
Exactly. This is why you outsource--"Not our fault. Throw them in jail."
Meet the Company That Helped Twitter Launch Its Bug Bounty Program
Facebook’s Value Tops $200B on Mobile-Ad Optimism
This tool is very interesting: while the user interface follows proven design known from GParted GUI, it can work with lvm and it will provide support for btrfs or md raid in the near future.
There's specs[1] for a third version of the irc protocol that seems to accommodate this.

[1] https://github.com/ircv3/ircv3-specifications/blob/master/sp...
Yup, wonder the decision making process behind choosing Counterparty vs. Mastercoin
It's hard to say whether Scotland's support of the Labour party stems more from dislike of conservative economics or from dislike of Conservative MPs (aristocratic English families).
Bought on Twitter: Twought.
> for a job in a country where every other Tuesday someone goes on a killing-spree

As a European living in California (Orange County currently, but have spent some time in Silicon Valley too), I strongly disagree with that. Most parts of California are safer than my home country, and people definitely do not shoot each other "every Tuesday" (I know you were exaggerating, but still...)
Seems like Facebook share on signup is broken.

Looks good. Is it like Slack on top of google apps?

И клево, что есть русская версия!
I remember when I first installed it that draft behavior was the default, but there's a config option to have it encrypt drafts before sending them to the server. As others have mentioned, it's pretty bad about deleting them when it's done, though. I think a better option is to just not have it save the drafts to the server at all (another option in the configuration).
Disruptive social enterprise startups
Thank you for your diligence, then; most hand-written parsers fail one or more of those.

> less clunky and avoids the duplication that getopt_long results in.

Duplication because of the ugly flag/val logic, which in practice is typically passed as either NULL, 's' (long option for short option 's') or NULL, OPTION_FOO (long option with no short option, OPTION_FOO > 255)?

Yeah, that does seem silly. I think they did that to simplify the setting of boolean parameters, by passing &some_flag, 1, but that seems woefully insufficient when you need to handle arguments. I'd love to have a C library as capable as Python's argparse, instead.
The jizya was payable by non-Muslims dhimmis living in an Islamic state. I don't know of any requirements that had to do with participating in the military, as there were non-Muslims citizens who fought alongside the Muslims (e.g. Christians battling in the Ottoman armies). The only thing I've heard is that the jizya is to refunded if the Muslims fail to defend the non-Muslims paying jizya if they're attacked. Not sure how accurate that is though.
What solution would you recommend? I have given this a lot of thought and have a few ideas. Is there a venue for discussing the problem and suggesting possible solutions?

In lieu of a decent forum. I'll drop my thoughts here.

I have felt that the fundamental problem with JavaScript is that it cannot pre-empt. Even with its concurrency of web workers the primary example they give shows the flaw inherent in their solution

http://www.whatwg.org/specs/web-apps/current-work/multipage/...

As a challenge, try and write a version of this worker that the owner page can switch between two number sequence algorithms(prime / Fibonacci for example). The only way you can do this is to rework the program until it's back to being a program beholden to events.

You could solve most of this with a pre-emption mechanism. Allow an additional way to respond to certain inputs by registering an interrupt instead of listening to an event.

function myInterrupt(preEmptedState) {
interruptCounter+=1;
//do something useful here
setExecutionState(preEmptedState); //switch execution context back to pre-empted thread.
}

The parameter to the interrupt function is the execution state of the thread that was pre-empted. This can be restarted at the end of the interrupt, stored for continuation at a later time (enabling blocking), or abandoned (effectively terminating the thread).

What this would need is:

An execution state object, possibly an opaque object.

addXXXInterruptHandler(interruptHandler) ;; XXX= Timer/Message/Input/etc.

setExecutionState(newState) ;; this function would not return, it would continue the new state.

createExecutionState(main) ;; generate a new execution state object ready to run the function main

triggerInterrupt(interruptType) ;; Allow a tread to trigger an interrupt upon itself.

If interrupts themselves are simply the running of a new execution state then TriggerInterrupt is just a special case of setInterruptState.

Having this as a core would allow a huge number of higher level constructs that would enable blocking functions, and sane interactions with running processes like web workers.

Yes, you would introduce the possibility of race conditions etc. but only if you actually used the new functionality. If you chose to leave it alone you would be on the old single eventy thready system that we know and hate.

It would also mean you could have someone write var x=0; while(x<10) {} without it killing all scripts.
Dogs paddling a canoe??
I don't have any complaints, I'm stating the obvious: It's not practical. Buying computer parts? Who cares about computer parts?!?!?! Can I buy clothes and bread from my local store?!
>With that sentence, I meant that bankless people suffer hardship because they can't get access to basic banking services like savings accounts, currency exchanges, and money lending.

That's exactly who I'm talking about. And I think this will be the group who adopts Bitcoin, because there's a lot of friction in that market. Bitcoin is being seeing major adoption by markets with significant friction (silk road -> gambling sites -> ?).

>While it's true that bitcoin doesn't have a central monetary authority, you still need a gateway to exchange currency for BTC (currency exchange), some way to safely store your private keys (savings accounts), and lenders.

I agree that there will be a transition period.

No comment on my call for mutual respect?
In brief, we can extract energy not from heat, but from temperature differences. It's very easy to extract energy from a conventional power plant, because the hot stuff is right next to the cool stuff - the environment here. The molten rock has a huge amount of energy, but we can't extract it unless it's close enough to something cool to build a heat engine between the hot and the cold. Thus, geothermal is only viable at a select number of sites where the lava or other carriers of heat naturally flow near the surface.

To make it viable in general, you'll have to figure out a way to send a working fluid down deep enough to pick up enough heat and bring it back up again without losing all of that heat on the way back up, and do it with huge flowrates to extract enough energy, and in such a way that it can run pretty much continuously for years.
"messaging" Implies that these notices travel from A to B likely in your own network, but you added "secure". This suggests the network itself is only password protected and is a compromise - or two? - away from revealing what is being sent. The purpose of encryption is to limit the damage should eavesdropping of the network occurs.

Ex: Your routers, switches, RAID storage etc. are not immune to rootkits. However, if your message from A to B is encrypted and only decrypted locally by B, you've limited the exposure of this information.
>>describe and validate the desired structure

Something like this? https://github.com/abiggerhammer/hammer
This is very cool. This seems like it's just like Micro Python, but with JavaScript. Even the form factor looks pretty similar.

The amount of computing power that's now available in embedded systems is just amazing.
I'm not sure I totally agree. Well I do agree that I tailored the question to suit my point! But to your reply, I think you've changed the semantics of my meaning.

My questions were more from the perspective of the caller, and even then it was a bit abstracted from the actual type and implementation ... just more of a conversational "Does it? Maybe!"

You're rephrasing is still looking at it from the caller, but now takes into account the language semantics (which mine conveniently didn't :) ).

I would rephrase your questions, and look at them from the callee's perspective: "Will I get an argument? Maybe!"

And really, shouldn't we be saying that the function takes Just a to ... and takes Nothing to ... ?

Perhaps this has stretched as far as it might go. Maybe?
Thanks! It is more like a dropbox shared folder with a chat built in :)
A Special Court for Patent Litigation? The Danger of a Specialized Jury (1951)
Perl by day, Python by night.
Ask HN: 21-year-old coder recent grad have no idea what to do with his life