Better HN
topnewbestaskshowjobs
Log inSign up

bootload

37,455 karma · joined Feb 22, 2007 (19y ago) · 9,537 submissions

Another Scrappy Startup

@peterrenshaw@ioc.exchange

Submissions

comment 9y ago · link · parent

read away ~ https://github.com/peterrenshaw/pageglut

comment 9y ago · link · parent

such a great read, here's the video ~ https://www.youtube.com/watch?v=kErHiET5YPw

comment 9y ago · link · parent

it's evil and slow, I'll make a few mods and whack it up, got an email or twitter acct & I'll contact u. -- PR

implemented in py using

- Beautiful Soup 4

- Requests

- htmllib

Core idea is to grab an index url and determine size of page and resources by looking at urls likely to be pulled by page. JS not implemented from what I can read. Method is something like:

* pull index page with requests by url

* extract headers

* build list of resource urls

    * look at content type to determine new request

    * extract images, text, css from urls in page

    * look at content length to determine size
* total sizes

comment 9y ago · link · parent

what is the hn.angolia search term for the "past" of a story?

i.e.: for "So what's wrong with 1975 programming?" it is https://hn.algolia.com/?query=So%20what's%20wrong%20with%201...

Having this means you can measure how popular they are.

815.

Want to Sell a $24M Painting Fast? Instagram for the Win(bloombergquint.com ↗)

1 points · by bootload · 9y ago · discuss

816.

Meet the Artist Who Knitted Stuxnet into a Scarf(arstechnica.co.uk ↗)

2 points · by bootload · 9y ago · discuss

comment 9y ago · link · parent

"It's not that their lazy, it's that the sites hosting them almost feel hostile."

Agree with that. A driver of the page size (JS, images, video) is advertising. Advertising and advertising techniques are distorting the news and ability to read it.

818.

Smog Refugees Flee Chinese Cities as 'Airpocalypse' Blights Half a Billion(theguardian.com ↗)

3 points · by bootload · 9y ago · discuss

comment 9y ago · link · parent

"What makes Fortran so much 'faster' at computation than C"

What I mean is the reason C isn't faster is because of the hardware support at processor level and extra library support for example in IFort. Is writing/re-writing a problem in another language when there is an existing well documented body of code is premature optimisation?

comment 9y ago · link · parent

"Best of HN" collection"

that @Mathnerd is a good idea. It would not be hard to do this remotely via a script.

comment 9y ago · link · parent

"What makes a language like Fortran so intimidating?"

Some versions of Fortran are optimised at compiler level for hardware, hence question #2 is moot. [0] Note the level of optimisation on linux [1] required to speed the code up.

[0] https://en.wikipedia.org/wiki/Intel_Fortran_Compiler

[1] https://software.intel.com/en-us/articles/using-intel-compil...

comment 9y ago · link · parent

HN does need a gold or classic posts tab so we automatically note this reposting. Appearing again and again hints to the fact the article is ^more interesting^ than usual.

comment 9y ago · link · parent

"hire for attitude, train for skill" [0] is the business usual, this reads more like "hire for attitude and aptitude" [1]

[0] https://hbr.org/2011/02/hire-for-attitude-train-for-sk

[1] https://www.eremedia.com/ere/hiring-for-both-attitude-and-ap...

comment 9y ago · link · parent

I wrote a simple bit of code to calculate the size of index pages with includes (js, css, images) and here's what I get:

  page	  resource	total   url
  (b)	   (b)		(Kb)
  ----------------------------------------------
  33857	   143		34.0	news.ycombinator.com
  62690	   55975	118.7	arstechnica.com
  11844	   223862	235.7	seldomlogical.com
  218837   765943	984.8	newyorktimes.com
  l592771  545304	1138.1  guardian.co.uk
The one thing I notice watching the index page being broken down, is the sheer number of resources requested. Didn't bother with JS/browser interaction which you can check with browser dev tools.

825.

The Daunting Task of Making AI Funny(fastcodesign.com ↗)

2 points · by bootload · 9y ago · discuss

826.

How cooking vegetables changed humanity 10,000 years ago(arstechnica.com ↗)

3 points · by bootload · 9y ago · 1 comment

827.

Apple’s Mac team gets a lot less attention than before(arstechnica.com ↗)

15 points · by bootload · 9y ago · discuss

828.

John Hammersley: Why I left academia post-PhD for the world of driverless cars(timeshighereducation.com ↗)

2 points · by bootload · 9y ago · discuss

829.

Bruno Benavides: Beyond the Limits of ETS(medium.com ↗)

1 points · by bootload · 9y ago · discuss

830.

Twitter’s Chief Technology Officer to Leave Company(nytimes.com ↗)

426 points · by bootload · 9y ago · 326 comments

831.

Carry the Docker Engine in your pocket(blog.alexellis.io ↗)

2 points · by bootload · 9y ago · discuss

832.

Michael Osbourne: Automation to fundamentally change the job market in 20 years(abc.net.au ↗)

3 points · by bootload · 9y ago · discuss

833.

How Apple Alienated Mac Loyalists(mjtsai.com ↗)

10 points · by bootload · 9y ago · 2 comments

comment 9y ago · link · parent

"The desktop is very strategic for us. It’s unique compared to the notebook because you can pack a lot more performance in a desktop — the largest screens, the most memory and storage, a greater variety of I/O, and fastest performance."

So desktop is high end, MBP commodity?

comment 9y ago · link · parent

" The Alexa-enabled Echo is a true unicorn, one of those rare products that arrives every few years and fundamentally changes the way we live. In 2017, we will start to see that change."

Given this is all about one company, I conclude it's a Sub. The unicorn of technology? It is very difficult to guess this. One other thing, no mention of accent. Can you imagine how difficult it is to create a voice platform that recognises anything but a generic accent?

comment 9y ago · link · parent

"Once you try to go general, and add "zooming in" and "zooming out" mappings, the number of ways that people would prefer to visualise each becomes exponentially more complex to display/interact with; so much so that then simply using text seems like a general-enough solution."

Thanks for this insight. Agree with "text is good-enough". The link is like a list of approaches not to take. IFTTT, minecraft and openmusic appear to do the job.

The problem I'm thinking of is creating geometry using a combination of GUI manipulation -> geometry ->code to allow tweaking for n00bs, straight code -> geometry with GUI manipulation. These examples really help.

837.

How Fastmail Connect Their Datacentres Together(blog.fastmail.com ↗)

32 points · by bootload · 9y ago · 3 comments

comment 9y ago · link · parent

"The compiler is written in Crystal."

If there is any stress test worth noticing it's this. 98.2% of the code is written in Crystal.

1
272829
318