HNHacker News
TopNewBestAskShowJobs

layoutIfNeeded

698 karma · joined March 20, 2019

submissionscomments
layoutIfNeeded··on How many flies are in my apartment?
That’s animal abuse.
layoutIfNeeded··on Six ways to make async Rust easier
These personas (i.e. “Alan”) are annoying enough when used by business people, but in the context of a programming language it’s beyond cringe.
layoutIfNeeded··on Big tech face EU blow in national data watchdogs ruling
[citation needed]
layoutIfNeeded··on Supernumerary Robotic Limbs
https://mortalkombat.fandom.com/wiki/Goro
layoutIfNeeded··on May 2021 Coordinated Inauthentic Behavior Report
Coordinated Inauthentic Behavior. Lol! From the title I thought it was about some online flashmob where people look at unusual stuff for a day to pollute Facebook’s targeting data.
layoutIfNeeded··on Beware of Tight Feedback Loops (2020)
You're talking about feedback loops in Control Theory, which is an established scientific field with strong mathematical underpinnings.

The article is talking about "feedback loops" in some handwavy business-marketing-whatever bullshit advice sense.

layoutIfNeeded··on Do you really need Redis? How to get away with just PostgreSQL
Doesn’t sound like a robust solution. What if the job takes longer than your estimated expire time? Does the worker keep updating the expiry date on a background thread while doing the processing?
layoutIfNeeded··on Will Apple Mail threaten the newsletter boom?
You don't need to send this email to everyone. Only to those users who haven't clicked on a single link of your regular newsletter for the past X months.
layoutIfNeeded··on Will Apple Mail threaten the newsletter boom?
Simple: send a letter every month with a link that says “Click here if you still want to receive this newsletter”. Then remove everyone from the list who hadn’t clicked it after a week.
layoutIfNeeded··on Hoover Dam reservoir hits record low, in sign of extreme western U.S. drought
Quick, make a SaaS of this!
layoutIfNeeded··on The brain isn’t supposed to change this much
This is one of the reasons why NeuraLink wouldn't work.
layoutIfNeeded··on GPT-J-6B: 6B JAX-Based Transformer
This sounds like a verbatim copy of something I’ve read on Reddit a few years ago.
layoutIfNeeded··on Althttpd: Simple webserver in a single C file
Too slow for what?
layoutIfNeeded··on Althttpd: Simple webserver in a single C file
I want to be able to tell why a given line of code was introduced. Seeing "Fix indentation" in the output of `git blame` won't help me with that.
layoutIfNeeded··on Anom Encrypted App Analysis
"Encrypted Military Grade Encryption" - LOL
layoutIfNeeded··on WWDC21: Apple Keynote [Live]
Maybe they forgot to VACUUM.
layoutIfNeeded··on WWDC21: Apple Keynote [Live]
Imagine debugging code signing issues on your iPad! Can't wait to try it B-)
layoutIfNeeded··on Laser pulse travels 300 times faster than light (2002)
Something was definitely lost in translation.
layoutIfNeeded··on Mastershot – Web based video editor
“And best of all, it’s 100% free”
layoutIfNeeded··on Hundreds of fishing vessels vanishing along Argentina’s waters
Don’t they have any more Exocets leftover from the Falklands War?
layoutIfNeeded··on The Repeated Deaths of OOP (2015)
>I've never seen MVC used in anything but single-run applications that end with an discrete output.

Wut? Every desktop GUI framework in widespread use is some variant of MVC (i.e. MVC, MVVM, MVP, whatever…).

layoutIfNeeded··on Zero to Production in Rust
>I would say the biggest barrier is developers not wanting to jump on yet another "this language will solve all your problems, trust me" train.

Never underestimate what a team of overly enthusiastic junior engineers are capable of :-)

layoutIfNeeded··on Ftxui: C++ Functional Terminal User Interface
Lol, sure! The amount of software written in C++ is minuscule compared to Rust, right?
layoutIfNeeded··on John Carmack on JPEG
PDF supports this use case by adding an invisible text layer on top of the raster content.

On the other hand, JBIG2 doesn’t actually do OCR. It only does template matching of similar-looking blocks of pixels. The compressor doesn’t try to understand which letter those pixels represent.

layoutIfNeeded··on John Carmack on JPEG
>Mathematically Y'CbCr is a lossless conversion of RGB.

Assuming infinite precision, sure.

Interestingly however, there's a closely related color space called YCoCg, that actually does achieve lossless coversion to/from RGB (this lossless variant is often referred to as YCoCg-R, the R stands for "reversible"): https://en.wikipedia.org/wiki/YCoCg#The_lifting-based_YCoCg-...

layoutIfNeeded··on John Carmack on JPEG
Ah yes, the JBIG2 fiasco!

JBIG2 is a format for storing black and white documents in a highly compressed way. It works by detecting each letter in the document, and then replacing it with a pointer to the reference version of that letter, up to a certain threshold. Basically compression via OCR.

Of course, this means that when a distorted letter is too close to the reference version of another letter, it will get replaced with a clean version of that incorrect one. So even though a human could easily recognize that something was off with that letter in the original image, the JBIG2-compressed image has no such clue!

What’s really bad is that JBIG2 compression was built into certain Xerox machines that were used by archivists to digitize important documents for years until someone noticed the discrepancies. JBIG2 was promptly banned for archival purposes, but there might still be a ton of documents with these kind of invisible errors in our archives! :-)

layoutIfNeeded··on The story of the Tank Man photo by its photographer
https://rarehistoricalphotos.com/dont-photograph-people-like...

You forgot to mention that it’s from the Highway of Death, where US forces bombed a retreating iraqi vehicle column to ashes. The death toll was zero on the US side versus 1000-2000 on the iraqi side.

layoutIfNeeded··on Why we should end the data economy
You realize the government is made of people, right?
layoutIfNeeded··on An Unbelievable Demo
>DTrace uses a minimalistic C dialect called D

Which is completely unrelated to the other language called D, also known as DLang. (which was released 4 years earlier than DTrace by the way)

layoutIfNeeded··on History of the Nautilus loudspeaker
Yeah, same for me! I only keep albums that I really like. And from those I only keep that few thousand on my phone that I deem “essential”.
← PreviousPage 4 of 34Next →