skysight-inc/HackerNews huggingface dataset:
SVG always reminds me of JS - a seemingly overcomplicated and slightly ungainly technology that actually just turned out to be ahead of its time.

Back in the bad old days when you had to install the Adobe plugin to view it at all, it was almost useless. But nowadays, almost all browsers have more than adequate native support and it turns out that it's actually very useful as a good way of doing declarative vector graphics (as opposed to the immediate mode world of Canvas). I switched to using SVG for all artwork in my apps about 2 years ago and haven't looked back once - there are no performance issues; I can retheme them via CSS (if loaded as objects rathe than imgs), they look perfect on arbitrary resolution displays, plus animation is trivial when desired. Meanwhile libraries like D3 show just how powerful and performant SVG can be.

So: given a choice between a custom library which implements some kind of vector DOM on top of canvas, and having it baked into the native DOM of the browser with decent performance, I know which I'd rather have.

The biggest problem I've seen in practice is when handling user generated SVGs - the risk of vulnerabilities in the implementations; XSS attacks - and design flaws like billion lol attacks. But such are the risks of using an expressive language like HTML, SVG, or heaven forbid postscript or PDF :)
I was thinking of cane sugar, which is more common in Asia (and elsewhere, I guess, but not in NA).
I'm anti-homeowner bailout, but damn, you really think that people that disagree with you politically deserve all that?

People, no matter their views, matter.
First read I was thinking- 'well, maybe that's what you were, but don't be so hard on yourself...' realized you must have omitted the word 'developing'.

As a former indie iOS dev, ( ie. a tool for Apple Computer Inc. ), my honest feedback is- if I was ever making enough on the App Store to afford a $15 monthly subscription, I wouldn't need the help; for the most part indie iOS developers don't make jack so our #1 consideration for any product is going to be "Is it free...?"

Of course if you already figured that out; but saw that people were thinking "Why the hell am I not making any money on the App Store, maybe I need; like; SEO?" and are likely to give it a try- even if they don't like it, even if it doesn't work, you still got $15 out of that customer which is 10x what they're making on each customer who downloads their $1.99 app; so- good on you.
Cost is not the only comparison. The US scores last in this study of eleven countries. Sweden third. Having received healthcare in the US, the U.K. and Sweden, I personally prefer Sweden. But as the US is a very large place it is hard to generalise.

http://www.commonwealthfund.org/publications/fund-reports/20...
> Is part of the problem authoring tools? Every time I need to make some SVG by hand, I look around and keep coming back to Inkscape and Illustrator. I can't afford Illustrator, and Inkscape has just never stuck for me, it feels very clunky. I've used lots of the other tools out there but nothing seems great.

I totally get this. I don't have Illustrator, but occasionally I get Illustrator produced SVGs and they remind me of HTML produced by early 2000 Word.

And I hate Inkscape with a passion, mostly the UI. I like exact coordinates for doing technical diagrams, and Inkscape seems to make that really hard. I have no issues with UIs that have a learning curve, and have previously gotten used to InDesign and Blender fine. But it seems like I'm fighting Inkscape all the way, only to have the output be of low quality.

What I actually use now is TikZ in LaTeX + dvisvgm, which I then pipe through SVGO. Super happy with the results, although writing TikZ isn't exactly smooth either. And LaTeX is a whole different world of pain and annoyance, so using it for just SVG seems wrong. But TikZ/PGF is pretty mature, and dvisvgm has a great, clean code base.
> Look at movie theaters.

I don't think it was like that in the beginning. Running a cinema (movie theater) was a normal business until Hollywood milked it to the extreme. They created their own chains of multiplexes in many countries to push their idea of how the business should work.

These days modern cinemas are built like tourist traps with customers having to either walk through/past chain restaurants or having to find some weird side door to enter directly. It's quite a difference to even the 80s or 90s when cinemas had impressive/glamorous lobbies.
I'm not sure what are you talking about, if you use entry_points in setup.py then it will create right entries, set proper permissions and ensure the right python is run.

If you use setuptools correctly it is fairly easy to install and run packages e.g.:

venv-3.5 my_env
my_env/bin/pip install mypackage

or if you don't want to publish it to PyPi:

venv-3.5 my_env
my_env/bin/pip install mypackage.whl
Same here ! I think we might be from the same school. I grew up my highschool in Scarborough.
Plastc is shutting down
I support background checks. I know a woman who had a driver try to grope her when she was getting out. The ones in MA just sound ridiculous. Unlimited look back periods for some crimes. Robbery is a serious offense, but if someone has been a law abiding citizen for a decade afterwards they might actually be rehabilitated.
Could “Social Justice Benefits” Be the Newest Employment Trend?
That ship has sailed a long time ago, though I'm all for a formal semantics for CSS, safe JavaScript subsets, etc. Also it's not W3C who do browser and HTML specs these days but WHATWG (eg. Google).
I sleep on this [0] and occasionally the foam that is recommended as a "Others also buy this item".

After a trip to Japan I found sleeping on a futon was the best sleep I've ever had. After returning home, the first thing I did was buy a roll-out futon. Been sleeping on it ever since. It's cheap, I can store it during the day to "reclaim" space in my room.

I'd probably do just as fine on a firm mattress - but the futon is cheaper than a mattress. I can also roll it up and take it with me when visiting friends or relatives who do not have the luxury of having a "guest room".

[0] https://www.amazon.com/Futon-Furniture-Traditional-Japanese-...
I think you're granting way too much favor to a company that uses changes in Chrome to force other companies to do what they want, or as with yesterday's news, to actively block their market competition. Even as an open source project, the fact that decision making and control comes from Google, and the dominant distribution of it is a proprietary version built around Google's corporate needs, it is no more trustworthy than IE at heart.
Apple wants to stop mining and start making everything from recycled materials
Yes, it's how they "really" make their money in the sense of how precisely the money goes from franchise owners to them, rather than anything surprising about how the money is made.
It's complicated. In the USA some states like South Carolina have higher rates of fatalities while others have fatalities per billion vehicle-km comparable to the best countries in Europe[1][2]:

USA and territories 7.1 (includes Guam, Samoa, Puerto Rico, etc.)

USA, Massachusetts 3.25

Sweden 3.5

Netherlands 4.5

Belgium 7.3

Spain 7.8

Australia 5.2

Japan 8

S. Korea 16

Brazil 55.9

[1] https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...

[2] https://en.wikipedia.org/wiki/Transportation_safety_in_the_U...
ARM Releases Machine Readable Architecture Specification
Had bad results with an avg smartphone camera.

It sucks when science creates something cool but it doesn't work in the real world.
Android Vector Drawables? If you manage to ignore the use of namespaces for attributes, which seems to account for half the file size for smaller files... :-/
Yeah:

- Moby VM is (was?) the name of the Linux VM that Docker for Mac (and Windows too, I think) runs as the host for Docker containers.
- Moby Dock is the name of the whale in Docker's logo

A Google search for "moby docker" restricted to results before April 2017 shows plenty of results

Edit: sample search result: http://lucjuggery.com/blog/?p=753
Sponsored

Paul Graham's Net Worth Will Leave You Speechless
My corporate scumbag lingo is a bit rusty, can anyone help translate this ?

“Despite a record-breaking quarter, NerdWallet has decided to shift resources to align by consumer pain points, rather than by financial product families, and to consolidate multiple execution orgs under our CPO, Tapan Bhat,” NerdWallet CEO Tim Chen told TechCrunch in an email."
I was (aiming to become) an SVG ninja around 2006 (the first coming of SVG in the browser), coded stuff like http://web.archive.org/web/20070630201408/http://www.fragmen... ( a kinda LOGO implementation in SVG) - you needed the adobe SVG viewer plugin for IE at that time to use it. (don't look at the code, it was 2006!!!!)).

at one point I decided to stop my quest, mostly because

a) horrible buggy browser support at that time

b) the limitation and clunkiness of the format (it's XMLish after all)

so basically nowadays: same, same but different!

nowadays still use exported SVG for icons and logos of course, cause filesize.
(that said - I just checked on the health of one of my favourite Mozilla SVG bugs; the fact that it ignores baseline-shift so there's no simple way of vertically centring text over (say) a line in order to draw something like an arrow label. Sadly, 12 years and still open... https://bugzilla.mozilla.org/show_bug.cgi?id=308338)
There is no freedom in a UK pub franchise that will help you, because if you do well they will screw you the month after on tied beer prices.
$80K CAD is $59K USD, which is not that much different than the original post. $160K CAD = $119K USD is fairly good, but most developers with 17 years experience would take home north of $200K in Silicon Valley (I'm not familiar with other US markets).

All the anecdotes still seem to point to software engineers making more than double in the US. I would love to return to Canada some day, but I'm not likely to do so until the numbers I see people post online start beginning with at least a 2 or 3.
I'd rather see projects like Cyberfox, Thunderbird, Palemoon and Evolus Pencil (which, sadly, has been rewritten by now) taking up xulrunner, fork it and continue developing it.

I have yet to find a better system for rapid application development. XUL is wonderful, extentable, everybody know CSS and Javascript these days, XML is very well suited for such tasks. It's one of the best technologies for power-users I ever came around!

All that was ever needed would habe been a Mozilla, that creates an XUL IDE, rather than taking up on a lot of stupid projects (Persona Light Themes, Hello Chat, FirefoxOS, removing XPFE (how coding with XUL is actually called) and whatever (the only real good thing to mention would be Ubiquity, but they killed that off as well), oh, and let's not start talking about Firefoxy mugs, t-shirts, community barbecues, community videos... But hey, that's what happened.

Now, if some people would just fork xulrunner and mirrror the addons.mozilla.org stuff...

As for Thunderbird, I am also pretty satisfied as it is. It may be nice, if one could set certain To: email-addresses per folder (mailing-list folders would greatly benefit from that, along with subscribe/unsubscribe configured per such folder), alternate views onto mails and have, maybe, a modernized foldering-system.
Did you read the post? One workgroup member was also an Inkscape developer, and was implementing the new features. Both tasks apparently fully unpaid.

And then the browser vendors come only afterwards telling that they weren't really interested in the first place.
#!/bin/sh\n

vim ~/todo.md
There are dozens of apps already on the play store that will do geometry correction for images taken at an angle. No stand required. My partner uses one for working in archives.
Surely Google follows their own guidelines: You can't find Google Search Engine results indexed on Google itself (or any other search engine with or without ads for that matter). Google Search is more of an application than a content site.

Otherwise, when Google finds itself breaking the "rules", they act:

- Google banned the page for Chrome for buying paid links

- Google banned an acquired company (Beatthatquote) for violating rules.

- Google penalized their Adwords FAQ pages for cloaking.

- Google reduced pagerank for Google Japan for buying links.

- Google removed Adwords support pages for keyword stuffing.

Source: searchengineland.com
There's also this problem
https://www.reddit.com/r/Android/comments/5dbo07/google_phot...

> After testing PhotoScan on a variety of pictures using four different phones, I'm sad to report that we're not getting our camera's worth from the app. The long dimension of scanned pictures is always scaled (up or down) to 2,000 pixels, compared to the 4,000-pixel capture resolution of the 6P (12.3 MP -> less than 3 MP).
If I had throw away money; one thing I would do is buy up rainforest land, and pay villagers to protect it.

I would want an assurance from the current government--that my investment won't be taken away. Yes--it's still a risk, but a good risk?

What's the point in building a monolith yacht, when you just might not live to enjoy it? I don't quite understand death denial, nor the ultra wealthy.

Study after study shows a sure way of screwing up your offspring is to give it all to them? Hell--some lucky sperm grows up with money, literally runs out of ways to spend, and then goes to Africa to kill Elephants, and Tigers. Wtf?
Electric flying car
I said: "Its their private property and they need to be able to do as they please. If they break the law, then they get punished. But its their private property."

You said I said: "Its their private property and they can do as they wish."

I chose my words carefully, and you have removed some to create your scarecrow.

They have interpreted the contract in one way and acted upon it. Even if the man interpreted it differently, he still should have left.

But ultimately it comes down to who has what to gain and lose. United has more to lose, so United shouldn't have done it.
> I can't afford Illustrator, and Inkscape has just never stuck for me, it feels very clunky. I've used lots of the other tools out there but nothing seems great.

Have you tried Affinity Designer? I'm not a designer, but for me it's simply amazing. And it's only $50, no subscription bullshit.
Have you tried Expression Search?

https://addons.mozilla.org/en-US/thunderbird/addon/gmailui/
About time! This is a very important functionality for a device which is supposed to be in the living room. Glad they added the support.
Ah the thing where you agreed to sacrifice a goat at midnight
“Hey Google, we’re trying to find a few of our friends Can you help us?”
RMS said "Software As a Service" is not free
I'm talking about ease of use for non-experts.

I sometimes send people python scripts, I can just tell them to run it from the command line. I can assume any linux or Mac OS X distro will have some version of python2 installed, so I can just say "run 'python myscript.py'".

If I give them your instructions, then from my computer I don't have venv-3.5, or venv. I'm sure they won't either. Standard ubuntu installs don't have virtualenv or pip either, so non-root users have pain installing any of these things.
Multi-frequency phase interference can be used to get sub-cm accuracy without needing ridiculous oscillators. The only problem is that you need to sample your target several times with different frequencies to remove the ambiguity.

Units like this:

https://www.amazon.com/Bosch-GLM-35-Measure-120-Feet/dp/B00V...

that go for $75 (or less) do this. They're super accurate, the only downside is that it takes a second to cycle through all the necessary frequencies.
Together with Solomon and a core group of maintainers, we drafted some words to clarify the relationship between Moby and Docker at the Moby Summit here at DockerCon. We're updating the website at mobyproject.org to include this text as well.

Docker is, and will remain, a open source product that lets you build, ship and run containers. It is staying exactly the same from a user's perspective. Users can download Docker from the docker.com website.

Work has been ongoing to break Docker into modular components for some time, with runc and containerd as examples. Containerd for example has been donated to the CNCF. We are now completing this work with the goal being that the monolithic docker repo eventually ceases to exist, instead being assembled from a set of components.

Moby is a project which provides a "Lego set" of dozens of components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.

Docker the product will be assembled from components that are packaged by the Moby project.

The Moby project provides a command-line tool called moby which assembles components. Currently it assembles bootable OS images, but soon it will also be used by Docker for assembling Docker out of components, many of which will be independent projects.

As the Docker Engine is split up into multiple components the Moby project will also be the home for those components until a more appropriate location is found.
It's about 30 times slower than the real-world latency of RAM, which is obviously a problem but it's one that caching might resolve (e.g. an L4 of 32GB of GDDR5)
I had some old 3.5" floppies I tried to read recently. Unfortunately it seems that they didn't survive the long dark in my parents' closet, and were unreadable, at least by consumer hardware... maybe a data recovery service could extract the data.
Facebook Messenger now reaches 1.2B users News
It's so you won't have multiple 'ooh' moments a year in coding - "I need to change that base thing, will require large rewrite". Or at least decrease possibility of it. Six months seems a bit too long even for 266 pages specs though.
You've hurt my feelings.
I'm doing some pretty heavy image recognition while stitching the output of a camera to image objects larger than the camera can see in one go from two different angles in real time. Python works fine for high performance numerical work, the only thing you have to keep an eye on is to use python as much as possible as the glue and the various libraries written in C or C++ to do the heavy lifting for you (and there are tons of such libraries).

The reason why python is the right tool for this job is because it has such libraries for just about everything, from serial communications to a bunch of hardware driving stepper motors, relays and reading inputs to imaging and number crunching and all the other bits that went into this. I'd have a much harder time achieving the same effect in any other language and likely it would have cost me a lot more time.

Python is not perfect (far from it) but it gets the job done.
I've found Google Inbox to be amazing for my private email. Important stuff gets a notification, unimportant stuff can get triaged as I see fit and snoozed for later.

Now I wish I had snoozing for my text messages...
Sending mail in the background seems to be broken. You can enable it behind about:config, but then, at least on two of my machines, it doesn't work.

I consider this almost a deal-breaker. It's such a simple theory that just about every other GUI MUA gets right.
Mortgages only last 20 or 30 years, and realistically probability of default falls rapidly after the first few years, so banks don't have all that much incentive to care about value a couple of decades down the line when granting one.
Why complicate to-do lists even more, though? As soon as you try to make them smart, you risk them doing something you didn't want, and then having to manually fix it, which is irritating. If I want a repeated task, I'll set up a recurring calendar event/task for it. If I want to group tasks in a certain way, I can do it myself. And if I have to get coffee filters, I don't need four separate steps to tell me how to get coffee filters.

What about a simple notebook?
There is a plugin for Exchange [0]. It works.

The search is really weird. I had to install an extension to always filter by date but even then it's broken to the point where I have to open webmail to do real searches.

[0]: https://addons.mozilla.org/en-us/thunderbird/addon/exquilla-...
>Of course many of the major theatre chains are also related to the studios, so it gets a bit hard to see which end is up.

As far as I can tell, not in the US. Open Road Films is a joint venture of AMC and Regal, but Open Road only has about 1% of the film market. National Amusements has a controlling interest in Viacom, which owns Paramount Pictures, but National Amusements only has about 1% of North American movie theaters. None of the big US studios own any of the big 3 US theater chains.
"High prices reward the companies that made it" - so why not raise the prices even higher if that argument resonates with the public? :)
Please tell me you know of a functional language that does not incorporate "point-free style", as you put it. I would love to look at such a language as a way to redefine how I view functional languages in general. No sarcasm involved, I am genuinely interested.
I'd say no, since the purpose of the GPU there is to make the matmul really fast.
And obey authority.
What to do when there is no ground truth – the unlabeled data problem
Not sure how you get from what he said to people not mattering.
What context am I missing? While Analemma_ was talking about using it to augment DRAM, like you are, endorphone was very specifically talking about replacing DRAM in that comment. And that comment claims that it already has good enough latency for the job.
The Club Penguin shutdown is a devastating blow to the Kelowna tech industry!

(seriously, their headquarters are there)
That is actually one of the things I love about the US, that the political capital doesn't (yet?) monopolize all the good stuff!
Abusing Nvidia 's Node.js to bypass application whitelisting
And there are a number of OSS support vendors; notably Red Hat.
A dam at Novato, plus the Peripheral Canal to divert Sacramento River water to the California Water Project, is quite possible. A dam at the Golden Gate, though, is very tough. The bay is 360 feet deep there.
It is all through one distribution vendor with regards to product now. Only plant(equipment) purchases are outside of the primary distributor now.
thank u for not being a narc
What's a little bit extra? I don't even pay 30$ to choose my seat.
Ask HN: Who browses the web without JavaScript and why?
Really curious to how many people out there actually uses the web without JS and why they turn it off. Hard for me to believe that it is even possible :) Thought everything would be broken.
Until it's run on an OS that respects its users (ie no more native spyware/"telemetry", ads in the file browser) I couldn't care less.
It's a fair point though: if the kind of experience to understand/implement the spec is workgroup member + Inkscape dev, then maybe it's too complicated for mass adoption.
Urban Farming: From Microsoft to the Dinner Table
There are some easy to avoid pathological cases such as concatenating numpy arrays in a loop.

Take this gem from a well known course:

np.concatenate([x.next() for i in range(x.nb)])

That looks pretty innocent but it can eat up your memory in an eyeblink if the input is large enough. That's the sort of pitfall that a lot of python code suffers from because the abstractions are just nice enough to make you believe this will work without penalty and without knowing how it is implemented under the hood you're suddenly out a few gigs of ram.
Cracks Appear in Toronto's Housing Market as Home Capital Drops
I live so much in the bubble that whenever I read "Amazon Rainforest" I think about what new cloud product by AWS that is...
> some details about the domain I’d like to work for

Improving here might be crucial.