skysight-inc/HackerNews huggingface dataset:
From a "I think it's more technical" to "I think it's less technical" order:

* This website uses fullPage.js [1], which is a widely used javascript library for such full screen presentation (for instance Apple use it in their Mac Pro promo page [2]). You can get around it's API if you know a little HTML and a little javascript, but it's still a lot of manual work. And the neatier features are locked behind a (totally justified) paywall.

* One neat generator I know is Jack Qiao's Expose[3] which he mainly uses in his travel photography website [4]. Check out those sweet cinemagraphs ! Unfortunately it is a command-line program which may be a bit obtuse to non-developer (especially on Windows), and the text placement has to be set manually

* Shameless plug: as a side project, I made a clone of Expose in Python [5] (demo [6]) with no video support but explicit Markdown support (so you can embed maps, youtube videos and others ). It's still a command line app, but I'm working on a second version that uses Electron and has a more WYSIWYG approach. It is still very much a side project though.

* You could look at some web-based presentation framework. Slid.es [7] is an WYSIWYG builder for the reveal.js library [8]. It's mainly used for Powerpoint-ish presentation (ex. [9][10]), but with a touch of creativity you can do neat thing, like this portfolio [11].

[1]: https://alvarotrigo.com/fullPage/

[2]: https://www.apple.com/mac-pro/

[3]: https://github.com/Jack000/Expose

[4]: http://jack.ventures/

[5]: https://github.com/PetitPrince/pyxpose

[6]: http://petitprince.github.io/pyxpose-demo/gallery.html

[7]: https://slides.com/

[8]: https://github.com/hakimel/reveal.js

[9]: http://motivate.slides.com/motivateco/deck-8-9#/

[10]: https://ourworldindata.org/slides/world-poverty/

[11]: http://ianspiro.com/portfolio/

EDIT: Whoa, paradite mentionned Pageflow. This seems really neat !
Cybereason offers $50M in free security software to WannaCry victims
It's not just biz-casual, all business attire is harder for women. My cousin is a lawyer in Texas, and in court the judge (yes, a judge), made a comment about her not being in a skirt. This judge was from a different era, but the incident happened within the last few years. Pretty unbelievable.

I previously worked a biz-cas place, and while everyone griped about the ambiguity, eventually you get the sense of the dos and donts and fall into line. Just takes more time.
Don't let your online learning go unnoticed, track it smartly for real success
I struggled with ADHD on my own for years because of this thinking. I lost a job, I lost relationships, I lost time in my life that I could have been doing something productive and instead was flailing around jumping from one thing to another, the whole time feeling more and more depressed as time went on because I must be the only guy that couldn't "figure this out" without needing to be "fixed" by medication.

I eventually came around, and it's a night-and-day difference. The medication is only a part of the system that I now have to manage ADHD, but I wouldn't be where I am today without it. Not everything needs to be treated, but when that treatment could very well make almost every single aspect of your life better, to the point of allowing you to actually live a live, why would you encourage people to not take it?

This is why we try to classify different types of learning disabilities. There's a difference between "can't focus" and "can't focus to the point of it being a significant detriment to their lives". There's a difference between "I can't sit still" and "I've spent the last 6 hours trying to write a few lines of code but I just can't get my goddamn brain to stop thinking about other stuff for 2 goddamn seconds to even get an on-topic thought in, and now I'm meta-analyzing my own thoughts instead of actually working just making the problem worse and this entire thing is hopeless because if it takes me this long to write a few lines what hope do I ever have of actually completing a program". And that thought process continues for another hour or so interrupted by a "okay just focus" and a few minutes of trying to get back on topic before the spiral starts again until I finally start to make headway only to realize that an hour later I somehow got off-topic again but this time while writing code fixing a bug in some unrelated project, only to then curse myself while dropping that bug only to stare at the fucking screen again not being productive.

It's the former which is a personality and the latter which is a disability.
I personally think it's more likely the poster was referring to the stasi.
> don't use an android device

what else is there? I don't want Apple.
>The only peaceful end during the Arab spring was in Tunisia as their former king escaped in the beginning.

Tunisia is not a kingdom, never had a king.

> A coalition of western countries took over their country to "establish democracy"

Again, this shows your lack of knowledge, there was no take over or any coalition that went to Tunisia.

> letting Europe teach them how to be a democracy

Working for someone and "Teaching them" are two different things.

> Syria was a failure for whoever organized Arab spring

If you don't know who initiated the Arab spring, you should probably not talk about it as if you were an expert.

> Assad gave a CNN interview in the beginning of the war, saying that he'll lead the transition to democracy

Ohhh, Thank you. Let's all believe the guy who is and was using violance before the arab spring even happened and is a dictator.

> Please go back to 2011 editions of your favorite western papers and look at the news about Syria, reporters based in London were hysterically telling people about how peaceful protesters in Syria are being killed by a demon, Assad.

That is actually true. Other parties/nations got involved in the conflict with different interests. Situation escalated and became what it is today; a nightmate.
Not sure that helps much. At worst, people will start guessing and perhaps suspect the wrong people. And many people can probably identified from the context. Furthermore, there can be no defense against the accusations.
How do you crawl responsibly
My worst memories of starting out with programming is doing a git merge or pull, then before the command was done, I'd start typing git push or... and then I got stuck in insert mode. This was after I had learned that :q och :wq! did the job, and I could not for the life of me figure out how to get out of insert mode.

Fun times.
Then again, apart from the explicit (like bitwise operations and bitfields), even C tries to be hands-off about the encoding of its types.

The reason for the infamous undefinedness of signed integer overflow is precisely that C tries to be agnostic about their encoding (which mostly comes down to two's complement vs sign bit).
It needs to be secret to facilitate open discussion. That said, there should be a public component to it. For instance, they should publish their findings when they come to consensus.
Subject "Charlie" has entered the premises, operation Enduring Prosperity is a go
as long as Assad was ruling

Assad's secular dictatorship is massively preferable to ISIS rule, especially to the 25% of the Syrian population that are non-Sunni.
People, in general, do not seem to care about privacy so long as they are getting something in return. So, yes, some people will revolt but not a critical mass.
That's a neat puzzle! Here is the Prolog code I posted earlier, extended and adapted to solve such tasks:

First, let us again start with a suitable operator definition, so that we can use × as an infix operator in expressions:

:- op(400, yfx, ×).

Next, let us declaratively describe what we mean by a "clock", using integer constraints:

clock(Vs) :-
Vs = [H0,H1,M1,M2],
Vs ins 0..9,
H0*10 + H1 #< 24,
M1*10 + M2 #< 60,
label(Vs).

For example:

?- clock(Vs).
Vs = [0, 0, 0, 0] ;
Vs = [0, 0, 0, 1] ;
Vs = [0, 0, 0, 2] ;
Vs = [0, 0, 0, 3] .

We can collect all solutions as a quick verification:

?- findall(., clock(Vs), Ls), length(Ls, L).
Ls = ['.', '.', '.', '.', '.', '.', '.', '.', '.'|...],
L = 1440.

This confirms that there are 1440 puzzles of this kind, one for each possible clock time.

The puzzle now asks for expressions that evaluate to 0. We can relate any given clock display to an expression like this:

clock_solution(Vs, Expr) :-
clock(Vs),
numbers_tree(Vs, T),
tree_op_expr_value(T, _, Expr, 0).

This reuses predicates I posted earlier, which I only need to slightly modify to prohibit multiplication by zero, and which I repeat here for completeness:

numbers_tree([N], leaf(N)).
numbers_tree(Vs0, binary(Left, Right)) :-
permutation(Vs0, Vs),
append([L|Ls], [R|Rs], Vs),
numbers_tree([L|Ls], Left),
numbers_tree([R|Rs], Right).

tree_op_expr_value(leaf(N), _, N, N).
tree_op_expr_value(binary(Left0, Right0), Op, Expr, Value) :-
tree_op_expr_value(Left0, _, Left, VL),
tree_op_expr_value(Right0, _, Right, VR),
op_values_value(Op, VL, VR, Value),
Expr =.. [Op,Left,Right].

op_values_value(+, A, B, V) :- V is A + B.
op_values_value(-, A, B, V) :- V is A - B.
op_values_value(×, A, B, V) :- A =\= 0, B =\= 0, V is A * B.
op_values_value(/, A, B, V) :- B =\= 0, V is A rdiv B.

We can use this to enumerate all times that have a solution:

?- clock(C),
once(clock_solution(C, S)).
C = [0, 0, 0, 0],
S = 0+(0+(0+0)) ;
C = [0, 0, 0, 1],
S = 0/(0+(0+1)) ;
C = [0, 0, 0, 2],
S = 0/(0+(0+2)) ;
C = [0, 0, 0, 3],
S = 0/(0+(0+3)) .

And here is the list of all times that don't have a solution:

?- clock(C),
\+ clock_solution(C, S).
C = [1, 6, 4, 8] ;
C = [1, 7, 4, 9] ;
C = [1, 7, 5, 9] ;
C = [1, 8, 4, 6] ;
C = [1, 9, 4, 7] ;
C = [1, 9, 5, 7] ;
false.
I once dressed for an interview, and on the way back popped into a comic book store. Inside, a guy started asking me about my little pony stuff - he thought I was the manager..
Check the site robots.txt

https://en.wikipedia.org/wiki/Robots_exclusion_standard

But basically scrapping is a loophole, you are not doing nothing wrong because everything is accessible with browser. Still web admins get upset.

For tools I use now selenium with phantomJS, but you can also use scrappy.

As long as you don´t claim alot of bandwith that other users could use should be fine
Born in the Nordics, I never felt I'm living very far in the north as it was south of the Arctic Circle and all. But there really aren't big populations that far up -- it was well north of Anchorage, for example. Russia has some inhabited northern places in Siberia like Norilsk, though solely due to the mining industry.

I guess Europe would look very different without the Gulf Stream.
For me it didn't work in Firefox on macOS, but it worked in latest Chromium. What a mystery.
There are some things that must have a separate opt-in from the bare minimum that's necessary to provide the service.

Typically, there are three bullets on European privacy forms: handling personal data to provide the service, handling personal data for commercial and advertising purposes, sharing personal data with third parties (usually for commercial and advertising purposes). Pre-printed forms can only have the first ticked to yes, the other two must be filled in by the customer.
Green threads are threads too (a.k.a. cooperative threads/coroutines).
Applying it to freeholders of very-long-lease property would be a fiasco for all those "99 year lease" properties that behave almost, but not quite, like freehold.
I assume not the Core i7 version, because likely the lower-end versions with this battery life are based on "Core M", (now renamed Core i5 or i3).

This is why this stuff is always quite misleading. You have to read between the lines to actually get it. What they typically mean is "up to x hours or performance, with a specific version of this model". But they write the marketing stuff in a way that makes you think all versions are capable of that.

Same with the pricing: "only $800" - but you have to pay $150 more or whatever the keyboard costs, more for the pen, and so on. But in the commercials they show you the full package.
How many of you think that you need a tool to document your online learning to make it more rewarding?
Not that big of an if. The id was most likely pulled out of the database itself in cases like:

>friends: dbQuery("select * from firends where user_id = "+userId).data
What a load of conspiracy-bullshit:

>If you're looking for truth, don't expect these corrupt organizations to tell you, do some research.

Here's the data, from the horses' mouth: http://data.unhcr.org/syrianrefugees/regional.php. UNHCR runs accommodation for half a million refugees. More importantly, they have changed tactics in the last decades, and are trying to get refugees to live among the normal population, instead of tent cities.

If you doubt their numbers, a simple search on youtube will give you hundreds of videos from UNHCR camps. Are they all fake? Here's one of many: https://youtu.be/04sN1xn5tTQ?t=3m17s

> Who was the US foreign minister during arab spring, who has been backing his/her political campaigns ? If you find this name, all you need is to research that person and find out what he has been organizing "peaceful protests that turn to violent" all over the world, from Ukraina to Egypt, from Libya to Syria.

Ohh, now I get it! It's the evil zionist George Soros, isn't it? Yes, I'm sure it's Hilary Clinton's jewish conspiracy that started all this.
Careful with that!
I updated a Nexus 7 (flo) recently to Lineage OS, set a pattern lock (using one of the larger or the largest grid - mostly Just Because™). Enabled encryption. Tablet rebooted and asked for my input to decrypt, presenting a 3x3 grid.. :-)

Wasn't a big deal for me, since I just tried to revive that thing anyway. But that seems like a bad idea..
Do you realise this is a debugging tool?
What you are describing is not the result of yourself protecting your privacy but the result of being found to be suspicious.

Not appearing suspicious is an important part of protecting your privacy. While it's true that acting stupid or careless can bring you in trouble this is not sufficient to deny the utility of privacy enhancing behavior.
like denim!
The environment needs cryptogovernance
Additionally Google will give you a set of (longer) `recovery codes' that can be used as one-time second factor passcodes.
Intelligence agencies often have judge Dredd mentality- "I never broke the law, I am the Law!"
The problem isn't so simple. If throwing money could solve the problem, it would have already been solved. The problem is that laying sewers or installing water supplies involved dealing with the local population and make them understand why it is important that the roads are dug and the sewers installed. Why should the population spend money to connect their house to the sewer?

Also, this takes planning at the city level because, once laid, the sewer needs to connected to a larger pipes so that the waste may be transferred somewhere else. Now, people living in the other area need to be convinced that their fellow humans need the sewers and their roads should be dug up.

The roads being dug up is a placeholder for infrastructure work related to installing pipes. As long as people don't see it as a serious problem, they will try to avoid the inconvenience of installing sewers.

This is just the cynic in me, but sometimes I think politicians let it be a problem so that they can use it in the next election season.
Show HN: Instagram Quote Maker
There was a huge discussion of scrollytelling (company creating propitiatory interactives with Pageflow) accusing Al-Jazeera of using their code:

https://news.ycombinator.com/item?id=12524998

https://www.scrollytelling.io/al-jazeera.html

That's when I learnt about Pageflow.
Is this also true of Amex (which makes more money from each credit card transaction than Visa and Mastercard)?
Show HN: GLSLWASMGIF – Create gifs from glsl shaders with WebAssembly
Top YouTube alternatives to make money online
The protests probably started organically, the neighbouring Arab Springs seemed successful at the time and Syria was dealing with a long drought, food being one of the primary causes of major protest. Various Sunni generals then defected, probably figuring it would end quickly and they would be primed for chief roles in the new government. al-Assad didn't step down though, and outside help started pouring in from both sides.

Whether Clinton got involved before the Sunni generals defected or after, I can't say for sure. The US has no qualms supporting potential coups but Sunni's rising up against an Alawite leader isn't surprising either. Blaming her for the protests seems like a stretch. Acting like she's some lone agent in the US pushing this kind of stuff requires ignoring centuries of history.
Only if you didn't sign a contract that says they can.

In Europe it would be opt-in in all likelihood.
Yeah, never in the history of mankind has anyone protested without being paid by George Soros, right?
So it stringifies the function you give it, splits it into its component bits of execution, then interprets the contents alongside a state machine (with judicious use of bits concatenated together and eval'd). Interesting, for sure. AFAIK there's no preemption mechanism (or resource management), so all it does is make your code execute asynchronously - very asynchronously - the every-line-interwoven-randomly kind of asynchronously.

I do love me some metaprogramming, but is there a real scenario where you'd want something as dangerous as this compared to a generator (or a system of generators)? They have very clear atomicity guarantees (things between yields will happen synchronously), unlike what this ends up decomposing your code into. I suppose that's just the cooperative vs supervised threading debate, though?
Tyler Cowen (in his typical counter-narrative style) suggests casual culture may anti-dynamism, particularly of the class mobility type.

The argument (which is not fully formed, I think) is that signalling exists anyway. In a more formal envirnonment, you can signal seriousness or whatnot by dressing in a good suit to make a cerrtain impression. In a casual environment, you can't signal with your clothes but that means signals just become more subtle and nuanced.

I think Cowen is saying that casual culture means social signals are harder to fake. You might think "great! Meritocracy.*" But, merit is not a drop in replacement for formal social signals. Informal signals are. What actually replaces the suit, watch and shiny shoes is p speech, body language (or a google search revealing your prestigous keynote speech) that one is a member of a particular group. It's much harder for outsiders to tick the boxes and blend in.

Interesting thought.
How about this,

I don't bother with mailing lists, and when I post an "issue" on the site, the system mails you on your preferred mailing list. Then You reply to the mail with your preffered client and it shows up for me in the issue thread on github?
or it was pulled from a GET parameter.

The point is that regardless of where it came from parameterized queries are a staple of programming now, and having an example without it would be like having an example of a login system be

if (username in db && password in db) { login() }
I care, but I don't have any faith in the factual truthfulness of the american government, the american media, or any public figure really. Not to single out america, it's just where I live. I'd be surprised if it were different anywhere else.

It seems like it's just the way of things. Start out shiny, and slowly erode to decrepitude, to be pushed aside by the new shiny.
> specially if one bought the argument that programmers are snowflakes who can't take frustration.

I think that characterising a (clearly knowledgeable, well-referenced) account of frustrations - especially ones that do not occur in other languages - with the dismissive term "snowflake" is exactly where the stereotype of the "smug Lisp weenie" comes from.

I have used and loved Clojure for years now (I wrote the patch that made Clojure vectors implement java.util.List, back in the pre-1.0 days). The fact that these problems exist doesn't itself give me existential worries about the future of the language. The fact that almost every Twitter thread in the OP, and the parent comment, contained this sort of dismissive reaction makes me very worried indeed.

If we replicate the community of Common Lisp, we will end up replicating its level of industry adoption.
Which is odd since he only became CEO in 2013, "In January 2013, it was announced that Lampert would take over as chief executive officer at Sears after Louis D'Ambrosio stepped down due to family health matters, which took effect in May 2013."
28c in the offices in a rich industrialized country? I wonder how much productivity they loose because of that.
Cdn.polyfill.io SSL certificate fishing attack?
DBX to PST Converter Tool
Not exactly, most rent contracts require you to register with the council and pay the tax bill but there is nothing that prevents the property owner from paying the bills for you.

If you rent via an all inclusive scheme then you are not liable for it personally.

As long as someone is paying the tax and no discounts (single occupancy, benefits etc.) are applied on the tax the council doesn't really care who and how many people live on the property.
Sigh, it seems so surreal now that the Arab Spring was once cheered on by the whole world.

Edit: word
How is this an improvement over `await` and `async`?
EU states approve plans to make social media firms tackle hate speech
Perhaps a more subtle thing for them to keep in mind: many people carry out a mix of card/online and cash transactions. Only the card/online transactions will be captured. The Panopticon's record will show an extremely unhealthy and meagre diet for me for instance because I buy fresh fruit/veg at markets - cash only.

It strikes me that data censored through transaction modality and then used to make marketing decisions may result in poor results.
It is private, but it is not securely private, meaning it is a castle made of glass.
Me too. For the sake of sanity we should stick with async / await and forget the time we had to choose from dozens of different ways of doing async code (most of time requiring tedious wrappers).

Lets the winner takes it all.
What People Are Considering the Summer17 Anthem
Someone's gotta bail out the boomers... god knows millennials aren't going to relieve them of their overpriced homes.
P speech?
Doesn't this fall squarely into "the Americans innovate, the EU regulates"?

Whether that saying is derogatory or not obviously depends on your point of view, but this new regulation isn't contradictory to the saying.
The simplest way of getting a serial terminal under Linux is to run screen under your preferred graphical terminal program. First parameter is the port, second is the baud rate, Ctrl-A shift-K exits. To access the serial device without root you need to add your user to the appropriate group, probably dialout.
The fact that it's python specific wasn't stated anywhere. I'm like 'is this argument a reference or a copy?' what am I supposed to do then.

The problem is that the function makes no frigging sense without the argument being a reference, so you're naturally forced to assume that it is.
One unanticipated consequence of the Snowden revelations is that other agencies now know what to ask for.
If you don't want to deal with feedback on your open source project, fine, just state it in the README "We don't care about your issues unless you are a developer who can contribute.", but don't try to veil this indifference with some ill thought out excuses for why it is a best-practice to do so.
Your version is as true as it was true that Iraq had WMD. Or that those against Assad are all "moderate rebels." There are definite similarities.

In reality, Bosniak Muslims were supported by al-Qaeda, bin Laden and his closest men had the passports made by the Bosniak Muslim government, which was also supported by the U.S.

It was all before 9/11, or "Iraq had WMD" affair, so it was very easy to sell.
Ramadan 2017: An Opportunity to Learn and Recite Quran with Tajweed