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

I'm 29, and I have already started feeling this. Just a few years ago, I could do 12-14h coding days sustainably, but now, anything above 11h sustained for weeks really shows in my output quality. Luckily, my overall productivity is still rising due to learning and experience, despite the degrading mental capabilities. I don't know what me at 35 will look like. I now see where the ageism comes from.

I find it incredibly sad that I even need to think about this. I regret that I even participated in this circus in the first place. I now only work for companies with don't have the ass-in-seats-for-80h policy. It's actually interesting that in startups where this works, people self-select and end up there. It's amazing how much more you can achieve if you can afford to take a step back, and not worry how you can run in circles even farther and faster.

-----


A layout engine works on a different level of abstraction, putting layout features in CSS will be awkward. CSS is fine for typographic features and selectors, but layout is all about relationships.

Actually, one really impressive engine for web layout engine is Treesaver: https://github.com/Treesaver/treesaver

It's meant to provide primitives that are familiar to people from graphic design working on paginated content, like columns, grids, floating containers. Like Latex, it's also has the least-bad-layout strategy, but here, this runs on the client in Javascript, so that it adapts to the screen size.

I had just stopped working on a startup based on this technology. Operationally, it was proving extremely difficult adding effects that people are taking for granted in InDesign to work in a responsive manner on top of CSS and a 20kLoC Javascript layout engine. It took around a year of development just to get to the level of layout automation sophistication comparable to what a junior layout designer would produce.

-----


Does anyone have a good explanation for why the pages uses 1-frame videos for static pictures? Does WebM offer better quality-per-KB than JPEG?

-----


This. I use 0.1px for smaller type, and 0.25 for bigger. It also makes it look thicker.

Also, the same problem is also present in Safari for Windows, in case anyone actually uses it..

-----


I'm pretty happy with django-compressor.

-----


Me too.

-----


It's a horrible thing indeed, especially when trying to use a print-optimized font. Luckily the canary version uses the fancy Windows font rendering pipeline so it's merely a matter of time.

We ended up applying a text shadow of 0.15px to smooth out the eaten-by-mice effect. It's a bit softer, but a good compromise. Fonts with good hinting seem to work better.

-----


I'm surprise no-one mentioned ALICE - aluminium + ice (water). A paste-like substance that's quite a powerful rocket propellant.

http://news.discovery.com/tech/nanoaluminum-rocket-fuel.html

-----


It would be good to note that this implementation doesn't actually support de-compression (as is also noted in the to-do list).

It is able to read headers and other metadata, as well as unpack files, but only if they're stored without compression: https://github.com/43081j/rar.js/blob/master/dist/rar.js#L54...

If I understand RAR, it actually uses a embedded virtual machine to specify the compression algorithm. That would have been the fun part.

-----


Actually, I think you could save yourself some trouble and use scikit-learn's built-in text preprocessing utils:

Word counter: http://scikit-learn.org/stable/modules/generated/sklearn.fea...

Hashing vectorizer if you want to trade off explainability for speed and scalability: http://scikit-learn.org/stable/modules/generated/sklearn.fea...

TF-IDF weighing: http://scikit-learn.org/stable/modules/generated/sklearn.fea...

Also, if you transform bag-of-words vectors into a dense form, you're gonna have a bad time (insert appropriate meme picture here). In large corpora, dimensionality grows quite substantially - if you work with news corpora or Wikipedia, you're in the 100k-1M dimensional space pretty quickly.

Great to see an approachable explanation for NLP. As they say sometimes, when you know how it's done, it stops being "Artificial Intelligence".

-----


I solved this by using the "Insomniac" approach - if you play a silent sound every 30 seconds or so, the scheduler will reset the sleep timer and the app will keep working. It drains the battery in around 1 day though.

-----


Love the idea of the silent sound. Alas, that and the IP backgrounding is a bit clumsy. We pass through Apple's store guidelines without powering up the GPS.

-----

More

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

Search: