skysight-inc/HackerNews huggingface dataset:
1. "shadowDOM isn't that much needed"

I gave you an argument why I think it's (components) - you just say your opinion - it' not an argument

2. "I have concern as to how good this is going to be"

It IS WORKING already in Chrome. You can try it out [1].

"ShadowDOM IS a div soup." - no it's not. Web component tags are tags like any other HTML tag. You don't get the idea. Div's are like thinking about computer program in terms of electrical signals whereas web components is thinking in terms of program logic. See example video [2] with Google maps component. It just hides unnecessary complexity.

" I haven't seen any discussion with regards to strings in shadowDOM that needs to be pluralized/genderized."

Sorry. Don't get what do you mean. Could you please evaluate ?

"Also, ShadowDOM is outside the scope of the article"
well I just express my opinion that there are bigger unsolved issues in webdev than those solved by Constraint CSS

[1] http://www.polymer-project.org/

[2] http://youtu.be/8OJ7ih8EE7s?t=28m26s
Recession looming?
I don't think his past clients have necessarily something to do with his view on Assange. Lawyers often plead somebody's cause without endorsing their actions.
I'm using Go only for experimenting. IntelliJ worked great so far and I'm saying this as a person who works with Visual Studio + Resharper in his day-job.
Power is a bigger constraint on mobile devices than raw speed.
Just a heads up, eBay have been a bit legal-y for ecommerce things ending in Bay previously..
Yes. It took some time to confirm this starting from the relevant Wikipedia page (https://en.wikipedia.org/wiki/Assange_v_Swedish_Prosecution_...), because the suspected offenses were changed/lowered (he's not been formally charged yet, in Swedish law arrest happens before that), but this http://www.bailii.org/uk/cases/UKSC/2012/22.html U.K. Supreme Court decision a year and a half after that confirms it:

"The offences of which he is accused and in respect of which his surrender is sought are alleged to have been committed in Stockholm against two women in August 2010."
Isn't a embassy car considered embassy territory?
How Swift could potentially be faster than Objective-C
Then the whole thing is redundant.

If clone $var = DateTimeImmutable->modify()

Then this really doesn't solve anything.
Fairly sure SO would close the question as unsuitable, FWIW.
Remote quantum applications, teleportation by calling between qubits
Having done jury service in the UK, we were instucted to base the decision on evidence. It was disturbing to see how many other members of the jury ignored that and went on "gut feeling".
This all day. Take an online course on CSS, really grok the basics, pick a grid framework, and you're done. Should take less than a day to go over it, maybe a week of practice before CSS is another tool in your belt that you can wield with efficacy and ease. The more complicated stuff, it's fine to copy-paste from SO - no shame.
The Universal Typeface Experiment
I believe there was something about Sweden having a covert relationship with NATO, which might mean they might extradite him, vs Ecuador which isn't. Britain doesn't enter the equation because he's not on British soil.

That said, he's just wanted for questioning. Which he's repeatedly said he's happy to do remotely via video conference.

If the Swedish prosecutor actually wanted to talk to Assange like they say the do, they could do it today.

Also: Aardin immediately invited Assange to a crayfish party after she was allegedly raped. That's really odd behaviour, especially from a well known feminist.
It is very hard to decouple yourself from the tooling and the platform specific features. The PaaS offering literally requires half of the additional services ad the basic deployment is simple and the IaaS offering is expensive and you need the latter to decouple effectively.

Either way you also hang yourself with a vendor tied product and the ball and chain of licensing. The latter of which escalates pretty quick when your business grows.

Our 8 man startup in 2005 now spends £200k a year on licensing because we're that tied to the damn platform.
You can, but the properties need to be string pointers, not strings (this one stumped me for hours).
yes, this is always a possible approach and personnaly preferable. But you should also look for "hidden" costs and mainly your effort/time to setup and manage things. At the end part of the value of using a cloud service is convenience. Again, everything depends on the context of your application.
It's worth mentioning that in Sweden, the only crimes where the plaintiff can choose not to prosecute are libel, slander, trespassing, and maybe a few more (and even then with special cases)[0].

0: http://www.aklagare.se/In-English/The-role-of-the-prosecutor...
People to move from HTML+CSS to Canvas/WebGL and some constraint solver for client side rendering, in order to take advantage of those runtimes.
That would be great, my email is: saman<dot>b<at>gmail<dot>com. I am not aware of such collection, and sure I would be happy to collaborate with you and expand on this.

That sounds like a promising collection.

Thanks for the pointers. But wow, the Thai magical ward shapes matches my mental image! In an older version of this project with PHP, I even had the same idea as spire shaped verses! I need to find more resources on this. This is really interesting, thanks a lot. The calendrical system looks nice too. You got a great photo collection :) Although the last pointer points to another album I guess? I can't find any Berber patterns and it is pointing to Tattouine photos instead of Doiret.
Ok - should be fixed now!
I just bought 3 Miilight bulbs, and obviously after installing them I was like. Man my neighbours could probably control my lights... I also have a RF remote which operates on 2,4ghz and does not require network authentication.
The Wifi bridge does require authentication however.
I was thinking of building an RF "cannon" with a directional antenna and see how far I can go. I also got a DVB-T dongle. I should be able to "catch" the signal, right?
Because it hides errors instead of helping the developer find them
Show HN: Speedsums - how fast can you math?
I just had to try wolfram alpha. It eventually understood

"how many calories would one cubic light year of greek yoghurt contain?"
Extreme nonsense behavior from the language you're using. People see that and think "that's just the tip of the iceberg".
It isn't a crime? You should explain that to the Bail Act 1976 (http://www.legislation.gov.uk/ukpga/1976/63/section/6) amended by the Extradition Act of 2003 because they believe:

"A person who is convicted summarily of an offence under subsection (1) or (2) above [which outline not attending without good reason] and is not committed to the Crown Court for sentence shall be liable to imprisonment for a term not exceeding 3 months or to a fine not exceeding level 5 on the standard scale or to both and a person who is so committed for sentence or is dealt with as for such a contempt shall be liable to imprisonment for a term not exceeding 12 months or to a fine or to both."

The court and / or the CPS may view that there is no public interest in that, though similarly they may view given the cost to the tax payer of the round the clock surveillance of the embassy he should be made an example of.

I'd be inclined to believe the later.
pling, any chance to post/share how you are using the azure platform and what makes the migration hard? that would be really useful.
Solving the Parking Problem
I, too, can't get to Linode's Fremont data center from my Comcast home connection.
My point is that cries which are often heard around these matters of "he would say that" don't really ring true here - this is a qualified solicitor with solid liberal credentials. People may not like what he says but there is little reason to believe he's not telling the truth.
> In my experience developer productivity is of far more importance to business than language performance

You seem to be assuming that Nimrod would necessarily be less productive to work with than Python?
Does it play nice with Javascript frameworks like Angular?
Awesome work cgimmer! Would be great if you can add some more basic (one pager maybe) free themes. Anyway, you've done a great job already :)
Shadow DOM is no solution to the issue pointed out by OP, which is CSS-based layouting. Flexbox[0] or grid[1]? Sure, they exist specifically to (finally) add actual layouting abilities to CSS.

> Thinking in terms of components is much easier than trying to manage div soup.

It still does not solve the issue at hand.

[0] http://caniuse.com/flexbox

[1] http://caniuse.com/css-grid
The link posted above covers these points http://www.newstatesman.com/david-allen-green/2012/08/legal-... and specifically the video conferencing / questioning red herring
He's not "wanted for rape". They want to "ask him some questions".
Thanks for taking point on this Daniel, I'll see you there!
why not just pin processes to cores e.g. set-scheduler-affinity and friends on linux ? that works right ?
I speak for the ones that got interested into Go as a mix of C and Oberon, even tried to initially contribute and went away as the language became a kind of Java 1.0.

The ones addressed by Rob Pike on his post about C++ developers.

Now I spend more time with Rust and D instead.
Good work. Will surely publish my own theme under construction.

Saw your alexa it is 90K~ great job that too in two months.

Whats your daily traffic count? Reveal only if you don't mind.
objects of the DateTimeImmutable class are immutable. All methods that modify the object will return a new copy.

While the naming is a bit unfortunate, this isn't different from other languages that have immutable types like Java String which also have methods that act on the string they are called on and return a new copy.

Like concat().

String foo = "foo";
String foobar = foo.concat("bar");
// foo is still set to "foo"

And with datetimeimmutable:

$date = new DateTimeImmutable();
$other_date = $date->modify('+ 3 days');
// $date still is today.

Python strings work the same. And all the ruby string methods not ending with a bang also work the same.

The reason why the method is called 'modify' in PHP is because the old DateTime (mutable edition™) method was also called 'modify' and the two should be more or less drop-in replacements.

Besides - what would you call a method that modifies a timestamp?
This is what mealy-mouthed "best tool for the job" rhetoric misses. Different platforms have different communities with different people in them, who place emphasis on different aspects of development.

My personal hunch is that the things that get in your way as a developer on Windows add up and become very frustrating. So, good devs either get tired of this or don't want to deal with it in the first place. The rest of them wait for an open-source solution, rewrite it in C#, and prepend the name with an "N".
It matters because it shows how incoherent is the Javascript type system, and how easy it is to get biten by it.

About Python lambdas, I miss them a lot. But one can not have everything...
News Aggregator for India!
It's not just programmers. It's every kind of knowledge work.
Mine is multitasking and identity-mapped. I made my own compiler. I can do things well beyond your imagination because you are a stupid-fuck nigger. I made a compiler that does position independent operation, it's easy. You are a nigger or CIA reeducator.

I'm fucken tired of niggers.

why must I suffer so long in this prison with CIA-nigger-stupid-fuck-reeducators?
We're not using it other than for internal failovers. We tried to build version two of our product on it. The costs increased rapidly until it was cheaper to buy a 42U and stuff it with HP kit and pay for a fat pipe. The storage was expensive, the per transaction costs are expensive, the bandwidth is expensive, the IaaS machines are expensive and the support is expensive when it goes wrong which it does occasionally and violently.

This was all financial data aggregation and archival stuff.

In test it was 23% more expensive than our own kit over 3 years.
I use this all the time. In fact it was one of the first aliases i made when i switched to a UNIX system. Though I named mine `greph` (for grep history). Absolutely invaluable
> I gave you an argument why I think it's (components)

No you did not. "it sucks less" is not an argument (and it's pretty faint praises), it's just your opinion.

> "ShadowDOM IS a div soup." - no it's not. Web component tags are tags like any other HTML tag.

And what do you think lives inside the tags, pray tell?

> It just hides unnecessary complexity.

That's the point, the complexity is still there, just hidden.

> "Also, ShadowDOM is outside the scope of the article" well I just express my opinion that there are bigger unsolved issues in webdev than those solved by Constraint CSS

That's not a very on-topic opinion to express in a thread dedicated specifically to discussing layout in CSS.

It's also wrong, web components make it somewhat easier to reason about the existing mess, they don't actually fix issues. Actually having layouting tools in CSS fixes issues, namely the issue that layouting in CSS is currently intractably brittle.
Let's compare the old thing:

$date = new DateTime();
$other_date = $date->modify('+ 1 day');
// $date is now tomorrow

with the new thing:

$date = new DateTimeImmutable();
$other_date = $date->modify('+ 1 day');
// $date is still today

Then, yes, clone($date_time)->modify() is equivalent to calling modify() on a $date_time, but the problem starts when you pass DateTime instances into functions because you just can't know what the function is going to do to that date object.

This means that you have to be very defensive, constantly calling clone() or you'll have your dates altered behind your back from some library that's called by a library you're calling.
yea - sure you are right. I just say - there are bigger issues with HTML/CSS than that.
He's still got to get from the embassy to the car (remember that the embassy is a two bedroom apartment - it's not got underground parking on embassy soil a car could get into) and then from the car to the plane.

A bunch of the newspapers here (the UK) looked into this at the time and the short version was there was no realistic, workable way of getting him out without the UK co-operating.
The biggest problem in his situation is there's not contract in place to keep the employer honest. There's nothing to prevent them denying they ever offered equity, nor to prevent them starting the clock on vesting at the time the option agreement is signed. "Here's a meager salary for now, and you'll have to trust us to do The Right Thing later."

The employee is the one getting the work done. And he's got to watch out for his bottom line like everyone else. If you're being promised equity without a written agreement, then take that into account- assume it's not even part of the equation and negotiate better pay or move on.
Dockerfile to try Gitbucket
The font on your landing page looks like fixedsys and turned me off the app completely.
We're definitely going to release more free themes along the way so make sure to check back.
A personal favourite of mine is aliasing common cd operations.

alias ..="cd .."
alias ...="cd ../.."
# etc

and of course `cd -` to jump to previous directory
While I don't disagree with you that that's inconvenient and totally solved by strongly typed languages (I love having my arguments filled in when writing a function call in Go), this usually isn't a big deal in literally any of the production Node systems I've worked on (some of which are particularly complex).

At my shop, we emphasize making obvious (if somewhat verbose at times) names for functions, so that it's pretty easy to intuit what arguments it takes. Also a naked function (e.g. "foo(bar)") will always be defined in the same (<100 line) file, so it's not hard to find it, or in a module (which is a Cmd+P away).

All this to say, while I agree with you that strong type systems mostly eliminate this pain, it's not exactly "painful" in Javascript either.
And the omnipresent, omniscient commenter who can solve a rape case by reading about it online strikes again.

Good job, sir. Good job.
I think another question following from this, that web developers should be asking themselves more, is "do we really always need a Javascript framework?" I know that "web applications" are all the rage right now, and there's this very very strong dependence on Javascript, but for a lot of purposes, a static page or form with some minor JS enhancements works really well and degrades gracefully, which can't be said of a lot of JS-only apps.

There is a trend that's present in other areas of computing too, but I notice it the most in web development --- the ever-increasing layers of abstraction, just to do something that doesn't need all that complexity. Certainly there have been good web apps that make great use of HTML, CSS, and JS, but most of the time it seems like we're finding more resource-consuming ways to provide none to little gain in functionality.

It's especially sad when people who for various reasons cannot or will not use the latest (mainstream) browsers with tons of features and resource consumption, or who do not have a high-bandwidth, low-latency connection, are essentially being locked out of easily using sites that have "upgraded", when they would've been able to use that site to do the same thing they could've done before (e.g. checking their bank account balance.) By all means use new technology to enhance, but don't use it to marginalise.
Are JS developers often adding empty arrays and empty objects together? This seems more like a corner case than a real issue.

(Not snarky - I don't know JS)
Sounds great, see you there!
> I just say - there are bigger issues with HTML/CSS than that.

Yeah… no, not really. That there still is no way to correctly and reliably layout on the web is a much bigger issue than modularity.
http://programmers.stackexchange.com/ would take it.
How does changing status via genuine marriage count as "exploiting" the system?
Please explain exactly how a rape charge changes the opportunity for extradition?
As the UK has extradited him to Sweden, the Swedes would actually need permission from the UK to extradite him to a third country.

Let's also remember, the UK has spent years being the US's bitch when it comes to foreign policy, defence and intelligence matters. I can't think of a single nation in the world who have been more willing to do America's bidding than the UK. It really makes no sense for the US to involve a third party.
Show HN: MoonStocks, the stock trading music rhythm game
Link? I couldn't find their team page from their website (which, assuming they still have one, is really disappointing).
Is this true? It seems odd to me that it was downvoted rather than refuted with evidence to the contrary.
The state in almost every country can, for certain crimes, independently press a case for the exact reason that witness intimidation is a very real problem (and has been in full force against the women involved in this case via the internet hate machine).
Can you break down that 200k in cost? That seems pretty high unless you are a fairly popular.
It's quite representative of the problem if you can't identify the difference between Wikipedia - a non-profit which is entirely ad-free and runs exclusively on donations, compared with the majority of other free sites which are funded by subjecting their visitors to advertising. No wonder Wikipedia has so to push so hard with its annual donation drives, if people can't even recognise the benefits of keeping it free from commercialism.

Hulu is an example which mixes both approaches - clearly an $8/mo premium subscription isn't enough to support their business model, so it has to be supplemented with ads. Not sure why this needs explaining. TV is obviously an industry very tightly coupled with ads, making it more difficult to disrupt with a fully ad-free approach.
`brew install tree` on OSX

Also this bash function from Mathias Bynen's famous dotfiles is a fantastic shortcut for colorised (and more) output from tree. https://github.com/mathiasbynens/dotfiles/blob/master/.funct...
Show HN: Morse code radio [audio]
Closed as primarily opinion-based.
I could have sworn that Aaron had mentioned that this story was a counterpart to his recent "Multi-process architectures rock! :)" post that all of you defending multi-process architectures apparently didn't find. It's worth a read as well since many of the arguments you've made, Aaron already made.
Because making your users wait for your code to compile over and over again on their device is not what you want your users doing.

.Net has the same issue and MS also went this route for Windows phone and it's now making its way to the desktop.

If it can be done at build time it should, I think everyone is realizing that on many fronts. Long startup times and battery power being consumed by a jit is a worse users experience.
What advantage does AoT have over JIT in terms of power? Recompiling is a non-issue, if you can cache AoT code you can cache JIT code.

Not to mention, faster code uses less battery.
Just grabbed a ticket. Thanks for taking this on Daniel!
Future of Food - Meat crafting for Gourmets
If you cache everything, you're just doing AoT compilation.

But in general, I would say that the performance advantages of JIT have never really materialized outside of a few specific types of code. In theory, there should be room for them to appear, but in theory, we're all running Itanium chips. In practice, we haven't been able to write software to take advantage of those theoretical possibilities very well.

Look at it this way -- there are a lot of really smart people working at Google on Android, and despite having a completely working JIT environment and centuries of man-effort to devote to it, they went with a complete rewrite of the runtime in order to gain speed. They wouldn't have done that if there were easier paths to efficiency.
Neighborhood employer - find/offer microjobs locally
But would AOT have significant effect in this regard?

From my experience, major power consumers are display, its backlight and various connectivity interfaces. Oh, and working GPS can surely drain the phone in an hour or two. Compared to those, any possible differences AOT vs JIT CPU power consumption (if there are any and if they are somehow in favour of AOT) seem totally negligible. But maybe I'm just wrong on this.
that's some nice info, thanks for sharing pling. It makes me curious to try and compare costs with other IaaS platforms.
> Not looking at Go yet? It may be a good time to do so now — everybody else is.

I'll be gladly left behind.
Which is a formal part of the Swedish legal process, unless you're trying to imply that English-style common law should be the one and only legal system practiced in any country?
> Maybe so, but having exceptions in a language is also a good predictor for the misuse of exceptions for purposes other than error handling.

Is that really a problem? I once hated such uses, but could never point why.
As often as any programmers deliberately insert bugs in their code ;-)

Those values are usually in variables that and have been set maybe from a backend reply or from the UI at some point.

That is just one instance of the sloppy mess of weak typing. Instead of writing a long list of it I just used an example to illustrate.
There's a lot of explanations of source code deployments, but it never mentions compiled binaries. Is it capable deploying build outputs?
And, in fact, rape is often one of those, exactly because there's a lot of pressure on victims to not press charges. We don't know the details, we don't know the actual texts, but "she did not want to press charges against him for rape" sounds so familiar it's enough to make one shudder inside. And it's very, very different from "she didn't consider it a rape". Which might be the actual content of the text itself, but we don't know that.