Hacker Newsnew | past | comments | ask | show | jobs | submit | vextea's commentslogin

Could also just be similar to the case highlighted in Syre with articles copied from Miljömagasinet, where they published them without permission.

https://www.ludlowinstitute.org/articles/what-i-wish-i-knew-...


It seems like the article is a verbatim copy from the site that OP posted in the comments (Ludlow something)


Indeed: https://www.ludlowinstitute.org/articles/what-i-wish-i-knew-...

I don't know what this insitute is nor its color however.


Thanks for finding the original, current link was near the top of a web search. Bizarre that it outranked the original.

Could HN mods please replace with this URL? https://www.ludlowinstitute.org/articles/what-i-wish-i-knew-...


So unfortunate that justified text in browsers looks awful compared to documents generated with LaTeX (usually)....


I had a crack at a solution to this problem recently. It's pretty basic in terms of what it can do and not the most performant.

Code: https://github.com/tdjsnelling/microtype Demo: https://tdjsnelling.github.io/microtype/test/from-cdn/

Even better, there is the new CSS `hyphens: auto;`. Browser & language support is not yet 100% though.

https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens


Try to make a LaTeX document that automatically reflows based on screen size and you’ll see why it’s difficult.


A good example of this is Bertrand Russell's _Introduction to Mathematical Philosophy_:

https://courses.umass.edu/klement/imp/

which is available in a number of sizes _and_ has the LaTeX source available showing how the various sizes are arrived at.


The HTML version is quite nice. Do you know how they did the LaTeX to html conversion?


No idea. Ask the folks who manage that page?


It’s still just a few different sizes. A HTML website has to support every possible width.


The LaTeX source may be easily edited to impart any size/proportion desired --- not quite as straight-forward as re-sizing a browser window, but the same ultimate effect.


That is not what a latex document is for.

It's like talking about reflowing a physical page.

Instead, you change the document page size and render multiple versions and switch it out based on zoom level.


That’s the point. HTML has to support arbitrary screen sizes whereas LaTeX doesn’t, so the layout algorithms have to be more accomodating.


But the width of a PDF is still arbitrary isn't it? Can you just, recalculate for bigger widths?


Not really. It's fixed at "compile time". Eg "A4" or "Letter". I guess it "changes" according to zoom level, but that's just enlarging or shrinking - no reflow required.


You could apply the LaTeX algorithm to each rendering. The rendering might jump and it would be a change from before but it can be done.


How long does a fast latex renderer take on a large document? It's been a few years since I worked with latex, but it's on the order of multiple seconds, right?


The Knuth-Plass line-breaking algorithm is applied per paragraph; performance is typically not going to be an issue at all.

If you apply it to all paragraphs, yes, you will get pathological performance on some extreme cases—the algorithm is quadratic, if I recall correctly. But there’s nothing preventing you from trying to apply it in general, and giving up if the input is too long. So your five or ten line paragraphs get KP, and longer paragraphs get greedy.

There is absolutely nothing stopping browsers from applying Knuth-Plass. In fact, Firefox has had a bug about implementing it for 14 years <https://bugzilla.mozilla.org/show_bug.cgi?id=630181>, and there’s some useful discussion of things there. And CSS itself is finally actually going ahead with `text-wrap: pretty`, which encourages such things. Long ago, IE apparently even had it via `text-justify: newspaper` <https://news.ycombinator.com/item?id=5189258>.


For a book, it can take minutes. For a short document, seconds.

Texpresso looks promising though, but I haven’t tried it yet.


You can’t ask the user of a website to fix overfull hboxes for you after they resize their browser window.


For want of a "real" H&J algorithm, and having problematic lines identified as "overfull boxes" which need to be fixed.


All the print books on my bookshelf use fully justified text. In contrast, my preference for ebooks are to render them as left-justified. So I think I intuitively arrived at a practice that matches your conclusion about justified text in browsers.


There seems to be some mentions of selling licenses (and pricing) in the source. What are the plans around that?

https://github.com/vinceanalytics/vince/blob/f0c2c3cc38cbd8c...


When I started working on vince, I thought I could bootstrap a sustainable business, that was about 3 years ago.

My dream for a business is practically dead now. That snippet is a relic of early days of vince and I will remove it.

I am currently looking for work, and will be maintaining vince as usual (I do a lot of open source stuff) since I also use it with my hobby projects.

I'm struggling finding remote roles now, since remote now means Remote US or Remote EU and I'm stuck here in Tanzania.

So, don't worry, I also use vince so I will keep hacking on it.


Makes sense, wish you the best of luck!


What about your earlier Show HN post for the same service where you quote:

> I've created the best free website downtime checker. Don't trust me? Try it yourself.


Is it your service?


Entropic wasn't the people that added the hidden screen with the credit


That would require DC sign a contract for a badge with no firmware.


Added in 2014, but it's updated continuously, e.g. `math.stackexchange.com.7z (View Contents) 07-Apr-2024 02:18 3.4G`


Its the combination of disappointment that it wasn't merged and that it took several months to get back on a significant contribution (whilst adding their own version into their enterprise offering in the meantime). Of course there's going to be some emotions, and rightfully so.


Remember when for a while Azul tried to sell custom CPUs to support features in their JVM (e.g. some garbage collector features that required hardware interrupts and some other extra instructions). Although they dropped it pretty quickly in favor of just working on software

https://www.cpushack.com/2016/05/21/azul-systems-vega-3-54-c...


IBM's Z14 (and later I assume) supported Guarded Storage Facility for 'pauseless Java Garbage collection.'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: