skysight-inc/HackerNews huggingface dataset:
It might seem trivial but there are a lot of people who don't like HTML templates where HTML tags don't look like HTML tags. That's why nearly all templating languages represent HTML tags as themselves if they have a choice. People won't use something like Mithril which might as well be Lisp.

I'm quite able to adjust, personally, and I've often represented HTML tags using method calls in a tasteful API, but I get complaints about why I'm not using a template language.
I see two problems with the basic idea of JSX:

- Parsing is a mess, it is not even obviously unambiguous.

- HTML syntax is horrible, and all templating language attempts building on it are verbose and clumsy.

That is the negative argument (“That is crap”), but there is also a positive argument (“Here is a much better alternative”):

You can express HTML structure in a concise and relatively readable manner in plain JavaScript, and you do not need a 400 kb interpreter nor a separate compilation step for it!

['div', {'class': 'foo'},
'some text',
['span', {}, 'yay']]

You also can embed "directives" or "components" in a rather obvious and unambiguous way:

['div', {'class': 'container'},
[MyConstructor, {'arg': foo()}]]

Implementing a robust interpreter for this is a matter of perhaps 50 to 100 lines of plain JavaScript.
I want to see it used for an XML library, since I think node@"name" is a more succinct, and domain-appropriate equivalent for node.attrib.get("name").
Often, "to complicated" simply means "no time and no patience to RTFM".
PEP 0448 in addition to already implemented PEP 3132 make it very tempting to switch. If PEP 0448 had unpacking in comprehensions I'd switch. (Doesn't seem be a follow-up PEP just for that functionality yet.)

https://www.python.org/dev/peps/pep-0448/
https://www.python.org/dev/peps/pep-3132/

I'd be really nice to use this.

>>> [*range(i) for i in range(5)]

Instead of this monstrosity right now.

>>> [x for y in (range(i) for i in range(5)) for x in y]

Python 2.7 has some minor features that 3 dropped unfortunately, which still makes me hesitate.

Such as filter keeping the type. In 3 it returns an iterator.

>>> filter(lambda x: x in 'ABC', 'ABCDEFA')
'ABCA'

Or this mostly cosmetic feature.

>>> filter(lambda x: x[0] > x[1], ((1, 2), (4, 3)))
>>> filter(lambda (x, y): x > y, ((1, 2), (4, 3))) # equivalent, error in 3

Also dropped. (It's slower than using the dedicated base64 module though.)

>>>'Python'.encode('base64')
'UHl0aG9u\n'

Also, I like print.
TeamSpeak 3 Apk Cracked Full Download for Android
In the 1960 presidential election, Kennedy had cynically attacked Richard Nixon from the right, claiming that the Eisenhower-Nixon administration had allowed a dangerous “missile gap” to grow in the U.S.S.R.’s favor. But in fact, just as Eisenhower and Nixon had suggested—and just as the classified briefings that Kennedy received as a presidential candidate indicated—the missile gap, and the nuclear balance generally, was overwhelmingly to America’s advantage.

I'm glad stuff like this would not happen in 2015
>> The solution was to ask buyers and sellers to rate one another and to make those ratings public.

So it isn't trust but social control.
It seems to me that "chairman of the physics department" is a real job with real work and you want someone there who is able to do it. Do you think he was able to do that job properly with this hanging over his head? If not, he should have moved on.
Since I've began intermittent fasting (Only eating in between 8am-8pm) my appetite and amount I can eat to be satisfied has decreased tremendously. It's crazy how quickly changes can be made to your body
WTF is going on in 2015?
In my time,
fashionably-dressed & programmer == false
Pledges so far to the Paris climate talks add up to 3 degrees of climate change
Why Software Is Hard
How many networks are actually healthy, though? Networked gaming is less about a hardwired LAN and more about reliably synchronizing state using your crap wifi in a oversaturated band when Comcast hasn't repaired the infrastructure I your neighborhood in years.

In other words, a healthy network is the edge case.
New Blokr.io Webgame (uses Node.js with Socket.io)
What's New in 3.5 document: https://docs.python.org/3.5/whatsnew/3.5.html
Building Smart City Security
Ah, thanks for the Mead & Conway revolution link. That fills a gap in the hardware and EDA research I've been doing: the how of the transition from discrete to custom chips. So, they practically invented VLSI methodology and MOSIS service? That's pretty awesome.

Back to Scheme. Ok, so they built it but it was a buggy, throw-away, proof-of-concept. I'll try to remember that in future references. Then they transitioned to software and SICP. Ok, a working Scheme chip would've been neat for me but I concede they made the right call for the time. Plus, it's better to work out a concept and how it will be used before trying to put it into silicon. Lets you decide which parts are really worth putting in hardware.

"Steele went to CMU "to bring the light to the heathen"

Haha. That's funny. Guess that's my job now. Appreciate your clarifications on the Scheme chip and its context.
So, it's user-friendly for some hypothetical set of users that is not the set of users that currently exists.
1995? I think you meant 1955 :)
I agree that each ML falls short in some ways--I think SML and OCaml are probably the best programming languages ever made, but there's definitely room for improvement. I dream of the "Next Great ML"; 1ML definitely looks interesting in this regard, though I am a bit skeptical of Rossberg's rhetoric on a number of issues.

I use SML over OCaml mostly for cultural & political reasons; SML has a few areas ripe for improvement (some of which are addressed in OCaml, others not):

1. structure sharing in the Definition is so bad that pretty much all the implementations of "S"ML diverge from it in some way. Each implementation of structure sharing is frustrating in its own way.

2. would be nice to be able to do higher-kinded polymorphism, as in 1ML

3. would be nice to unify polymorphism as a mere mode-of-use of functors, as in 1ML (well, this was not invented in 1ML, as I first saw it in Dreyer/Harper/Chakravarty's "Modular Type Classes": http://www.mpi-sws.org/~dreyer/papers/mtc/main-long.pdf; it may go back as far as the Harper-Stone type theoretic semantics). Combined with higher-order functors (which I believe are proposed to be added to "Successor ML"), this would give a proper treatment to polymorphism at higher kinds.

4. we need to standardize on a package calculus; the ML Basis system as used in Mlton is pretty nice, as is the simpler system used in SML/NJ's "Compilation Manager".

5. modular type classes (analogous to coq's "canonical structures") should be added in order to alleviate the pain of explicitly instantiating functors, etc. We do NOT want "type class coherence" as in Haskell, which amounts to a piece of global state that essentially outlaws local reasoning. I call it the "Antimodularity Restriction", but the name hasn't caught on, as much as Haskell folks like to berate us over our "value restriction" (which is a non-problem, and very useful--though it would be better to reconstruct it in a less ad-hoc way, via the theory of polarization that comes from Girard, and was further developed in light of effects, refinements and polymorphism by Zeilberger in his dissertation).

6. I'd like to (at least) follow OCaml and add the ability to convert between module signatures & existential types; I'm not sure if I am sold on the 1ML approach, which goes quite a bit further than this, but I need to investigate it more.

7. Refinement types would be nice (but PLEASE---do not fix in advance some awful solver or something for this; contra the popular literature at the moment refinement types have NOTHING at all to do with solvers!).
From:

http://legacy.python.org/dev/peps/pep-0465/#id24

Implementing __matmul__, __rmatmul__ and __imatmul__ will allow you to apply this operator to any given class. In that light, you could subclass the numpy matrix class yourself and simply apply these.

As for whether these will be applied to Python lists, my speculation is: I doubt it. Its possibly the most commonly used data structure, and I doubt they would add the overhead of another set of methods on each instance.
Dos and Dont’s of Research
And I thought I had too much free time.

Here is the reddit post.
https://www.reddit.com/r/SubredditDrama/comments/3komj2/redd...
> which has the most expressive type system.

Elm?
So how did it alter the balance of power, then? The only argument I can see for it is the one the author is railing against.

I don't think the argument here is that Kennedy shouldn't have done anything about the missiles in Cuba. Clearly, for political reasons if nothing else, it was necessary. But as pointed out, he could have scored just as many points by agreeing publicly to a mutual reduction instead. Then he can not only go on TV and tell Americans that his stalwart determination rescued America from a grave threat, but he can also claim to have reduced overall tensions. If he wants to, he can even claim that the entire purpose of the Jupiters all along was to serve as a bargaining chip should such a situation arise (if you're going to lie, you may as well tell the lies that help you most). It would have been a fitting prelude to Reagan.
Are you tied to 2.7 for any other libraries or are these minor bits all that's keeping you from switching? If so I'd really recommend you just try python3 for a week, and have a play with some of the new features/functionality and the minor points will soon melt away.
"at times exaggerated"

That's a bit of an understatement, the CIA estimated in 1958 that the Soviets had:

'the technical and industrial capability ... to have an operational capability with 100 ICBMs" some time in 1960, and perhaps 500 ICBMs "some time in 1961, or at the latest in 1962."'

'It is known today that even the CIA's estimate was too high; the actual number of ICBMs, even including interim-use prototypes, was 4'

https://en.wikipedia.org/wiki/Missile_gap
I see the problem. Wouldn't this happen if SML was industrialized to any degree by different players?

Back to Ocaml, what would your proposal be to deal with this aside from adding dead code elimination for Core? That would be my first strategy because Ocaml needs it anyway.
Spot on.

(Been there done that, saving your excellent comment for future "let's rewrite this" situations.)

Also summarised well here: http://www.joelonsoftware.com/articles/fog0000000069.html

I'd only add:

- nitpicking, but with Ruby on Rails, you'd probably use ActiveRecords (the ORM) to manage the data; by not enforcing constraints in the database itself, you'll get a tiny bit of orphaned data. Fine for an e-commerce website where customer service can send a voucher; sucks for the few students whose life is affected by your non-provably-correct solution.

- most non-technical users (most of the teachers I know included) confuse good and pretty UI. "Bad" legacy system usually means "not flat design/doesn't look like my iPad". This usually pairs with the idea that "it would just be a simple app, we can get it done for a grand".
That isn't a bold claim at all - there was a cultural battle on the world stage between the USSR and the US as to which had the better society. Being perceived as nothing but a war machine would have lost that battle for the USSR.
Don't build it in-house. There is an API for that
I have been stumbling through some of the original Russian-language texts. A lot of the passages go over my head, but it's a good way to pick up fun new words and phrases.

So far, my favorite cosmist thinker has been Tsiolkovsky. It is amazing to recognize so many of one's recent intellectual realizations in prose that was written almost a century ago.

My pet scientific theory quantifies the capacity of a complex adaptive system to alter the universe, so I named it voltropy for 'volitional transformation.' That choice felt eerie when I discovered that the original Russian title of Tsiolkovsky's famous book, The Will of the Universe, is Воля Вселенной — which literally means The Volition of the Universe.
It seems like a lot of these data structs are not thread safe. Other than ck_bitmap which seems to be read/write thread safe, ck_array, ck_hs, ck_ht, and parts of ck_ring only allow a single writer in the presence of many readers. Did I misread something here? Still a lot of good stuff here, but not sure if these data structures can be used without external locking.
"No good deed goes unpunished."

Take heed. It took me years to understand this . . .

> To pull this off, you need a team, a budget AND hard executive sponsorship. That sounds unlikely for a public high school.

Also be prepared to fend off the professional magpies who will undermine you. "Why aren't you buying an Oracle solution? Their sales folks were in here just yesterday, and they can do all this and more. Most of it is already built in to PeopleSoft."

And at that point you either whip out your snickersnee, gird your loins and leap with joy into the political fracas, or (just guessing you're not the type who's a joy-leaper into political bottle battles) you back away slowly, make popcorn and watch events unfurl. It'll be ghastly, and unless you execute an evasion plan you'll wind up editing fucked up XML configuration files and hating, just hating yourself for opening your big fat mouth, and hoping that there really is a hellmouth located under the school. Right there. Under that CD of PeopleSoft. What could be worse?
What SSH brute force attackers do after they get in to your server
Subway Station for 7 Line Is Set to Open on Far West Side
> I'm glad stuff like this would not happen in 2015

There is one thing that would never happen today: a Democrat attacking from the right, or for that matter talking about military strategy at all. Of course, the Republicans don't seem interested in talking about China, either. It's the new third rail of American politics.
PEP 0475 makes me happy, I've had to workaround interrupted syscalls a few times.
The 140 character limit allows Twitter to be a reliable source of quick bits of information - you can dive deeper if you want, but it's a great cursory overview.

That quick bit of information lights up our dopamine receptors like nothing else. It's designed to be addictive. Diving in deeper is difficult and time consuming. For example, I find following conversation threads on twitter to be impossible. I suspect this is by design. It wouldn't be that difficult to design twitter so whole threads are easily readable. But reading and following whole threads isn't as addictive. The preferred method of consuming twitter seems to be following a large number of people and/or hashtags. This results in disjointed bits of somewhat related information being streamed to you at a high rate of fire. Like a news ticker on steroids.
Crops farmed by leafcutter ants show signs of domestication
Reagan at least had the sense to realize that, in the aftermath of the Able Archer 83 debacle, that if you are dealing with completely paranoid Soviet leaders who think that they are the ones who are going to be attacked at any moment then it is wise to tone down the "evil empire" rhetoric a bit.
I found in on mathoverflow in one of the comments posted by a prominent mathematician not featured in the interviews.
Tribal Wars 2 Online Hack Tool No Survey (Android/iOS)
How would you even begin to do that?
I disagree. It is like FizzBuzz for sysadmins. Being able to answer does not mean you should get the job, but an utter failure to answer should absolutely disqualify you.

Once you make that basic determination, other questions should be used to judge actual fit for the job at hand.
(2013). This article is a review/excerpt of http://www.amazon.com/Cuban-Missile-Crisis-American-Memory/d... by Sheldon Stern, a former historian at the JFK library in Boston.

Two earlier books by the author:

http://www.amazon.com/Week-World-Stood-Still-Stanford/dp/080...

http://www.amazon.com/Averting-Final-Failure-Meetings-Stanfo...

Some of the source material is available here:

http://millercenter.org/presidentialrecordings/kennedy
Data shows gaps in earnings of college alumni
But it should not happen when your on administrative leave.
Moneyball of Hiring
> But I don't think this quote is about quotas. At least not quotas for employment.

Quotas for resumes don't in principle work any differently than quotas for hiring.

And I still don't see how that solves the pipeline problem. The problem in 1950 was that middle class jobs were unavailable to qualified women and minorities. The problem in tech in 2015 is that qualified women and minorities are unavailable to middle class jobs. You can't solve it in the same way because it isn't the same problem.
Department of Education Releases 20 Years of College Earnings Data
Ebay was founded in 1995 and it is hard to remember what the internet was like back then. It democratized retail purchases so that everyone can buy and sell. In many ways, I would agree with this article's viewpoint that eBay was a precursor to uber and airbnb. A very early precursor since smartphones had to proliferate before we could open an app and email hosts while on the go.
An Uber support experience
> The data section must be nearly out of space.

It is for space, but the 11/20 didn't have split I/D. The specific answer¹ is ‘worse’:

A second, less noticeable, but astonishing peculiarity is
the space allocation: temporary storage is allocated that
deliberately overwrites the beginning of the program,
smashing its initialization code to save space.

That is, use of the ospace() ‘array’ overlaps the beginning of main().

¹ https://www.bell-labs.com/usr/dmr/www/primevalC.html
The big advantage of JSX to my company is that our design team, which does design in the browser, has a much shorter leap to understanding it than plain JavaScript. These suggestions of "JSX sucks, you can express this in plain JS" always leave people with those skill sets behind. Sure it would be really awesome if the designers were also serious JS programmers, but that's not why we hired them, and with JSX they don't need to be.
The matrix multiplication on lists could be used for the cartesian product (see itertools.product). However this operation is rather uncommon so there's no good reason to use an operator for it.

It wouldn't incur any overhead, don't know why you'd think it would. Each method of any object only needs to be stored once, not again for every instance. The overhead comes from pointers and data fields such as the length.
That makes no sense – those users are free to buy a bigger phone in exchange for the additional fee. Since a large majority of users do not appear to be using the full 16GB available, it seems it would be a poor use of resources to add additional storage for them.
Other options for your first case are:

>>> sum((range(i) for i in range(5)), [])
[0, 0, 1, 0, 1, 2, 0, 1, 2, 3]

and

>>> import itertools
>>> list(itertools.chain.from_iterable(range(i) for i in range(5)))
[0, 0, 1, 0, 1, 2, 0, 1, 2, 3]

"filter keeping the type". That was only true for some types. Python 2.7's filter does not maintain the set type:

>>> filter(lambda x: x in 'ABC', {'A','B','C','D','E','F','A'})
['A', 'C', 'B']

Regarding the cosmetic feature, that's a consequence of PEP 3113 -- Removal of Tuple Parameter Unpacking , https://www.python.org/dev/peps/pep-3113/ , which also applies to functions.

I use 's.encode("hex")' often. I realize why hex/base64 are gone, but it's so short and easy in Python 2.7.
If that's so easy to do, why don't recipients "demand" some proof-of-work right now?

There's also exactly zero overlap between encryption and proof-of-work. I don't see why you phrase it as if encryption makes proof-of-work either possible or easy.
Just about anything in which the SQL is considerably more complex or a lot longer than then the corresponding middleware code.

Just about anything in which the SQL query is considerably more difficult to debug or get intermediate verification than in the corresponding code.

SQL does many things well. So far, it doesn't do everything as well as middleware code. It isn't as easy to use for every use case as middleware code. Long complex SQL queries are a nightmare to unravel. Middleware code can more easily (in my experience) be broken up into smaller steps that can be manipulated and tested independently.
The high is actually explained by the psychology concept of "flow experience". To get a high, you need to involved deeply in an activity, completely immersed within it as to become part of it and lose your sense of self temporarily. You'd need to be doing something you really care about, take seriously, constantly improve and constantly feel challenged. Maybe you could change exercise to one you like better? You may be missing out on what could be the best, most happy hours of your life, and instead running is the opposite to you.
eating between 8am-8pm ? thats entire day! How is that fasting ?
I'm not sure I understand the argument. They people weren't grey scale either. The photo itself re-writes history, this is just an abstraction to make it more visually distinctive.

Sure maybe the car was a slight shade of red different, but it certainly wasn't grey.
So what all things you think one need to be mandate on networks?
Kennedy was sensitive to the accusation that he was an "appeaser" as his father has been US ambassador to the UK at the time of the Munich agreement and had supported a policy of appeasing the Nazis.

General Curtis Le May even said to Kennedy "It will lead right to war. This is almost as bad as the appeasement at Munich."
I think this industry is bound for massive disruption. It's one of the social pillars so . . . what happens when one of those gets moved?
Everything about running is efficient:

- you can't cheat and ignore it, you run or you walk (you can coast while biking, you can swim slowly, etc...)

- you can open your door and star running. Mist other sports, you need to go somewhere before you start doing the sport (swimming pool, mountain, dojo, etc...)

- no other sport I have done build cardio in a few weeks like running does.

Keep in mind that I don't try to promote running, I literally hate it, I just enjoy the results given the low time investment.
I 99% agree.

The 1% is for sites that advertise other things on the same site, which means they aren't using an ad service, but instead building their own advertising. The BBC is particularly good at this. When I'm reading an article, they have ads for other articles that I might be interested in. I've spent more time reading/watching articles and videos there than anywhere else. Of course, they could just be trying to keep me there so that I click their ads, but uBlock and Ghostery ensure that third-party ads don't display and I'm not tracked, so...
Any sources that USSR was a "war machine"? Being perceived by whom, where and when?
Show HN: Maritaca.TV – The best way to follow Twitter while watching NFL games
Just because they are not able to work from home does not mean that technology has not affected their work. More importantly for the purposes of this article, technology may still affect the importance of proximity in land uses. A call center worker may not be able to work at home. But thanks to cheap communications the job can be moved overseas, thus reducing the value of land in rich countries. A health care worker may not be able to work at home. But if someone overseas can read the x-rays, there's less need for land in the rich country. Moreover you say you know only three who can work from home full time. Others may be able to work from home part time, which gives them freedom to live farther from work and commute.

These are obvious arguments in an age of blanket 4G coverage but this piece doesn't even address them.
> had a 95% chance of capturing the correct value inside the interval

I'm still not clear on this, what does it mean? I also tried to read the linked text but it's quite dense and drawn out.
Web of trust.