skysight-inc/HackerNews huggingface dataset:
Cool stuff! We actually built a similar system to analyze the NYC taxi dataset (or any other geospatial dataset). We use the (PostgreSQL wire protocol compliant) HyPerSpace database in the backend [1]. Let us know if you're ever experiencing performance problems with PostGIS.

[1] https://db.in.tum.de/downloads/publications/hyperspace.pdf
> The mistake I've seen immigrants make is move to Canada, then move to the US on an H1B, L1 or other visa before attaining Canadian citizenship, lose their Canadian PR due to leaving the country permanently, then lose their US job & visa and end up having to return to their original country.

Ouch, that sounds terrible.

Yes, getting citizenship in Canada first seems like a good idea. Btw, it's not 3, it's 4 years.

It's a sad commentary on the broken immigration system of the US, when it would be faster for me to get Canadian citizenship, and then switch to US citizenship than go directly for US citizenship.

Though of course, I wonder if the US authorities would be able to find out I am switching citizenships like that, and cause issues. Do you know anyone who did this?
I was under the impression that cat automatically used a sane size for reading. Now that I think of it I cannot think of a source, other that to point out my own anecdotal experience.

When I was writing raspbian images to SD cards to use on a raspabery Cat and DD took within a few seconds of each other on an operation longer then a minute. Since then I have been using cat where I could, but I didn't think to right down the numbers though.
> One kind of significant downside of partial indexes in PostgreSQL is that they don't work with parameters.

Your example is fundamentally different from parameters sent by a client in a parameterized query, i.e. $1, $2, etc. Also while your flawed example will never use a partial index, parameterized queries can and often will do that. With prepared statements (which are a slightly different concept from parameterized queries) the devil will lie in the details, but even those don't really prevent partial indexes from being used since postgres version 9.2, released years ago.
That depends on how environmentally friendly you want to be in reclaiming that steel [0]:

> A secondhand vessel is currently worth about $190 per tonne to a shipbreaking yard in Turkey, a price established by the local market in reclaimed steel. Sail on to China and a different market, and the same metal is worth $210 per tonne. At breakers’ yards in Alang in India, Chittagong in Bangladesh and Gadani in Pakistan, they will pay around $280 per tonne. Meanwhile, at the EU-approved shipbreaking sites, which are bound to conform to continental waste laws, and where vessels are dismantled in closed-off quays or dry docks, rates are less competitive: European yards offer zero dollars per tonne, and, in fact, tend to ask a fee to take a shipowners’ junk.

[0] https://www.theguardian.com/business/2017/may/02/where-oil-r...
A proof without words why 10^2+11^2+12^2=13^2+14^2
I have an 18" military issue machete. It takes and holds a razor edge. I can sever 4-5 cm saplings with one angled cut.
Assuming they have something that already works for them, lack of motivation.
> The risk is that you can lose all of your money. It's spelled out in every prospectus...

If you buy equity in a single company, you could lose all of your money if they go bankrupt. Likewise, if you buy stock in 500 companies, they could all go bankrupt and you could lose all of your money, but the chances of that kind of "total loss" happening become astronomically low as your portfolio becomes more and more diversified.

So yes, there's technically a chance of losing all of your money even when buying well-diversified index funds, and therefore this risk is listed in all the relevant legal documents. But I'm not losing any sleep over this particular category of risk.

> When people give you the impression that there's no downside to a particular investment they don't understand it either.

Of course there's a downside; the fundamental property of all investments is that risk is intrinsically proportional to reward. As a somewhat-rewarding investment strategy, it's therefore somewhat-risky. Being "locked out" of your money for a presidential cycle is one of the major downsides that we've both identified in this strategy.
Looking at the scipy directory, I see how they've organized their data. What I'm missing is how everything is connected. Any tips on educational material teaching how to connect all the pieces? For example, to use scipy, I know I need to import it. What I don't know is what happens behind the scenes that allows the imported module to connect to everything else.
I create websites for the healthcare industry. I know exactly what I'm saying. There are some clients that I still need to write IE7 fallbacks for - and a single client that I still write IE6 fallbacks for. Lucky for me our contract has dropped IE7-9 support by default unless it is specifically requested by the client.

Apologies, but offhand I can only think of flexbox issues (specifically related to wrap/min-width, which has been fixed in version 11) and with interactive form validation (which was only just fixed in version 10 or 10.1). I run into various issues when testing on iPhones and the largest section of edits caught in any internal QC are always iPhone/Safari related. With relative certainty nowadays - if it works in Firefox, it works in Chrome and Edge. But then I always need to write some workaround or another for Safari.

The biggest issue is that even when these bugs are fixed - I still need to support them for an extended period of time because for whatever godforsaken reason, Safari updates are tied together with operating system updates. Want the newest Safari? Buy a new iPhone. It's the Windows XP/IE8 problem. Where IE8 had to be supported only because many users were still using XP and couldn't upgrade to IE9 even if they wanted to.
TeX is a joke.

I mean, it's not a joke for its intended purpose; that's fine. It typesets the #$@! out of documents. But TeX is a joke for mathematical notation in particular. Put another way: the best way to understand what an arbitrary mathematical expression in LaTeX really means, is to render it as an image and read that image. TeX can be understood best as a concise way of writing a certain class of vector images, and when you are reading TeX you are reading a computer program which generates an image.

I'm not saying it can't be used for this context, of course it can, I have used it a ton and found it quite enjoyable. The fact that it's an image-based representation makes it very easy to switch from `\int_A dx~\int_B dy~f(x,y)` to `\iint_{A\times B} dx~dy~f(x,y).` However let's not mistake the fact that TeX does not know and does not want to know how you are using the `\int` and `\iint` symbols, is 100% OK with omitting those `~` characters, and has no semantic conception of what `dx` and `dy` are. If TeX were the CAS that it doesn't claim to be, as far as it's concerned that expression could be canonically refactored to `\iint d^2fxy(x,y),` since no one wrapped the `dx` and `dy` in curly braces. TeX claims to be a typesetting and layout system, and it does that well; it's not trying to be a universal mathematical notation.

The contention of the original link posted is, all of these image-based formats like PDF and lecture videos are going away. This may or may not be true, but if it is true then TeX is not going to survive the death of images, precisely because it is a programming language for a class of images.

Maybe something else will survive. The biggest player right now is the Wolfram language, of course, but that can look terribly unwieldy too.
Because knowledge about maths is independent of computer and programming literacy.
Gun Emoji Pairings
a programmer above the age of 37?
Even if they do, as far as I know all the dev tools on windows are desktop software and don't have a tablet interface. That just flat out doesn't count. The problem with Windows Tablets is that they have always been intended as and marketed as 'consumption* devices' in tablet mode.

* That word always makes me think of 19th century paupers dying of pulmonary tuberculosis.
React is a tool like any other. If someone argues for or against the use of React based on anything other then the actual design / API / implementation / results of the framework its just a bad argument.
I don't think their assertion is that someone with 40+ years of math experience would have difficulty learning new notation, it's that LaTeX is composed of a lot more than straightfoward notation. LaTeX can get pretty complicated pretty quickly. While it's basic math notation is quite fantastic, it's the basic document formatting that I think would give most people trouble when learning.
Money can be stolen. From pretty much anywhere.
Good to know. I think the last time I tried it was on a rhel5 or rhel6 variant.

However, as avip found out below, it does still render OS X useless within less than a minute (at least on my 2015 MBP).
For vim there are plugins like EasyMotion[1], and for emacs there's Ace Jump Mode[2], which let you precisely get to any character on the screen with a couple of keystrokes. These plugins really revolutionized my vim and emacs usage.

Then there's also the ability of vim and emacs to quickly and precisely select text objects like words, paragraphs, functions, etc (even when they may span more than one screen). There's just no way a mouse can be anywhere near as fast as doing that for larger objects, and using the mouse is much more error-prone.

[1] - https://github.com/easymotion/vim-easymotion

[2] - https://github.com/winterTTr/ace-jump-mode
He that lieth with dogs shall rise up with fleas.

All I know about you is that you spent some time working on pseudoscientists' Wikipedia pages, including editing Deepak Chopra's page while being paid by Deepak Chopra, and now have some beef with RationalWiki and Wikipedia. This pattern matches a little too well for me to want to spend time looking into it more deeply. Best of luck.
Then again, imagine you are Walmart right at the point that Amazon was moving from selling books to selling everything. The same logic could easily apply.
Good idea. One important feature that can make it great idea is to match open positions based on the resume's text and the job title and description text(NLP). Then present a screen with the list of the companies with job information algorithm matched with check-boxes. So that user can decide where to apply.
> My brain doesn't "point" at something in Vi motions...

In emacs there's a mode called ace jumping. Essentially, it lets you pinpoint exactly on screen where you want to move the cursor ~3 keypresses.

Similar to how the vimium extension to Chrome let's you jump to any link/button/control with two keypresses.

These aren't motion commands as you'd typically get in vim/emacs; instead it's a different interface to allow directly jumping to an arbitrary position (more of a warp than a movement).

http://emacsrocks.com/e10.html

Anyways, the point I wanted to make is that even some instances where the mouse is considered superior can be negated by a different UX.

So consider the idea that FPS games are more effective with a mouse. I believe this is a UX choice to reward developing mouse skills, not a fundamental limitation of the keyboard. As such, consider the following levels of keyboard FPS controls--

Option 1: Aim by directional arrows. Will be beat out by a mouse user for sure.

Option 2: Aim by movement commands (e.g. B skips and tracks the target on the left, F skips and tracks the target on the right, etc). Might be on par? Definitely has a different learning curve than using a mouse.

Option 3: Aim by label. Every target has a letter hovering over its head, and pressing the key will aim & track at that target. I suspect this would be much more _efficient_ control scheme than using a mouse.

Option 1, is akin to navigating text with arrows, Option 2 is akin to navigating with jump commands, and Option 3 is akin to navigating with an ace-jump type interface.

So although #3 would be considered unfair in a typical FPS context, as a programmer I just want to reduce effort as much as possible.
how is two major corporations merging an anti-monopoly move?
From several feet? While the sapling runs away?

I'm also not real sure what your point is. I said I wouldn't want to face someone wielding a machete anymore than. I was acknowledging that a malicious person can be plenty dangerous with weapons that basically can't be restricted (a machete can be improvised much more easily than a repeating firearm or ammunition for said firearm).
I don't think anyone would claim that HTML was easy to parse, would they? It took decades for the HTML5 consensus to emerge.

I like text-based formats, but I'm not convinced that "Being non-binary is a huge plus" for parsing. With binary formats you can assume that documents are generated by a tool, which is at least trying to be compliant with a spec, so barfing on noncompliance is more acceptable. With text you have to be prepared to cope with any kind of rat dance imaginable.
I find it interesting that the comments section of the WSJ (a pretty capitalist-friendly corner of the internet) is filled with complaints about Mayer's "overpay" as CEO and outrage over her "golden parachute," while HN (a much less capitalist-friendly corner of the internet) has gone through 40 comments and I've only seen a couple questioning her pay as CEO, and several comments praising her job in the role.

Take away Marissa Mayer from this story, and replace her with a generic CEO, and I'm not sure we'd see the same mood in either comment section.

Why is this? Is this because she's from Google? Because she's a former engineer? Because she's a female CEO? Is she just a politically polarizing topic ala Elon Musk?

Genuinely curious. Anyone have any ideas?
Will be interesting to see what people will do with all that new stuff
https://en.wikipedia.org/wiki/Higgs_boson#Discovery_of_candi...
Not much to say. Bob and I and a small handfull of others showed up as freshman with "personal computers" that we had soldered together from kits. Which is how you got one in those days. Audio cassette tape mass storage. We of course found each other pretty quickly. (And all of us spell like engineers.) Eventually Bob and I became the first two kids on campus with Apple II's, integer basic and 16k DRAM which we quickly upgraded. When Apple finally started shipping floppy drives Bob had his order in ahead of me, and the store got two. The store kept one as a demo unit so I had to wait like 6 weeks for the second allocation. I was burning with jealousy.

I remember Bob had already accepted a job with Sperry Univac when Commodore insisted that he fly out for an interview. He went on a lark for free travel. According to his stories at the time, he was a bit of a crank during the interview since he had no intention of taking the job. This was before the VIC-20, so Commodore's had those lame chicklette keyboards and other lameness. He kept saying "My Apple can do this, why can't you do this?" Somehow, instead of interpreting his criticism as attitude, they were convinced he was a visionary. Go figure. So they paid what he asked and he played key roles on VIC-20 and C64.

History could be very different if he had ended up at Univac. The C64 looks a lot like ideas that were first floated during BS sessions among our gang.
Yeah, that wasn't really how her appointment was sold:

http://www.reuters.com/article/us-yahoo-ceo-idUSBRE86F13T201...

"Yahoo turns to Google's Mayer for revival"

https://www.forbes.com/sites/dorieclark/2012/07/16/3-reasons...

https://www.bloomberg.com/news/articles/2012-07-18/yahoo-hel...
I've recently made the switch to VimFX as a result of this and I have to say I couldn't be happier - it may not have some of the more powerful features (that I'm unaware of) but it definitely gets the job done.
I prefer shooting iron sights under 150yds, but I use peep sites, which don't suffer as many problems.

Fascinating analysis!
Automated ETL with Kafka Connect
PDFs presume that the writer has "control" rather than the reader. Actually I probably shouldn't put quotes around "control" -- formatting is rigidly constrained, on purpose.

In addition PDF adapts, by design, a model of paper to the web. It's a "horseless carriage" file format.

Font size, page width, cut/paste and presentation in general should be the reader's choice, not the writer's. The Web manages this, sort of.

The OP is right on in this regard. Even the TeXs of this world, while better than the binary formats, have upgrade complexity.
Super exciting seeing on-par performance of RL tasks with dramatically less supervision.

Really looking forward to a follow-up where they explore 2.2.4 further. Sampling examples which provide maximal information game seems like it could result in another huge reduction in the amount of human oversight necessary. Could see an adversarial scheme which could learn to sample these examples optimally from the manifold. This kind of thing is powerful in human learning of complex tasks to ask for clarification or feedback in specific places of uncertainty.
> and directx was their main drive to keep Linux out

OS/2 Warp could have been a target, but Linux was nowhere near a threat to Microsoft when they came up with DirectX...
Nice things: simple tool that does one thing well. As mentioned above, it lets the database itself decide on permissions. If you want SSL support, just put it behind an NGINX reverse proxy. It lets you get creative with queries in the query-string part of your url.

Lacking: I didn't really find anything lacking; it was able to do everything I needed. I'm a pretty basic end-user, not an expert. At first I was confounded by the limitation of one schema per PostgREST instance; but that's easy to work with or work around. I created a single "api" schema which contained nothing but views of tables that lived in other places. You can also just run more than one instance of PostgREST if you want to expose more than one schema.
Because she's a female CEO and any news-provider's comment sections are absolute cesspools.
No, but Linux isn't limited to a single (massively overpriced) brand.
I would second visiting. It is a great experience and quite unlike visiting other ancient forests. Unlike say a giant sequoia grove or a virgin rain forest, the trees size are more at the human scale. They look very old and it hits your psyche below the conscious level. Some trees having only a small strip of living bark attached to a few branches and needles with the rest of the dead trunk exposed. The wood is very hard and over thousands of years is eroded by the wind/sand-dust like a rock formation in a desert. The high elevation puts your mind slightly off balance if you come directly from the Owen valley at 3000 ft. These trees like to grow on limestone and there is almost no other plants around and no dirt. On a clear day (and most are) you experience just a jumble of bare white rock with an amazingly deep blue sky, a cool breeze, and these ancient trees clinging to life.

The photo in the article is not from the preserved groves in the White Mountains near Bishop. There it is more high rolling hills than dramatic mountain views. I prefer that setting as one is not distracted from the trees.
Ask HN: Pricing app cameo on commercial
An ad company contacted me to ask if my app can appear in a commercial they are working on.

Do you have any suggestions on how to price it?

Cheers!
Personally, I assumed that all CEO's are massively overpaid and that they all negotiate substantial "golden parachutes". I think I'm a bit numb to the dollar amounts as they all seem inconceivably large to me. It all strikes me as buisiness-as-usual.
I suspect this change is intended to pave the way for Swift Playgrounds, which already has a full LLVM implementation built in, to become a full dev environment. Or to spawn off a professional sibling App. I think they don't want to be accused of favouring their own dev tools too much compared to other options, so are making this possible for the existing dev tools pre-emptively to their own full-sized offering.
Hey @acemarke, thanks for the comment!

For myself, I still have not decided whether I like JSX or not :) My colleague finds it great, and I like the declarative nature of it, just need to persuade myself to accept it mixed in JS file.

Yes on .bind, but I got used to not having to care about it in Aurelia (and Angular also). Got my fair share of `this` handling in pre-ES6.

And of course, thank you for the links. Bookmarked! :)
5 Common SEO Mistakes You Should Avoid
Yeah maybe there finally _is_ such a thing as plain text :-D
A PDF without text still kind of works. It not accessible which is a big problem. However, this happens when there is a mistake somewhere in the chain. This is all too common, but what is the correct way to handle tables, diagrams, formulas, images, graphs, links in plain text. There is no right way to do these things in plain text. You will eventually need html or pdf for education.
Millions of people would have taken the job of draining YHOO's coffers while sitting on a huge stake in one of the world's hottest pre-IPO companies... Yahoo's board just so happened to want a flashy name.
It's sad that people aren't willing to pay $1 for an app but are willing to purchase in app features. I feel mobile software is moving in this direction and that it will only get worse with time. The sad part is it makes software more complex and hence more expensive overall, and you probably end up spending more over the lifetime of the product...
Its doing a frontflip not a backflip but I guess thats secondary to how efficient this kind of human-AI collaboration might turn out to be. Similar in vein to the human-AI "centaur" chess teams.
He shared the same Thiel-funded lawyer as Hogan in the Google suit and won't say if Thiel's funding this one as well since he's using the same lawyer again:

https://www.google.com/amp/gizmodo.com/peter-thiel-wont-say-...
Sold Yahoo to Verizon.

"Yahoo stock was up by 8.5% at the time of writing." http://www.businessinsider.com/yahoo-verizon-sale-approved-2...
Really though? It's hard to imagine it could have gone worse really. Look at Flickr.
Ah, thanks! That makes a lot more sense.
Yes they do.

A read() syscall takes longer than a getpid() syscall because read() has more work to do, it actually does a data copy of len bytes, which takes some time (and will be faster/slower if data is cache hot)

What we call the "syscall overhead" is what happens before and after the actual data copy, switching between user and kernel mode.

You make that overhead negligible by calling read() with a large size.
I prefer macOS being in maintenance mode instead of becoming bloated with new but unimportant features especially given the 16 GB limit. The lack of hardware refreshes wouldn't have been horrible if Apple's hardware was easily upgradable like pre-retina models
I'm always shocked and amazed that progressives rail against "abstinence only" sex ed and then turn around and promote the same thing for firearms.
I must say that I agree - to a certain extent. They (lecture notes) actually already are (at least in HE Physics education) as everything is written in LaTeX. They are just not distributed that way. I've been working on hacking together a demo of some stuff that turns those original LaTeX documents into a little (static) website. We've had pretty positive reviews from students so far - it's searchable (which is key), considerably more screen-reader friendly, and is broken up into manageable chunks rather than being some monolithic 100+ page .pdf! (https://community.dur.ac.uk/joshua.borrow/npp_notes/)
Minimizing FPGA Resource Utilization
How many people did you kill?