skysight-inc/HackerNews huggingface dataset:
Can you elaborate? The title, as presented here, is nothing spectacular, but it's not necessarily inadequate to the task. Also, the "all now gone" phrase in your alternate strikes me as somewhat awkward.

While reading your version I also wondered why you might go with "There once were" rather than "There were once"?

We all have our own pet peeves, though. I weep at the loss of the subjunctive in English (For most usages it's "I wish I WERE there", not "I wish I WAS there", dammit!!!)
Actually, Prolog uses "-->" for to define grammars[1] for parsing. Not confusing at all! :)

(actually, parsing is one of the things i really love about Prolog. Writing a simple grammars is much easier and much more pleasurable than using things like regular expressions. The fact that it's far more powerful and readable is just a bonus. )

[1] https://en.wikipedia.org/wiki/Definite_clause_grammar
> but it also wiped out a large percentage of the wealth of the poorest people.

This is a blatantly incorrect statement (that shows the bias of the author). Old currency could be turned into bank accounts, and then out to new currency.

The inconvenience was around the logistics of getting new notes into circulation (which was indeed managed badly in many parts), but no way can this be conflated with 'wiped out a large percentage of wealth'. The author's bias is making that leap.
There is no anonymity if you roll your own.

The whole idea of VPN providers is that a lot of users have a connection to the same server so it's hard to monitor who talks to who.
Yes. Just one example I have in mind: https://github.com/yshrsmz/monotweety
Yes that is the point. He will get blackballed. It is a small community ;)

The way it works is if you come with aloha people will embrace you. Or own up to your mistakes and people may forgive.

If you come in like this, things can get ugly.
I guess it is more like Huxley's Brave New World where the relevant information is hidden in the mass of irrelevant garbage provided by corporate media.
> If a couple esoteric languagn features take an extra few hours to learn but reduce LOC tenfold, it's a price I'd pay every time.

Issue is that a beginner pre-conditioned long enough on "verboser, imperativer" models/languages, when reading/comprehending such a codebase, has to literally mentally expand every 1 line into 10 upon reading, for quite a while .. some weeks, some months, as more intuitive grasp sets in slowly over time. Probably what happened at OP's quoted company and with the different speeds in comprehending what "clever" (compact) code some of their coders came up with, what they flippantly called "code that was harder to understand by others"..
thats why my dreamt up example included just factual statements "350 this month".

doesnt make it better though, does it ?
Does it sway you at all that the market reacted extremely positively to Trump's win?

If you are correct, you must know something that most people who are willing to bet money on their opinion do not.
SQLyog 12.4.0 Crack 2017 with Serial Key Free Download Here
>However, many are subjective preferences

Certainly, it is titled "Problems I Have" for a reason. :-) I do not expect everyone to agree with me, but it is what I feel I personally lack when using it quite a lot.

> I imagine this statement could offend some of the smart and hard-working people who are working on improving the python language.

That was certainly not my intention -- as stated, I do love the language and appreciate all work going into it. I do not intend to undermine their efforts, just point out some of my perceived design flaws.

>- the community does not agree with the author's subjective idea of what Python should look like

I think we all agree there should be a good solution to concurrency (and "stackless" variants which power eventlet, etc. have been used for ages; as has Twisted, of which asyncio is not a sufficient clone.), parallelism, etc.

The standard library in general encourages use of higher-order functions and concepts borrowed primarily from FPLs (see: comprehensions, map/reduce, sort, etc.) I could not imagine seeing them backtracking on this -- it only helps them to go further in that direction.

>- the solutions to a problem (I'm thinking GIL) come with a lot of consequences which are not readily acceptable

I did not propose a solution because there are many, as you note; there are, however, implementations with decent solutions like AFAIK Jython.

>- solving some of the issues would exacerbate backwards compatibility.

Such as what?
That was awesome, thanks!
Ask HN: What CI/CD server/service do you use?
I heard so many people, read so many blog-posts on Jenkins, it's integration with many tools with it's plugin architecture, but also about TravisCI and how much it helped the OS community to build quality software for free, but I'm curious about other solutions and how well they work.

What are you using? What criterias did drive this choice? Would you do it differently?
Setting a Baseline for Web Security Controls at Mozilla
They probably have as little influence over the agenda tomorrow as they did yesterday, but in the minds of people who don't understand how government works that does not feel true, which is perhaps dangerous, because it moves the ball from "actual policy" into "what ended up in my Twitter feed."

Regardless of one's opinions on climate change it demonstrates a profound, profound lack of understanding of how government works to think that the big change this week in US policy relevant to climate policy happened on Twitter and not on the TPP.
I don't know about that. Look into the 2010 price to Liu Xiaobo. Norway worked for 6 years to try to repair relations with China after that and trade has only recently been opened again.
Hmm, they state this in "Injury and Death":
> In states where cannabis use is legal, there is increased
risk of unintentional cannabis overdose injuries among
children.

But then there's no LD50 determined for cannabis. So how could one overdose on cannabis?
>Arguably this difference is what caused Coconut to be made in the first place.

Sure, that and it's far easier to write a new language and transpile than it is to fork and modify existing implementations.

>There's ample discussion on these topics to simply brush existing decisions off as "Incompetence? Politics? Both? Who knows."

If you would like to link to such discussions I would not hesitate to add them as footnotes/amendments.

>For the fifth point, `list.index` works fine in Python 2 and 3 for me.

Sorry, mixed up `index` and `find`. `[].find` is not a function, but `[].index` is. Thanks for catching that, I keep confusing them (another minor annoyance of having both).
yep... making 'understandable' is really important.

But given that discipline, scala would outshine go since scala has much better typechecking than go - e.g. http://getquill.io/ can typecheck against a running DB schema, etc.
The Rise of Challenger Banks
When has that ever been the way in America?
I don't exactly know but on what project do you base yourself on?
I can see many projects not versioning at all (or just tagging incrementally when they find it's stable enough). So my guess is that semver wouldn't be followed because they do not keep track of the features and breaking changes that might happen.
> if you are going to make a broad claim like that I would appreciate some citations/examples

It's a common knowledge for people who are familiar with linux kernel development procedures. For starters you can search for two examples off the top of my head, "dirt cow" , "masturbating monkeys" or gregkh tty vulnerability. I'm sure you'll find dozens of other examples if you are sincere in your interest.
A few good governments too. Wilson, usually rated in the top 10 presidents, ran with "America First" and "He Kept Us Out" for his re-election. We joined the war only a month after his re-inauguration. In hindsight, that was likely for the best but it seems a misrepresentation.
>> Trump may have unintentionally restored investigative journalism...

This can happen if they can find a way to monetize text that costs 100x more to produce and has 100x less engagement than clickbait.
> If they say no, ask if they want to provide feedback, if they say yes, you ask them if they're willing to leave a review.

I really, really hate this practice - it just feels scummy as hell to me.
You links are not clickable.
I'm on a MacBook pro and use wine to play Skyrim. That was quite a wtf moment when I first got it working. Mods and all!
It is not an identity because you can modify the internal state of the objects. And it is also lazy:

arrayOf("A","B","C").onEach{ print("onEach $it")}.forEach{ print("forEach $it")}

prints:

onEach A
forEach A
onEach B
forEach B
onEach C
forEach C
What does that have to do with what we need or should do?
I wonder what the process is, as a google engineer, to get the artwork done for something like this? Do you just put in a ticket and some time later the SVGs turn up in your repo? Is there an artwork queue, or is it a political fight for access to the illustrators time?
Sometimes I actually miss and hit the area just above it. I have nothing to catch as my finger goes to the area.
In good faith, I am sure, however this is one of the most pristine tracks of land on Kauai. Lack of development is a good thing here.
Welcome to Haskell ... where clever people write frameworks that even dumb people can't break ;-)

e.g. https://code.facebook.com/posts/302060973291128/open-sourcin...
Human says no: backlash to algorithms
Same in Switzerland. The local newspaper (Berner Zeitung) has an article today about how the ash trees needed to be felled in a Bernese park and removed by helicopter because of difficult topography.
Quick two minute implementation:

import multiprocessing

import time

NULL = object()

def call_webservice(fail=False):
if fail:
time.sleep(10)
return False
else:
return True

def wait_until_timeout(timeout, *async_results):
results = [NULL] * len(async_results)
end = time.time() + timeout
while time.time() < end:
for index, result in enumerate(async_results):
if results[index] is NULL and result.ready():
results[index] = result.get()
if not results.count(NULL): break
return tuple(None if result is NULL else result for result in results)

def handler():
with multiprocessing.Pool() as pool:
handle1 = pool.apply_async(call_webservice, (True,))
handle2 = pool.apply_async(call_webservice, (False,))
start = time.time()
realres1, realres2 = wait_until_timeout(0.5, handle1, handle2)
duration = time.time() - start
print(f'Took {duration:.3f} seconds')
print(realres1, realres2)

if __name__ == '__main__':
handler()
Are you really saying that all the admirable aforementioned features only shipped with the LATEST version of safari? Because that's straight up bullshit.
As far as I know only Android >=7 on hardware with a HWC 2 implementation support colour transforms [0], so all Android apps implementing a f.lux-style thing do exactly that, draw an orange rectangle over the screen.

F.lux on desktop has always worked that way though, I think. It should essentially be rendering the blue component substantially darker (up to removing it, depending on the temperature setting), instead of alpha blending with orange.

[0] https://source.android.com/devices/tech/display/night-light....
The similarities between Trump and Berlusconi are terrifying - and Berlusconi was in power for what, 10 years?

Trump has tapped in to something and I fear it's going to work quite well.
^^^this
Considering they’ve both implemented it, I’d guess Apple & Google have either already licensed the tech or decided the patent application has no merit.
> It almost makes me wonder if it would be a good idea if there was a website that covered the latest gaffe and the corresponding actual news worthy story that was lost out on optimal coverage because of it.

There are publications that tend towards policy focus, and there are even more publications that are half policy-wonk half-commentariat but at least not trapped in the gossip column soundbite minutia.

If you look at circulation numbers, though... The Economist is about 1.5 million in the US. Time seems less news-digest these days and more commentary, but it's got double the circulation.

But both of those are, of course, below Sports Illustrated, People Magazine, Better Homes And Gardens, and Costco Connection in terms of regular readers.

One could surmise that the real issue is that there isn't a large audience that actually wants what you (and I) think we should be paying attention to. Most of us are used to having a set-it-and-forget-it approach to how government works, and don't really believe we should have to pay attention.

And on top of that, some large portion of the country resents the very idea that expertise, education, and focused thinking should represent any authority worth respecting more than their opinions. Why would anyone in that demographic care to read news and policy details at all? The only important thing is knowing that people who are in their ostensible tribe are in charge.

This isn't just to bag on people -- everybody has limited attention and if possible it's nice to not to have to give it to things unless you have to. It's to underscore the problem: in a market economy, publications that stay afloat are going to try to provide what people pay attention to and/or pay for. And that may not be the same thing as what "deserves" attention.
TLDR: conclusive research on Schedule I substances is practically impossible even when it's one of the most used drugs on the planet.
There's a meme that Trump is anti-gay or even dangerous for LGBTQ people when he's pretty liberal-to-ambivalent about LGBTQ issues. At least given his statements and positions so far.
More precisely, he aims to extend the powers of the TLAs to a very worrying degree.

> [1] “And certain things will be done that we never thought would happen in this country in terms of information and learning about the enemy. And so we’re going to have to do certain things that were frankly unthinkable a year ago.”

So it's not blame-laying, he's saying this stuff himself.

[1]: https://www.eff.org/deeplinks/2016/12/trump-and-his-advisors...
And if you like this book, you will probably like Netflix series, Black Mirror
10 years & wow we can reply to reviews. I guess 4 billion in app store profits can pay for a feature now & then.

Now how about tackling fake reviews?
I'm down-voting you, here's why:

This is a headline and an article about "alternative facts", relating them to a book about comprehensive "alternative fact" propaganda. Not about any of things that you listed.

You didn't add any meaningful information to the discussion, but have added divisive and heavily argued opinions, in a way that only furthers their divisiveness.

This is not a comment on your opinions. This is a comment about whether expressing those specific opinions on this specific news item and in that specific manner was constructive or destructive to this community; I'm saying it's destructive.
Yeah - however, the whole "do you like our app? yes/no" thing, where yes takes you to the store for review and no takes you to a feedback form (that probably doesn't even post)? Definitely a dark pattern.
Makes me think of a certain tech personality that is no longer with us...
7 tips to create highly converting Facebook ads
You should consider change your tone when you talk to people. It is quite rude.

It is not a map and it is not a forEach, that is why they created it.

> At the end of a map call you end up with a potentially transformed collection instance

The difference between onEach and map is that map returns a new collection that can have different type of elements. But onEach can modify the internal state of the objects when applied. Also onEach is lazy and map is not lazy in kotlin (as far as I know).

Why did I make the comparison with map and not with forEach? Because forEach is basically a translation of a for and map is a functional function and onEach it is also a functional function. You can agree or disagree with my way of trying to explain things, but being rude in your comments saying you are not right (when I know) and them providing another solution that you also know it isn't right, feels like a troll comment.
I wouldn't think there is a legal distinction between the cash and the medal. Accepting the money would probably been politically unacceptable even with out any legal issues. But I accept you are correct about the potential legal difficulties in accepting the prize at all:

http://www.washingtonpost.com/wp-dyn/content/article/2009/10...
New Night Shift Mode in MacOS Sierra 10.12.4
Kotlin has an extensive Collections library, which started largely as an extension of Java's, but now it offers much more. In any case, I was referering to Kotlin's APIs, not Collections per se, and it certainly has its own APIs.
I program since the mid-80's, many of the features in modern languages weren't always available outside research institute walls, and yet we managed to deliver any sort of software with the tools we had at our disposal.

However, now that those features are part of the majority of mainstream languages, I surely don't want to go back to how I used to write software in the first two decades of my career.
(Non-US citizen. Very Anti-Trump. Unpaid poster. Unhappy I need to state all this.)

To my surprise, jquery is pretty much correct about it being the same thing as Obama did. This[1] is the best summary of the situation I can find:

1) Obama (and all new incoming presidents before him) did ask for the resignations of all non-career, politically appointed ambassadors.

2) Obama (and Bush) did grant extensions to some ambassadors. However, this was a (very) small number. Exactly how many it applied to is unclear, but to quote the the article I linked above:

in the past two inter-party transitions (Clinton-Bush, Bush-Obama) only about 10 political ambassadors have gotten extensions.

Basically, I'd judge that the reporting of The Independent article linked above is misleadingly critical of Trump.

I also think that jquery's point below about Obama literally auctioned off the posts is incomplete. Most ambassadorships are given as rewards (by both US parties). Most countries do the same: ambassadorships to friendly countries are political rewards and the countries actually want someone who is close to the leader of the country they represent. I don't think the moral case against that is entirely clear, but I can see arguments both ways.

[1] https://diplopundit.net/2017/01/06/foreign-service-tradition...
Schools blocking stuff is very active still- it's extremely prevalent up to and including high school, and only a handful of colleges do any sort of filtering.

Furthermore, kids find increasingly shady free vpns as IT blocks more and more free vpns.

Lots of kids will use free vpns to get their SAT/ACT/AP scores a day or so early.
Google variations on "graphs to make you feel better about the future".

http://www.businessinsider.com/charts-that-will-restore-your...
The ecosystem is great, but it has its own limitations. For example, to my knowledge Scala has not been able to implement tail recursion optimization, citing JVM limitations.
At least he's honest.

Any other potential president would have had their hand forced or led the charge too.
So glad to hear this. I've had so many problems with flux during the past year.
Why was this even posted here on HN? I don't think it's okay that HN should become a microcosm of the political economy of the United States. Well, for whatever it's worth, I hope California gets serious about secession.
Inside the Tesla 100kWh Battery Pack
He should have done that. There is absolutely no reason why other people should pay for someone's abortions.
The Unofficial “Resistance” Team of U.S. National Park Service
`!document.hidden` would work, and it’s what most people would normally write already. `document.hidden == false` would not work; `false != undefined`.
It's because it's too easy to lose some of these nuances during refactoring/development blindness. I'd go so far as to say it's inevitable.

If you come into a 3 year old codebase and during the first 2 weeks you need to add extra functionality to a 30-line function with an early return, are you going to refactor the early return? Or are you going to extend it into a 32-line function? What about the new hire after you?

Alternatively, your team has decided to embrace the "only use conditionals on boolean values" philosophy. You're working with a section of code that reads `if (myVar)`. It's been 3 hours, and you don't understand why the code's not working. Suddenly, you realize that at some point `myVar` was refactored from a non-nullable boolean to a nullable number, and someone missed changing this.

And the biggest offender yet - code that is grouped within a file into 'logical sections'. I've never seen this work out. What is a logical grouping for you is a confusing pairing for me. Or maybe it's that I can't immediately grok all 2000 lines of a file I've never seen before, and know where to place the method. This madness around code location is one of the quickest ways to code rot.

---

The perplexing thing to me is that these situations are completely preventable.

If you don't use early returns, scenario 1 won't happen.

Scenario 2 won't happen if you use real comparisons e.g. `if (person.age !== undefined)`
(Similarly, `if (person.age != null)` breaks when null and undefined start meaning different things...)

And lastly, a canonical alphabetical/visibility ordering for methods in a file of any length is unambiguous. I don't care what the order is, as long as there is a canonical order.

---

I understand that other teams have their own rules. It's no trouble at all to adjust to things that are purely syntactic differences. But when the rules that are chosen hide lurking semantic pitfalls...I don't know why you'd risk shooting yourself in the foot.

A lot of my strong feelings on code style come from the book Code Complete. I highly recommend that to everyone who hasn't read it. It's filled with examples of confusing/broken code you might inherit, and teaches you how to avoid creating it yourself.

Edit: looks like we hit the HN thread depth limit. Happy to continue this over Twitter, check my profile.
> At least he's honest.

While true, that is a non-sequitur.
Wait does it mean other init systems did not have dependency based boot? I have always been a Gentoo user so always used OpenRC, if that's the case it explains why I never understood why systemd was so "revolutionary".

I do find it harder to configure and understand than OpenRC, after I edit some configurations I can just restart the service and it's working, with systemd I have to run more than one command and they are not intuitive at all.
Agree. It would be great to see your source code if at all possible, would be greatly appreciated.
C or Perl
it's there https://github.com/rvirding/luerl
I've said this for 5+ years... iOS should optionally prompt for user reviews, not the app. As in, there should be an API for requesting reviews.

Only that API should be able to control going to the app store review page.

This would greatly cut down on fake apps, as the users would actually have to use the app to leave a review.

Also, usage data should be correlated against a review. If the user doesn't really use the app, then the review should be quite low priority or filtered out. This would cut down on fake reviews and also PO users who use the app once, leave a trashy review, and leave. Those messages are better directed as PMs to the developer.
Yes; a couple of years after the Stasi was created, though it was called Kommissariat 5 back then, before the GDR was officially established and could have official agencies.