skysight-inc/HackerNews huggingface dataset:
Ugh, I know it's something that literally every programmer on earth can and often does bikeshed, but Swift just got string interpolation syntax wrong. Parentheses are something that are often part of the interpolated expression... they shouldn't be part of the interpolation syntax itself.
I find this story pretty fascinating. First, it's interesting how a broad attack, such as putting malware into software used by a large number of people, suddenly becomes a targeted attack: the attackers grab SSH keys and start cloning git repositories. I'm assuming that there was a significant number of victims in this attack. Were they targeting developers? Or did they just happen to comb through all this data and find what looked to be source code / git repositories.

The other thing I find interesting is this comment:

> We’re working on the assumption that there’s no point in paying — the attacker has no reason to keep their end of the bargain.

If you really want to be successful in exploiting people through cyber attacks, I guess you will need some kind of system to provide guaranteed contracts, i.e. proof that if a victim pays the ransom, then the other end of the bargain will be held.

It might seem that there's some incentive for ransom holders to hold up their end of the bargain for the majority of cases if they want their attacks to be profitable.
Another interesting remote-sensing analysis would be to look at NDVI (https://en.wikipedia.org/wiki/Normalized_Difference_Vegetati...) - there was already a terrible drought leading up to the conflict, but this war must have also taken a significant toll on the country's agricultural output.
This post shows, how mis-informed the community can be. If you have been following up Google Cloud and Firebase, most of the questions regarding long term support, phasing out and Google turning rogue wouldn't be asked. Firebase is one key aspect of Google's cloud strategy. Pretty much everything on Mobile services is tied with Firebase, some way or the other. We have now built 2 products on Firebase and are reasonably happy. The real-time nature of FB makes it alluring to so many use cases.

Having said that, Google should surely address questions on pricing and supporting other key Mobile platforms like Xamarin. Tweeting to the Firebase handle on issues never get replied. With other bleeding edge services that Google provides, Firebase certainly has positioned itself nice. The teething issues should be small things to fix.
Excellently made article in terms of web tech. It's media-heavy but loads progressively and fast, the employed effects support and enhance the content, resizing the browser works well even in the middle of effects, it looks nice in general and is very readable - great work bbc team who made this.
Is there a parse-time reason that they required the "_" syntax, rather than simply:

func greet(greeting: String, personName: String) {
print("\(greeting), \(personName)!")
}
The reason school is so expensive is because of the sports programs. You have football coaches that are earning 3 million a year. You will have 100's of millions invested in football stadiums, basket ball, baseball, and all the supporting infrastructure.

People wonder why they have to pay so much for tuition and extra fees. Somewhere along the line sports became more important than academia and drove the cost of a 4 year degree from a 15k to 100k.

http://www.huffingtonpost.com/dr-philip-l-yeagle/may-you-get...
The Manager’s Path in review
Great write up. Working with the DBR can be painful when trying to track down funky costs like EMR and bandwidth consumed by EMR jobs. My company investigated at extending terraform to do some kind of tag check when applying however we decided it would be difficult to maintain this plugin and integrate with future versions of terraform. Now I have about 5 different lambda(* x accounts) jobs that tags things & leveraging cloud custodian for event based tag management.

As I've been looking for a vendor that could take over tag management for me and roll this out to new taggable features(lambda), I'm fnding no one in the industry has extensive tag automation. When I talk to vendors, they think I'm using tagging for organization, while it's really for cost management/reporting. Very strange. I wish AWS had a better tagging tool set than what they currently offer.
I work on a large Scala team. We use microservices so my regular compile times are somewhere between 4s and 20s. I rarely have to do a full rebuild.

IDE support is bad, that's a good criticism but a good chunk of us don't use IDEs, and instead write it like a dynamic language. Live inside the REPL, copy paste back and fourth.

As for 'subsets' everyone uses, I find this advantageous. Our team strongly encourages a pure functional style, but we realize not everyone is going to start out that way, and it doesn't get in the way of shipping software.
Having never used Swift, it feels like the syntax is being optimized for the less-common case; are named parameters considered the "default" choice in Swift, and is using different external names so common that it's worth cluttering the syntax for functions without external parameters in order to make the their own syntax easier?
Ask HN: How and at what age to tell your kids we are mortal?
Successful Film Marketing strategies
Sia – cloud storage on the blockchain
Can't you click "Wiki" and see it in action? Beats a screenshot.
I love my N5, but the battery is dying, and I've also had to replace the power button too.

I would like to keep using it, but the battery plus the lack of software updates is pushing me back into the market...

(When I become Prime Minister, providing only 3 years of security support for a product that ought to last at least 5 will become illegal...)
That 37k average is distorted by graduate and professional degrees [1], which is why I specifically referred to undergraduate debt, which are the bulk of all graduates.

[1] https://static.newamerica.org/attachments/750-the-graduate-s...
Getting close to sixty. By the sound of it, generations older than you. I used to own thousands of paperbooks - these days, they're down to around a hundred. I have preferred digital for as long as screen quality has made it viable, meaning roughly the last ten years.

Mind you, I don't own a Kindle, and most likely never shall. Nobody gets to looking over my shoulder as I read - and certainly not Amazon - because that distracts and destroys my reading experience.
The right to total privacy in email and messaging communications.

The right to a speedy trial - you get freed from jail ROR if not tried within 3 months.
It sounds like this corruption issue isn't news.

From his predecessor: https://www.theguardian.com/world/2016/nov/11/dilma-rousseff...

And other gossip:
http://plus55.com/brazil-politics/2017/05/michel-temer-first...
Bollywood+Actress+Reema+Laagoo+Passes+Away+at+59+Years
They show corpses on TV now, so before you ever leave the TV news on in front of them.
I feel one of the bigger challengers for online university is the examination system as much as the course.

If someone could organise a monthly 'exam hall'. Over time you could even build prestige on these courses same as large university if you can guarantee the examination process is robust.

Thinking about it... I think you'd need;

- A place where people have to physically turn up.

- Paid/volunteer monitors do a proof of person ID check and some photo or physical ID check as students notoriously do other student exams in some unis.

- Exam content has to be original to avoid rote leaning form doing past exams.

- Exam content to be provided at test commencement on individual screens, communal projector or print out in the room that only get released as the exam starts. This way People cant gain early access to anything.

- Web cams must be set up to show the exam room so effectively there is another level of monitors and the physically present monitors are monitored too. This again would reduce the risk of graft.

- Exam paper/results must be collected immediately from exam with something to ensure the person who did the work uploads their own, e.g. At the end of the exam people are called by name to walk to the front of the hall and scan their paper.

I'm sure there would be a bunch more to it than that but it seems to me once you could guarantee results are genuine there is a great opportunity to have recognised online courses that can have all the prestige of unis (less networking effect). Without believable results it will always be a challenge and learning will be for learning sake, not the recognition factor universities provide.
Don't these sports programs also bring in money though?
Pay me then sick of walking or riding
You're asking why someone wants to own a house? Where to start with that. And it's s far from Econ 101.
Anyone know how to do mathematical operations on an Amount? I can't seem to do this ie:

amountRequired: Amount
amountNeeded: Amount

then...

verify amountRequired * 3 == amountNeeded

Any ideas?
You make a good point actually.

It made me think and I'd even take it a step further and say most of the places the US (military) is involved in are not great like Iraq, Afghanistan, Egypt, Uganda, Haiti, etc. which is interesting because this thread originally asked about our (US) Bill of Rights.

Obviously the UN (and thus all of its mistakes) is typically supported by Democrats...

But also Paul Wolfowitz, neoconservative extraordinaire and also the world's worst human being and the only person I know who can be singularly blamed for the deaths of hundreds of thousands in Iraq and now Syria, was a Republican idealist who was going to spread human rights values by attacking Iraq and paying for the $50 billion dollar war (turned out to be $3 trillion) with captured oil revenues from the temporary, "month long" occupation of southern Iraq...

So, the question is, do good inspiring rights-based documents cause disastrous foreign policy decisions when countries try to implement them in real life?

The opposite of all this by the way is realpolitik, advocated by Henry Kissinger. But then again that was during Vietnam...a war of comparable brutality to Iraq.

In the end...I would say since everything seems to fail...go with the inspiring, come up with a list of actions that will never be justifiable so that "going to far" and "failure" is never a matter of debate but only a matter of proof, and get good leaders.
Well, if you're a fan of Buxtehude, have you listened to any music by Franz Tunder (Buxtehude's predecessor in Lubek)? My knowledge is mainly of their choral music, not organ music. So, might not have useful recommendations for you.
US and EU reject expanding laptop ban to flights from Europe
It's a side effect of labeled arguments. The caller would use the function greet as `greet(greeting: "Hello", personName: "Alice")`.
1. I wouldn't put it in terms of time being "more fundamental than physics". We can mean two things by 'physics': the thing that is the object of study in the Physics department or the theory that gets generated by that study. Time, I take it, is one aspect of the object of study, one aspect of the natural world. So the question is: does the natural world, at the most fundamental level, have asymmetric temporal order? Or, rather, is asymmetric temporal order mearly an 'illusion' that gets explained away once you have the most fundamental picture of the world?

That's likely still unclear, but that's to be expected. We typically can't ask questions about fundamental structure without invoking that fundamental structure itself. That's why I find the analogy to left/right so helpful. We have a pretty good idea of what it means for left/right orientation not to be built into the fundamental structure of nature. And so that can provide a way of testing various claims about the fundamentality of asymmetrical temporal ordering.

2. I'm not sure I have a grip on what this additional thing is supposed to add. But I'll note that you reference 'history' and one might reasonably think that that is a temporal notion. If you meant 'history' to mean something like "the universe's extension in the temporal
direction", that doesn't quite seem to allow for the distinction I took you to be trying to make.

(And, yes, McTaggert's framing is highly unhelpful.)
Sorry, I didn't explain myself well.

Range.closed(1,5) is the syntax used to refer to what a mathematician would call [1,5].

Guava is just a Java library. In Java 9, a two-Integer-element list literal will be List.of(9000, 9001).
Its more flexible and customizable, e.g. works with RxJava, CompletableFuture, JavaFX, Android... Moreover, you have more control where a coroutine is executed.
https://kotlinlang.org/docs/reference/coroutines.html
The dangers of forcing employees to be positive
I believe it was discussed in Swift Evolution, not confusing.

0...1 //0 to 1

Note: triple dot.

0..2 //error: repl.swift:1:2: error: use of unresolved operator '..'

0..<1 //0 to <1
I love it. The problem I have with Github is that for them everything starts with a repo, even projects, which usually should consist of multiple repo are reverse, one repo can have multiple projects.

I like functionalities, UX sucks but it doesn't matter for me.
Exclusive by default is designed to fit with 0-based indexing (0..length(v), instead 0..(length(v)-1)). That said, this thinking is less relevant in languages with iterators/ranges and doubly so ones that offer a way to explicitly, but abstractly, iterate over the indices of a vector/array.

On the point of downward ranges, you can often reverse the range explicitly, rather than swapping the endpoints, like reversed(range(0, 6)) or range(0, 6)[::-1] in Python (vs. range(5, -1, -1)). Of course, this isn't nearly as syntactically nice as range(5, 0)... but that comes with its own problems: automatically iterating backwards in ranges has been really annoying every time I've encountered it (mainly in R), requiring extra care and a pile of extra ifs and/or mins & maxs.
Spend any time with the St. Matthew and St. John Passions and I don't see how anyone could deny Bach's music is passionate (no pun intended...really).
> Whilst DevOps automation tools like Chef/Puppet/Ansible/Whatever have undoubtedly increased in popularity, very often they are just used as nicer ways to achieve the same thing IT professionals have been doing forever in shell scripts or similar.

You'd be surprised how many sys admins and especially developers have never written a shell script.

One of our code tests is to write a simple grep clone, the results seem to indicate that none have ever used a command line. Nearly every submission seemed to think that you could only pass one "-x" (x the placeholder) switch to a command.
Is it not too ambitious to compare engineering to psychology or doctoring? If it was like engineering or doctoring the success rates would be more consistent and reliable.

I think therapy is important, unfortunately to our severe detriment, as a science it's in the stone age.
There's very little which measures up to the Chaconne.
Freedom from imposition by any non-public government process. If the government does anything it must be open to public knowledge and scrutiny.
I would bet that the Russians have already bugged all of his Club Houses and Mar -A -Lago. They probably already have people on the inside working as staff. That's the problem with the President not using Camp David or other Government facilities for hosting guests or RR. His establishments are a huge security hole.
Well I worked along with eetti lately, And it was a pleasant experience that they provided an end to end support through out the project and the result was just as I needed.
Thank you
I could see this leading to more youtube style personalities on reddit, even stuff like streams could find a place on their user profile.
https://forge-allura.apache.org/p/allura/tickets/ this is a live version, why need screenshot?
The New Life Jesus Has Given to Us
We should ban submissions from paywalled sites.
Haha, don't be embarrassed! I also want to know!
It has anchor layout, flow layout, table layout, etc... I have typically found it easier to do the layout I wanted in delphi than CSS. The only annoying thing is that the visual designer has no undo, which you really miss when doing exploratory designs.

CSS 2 really is terrible. There's a few things in CSS 3 that make it passable, but overall I consider it a failed layout system which needs more workarounds than it provides solutions.
If you connect your audience to relevant affiliate offers it has higher payback and is a better user experience. You should be able to get $200 eCPM+ with any level of engaged user (western desktop traffic), something your unlikely to get even close to on Adsense.
Why one search engine for the whole internet is not a good idea anymore
This add-on already does that. (Did nobody try it??) It shows in the pane a list of candidate transforms, seemingly ranked in some descending plausibility order. They have semi-readable names. You get to choose one to apply.
It's due to the zero-based indexing, right? In something like lua, that starts at 1, inclusive makes more sense.
> Sometimes they do exactly what you need, and 70% of the time they're just totally useless (which is a knock on the programming languages more than the IDEs)

See, that makes a lot of sense on the surface... And I find it playing out across a lot of the modern IDEs like PyCharm...

But I don't think it actually has to be that way.

DrRacket blew most of what I knew out of the water. It could refactor for me, trace functions and calls to definitions through multiple libraries, which included argument arities. I could write code in the REPL and push it back up into the editor, or vice versa.
Well, I saw the video, It seems like he gets all those clips from some where. But considering the age, it was pretty creative and innovative. And I admire this kind of actions by Eetti because it will definitely inspire more children.
thank you
GitLab now supports project without a repo and subgroups. So you can have multiple projects without a repo.
Kill two birds with one stone, tell them Santa died.
Freedom of Information:

Its rediculous that one can be jailed, thieved or killed for: possessing someone else's number,
telling someone a secret number,
or refusing to share the correct number with someone.

These problems only exist because society believes in, and enforces, ownership of ideas
It looks like someone saw SourceForge and thought "You know what would be great, if I could host my project on SourceForge, but have to deal with all of the admin myself too!"

If the infrastructure underneath is solid, it might be as easy as redoing the presentation layer to make it more reasonable... but I'd have to have more than a cursory glance to tell. It's just hard to want to do that when you've immediately got the taste of SourceForge in your mouth...
damn - any followup thoughts on this [1]? Looks like the google loophole's broken (for me, at least).

[1] https://news.ycombinator.com/item?id=13620821

Edit: Here are some non-WSJ sources articles, discussions and a link to the actual vote. Take your pick. :)

http://nyassembly.gov/leg/?default_fld=&leg_video=&bn=A04738...

http://www.singlepayernewyork.org/2017/05/13/vote-in-the-nys...

https://www.commondreams.org/news/2017/05/16/single-payer-su...

http://reason.com/blog/2017/05/17/new-yorks-single-payer-pro...

https://www.healthcare-now.org/blog/new-york-assembly-passes...

https://www.reddit.com/r/newyork/
it's not. i've never used swift, and the meaning was instantly obvious - i'd call that a very elegant solution to a common problem i've seen in several languages.
Full CSG. Very nice. Clipping a cube with a sphere works.
Yet another patch on the Swiss cheese of memory corruption, with very little impact on future CVE database entries.
Don't forget that Scala preceded all of the languages you've listed, which in my opinion shows where the inspiration came from for some of them. Of course, I'm sure that Scala drew inspiration from some of its predecessors.
Syntax should be a personal preference, installable module built on a standardized AST which compiles to whatever VM.
GitLab.com is not representative of the speed of GitLab self hosted. If anything it is making self hosted faster by surfacing scaling problems.
I have increasingly noted that Gitlab surpasses Github in the number of features. Good job!
Have you by any chance seen that I specifically mentioned version 7 of C#?

Which allows full control how async/await works, kind of like on the upcoming C++ co-routines, where async/await become syntactic sugar for blessed data structure.

EDIT: Should have provided the actual information.

The feature as introduced in C# 7 is called "Generalized async return types".

https://github.com/dotnet/docs/issues/1756
Twitter loophole works: https://twitter.com/search?q=https%3A%2F%2Fwww.wsj.com%2Fart...
I love seeing this on HN! I'm particularly fond of Bach's cello suites but I'm probably biased since I'm a cellist. http://allofbach.com/en/bwv/bwv-1010/
Agreed, Scala's approach to ranges is one of the best out there from my experience.
>the extra pesticides that enter the water table from growing the extra plant matter that must be used to feed free-range animals

1) Why must it be grown? Shouldn't there just be less animals in places that can't support their grazing?

2) Why are you applying pesticides and fertilizer?
This is the exact opposite to ruby, which uses `0..n` as inclusive, and `0...n` as exclusive

http://stackoverflow.com/questions/9690801/difference-betwee...

I always remembered it as "the third dot makes it bigger so it pushes the range and the last item falls off". I can't remember where that came from, perhaps related to the poignant guide:

http://poignant.guide/book/chapter-3.html#section2

I actually find in practice the swift ranges are the only ones I can reliably use without having to stop and look up the reference syntax every time.

For some reason, for me, `0..<n` reads as "0 through less than n" which signals to my brain a clear signal of an exclusive range.

Then I can work from there and if it doesn't have the < symbol it must be exclusive.

I suspect `0..=n` would work similarly well, but I've not seen a real language to ever do that yet
You can argue if it's useful or not on its own, but it makes sense when you consider that Swift is compatible with Objective-C. In Objective-C, that function would be a method like

-(void) greetWith:(NSString *)greeting to:(NSString *)personName

and you'd call it like

[self greetWith:@"Hello" to:@"Bob"]

Swift's external/internal parameters are built to allow the same style as was used with Objective-C and easy bridging. Swift's APIs tend to be terser than Objective-C ones, though.
>it was well understood that majoring in Underwater Basket Weaving was not a great idea from a financial point of view

It's still understood. It's just that, it's not a very useful piece of information, since _all_ degrees are more expensive nowadays -- not just the basket-weaving ones.
The 2011/2017 before/after images are striking, mostly because they use scrolling to show the before/after effect. I've never seen that before, and it gives a lot of control over the viewing experience compared to dragging a handlebar.

I wish it were a bit easier to tell which parts of the image are showing bombed areas, since it's difficult to tell whether the diffs are due to explosions or natural changes over time.
Canva launches animations
StartupSchool: Peter Reinhardt on How to find product market fit
Good idea! Talk to this guy:

https://objective-see.com/products.html
From Apprentice to Master, How to Learn Test Driven Development
Why Favor PostgreSQL Over MySQL/MariaDB
Google launch android O, who want to try?
Googl yesterday launch its new operating system Androide O, the beta version is available for developers, the new O has come with lots of new features.
banning seems rash.
Ultra-Geek Linux Workstation Guide
I think it likely that labeled arguments were introduced mainly for Objective-C interoperability.