Hacker Newsnew | comments | show | ask | jobs | submit | fsaintjacques's comments login

Good read!

Here's an example of said extension.

https://gist.github.com/fsaintjacques/e53eadd8b260a4105bbf

If you want to test the effect of it, copy/paste 'console.js' content in Chrome's console, I recommend to go into incognito mode:

https://gist.github.com/fsaintjacques/e53eadd8b260a4105bbf#f...

-----


Clippy is back!

-----


"going to a restaurant's home page will bring up a message, reading “I've got directions, hours, and more.” Clicking the message brings up a sidebar with the restaurant's contact information, location, reviews and an OpenTable reservation link" [1]

More pay-per-click than paperclip?

[1]http://www.pcworld.com/article/2891948/project-spartan-leake...

-----


> Clippy is back!

Clippy was apparently 1996.

Afaik, that's about the same point machine learning was going through a renaissance away from expert systems.

As a comment on a previous HN story quipped, most of the 90s ideas weren't fundamentally bad, just impossible to realize with the knowledge and technology of the time.

-----


Siri is the new Clippy. Siri keeps popping up without anyone asking, demanding she be attended to.

-----


That extra order of magnitude you pay in pricing you gain in response time.

-----


Yeah, but a data warehouse isn't supposed to have great response times. Data warehouses are for large, low-value sets of historical data that you don't always know how you want to use.

If you want to use data in real-time, you should be driving it from your transactional systems. Redshift and other data warehouse solutions are for doing reporting and dashboards, not triggering real-time reactions.

-----


Well, used to be true, but now those systems are converging. -- Full disclosure, I work for a company working on exactly that problem called Treasure Data.

-----


Most companies are generally more concerned about reducing their data warehouse costs than they are about improving the performance of their data warehouses. Many companies implement a multi-tiered DW structure to get a mix of the two, but the core driver is managing the cost of storing petabytes of data while keeping performance acceptable.

-----


This course reading contains a lot of information too: http://www.cs286.net/home/reading-list

-----


The link can not be opened. Any mistake?

-----


Hah, Étienne, lord of hacks :)

-----


I'd say the opposite, ad block correlates with higher CTR since you don't load the ad.

-----


That would depend on the ad blocking implementation. Some only hide the elements instead of preventing them from loading.

-----


Note to all, prepend all your bash script with

"set -o errexit -o nounset -o pipefail"

It'll save you headaches.

-----


Can you at least explain what this is doing, outside of saving me headaches?

-----


-errexit: exit the script when a command fails -nounset: fail when referencing an unset variable -pipefail: fail when the any command in a pipeline fails, not just the last one

The last option is unfortunately harder to use, since some programs misbehave in pipelines.

-----


http://redsymbol.net/articles/unofficial-bash-strict-mode/

-----


set -o errexit (set -e): exit script when command fails

set -o nounset (set -u): exit script when it tries to use undeclared variables

set -o pipefail: returns error from pipe `|` if any of the commands in the pipe fail (normally just returns an error if the last fails)

-----


I use the shebang "#!/bin/bash -e".

To get the same effect as the "set -o errexit -o nounset", I think you can use "#!/bin/bash -e -u". (There seems to be no option for pipefail.)

-----


The "shebang" treats everything after the binary as a single argument. It only does one argument from the shebang and the file itself as the final argument. So it would run that kinda like

    bash '-e -u' $file
But you can do

    #!/bin/bash -eu

-----


This breaks if your script is sourced by another shell. Best use 'set -eu' at the start instead.

-----


Yep, my thought exactly. My standard bash header is

    #!/bin/bash
    set -eu
    IFS=$'\n\t'
(Wish there was a shorthand version of pipefail, then I'd always use that too.)

-----


You can save a line by doing #!/bin/bash -eu

-----


Which is no equivalent if the script is executed using "bash script.sh" ;).

-----


I didn't see any reference to storage solution, am I misreading?

-----


I was just thinking the same thing ...how are block and object storage supported under HDFS etc.

-----


I can't seem to find the documentation.

-----


the document will coming soon, there are many stuff we have moving from internal wiki to kyliy.io now.

-----

More

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: