skysight-inc/HackerNews huggingface dataset:
That's not what I was referring to. Though I should have been more clear: I don't believe that zsh inserts itself in the mentioned situation; just that it does insert itself in some situations, and that makes it an exception to my general "once the process is spawned, the calling shell doesn't matter" statement.

As an example of what I was referring to, in zsh, this

a >&2 | b

is equivalent to Bourne shell:

a | tee /dev/stderr | b

except that `tee` is implemented as part of zsh, rather than a separate program (for no difference in performance).

That is, zsh inserted itself into the middle of the pipeline. There are two pipes instead of one; zsh/tee reads from the a pipe, and then writes that data to the b pipe (and stderr). This does hurt performance.
I'll second that. I converted a script that rendered images with Tk's canvas over to Cairo. Cairo's SVG output converts text to curves which makes embedded hyperlinks impractical. I added direct conversion to SVG and got nice results in short order.

The big problem when doing layouts for SVG outside of a browser is determining the bounding box for text. The best I can do is get a box from Pango and hope browsers render text close to the same way.
I chuckled, but it is true. They do provide a nice burst of clarity and ideas for a brief moment...
I've also spent the last 3 years doing a lot of svg work. The experience is really enjoyable for me, as a coder it's great to know what's going on and make things work using maths.

My work involves working with huge svg documents (up to 500k Dom nodes) with a relatively well defined structure so there are lots of bits of svg that I'm less familiar with. Because I'm fairly sensitive to performance issues I've seen the work that goes on there and you're right, it's second class compared to html but there's still development happening.

The layout management is definitely substandard. It's a bit of a kludge but you can use foreignobject to put HTML inside svg and do the layout there. On paper it doesn't look too bad [0] but YMMV and I haven't played with it myself.

All in all I'd like to see more activity in the svg space. It's a great tool and with a bit more awareness I think it could have a great future in the web development world.

[0] https://jsfiddle.net/leaverou/qwg3r/
No no they are not out.. just give them priority over literally any college in the world. By no means ideal, if it was up to me I would allow all forms of immigration (maybe in return of a small social safety net fee) just trying to brainstorm easy improvements to the current system.
The Waymo partnership with Chrysler is mentioned in the article. They announced that partnership back in May[1]. They dropped some press releases on their self driving mini-van in December [2] where it was noted among the press that "Other automakers, including Ford and General Motors, have made even more aggressive moves on the self-driving car front."

And then here in January we have this content free press release.

I'm a big fan of figuring out self driving cars. As the evolution of self driving cars unfolds, I become convinced that Google (or a subsidiary via Alphabet) is going to end up being much of a player in the space.

[1] https://www.bloomberg.com/news/articles/2016-05-03/fiat-goog...

[2] http://www.usatoday.com/story/money/cars/2016/12/19/get-firs...
Does SVG still murder battery life on mobile phones?
If the GP care was ineffective, of course the CBT modeled after that care was equally ineffective. To expect any different is just silly.

I would be interested to see a study of obvious alternatives - perhaps an online interactive exercise program, something that provided a positive social interaction, or how the use of a sleep tracker could affect depression.
This is awesome, really happy to see them release such valuable data!
The day psychedelics died. The idea of using this class of drugs to work longer and harder seems rather counter to the beliefs that originally brought them into the modern consciousness.

If this is a trend then I feel it is tragic indeed, especially if spawned in California.
That's a good point! I agree with you, that's not what I meant in the previous comment :)
Why not start with an obvious one:

- a car: Do you really need one or does it just feel convenient?

A bit of a stretch (and not really possible yet as of now): What about computer / mobile device hardware? Right now we need those to get work done but do we really actually need to own that stuff and lug it around with us? After all, it's about the function a laptop computer provides (i.e. providing you with the hardware and software tools to do software development), not about the device itself.

Nanocomputing hasn't progressed enough yet to provide us with a ubiquitous computing resources but why not treat computing resources as a utility that's available in any house or hotel? You just log in and have your personal VMs ready at whatever hardware unit you're sitting at right now.

This would be quite revolutionary in my opinion.
Believe me, after I convince everybody to have children, I'm gonna work on convincing them to have lots of children :P

That's certainly my own plan. Just welcomed number three into the world last week. Definitely have plans for more, but, you know, babies generally come one at a time.
I'm suspicious of anything coming from the WP given that Bezos owns it.

For people who really are the best and brightest, wouldn't they already be eligible for an O-1 or EB-1?

Primary use of H1-B I see here in Central time is for people without leverage who can be pushed around. I've known smart guys and dumb guys working here on that visa, and they both have some asshole dangling that visa over their heads.

If we really need these people, we should be giving them citizenship.
You do make an excellent point about kinda owing kids to your ancestors, but I think having your own children is the better strategy. After all, a bird in the hand is worth two in the bush...
For what it's worth the SVGs exported by Sketch are workable. I usually go in by hand and clean up the exports, but it's nowhere near as bad as old dreamweaver html exports.
Krafcik mentions in his presentation that their cars are down to .2 disengages every 1000 miles (which would more aptly be described as 1 disengagement every 5000 miles), and their cars are actively seeking out challenging situations, it's not just easy/random driving. This is incredible. They are leagues ahead of the nearest competition.

Krafcik also mentions they are making the lions share of their progress now using their simulation engine, where they can model every conceivable variation of any bizarre/difficult encounter they have on real roads. In sim they accumulated a billion miles in 2016.
Successful athletes get both personal recognition plus symbolic and monetary rewards for their talents. Successful workers get both personal recognition plus symbolic and monetary rewards for their talents. Some athletes are motivated to be better and better at their sport. Some workers are motivated to be better and better at their job.

Isn't that the same motivations?
>> Thus far, these perturbations have been limited to:

+ the subtraction of articles (a, an, the)
+ the subtraction of the second part of a verb contraction (e.g. “‘ve”, “‘ll”, “‘s”, “‘m”)
+ the replacement of a few common homophones with one of their counterparts (e.g. replacing “their” with “there”, “then” with “than”)

Oooh, that's _very_ tricky what they're trying to do there.

"Perturbations" that cause grammatical sentences to become ungrammatical are
_very_ hard to create, for the absolutely practical reason that the only way
to know whether a sentence is ungrammatical is to check that a grammar rejects
it. And, for English (and generally natural languages) we have no (complete)
such grammars. In fact, that's the whole point of language modelling-
everyone's trying to "model" (i.e. approximate, i.e. guess at) the structure
of English (etc)... because nobody has a complete grammar of it!

Dropping a few bits off sentences may sound like a reasonable alternative (an
approximation of an ungrammaticalising perturbation) but, unfortunately, it's
really, really not that simple.

For instance, take the removal of articles: consider the sentence: "Give him
the flowers". Drop the "the". Now you have "Give him flowers". Which is
perfectly correct and entirely plausible, conversational, everyday English.

In fact, dropping words is de rigeur in language modelling, either to generate
skip-grams for training, or to clean up a corpus by removing "stop words"
(uninformative words like the the and and's) or generally, cruft.

For this reason you'll notice that the NUCLE corpus used in the CoNLL-2014
error correction task mentioned in the OP is not auto-generated, and instead consists of student
essays corrected by professors of English.

tl;dr: You can't rely on generating ungrammaticality unless you can generate
grammaticallity.
> i wish there was a way that i could write how i want to write and you could read it how you want to read it

Heh! Maybe they could peruse http://wiki.languagetool.org/adding-a-new-language
Where are people's smiles?
I don't know, but I really, really don't hope we get to the point where every web application ships a bespoke, WebAssembly rendering engine and treats the browser as WebGL dumb terminal. That sounds like a complete dystopia.

Think loading times are bad on script-heavy websites now? Wait until every web app uses its own mix of graphics, font and layout libraries, all compiled from C/C++ to WebAssembly and shipped in a 100MB blob. And rendered without any integration with accessibility technologies, and with basic things like copy and paste disabled to stop you "stealing" content. No thanks.
This sort of attitude creates reams of unit tests that do nothing but slow down progress. Like everything, unit tests need to be well written they become technical debt.
I wouldn't call it "invalid", but rather say that we should not be judging the success of our children on such a subjective item. There is value in such subjectivity, and it's a cultural exercise in which we can discover more about ourselves and others, but it has no place in an objective location like a standardized test.
If this helps LSD, MDMA, magic mushrooms and ketamine get into pharmacies, who am I to complain?
Sadly the Dell UP3017Q is vaporware - we're still waiting for it to start shipping a full year after it was announced, and Dell haven't given a reason for the delay.

I suspect they did run into issues with burn-in. OLED TVs tend to avoid that now, but PC monitors have to deal with a lot more static images for much longer periods.
Show HN: Guild Wars 2 Armory Made with React and Node
> However, we except such a sorry state of affairs in theoretical physics and the workings of the mind -- why should we be any less charitable with philosophy?

Well, personally I don't expect nor accept any non-falsifiable theories from any branch of science. There is a tendency to relax this requirement in some theoretical fields of physics and to say that it suffices if a theory is empirical and unambiguous. Of course one can make the line fuzzy with some of them and say that they are tentatively falsifiable (i.e they can be once humanity will be reach a certain level of progress), but as far as I'm concerned, those type of theories are more suitable as a special branch of mathematics than of physics. Perhaps philosophy can help in categorising these theories ;)

>> Would be happy to be proved wrong, though.

>With emphasis added: wouldn't we all? ;)

Yes, well, I never claimed to be free from the constraints of thought :)
Wow has an armory, why not Guild Wars 2?

Website:

https://gw2armory.com

Repos:

https://github.com/madou/armory-react

https://github.com/madou/armory-back
I use a 49" 4K tv as a monitor and you're right. Oddly since I'm using a standing desk it's really helpful (and natural) to lean a bit to see upper left and right areas of the screen.

That being said the overall experience is fantastic and a serious productivity boost.

I'm on the lookout now for a 55" or larger 4K with a curved screen as I think that would help on both fronts.
For example, I do care, even if I don't use Rust professionally, because in the future those native libraries that I actually use in Java and .NET, might eventually be rewritten in Rust, thus making our clients enjoy a more safer stack.
Was waiting to see why coding was ethically complex - I was disappointed. Strange article.
And I haven't met any of them who would prefer it gone entirely...
How is it wasted money? The exact thing you're speaking of is the good being bought with that money. It is worth X amount of money to stay in a residence for a month. That is a good which is being sold to the highest bidder. And people buying it are freely trading their money for that good. If we were as a society to take those goods and just give them away, that'd work about as well as toilet paper nationalization in Venezuela.
It's disturbing that this post, which reflects reality was downvoted.
Instagram's Terms and Conditions, re-written for children (page 10 of pdf)
The author is ignoring the 800-lb gorilla in the room which is the anti-truth, anti-rationality fashions -- modernism and post-modernism -- that have dominated and corrupted philosophy for the past century. The analogy to physical science would make sense only if the mainstream of science since about 1910 was dominated by politics and founded on a premise that whatever makes you feel happy, man, must be what makes the universe go round. In such an environment, it would be entirely reasonable to ignore the modern trash and have your kids read Newton...
I think at least two of the explanations dismissed by the author are intriguing, even if not fully adequate as answers to her question.

>Philosophy is not trying to communicate normal content that can be in explicit statements, of the kind you might be able to explain well and check the understanding of and such.

I think there's something to that. Some forms of philosophy advocate broad conceptual systems that "hang together" in a way. I don't know how you would teach Kantian philosophy without reading passages from Kant, for instance.

>Philosophy is about having certain experiences which pertain to the relevant philosophy, much like reading a poem is different to reading a summary of its content.

I think that applies to writers such as Nietzsche, and some of the more substantive writers continental philosophers. It also applies, for better or worse, to writers who in my opinion wrote nonsense, but are nevertheless written in a style intended to be "experienced." And at least in principle I don't think there's anything wrong with that.

And beyond those two bullet points, I can think of a few more.

One is we're supposed to believe that philosophy deals with timeless subject matter. So it's not necessarily surprising that at certain points in history some people might do a really good job writing about it, expressing ideas that continue to be relevant and which aren't improved upon by attempts to elucidate.

Another reason to read old philosophers is the same reason some courses teach math or physics in a way that emphasizes the historical circumstances where the ideas first originated. I've even heard of some courses that teach almost entirely in primary sources. You can view the ideas with a sense of discovery and an appreciation for the ingenuity involved. A lot of the magic in very beautiful ideas tends to die when it's clinically summarized in a textbook.

Now, all of that said, I still think there are many branches of philosophy where you don't need to read old sources. Things like language, logic, meta-ethics, and probably many others can just be summarized while ignoring historical sources, saving a lot of time. But again, contra the author's suggestion, from what I know it's at least relatively common to have graduate level courses on philosophical subjects that are focused on cutting edge literature.
Increase Your Core Strength with SpinaliS Spider Series Chairs in Canada
"He studied biology and neurology at his desk every night until he fell asleep."

Maybe he should have just tried getting a good night's sleep?
Earnings date must be approaching, try to distract that they're still just only an online ad company?
A win win for everyone but the drivers. Sure they can quit but doesn't excuse Uber from using its negotiating power against exploiting them wherever possible.
I use this script for my servers as well and it seems much quicker and easier. What benefits does OP's method provide?
Some athletes do. Others just end up with CTE or a liver the consistency of polystyrene (https://en.wikipedia.org/wiki/Andreas_M%C3%BCnzer).
> The idea of using this class of drugs to work longer and harder seems rather counter to the beliefs that originally brought them into the modern consciousness.

For what it's worth, microdosing was popularized in the last few years by James Fadiman... Whose research in the 60s, which originally helped to popularize psychedelics, was on using them to improve work performance.

Obviously this isn't what R. Gordon Wasson was using mushrooms for in the 50s or whatever, but the idea of using psychedelics for work purposes has been around for a while. I think the main thing that's changed is that, with the death of modernism, we've become more cynical about the ability of ideas and technology to improve the human condition.
THC-Varin (stupid autocorrect on my phone from prior post) (AKA THC-V)is a highly-psychoative, hard-hitting THC homologue that is highly stimulating with very short duration of effect. High levels of this are present in African and Asian sativa strains. If you've ever taken a hit of stuff that got you high immediately, chances are you just had a quick THC-V dose from the strain. It lasts about 15 minutes, then fades away, leaving the normal delta-9 THC to do its thing for the next few hours.
I often use other elements for layout and set their background image to an SVG. Benefit of both worlds there. Does that help with any use case?
I don't think you can make a value judgement on the character of people who decide not to have kids. Remember that they still contribute to society in a myriad of ways, including playing inportant roles in the lives of children that belong to friends or family. On the other hand, there are many selfish people who do have kids but make poor parents.
Now that is a weird claim of something being a free market if I ever saw one. Want to make it a free market? Remove the need for a visa. It is as simple as that.

Auctioning visas may make it into a market, but don't delude yourself that it would be free.
Interesting, this seems to be from a couple of people at Information Systems Technology Laboratory (ISTLab) at the Athens University of Economics and Business. I wonder what the motivation is. Security, or does it utilize multiple processor cores better than traditional pipes?
Neither WebAss, nor WebGL (nor the canvas API for that matter) is a vector graphics format. When using WebGL, you still need a way to integrate complex prepared graphic content. You could implement an SVG renderer in WebGL + JavaScript I guess, but that's certainly not easier than just using SVG content straight away.

SVG 2 leaves the "painter model" behind (where z-order is determined by document order of the respective shape within its container) in favour of the z-index CSS property, so that you can address it in CSS (eg. `:selected { z-index: 1 }`). This makes it possible to describe things like interactive maps and DVD-like menus where when you click on a shape, the shape gets scaled or applied some other transform for highlighting.

However, I agree that SVG 2 leaves a bit to be desired (for example, level of detail properties). Also, animation of SVG in FF sucks compared to Chrome and Safari, or at least it used to 3 years ago. I wanted to teach my 12-year old how to make a simple browser game, but had to resort to hackish workarounds to make it run smoothly on top of using rAF etc., ruining my pedagogical ambitions.
> Context switches are really fast on modern x86.

Not context switching is even faster.

How fast is really fast, how modern is modern? some results from 2010 [1] show at least 1000 nanoseconds per context switch (even with optimizations for the kernel switching between threads of the same process). That's not that slow, but it is a lot of time you could be doing something else.

[1] http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-ma...

[1] http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-ma...
I would love to see a series of pass-through "device filters" manufactured by a third party.

When purchased, they can be configured to designate what is attached and then they would regularly connect to the filter service to get updated definitions.

For instance, the inline filter could be purchased to be placed in between a router and a smart TV hooked up via ethernet. Then the owner configures the filter and selects the exact TV manufacturer and model that is attached.

The filter device would then connect to the filter service on a regular basis to get the rulesets for that specific model of TV. The rulesets could filter incoming traffic, outgoing traffic, apply whitelists or blacklists, etc.

Basically, inexpensive device-specific firewalls.
What do you hope to achieve by prioritizing graduates of below-average domestic schools over graduates of some of the best universities in the world? Pay your dues to the man? Someone who graduates from a decent school can be productive at any company in the world, but a Doldrum State graduate is just a health hazard.

As for fitting in, back when when Soviet Russia came apart we had quite a few Russians at my university. They were all academics in their mid-40s and managed extremely well.
The connection between hard work and higher pay is dwindling. More and more profits and revenues just go to the owners of the equity. So yes, if you do not have a lot of equity at stake, past a certain point working harder definitely can make you a sucker in many cases.
Smart phones
I think that "affordable", "attractive", and "urban" form kind of an Iron Triangle in the sense that you can have any two out of three.
Nissan shows how driving will become a desk job
5 digital jobs in big demand across Australia
Your distaste isn't remotely as great as it ought to be.
20% of funds raised in Santa Clara County went to Trump

Can you provide your source for this? (Not being snarky -- I have trouble finding that level of detail in terms of residence vs. company HQ)
I'm reading "A Pattern Language" right now and it's pretty revelatory. It certainly suggests that structural properties of natural languages are prevalent throughout culturally-transmitted behaviors
This is no "Schrödinger's cat" which is both alive and dead. There is no fork if one decides to not have children. Decision was made so your fork is a straight line. Let's not dive into parallel universes spawned each time we make a decision.
I personally prefer to use curl whenever possible (don't blindly do curl | sh though) ;-)

https://daniel.haxx.se/docs/curl-vs-wget.html
I agree, it's not for all. I think the preference comes down to the weightings individuals assign to: the importance of propagating their values vs their genes; and the value of existing humans vs potential humans.
Sure, but if all of your coworkers are surpassing you because they are using performance enhancing drugs and you're not, then you're under pressure to do the same just to keep up, otherwise you run the risk of losing your job.

Which is the situation that many athletes find themselves in.
This is a report by the "Children's Commissioner" in Britain. I don't know what bias they bring to their report. Also have no idea if they are a legit governmental agency, or some kind of partisan "think tank" so take it with a grain of salt.

However, I found the simplified terms on page 10 interesting and plan to save it as a discussion starter for when my kids are old enough to start agitating for access to social media (regardless of how the real terms might change between now and then)