skysight-inc/HackerNews huggingface dataset:
Ehh. You should be constantly resizing your browser (as well as testing reloads at those sizes), while developing a design.

Not least because people do resize browsers on already-loaded pages, do tile views on their iPads, etc., and it is common-sense to deal with that.

I mean this bit, for example:

> Unintended reflows and re-renders

> Narrowing the browser in complex UI with listeners also invokes reflows and re-renders which don’t represent the initial page rendering on device browsers.

> If you’re using components with observers like ResizeObservers in carousels, you trigger events and side effects that would otherwise not happen if a user initially loaded the page on a mobile device.

Sure. Is it a good substitute for mobile testing? Not specifically. And it's not a great substitute for orientation-change testing. But the issues that come up need sorting, because people do resize windows!

And simply reloading the page at that new size is going to help you find really quite a lot of low-hanging-fruit issues that would affect a mobile device loading that page on that fixed viewport.

All the other stuff in this blog post is valid and important or essential, but it's meaningless unless you develop these instincts first.

You build all that extra stuff on top of starting with a fluid design and then considering what limitations should lead you to adding responsive elements.

This way, when you get to device-oriented or device-specific testing you have much less to do, because your build is constructed around being size-agnostic.

There's not only no shame in designing without specific device optimisations (like viewport-height stuff) in mind -- it may be the only really meaningful way to design for the web now, when you have no hope of testing even a fraction of the device types out there.

Exhaustively testing in BrowserStack or even the Chrome or Safari dev tools is a hiding to nothing. These tools are useful but they are creating busywork and a dependency.

You have to design and build in a way that gives you fundamental confidence that you understand how your design might react, and that means embracing the idea that strong flexible design principles, relatively conservative designs, and actual physical device testing on the most commonplace devices or your target devices are the only things that will keep web development sustainable.

(This blog post is a bit of a listicle which seems to have been written to justify its silly clickbait headline. Which is a shame because there's useful information in it.)
My “weird tech songs” channel is pretty obscure. [0]

[0] https://youtube.com/playlist?list=PLPUSFL3ut4ibHYoBes2tku_XU...
Does this employee have any positive traits?
no we just replaced feature engineering with architectural engineering
Great writeup. A lesson in troubleshooting.

One thing I don't get though is the programmer's choice of a tripod bot. It seems like the least stable bot form. Once a leg is lifted the bot should begin to rotate towards the unsupported side. Having two legs in the air at the same time should be a no-go. At that point it begins to make sense to have thrusters on the underside to keep it stable or to have it gyroscopically stabilized.

I know it's just a game but the whole exercise was about tweaking things until they made physical sense to the players. This tripod bot choice made no sense to me.
i believe the gripe is a plea for others not to do the same thing, and instead to put some thought into presentation. the gripe is not about the specific case. if the poster is anything like me, if the first ten words of your post don't make sense to me, I'm just moving on to something else.
Our flaw was similar.

We were asking high level questions. At no point did we ask things like "have you ever used Microsoft Windows" or "have you ever used a desktop computer". It would seem we cannot take these questions for granted anymore.

The best strategy I've come up with is to build an intern program and source talent from that lower cost/risk pool. Pulling high level employees off the street was almost always a circus for us.
That is why emulating, when targeting 100% accuracy, is a craftsmanship in our industry. Not only do you need to know each and every quirk the original hardware/software has, but you also need to replicate it, however peculiar it is. Consider the potential performance impact if itself is not challenging enough.
LOL. There is no "pricing" of this persistence. It just accumulates and accumulates. It is incompatible with life. It has to be banned completely except perhaps for extremely rare whitelisted use cases such as in laboratories for calibrating detection equipment.
Query expansion has been done since forever, long before even word2vec and other semantic embedding models, e.g. using WordNet (not a DNN, despite its name), see https://lucene.apache.org/core/3_3_0/api/contrib-wordnet/org....
The experience is highly dependent on dosage (it's harder to fight the big dose) and on how willing you are to let go (of everything- all your storylines, loved ones, your life itself). The freakouts and struggles you see on youtube happen when one can't fully give in to it. IME, after the (very intense) come up, it is pure love and bliss. Going all the way feels like dissolving into god, and coming back you feel indescribably light and reborn. It's quite literally an ineffable experience at points, as if it turns off your mind (ego death/dissolution?) and you experience life temporarily from the heart with a completely non-dual view. (YMMV, I love the stuff but I also have a bit of experience in these more intense states; I work at a traditional ayahuasca healing center and usually drink 4 times a week). It's definitely not a recreational substance.
mine is "Coding but Clueless"
https://www.youtube.com/@demofun
well, the rubber compounds used are very different too. You would not enjoy riding a bicycle on the hard rubber used for a semi-truck tire.

The 4th-power rule is more applicable when it comes to road damage.

If you want a comparative analysis of tire wear and environmental impact, you have to consider the average mileage before a tire is worn out, the volume/mass of material that's lost, etc.

This article[0] suggests 150,000 miles for steer tires, and 300-500k for drive tires. If a tire starts out at 1/2" (16/32") and is worn down to 3/32", a delta of 13/32" or ~10mm. Radius of a typical 22.5" tire is 500mm and tread width 250mm, so you have (π500^2-π490^2)*250mm = 7.5L of rubber material deposited all over the world for each tire.

Over 1M miles, this is 12 steer tires, and 24 drive tires, so ~200L of tire rubber over a typical semi truck lifetime.

0 - https://www.fleetowner.com/operations/article/21676805/tires...
You don't define it.

You list things that you want to be true of it. The Peano Axioms are examples. But no matter how long your list gets, it can always get longer. For example we can ask whether a particular polynomial has integer roots. See https://en.wikipedia.org/wiki/List_of_statements_independent.... (It doesn't, but you can't prove that in ZFC.)

Even so, there is always an, "...and so on." You never finish, because finite does not actually have a finite definition.

Second order logic gets around it because you can say something that simultaneously implies all the things that you want to say about "finite" in one go. Such as, "All possible functions from itself to itself that are onto are also one-to-one." A first order model need not capture the full intent of this statement, because it does not contain all possible functions. As we can see when we look at a model from within other models.

But when I look at what the second order idea of "all possible functions" actually means, I think we're just begging the question of what it means to be finite.

The way that I think about it is that some things are finite. Some things are infinite. And some things on the boundary are not yet determined. But then again, I do have Constructivist sympathies. And this is not a point of view that most mathematicians are very sympathetic towards.
As you'll often hear from geneticists these days, one person's junk is another person's treasure.

There certainly was an attitude for a long period of time that our DNA was full of junk[0], but the field has since characterized much of what we once thought was junk (i.e. non-functional DNA) actually is just non-coding DNA[1] that serves one or more of a wide array of biological functions.

In many ways, you can't really blame scientists of the 70s for thinking that much of what we now know is ncDNA was inscrutable junk. In many ways, given the technology at the time, it was.

It's a super interesting area of study.

[0] https://pubmed.ncbi.nlm.nih.gov/5065367

[1] https://en.wikipedia.org/wiki/Non-coding_DNA
"I can't think of" probably isn't the right bar to set for something like this.
Very interesting approach. The folks at rift [0] worked on LSP as an integration point for AI coding. But I think they are focusing on other things now.

Do you think the LSP abstraction can support interactions beyond copilot style autocomplete? While that's a super helpful UX, it's also pretty narrow and limited.

My project aider [1] provides a pair-programming UX, which allows complex interactions like asking for a change that will modify multiple files. Could LSP servers support more general AI coding like this?

[0] https://github.com/morph-labs/rift

[1] https://github.com/paul-gauthier/aider
I'm not sure "custom-fit preparation" counts as not having good faith. If I was doing an interview process and was told the next step would involve a live coding exercise in a specific language/package that I wasn't already fresh on, I'd be cramming for it to a degree where my performance would mostly show how fast I can learn something and not my net level of skill in that language/package. If the hiring folks inferred the wrong thing from that, that's not my fault for studying based on the information and parameters they provided me.
https://www.youtube.com/playlist?list=PL04PGV4cTuIVP50-B_1sc...

Staged Functional Programming In Spiral

I am doing a fully fused ML GPU library along with a poker game to run it on in my own programming language that I've worked on for many years. Currently, right at this very moment, I am trying to optimize compilation times along with register usage by doing more on the heap, so I am creating a reference counting Cuda backend for Spiral.

Both the ML library and the poker game are designed to run completely on GPU for the sake of getting large speedups.

Once I am done with this and have trained the agent, I'll test it out on play money sites, and if that doesn't get it eaten by the rake, with real money.

I am doing fairly sophisticated functional programming in the videos, the kind you could only do in the Spiral language. Many parts of the series involve me working and improving the language itself in F#.
One can argue that mined metals are not going anywhere. They stay on the planet. If anything, they become easier for future generations to access via recycling. It would be different if the metals were being exported outside the planet.
I was a software engineer for a while, but it wasn’t making me happy. So I quit and now I drive around the world in my own vehicles having adventures.

My most popular video is the heavily armed military guys in Nigeria trying to get money out of me (spoiler, I didn’t pay)

https://youtube.com/watch?v=7RTlDa2cg0o
In that era, wasn't emulation so far behind the real hardware that you wouldn't have to worry about emulators until at least 5 years after the console came out?
I teach note-taking on my channel, which took me on a journey to write a book on it.
https://youtube.com/@martin_adams
I think that is pedantic and goes without saying. There are always unknown unknowns.
Assign UUIDs to everything!
I'm not talking about academics I'm talking about your coworkers.
Yep! Peat is estimated to be the biggest organic carbon sink on the entire planet. If all of it burns, it'll more than double our CO2 concentration to over 1,000 ppm at which point all bets are off.
I wouldn't say you got the entire point of this story but yes, that is a valid domain name.
Tying together Steam's Web API + Claude 3 Opus/Haiku + ElevenLabs + some Unity magic to create 5-minute YouTube shows to cover hits and surface "hidden gem" games that might not get much video love elsewhere:

https://www.youtube.com/@WeLoveEveryGame/videos
After letting 18 months pass between a near-final edit of a 2 minute video and actually posting it, I got fed up of my own procrastination/perfectionism/pissing-about and started posting one new video a day to YT Shorts on 11 August 2023 to get back into moviemaking.

It’s been transformational for me, having this work-in-public video sketchbook. Slowly moved from just uploading iPhone videos shot from the hip to mostly using DLog footage shot on a DJI Osmo Pocket 3 colour corrected/graded with sound design in Final Cut Pro, and I’m looking to add a Sony FX-30 to the mix this summer.

As a whole I call it my “Dailies” project - the term of a course an old Hollywood practice of developing each shooting day’s footage so the studios could make sure the director is doing a good job.

It’s also pushed me into a daily writing practice and hoping to do more sophisticated work this year, so would love to have some more eyeballs for this and all that. :)

https://www.youtube.com/carrozo
An Object Lesson from Covid on How to Destroy Public Trust
Things that are important to society will naturally be preserved. I believe in the moral right to be forgotten.

We cannot, and should not, preserve all of knowledge forever.

Don't get me wrong, I love the internet archive, and the team behind it are incredible. As a resource it's very important to maintain and preserve. However, I'm sure that at some point, either due to the economics of it or through hardware failure, the content saved by the AI will begin to be lost. I don't see that as a bad thing.
[author of the post here]

thanks for the very thorough reply! it's fascinating to see the techniques used to improve LLM outputs :)

i'll reply to some specific points, but i think your main argument of trying to find ways of working effectively with LLMs is spot-on.

> try this yourself: generate a novel pangram without any sort of iterative process or revisions -- the first thing that pops into your head you must commit to paper. it's very hard.

yes, it would be indeed very hard. and i don't know why i would try to do it that way. notice also that i didn't instruct ChatGPT to do it that way either.

to generate a pangram, i'd probably start with some random phrase, count the letters i've used and which ones i'm missing, and then iteratively tweak the phrase to use more letters of the alphabet until i've used them all. that at least seems like a reasonable strategy. and i would expect any intelligent agent to do the same. not that particular strategy, but "the same" as in: to try to find a strategy that works. after all, isn't that a fundamental part of intelligence? being able to find solutions to novel problems.

i know that LLMs don't work that way. and that's fine. but that was also the main point i tried to make in the post: we're being sold LLMs as "intelligent", but they don't work in any way like what we would intuitively say it's intelligent.
I can't wait for it to go on 50% discount when they release the Expansion DLC that makes the game actually fun a couple years after launch a la Gods and Kings or Gathering Storm.
yikes, my DMT experiences were dark enough already, thank you
Visualizing the 15 Most Valuable Bitcoin Addresses
> We thin out and throw away a ton of surface observations already during the data assimilation process to initialize our forecast models anyways - data from aloft is far more valuable and impactful from a forecast impact perspective.

I regularly notice that the NWS forecasts, even in the very short term, get the surface conditions rather wrong. (This is by comparison to a an inadvertent but, I think, quite accurate surface temperature and humidity measurement that I have.)

I fully believe that the measurements aloft do a great job of predicting the conditions aloft, but I wonder whether the results would be further improved by even a fairly simple model to map the forecast results back to detailed surface conditions. After all, many of consumers of weather forecasts, e.g. people caring about personal comfort, climate control energy predictions and pre-heating/pre-cooling of buildings, etc. care about surface conditions more than they care about conditions aloft.
Do I have the history on this right?

SF mandates businesses to pay into a healthcare fund, so businesses tack on surcharges

Businesses in cities near SF realize they can benefit from this by also adding surcharges (even though they don't have to pay into SF's fund)

Consumers are confused and frustrated by all of the surcharges, which are sometimes substantial and catch them by surprise

Legislators pass a law that will forbid the use of separately-priced surcharges

Restaurants lobby the shit out of legislators in order to be exempted from this new law before it goes into effect.

Strikes me as kind of circular!
I don’t get modern trailer. This doesn’t really tell me anything about the game. Literally zero.
It's possible because Walmart operates one of the most popular e-commerce sites in the US and the largest online grocery delivery platform.

The idea that they need to physically watch people shop in stores in order to collect that data is just bizarre to see on HN.
2/3 is close enough in ML world
From Fortran and Algol to Object-Oriented Languages (1993)
Parking Puts It On The Map: Cars distort our sense of place
You’re doing something wrong if your worm bin or compost pile starts to smell enough for your neighbors to notice. (namely, you probably need more carbon to cover it with for the amount of stanky material that is present, or it is anaerobic, or too wet, or too dry.)

I live in a duplex with a backyard and have 100s of gallons of worm bin that don’t bother anyone’s noses.
We use grid search to figure out what's the best chunking strategy to use. Create a bunch of different strategies such as recursive chunking, semantic, etc, and parameterize them and see which one works best. The "best" chunking strategy depends on the nature of the documents and the questions being asked.
Opportunistic applications are totally normal, and yes I’m a hiring engineering manager. If those aren’t caught in the recruitment process, then it’s the process that’s flawed.
This is definitely something I intend to fix.

My initial intent was to use duckdb for fast vectored query execution but I wasn't able to create a planner / execution hook that uses duckdb internally.
Will definitely checkout pg_analytics / Datafusion to see if the same can be integrated here as well.
Thanks for the pointers.
Could you talk more about “BTW: perl is much better than python on this.”?
enabling enhancments that don't slow down high level emulators (e.g. more draw distance, i think some mario 64 hacks do this) and working around bugs
Not to detract for your overall statement as you make an excellent point...

> ... brake dust ...

I would hope/assume that EVs would primarily use regenerative braking and only use friction brakes for emergency stops, thereby dramatically reducing brake pad wear
Here are the best youtube posts from the past:

Ask HN: What is your favorite YouTube channel for developers? - https://news.ycombinator.com/item?id=12702651 (2016)

Ask HN: Favorite teachers on YouTube? - https://news.ycombinator.com/item?id=17999659 (2018)

Ask HN: What are your favorite YouTube channels to learn stuff? - https://news.ycombinator.com/item?id=20385679 (2019)

Ask HN: Your favorite YouTube channels? - https://news.ycombinator.com/item?id=7609584 (2014)

Ask HN: Share your favorite YouTube channels focused on mastering a skill/craft - https://news.ycombinator.com/item?id=34666777 (2023)

Ask HN: What are some of your favorite YouTube channels? - https://news.ycombinator.com/item?id=32378309 (2022)

Ask HN: Who are your favorite tech youtubers - https://news.ycombinator.com/item?id=40139538 (2024)

(not quite what you're asking, but thought I'd post em - Have a great weekend y'all! :)
Regarding the sports or performance trim, I feel that it's a price anchoring tactic for margin.

They painfully neuter the bottom trim to be able to advertise "starting at" with the most top end model.

Then they lock all the desirable features behind the higher trims. All of a sudden, the 29.5k base price is a sham and you have the option between the fully loaded 45k car or the more "reasonable" 39.5k car. But the reality is that the buyer just paid an extra 10k for heated leather seats, keyless entry, slightly upgraded speakers, some bigger wheels and a nicer looking front and rear bumper.

They understand that there's multiple psychological games to play. Status, reliability, etc... Advertise with the low price, then upsell, upsell, upsell, and use the finance arm to focus on monthly payments.

People are definitely tired of these tactics for sure.
A Tribute to Parrot.live, but with Donuts
View the famous "donut" from 2006 with a single command. Type `curl donut.rustychads.com` into your terminal to receive some donuts. The donut is identical to the original. I refactored the original "donut" code into Rust then wrote an HTTP server to automatically distribute each frame to every client.
Shocking to see Luba Goy presenting a serious show about computers! I think most Canadians know her as a sketch comedian from her work in the Royal Canadian Air Farce.

https://youtu.be/eRDTCE7DEMY
Here in the UK, if it isn't white or silver, it'll be metallic orange or metallic chartreuse, and they're ugly AF
drying and burning.
As a counter point to this, I’ve witnessed the practice of designing these processes to terminate someone creates a ton of burnout for the manager. Expect to spend at least 20% of your time managing the PIP. Documentation, one on ones, babying tickets being assigned, etc.

On top of that I’ve never seen anyone get through a PIP successfully (n=6).

Furthermore, it can also create a culture of just dismissing any candidates who don’t come from the right pedigree because the risk of a mishire is way too high.

Its worth asking if it’s worth your time to do this for the sake of following process. Larger companies that need to standardize management for hundreds of managers have a greater need than startups do.
Madras, plaid, tartan. I can't tell the difference.

It's a testament to the power of marketing. Aquatic cockroaches became haute cuisine. Digital clockworks became the world. Like the magicians of yore said, "theater is everything".
Glad to see this stuff called out for being low quality here. I prefer the term "capeshit".
Haha. I completely forgot that game rentals came with a manual. I remember them always being absolutely beat up, and near shredded, but usually there!
Insulfated 5-meo is the way to go. Slower come up (10-15 mins) and lasts quite a bit longer. Still very intense but not the rocket ship.
Have you tried Python.NET? (I am a co-maintainer) https://github.com/pythonnet/pythonnet
The problem with that arrangement is that it doesn't scale: a tiny number of popular critics become the gatekeepers. Success in the field then depends entirely on somehow gaining the notice -- and good reviews -- of one of these few critics.

Countless other pieces of art are never noticed by anyone, countless talented artists are forced into day jobs and eventually abandon art -- no matter how high quality (for whatever definition of "quality" you prefer) -- simply because they were not able to catch the attention of one of the elite critics, for a variety of reasons, almost all unrelated to the quality of the work itself.
https://youtube.com/@dsebastien