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

I've been very impressed with Bazzite on my ASUS dual screen laptop. Honestly feel like hardware support is better (especially in the absence of crappy ASUS software) and nothing on Steam runs noticeably worse. Hard to imagine going back to Windows at this point.

I was under the impression Firefox randomises extension IDs on install, so hopefully not?

Almost exactly, it's mostly how you use the REPL that differs, and then only because of what different editors prioritise. When I'm in Emacs, all my work happens against a running REPL - when I open or save a file, it's reloaded. Any tests loaded in the REPL rerun on every save, within that live instance. If I drop into the debugger, it's against that live instance. I can swap in mock components to a running system, go check stuff in a browser (even jack into a live webpage with ClojureScript), all in one long running instance. I have struggled to recreate this kind of setup as smoothly in Python with any editor (pytest doesn't want to run this way, and IPython's autoreload doesn't feel as reliable), but I do probably write more REPLy code in Python than most, so all my model training and optimisation runs during development happen in pausable background threads in IPython etc.

All that said, 90% of the time you still just eval a bit of a code to see what happens and that's the same between the two languages.


I don't know what you meant by pausable background threads in IPython, but if anyone is trying out - I have had some success with VSCode + IPython: https://mahesh-hegde.github.io/posts/vscode-ipython-debuggin... -

(you can theoretically pass "reload": true (or similar option) in launch.json for auto reload, tho I haven't felt the need to use that in my workflows.)


This is already a strong theme in the Clojure ecosystem, e.g.:

https://github.com/BetterThanTomorrow/calva-backseat-driver


I spent part of my childhood in Winsford, a salt mining town in the UK (its other claim to fame being that it was where Neville Southall played before Everton). Every time I pass a yellow bin of salt for gritting the roads, I get to feel a little bit of nostalgia (before falling over because councils no longer have enough money to grit the roads and pavements).

Many years ago working on natural language to SQL, when we had ambiguities this is how we’d clarify things with the user (albeit with the minimal amount of brackets necessary).

I’m sure somebody posted a link to E-Prime here recently (a form of English where all forms of ‘to be’ are forbidden) and this conversation is a wonderful example of the kinds of conflicts that it helps avoid.


Do you intend to one day support all the paged media bits in pagedjs? I assume it works with their polyfill but it’d be great to have a built in more performant option.


Can you give an example? I'm not that familiar with pagedjs, just pulled it for the benchmark.

My library has support for @page rules, but that's actually pretty basic. I needed more advanced headers/footers and added support for in-html headers/footers like this: In your <body> you cna define headers/footers by wrapping content in a <section> tag. For example:

<body> <section> <header>... any HTML here, full CSS support</header>

  <div> Some normal flow content</div>

  <footer>Your footer HTML</footer>
 </section>
</body>

This structure is purely optional, but it's a really convinient way of designing pages with different styles in the same document. An HTML file can have any number of these sections meaning you can generate a PDF with different headers/footers.

Some other bits: It has support for 100% height that match the entire page, it can handle forced page breaks inside flexbox containers (Chrome doesn't even try ... just ignores it) and also follows page-break: avoid correctly - so it doesn't randomly split table rows for example.


Things like string-set and string (repeating section headers on each page), counter and target-counter (embedding page number references) etc. Prince and pagedjs support all the CSS3 paged media bits I've found myself needing, just wondering if that was on the roadmap.


I see. Yes, those are on the roadmap.


When I saw this title on HN, I immediately thought it was going to be about The Salmon of Doubt.


Left usenet, left IRC, left LiveJournal, skipped MySpace, left Facebook, left the blogosphere, will leave Twitter and BlueSky. You’re either in touching distance of grass or you’re not, none of this matters.


MySpace was the last fun social network, bummer you missed it!


Did you like OG MySpace or The Reboot better?


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

Search: