skysight-inc/HackerNews huggingface dataset:
So, you’ve got a static-ish page, a Ruby server, Postgres and NGINX. The page both POSTs and GETs comments from the backend via an Ajax calls. All very conventional, but then you’re worried about traffic spikes, and to deal with that, the comments on the server are stored in pre-generated HTML files, updated by some wild PG triggers setup, and served up by NGINX. IMO you could go way more traditional, with the same result.

Worried that Postgres will tip over? Just read from the DB, but cache the results in memory with a short TTL on your Ruby server.

Or, if you’re worried about not just Postgres, but also your Ruby server getting overloaded, just go with a fully server rendered page, and cache the whole page. Could use NGNIX cache, as you’re already using NGINX, or a CDN, or Varnish, whatever. No JS loaded comments at all.

Either way, caching should be able to get you tonnes of scalability, easily avoid
hug of death, without resorting to PG triggers calling a Ruby server that writes files to disk.

With that being said, this approach works too, and if it’s just a personal page with you as the only dev, you understand it, so it’s all good. But I’d certainly avoid this approach at a company, largely because it’s unusual and will take new devs longer to wrap their heads around.
Bad advice.

You don't embed same piece of code on every page request but instead you make the code cached on first download.
The addition of push notifications is long awaited, and necessary to take PWA to the next level.

It is the single biggest hurdle for me in developing PWAs for iOS. Bring it on!
That's awesome, combining the strengths of (or hacking around) multiple languages.

Recent reads include Mac OS on Docker, rooted John Deere tractors, jart's Blink work, and now this :)
It's funny you mention that—I had Mono over a decade ago and it was a long ordeal for me. Multiple weeks of fatigue and feeling like crap. Mono was way worse than Covid in my instance—but they felt very similar.
Hate the industry but love the craft, is the advice I can give you.

Programing is first and foremost a craft which just so happens to employ a lot of people and tends to pay pretty well. There is nothing wrong with keeping programing as a hobby and finding a different career. I personally know a couple of talented programmers that work in other industries.

This kind of mentality is way common in some other industries. Woodworking and apparel jump quick to mind. I bet the number of talented woodworkers that don’t have a woodworking career is pretty high.

If you don’t want to change careers, then there are some companies that value the craft more then others. In my experience the smaller the startup the more they value the craft (which unfortunately is negatively correlated with pay). Perhaps you can love your job more if you worked at a different company.
There is some advantage in splitting it in that the page itself stays cached even as the comments change and the page doesn't need to wait for the comments to be transferred to start rendering. You could keep this advantage with <iframe> if you really wanted to avoid JS though. It's a shame html imports died, they were a bit more lightweight.
> Talking of bishops: should this game require bishops to stay on squares of their starting colour?

Given how captured work and how you'd probably define "on a square" with white a bit of freedom (perhaps the center of the piece has to be within the square?) I doubt it'd matter much either way.
> Why would that group of people have an easier time maintaining a marriage than "average" people?

Because they are much more desirable than average people are.
Rate my note taking setup
Very simple.
Private Github repo.
Write from anywhere using github.dev/<repo_path>
Use mobile Github app and favorite repo for on the fly read access.
Use VScode to access every extension imaginable(e.g., millions of JSON extensions)
Downside: no easy on the fly editing access(could create this using some basic scripting but not out of the box)
Upside: Free, simple, get full git capabilities and using VScode can leverage VIM bindings...
This was triggered by a blog I saw about Obsidian to take notes as a better option than Notion(which I've never used) but when I saw what Obsidian is I thought this setup was better.
> absorbent information
and I just typed Japanese words romanized. The 12-key system is just slow to use anyway
I finally ended up setting up my own router with opnsense which you can do for pretty cheap. Either a pc with two ports, a vm on a server if you are into that , or going dedicated hardware like mentioned above. If you really want to understand what goes on your network this is the way to go.
In fact, this was in the article we're discussing!

> "Even Apple—that Apple—has patented its own round pizza box exclusively for its famished Cupertino office workers"

and they link to the patent and show a photo.
DensePose from WiFi Sensing: Full Body Tracking
Promoting Books
It's actually quite funny because "agile" basically means (in English) "quick to react", which should imply not much process at all (and when properly implemented, usually is).
I'm not have a buck(live in South America) not experience hosting chess tournaments, I host in person and online bordgame for 20-100 people, if you need help contact me, ig lautaro_philip
Is it an interesting question? Would alpha zero be able to solve it quicker? To what resolution would the game be played?
At first I thought what they meant by not be constrained to an 8x8 grid was that you could basically send pieces off the map to out of bound coordinates, which would be an interesting variant. The chessboard would be an infinite size grid, you just have the start positions set to a particular 8x8 region.

This has interesting implications when you start to consider pieces that could move all the way to infinity, such as a rook. Would a rook that is the first to move to infinity be able to consume any other piece that also goes out to infinity by moving horizontally or vertically? So do you have to specify that you are only moving a piece within a certain amount of squares from infinity, to not be placed in a vulnerable spot?
Kafka, Sartre, and Borges walk into a cafe. Kafka orders the bottomless coffee. Borges orders one of everything. Sartre orders nothing because, as he explains, "I am the waiter."
The science says that any amount of lead is correlated with negative outcomes, particularly in children: https://www.ifm.org/news-insights/low-level-lead-exposure-im...
> Sure, there's a long lead time on that, but new customers are being made all the time. Every day 10,000 Americans turn 18.

Well known as the day when they start being interested in forming a romantic relationship.
IEEE 802.11bf aims to standardize through-wall motion sensing for Wi-Fi 7 in 2024, https://www.originwirelessai.com/insights/what-is-the-802-11... & https://www.originwirelessai.com/insights/origins-next-chapt...

> technology can amazingly capture tiny, vital movements of human breathing, even when people are not in the line-of-sight of a device ... whole home coverage to detect falls, breathing rates, abnormal behaviors ... Internet Service Providers (ISPs), Security, Health & Wellness, Automotive, and IoT

DensePose paper discussion: https://twitter.com/aibreakfast/status/1613550599144091650
I’ve watched it change correctly spelled intentionally used words to other words. Infuriating.
You could get into another field of programming, AI is coming up.
Now THAT'S bizarre. Was that because the team was making others look bad by outperforming them via the LOC metric? lol...
Tl;dr assets and imagery, but nothing really on new games.
Subtitle and Video Metadata Search
As usual, Levine's column on this (probable / alleged) fraud is excellent: https://www.bloomberg.com/opinion/articles/2023-01-12/jpmorg...
I love how Safari fills in OTP codes from SMS messages automatically. I know you’re not supposed to use them but so many services still do.
in truth midjourney does much better on smaller prompts than stable diffusion or dall-e which tend to do better with longer prompts, but my best results have come from image to image along with prompts. The secret superpower of midjourney is that you can use multiple images as image prompts (the rest can use one), first image becomes core structure and composition, second image becomes primary style, third is secondary style etc, but all influence the image. My best results have been from 2-3 images.

other tips:
add on the end --ar 3:2 for wide image or --ar 2:3 for tall

most important part of prompt toward front, usually what kind of medium the art should be (coloring book page, stained glass, watercolor, etc), then describe the content and use photographer terms like portrait, landscape, or long shot to describe framing and what's in the image, things like background and foreground help too.

if you know much art or photography theory, it will give you superpowers over normal users.

take some time to look at other people's prompts on lexica and midjourney showcase, if you want to play with stable diffusion for free first I recommend playgroundai.com which only requires a google account for about 300-800 free spins a day (they throttle you a bit after 300), but I think it's a good way for people to dip their toes in the water, but midjourney does tend to give better default results
Yep, it's not static because data in the DB is changing the file.
Ownership, decision making ability, technical design, KISS, deeply understanding the system, direct communication with stakeholders, and personal responsibility. Good list! These are the qualities that consistently produce top-notch software. When given the opportunity, this is what good SWEs do by instinct.

What's notable that in each case, the modern ticket-factory approach ("all that bullshit") is explicitly designed to eliminate or dampen these instincts. Diffusion of responsibility, top-down control, eliminating direct connections, everything is decided by committee, treating professionals like replaceable cogs, stay in your lane and do tickets.

It's not just that engineers are very capable of delivering direct business value. It's that many of the "non-technicals" are actively involved in sabotaging the efforts of engineers to do so.
If they don’t accumulate, then why is more exposure worse than less exposure? There must be some type of compounding factor at play.
I don't really know about all the details of those metrics but I know one thing: Safari is smooth. Actually it was just perfect in the previous years too for me anyway. It just works and works super-efficient. That's why I use it. The only reason I have Chrome installed is to test my websites with Chrome and use MetaMask.

TBH I never understood why people use Chrome on a Mac unless there is a specific extension or site that doesn't work with Safari.

Also, not using anything from Google is a big plus for me to use Safari (or Firefox for the record) anyway.
Yes! Just sign up on https://cubetrek.com/static/join.html and let me know what you think...
I come from an era when not liking your job was the way things were.
You could enjoy the social camaraderie, lunch and your paycheck.
The army did an excellent job of preparing me for that situation.

With all that said I do love programming the way it used to be.
You could often be allowed to write something pretty.
(From a pure code perspective)

At the uni. I had that freedom as well.

These days solutions usually surround using duct tape, plastic straws,
and a half-broken welder to force various components and 3rd party
APIs to work together, even though they are usually never designed to
work in that way.

Then a vendor changes its API, we need to connect to yet another service,
and some people who see resume padding as their biggest goal in life
will manage to throw the latest hyped products / frameworks / tool
into the mix.

It is a monumental task to write that code to be pretty.

A lot of software engineers care a lot more that we are using the
latest hotness than they do about making it pretty.
Sounds like you are being asked to do pointless technical work that will probably add overhead and complexity without tangible benefit to the product and business. You are right to question this.

Who do you report to? The CTO? How is your relationship with other execs in the company? Given that you have been around since close to the beginning, hopefully good. You should discreetly escalate to someone else who might be able to influence the situation. Try to stay positive and constructive. Make a pitch that your skills could be put to better use building new features, adding value to the product, or possibly (since you say the product is stable) exploring new product areas that may open up new business for the company. If this doesn't result in change, then yes, quietly do the work the CTO demands while privately preparing your exit.
Personally, I like Chrome's UI much more than Safari, and also enjoy the devtools UI much better. Also like many devs, I use the most popular browser by default so I can design for the majority of users (realizing how this may offend some of you...).
That brings up the question of what is the best router these days. Mine is getting long in the tooth.
Obviously, that was rhetorical.
I now have a vision of this conversation:

"How are you today, Mr. 142,620?"

"I'm fine, nameless, faceless script-reading CSR rep. How are you?"
Why did every website/product start looking the same?
Every day, I'm seeing a new product or website that clearly had direct design influences from companies like Notion and Linear instead of actually contributing something new. Is this the end of web design?
Iron Nitrides: Powerful Magnets Without the Rare Earth Elements (2022)
Google Dumb TV, there are still plenty of vendors selling them. They are frequently seen in Airports..
For reference: linears.art
There was probably another coronavirus pandemic 134 years ago that killed a lot of people worldwide.

https://doi.org/10.1111/1751-7915.13889
My point here is they might have given a gene therapy that reverses radioactivity exposure damage, not age-adjacent damage. More specifically their model for harming cellular DNA seems to have been chosen because harming DNA in this specific way can be fixed by their proposed therapy reagent. They did not choose this model for because it most closely matches aging processes irl. Their model passes only because the mice 'looked old'. Lots of things can make an animal have elderly phenotypes (radiation exposure for example). And you might find something that reverses those phenotypes without actually finding anything that would mitigate natural aging (because their etiologies are completely different). It would be like giving an antibiotic to treat a viral infection.
Me too, my Android / Samsung phone has a "Private DNS"[1] setting where I specify my NextDNS instead of using their mobile app.

[1] https://news.ycombinator.com/item?id=28365321
Sounds good, are they selling your queries?
Or just buy one or two? I don’t get this narrative that everyone is spinning about having to buy every single streaming service.
One Ultimate Challenge in Software Supply Chain
Yeah, that would work, but the problem is they told JP Morgan they already had the list, and had nowhere near enough time to legitimately grow to the number of customers they said they had
Antibodies decline with time and don't necessarily prevent injection. Cellular immunity is more important.
It's always amazing to see new well thought out useful Unix tools for manipulating data being put out into the wild to this day!
Is this the reason why my typing skills on iOS have deteriorated over the last few years? I have zero problems on keyboard but I noticed I make sooo many more mistakes on iOS now and almost always due to typing the next letter over. It happened 4 times in writing this comment and it’s infuriating enough that I rarely comment on my phone now.
why no mention of how often strokes happen in people in the time period (any given 3 weeks) without covid. Seems like an obvious data point for comparison
The Talk Show interview

https://daringfireball.net/thetalkshow/2022/02/28/ep-339
If a Forthlike language was to be made today, what features would it require to not be a hard-to-read mess? I can see some type of typesystem being useful, I dont know what else can make it better.
Agile just means making it up as you go when you have people who don't have the knowledge or experience to define first exactly what is required. If more programmers became managers and could work with the stakeholders, most specifically the clients that are ultimately paying their salaries then there would be fewer problems with waterfall. My experience is that if programmers would read the design document written by people who are knowledgeable instead of wanting to build it on the fly there would be no need for agile (assuming experienced people are writing the design documents. After ~1998-2000 it seems like marketing and sales were the ones that ended up doing that despite having no education or experience in designing software interfaces let alone programming). But that's just my experience, and I learned early on the first thing you do is read the manual and if it doesn't answer all the questions then ask and re-write the manual yourself before doing any budgeting or coding. Instead we got agile, which turned into make it up as you go through constant sprints/iterations and meetings as you design and build it rather than on paper. As comic Dave Smith said, if you say it works on paper but doesn't in practice then it doesn't work on paper either.
No mention of progressive web apps.
> obvious things

Obvious things may not look obvious from other programmers or for yourself sometime in the future or from a code you'd written while feeling asleep.

If you'd totally think that's an obvious overhead, just give it "any". Though I never use it.

Automatic type mismatch warning and auto completion in the editor feels quite worth the little "documentation" static typing effort.

Of course, if anyone is using some basic editors that don't even highlight TS errors in real time, then it feels like a complete waste of time.
His post is currently greyed out (downvoted), so that may not be the best evidence against his claim...
I’ll match your $1k! DM me on Twitter if this takes off. Cheers for the ambition.

As for hosting the tournament, try to get GothamChess involved. It’s wacky enough that he might just be interested.

(Can’t wait to hear him shout “and they sacrifice… THE ROoOOok!”)
> Make sure this version breaks after 10 days (so user doesn't suspect) and inserts garbage into whatever it produces after this time.

"That software of yours? Yeah, I tried it once and it was garbage, couldn't even save its own output properly. Now you want me to buy it for... wait, how much?"
Regarding example 2.1:

I thought the JSON spec was that a number is of any precision and that it’s up to the parser to say, “best I can do is 754.”

That is, I think you can deserialize very long decimal numbers to higher accuracy in some languages.
What if I want multiple nice houses?
> This is why I don’t want to sell to developers.

this is why you sell it to management or business owners. If they see value, they will pay for it.
Before Sunrise (1995 Film)
This resonates with me. If I had to sum it up.

I just want to build cool shit that solves problems. It's fun.
It's like you reached inside my head, pulled out my crudely formulated thoughts and feelings on why it struck me as ill-advised, and refined and explained everything perfectly.

Internal teams! My work these days is directly with people paying for the thing. That's why Agile gives me the shivers.
Only if you’re working with pure enough functions, I think? Otherwise I might be polluting state with NaN along the way. And therefore need to error handle the whole way. So I may rather prefer to catch NaN up front and throw an error.

Loud and clear on the other point. I work with ROS a lot and the message definitions do not support NaN or null. So we have these magic numbers all over the place for things like “the robot does not yet know where it is.” (therefore: on the moon.)
I’m suspicious that this doesn’t magically “reboot” by causing BIOS to POST and run the boot sequence. I suspect that it actually enters BIOS code with a horribly corrupt state, which causes a triple fault and resets the machine.
Agency is where you decide how to do what society has prescribed you to do. Gen X’s notion that you can reject society’s prescriptions and do pretty much whatever you want so long as you don’t hurt someone else—narrowly defined: the hurt felt by a parent who is deprived of grandchildren or by children who suffer from divorce doesn’t count—goes beyond autonomy into social libertarianism.
http://everyfuckingwebsite.com/
Because visual design is both a) very hard/expensive to do well from scratch and b) not a differentiator for most products. For the vast majority, it's just more cost effective to use a standard template and focus on your core product instead.
What is the active ingredient of that supplement?
iPhone keyboard has had a bug since its inception that I'm surprised they never fixed. If you type "hippopotamus hippopotamus hippopotamus hippopotamus hippopotamus hippopotamus" (or copy paste it), then on the last letter, hold backspace until there are only 3 hippopotamuses left, you will almost assuredly fail and delete too much. This is because, midway through deleting the second hippopotamus, iPhone switches to word deletion mode (which is fine), and first thing it does is "delete the remainder of the second hippopotamus" (still fine) and then with the same key repeat delay, delete the third hippopotamus (this is where you need to let go of the backspace key), and then the forth.

The effective deletion speed goes from "5 letters per second" to "5 words per second" without any chance for the meager human on the other end to adjust their expectations.
I’ve added exif functionality to my own programs, but still use exiftool relatively frequently.

It’s not obvious at first glance but it handles an incredibly long tail of non-standard maker notes and other odds and ends I’ll never get to. Stuff from hardware over multiple decades. Few authors have can match this kind of dedication. Deserves a FLOSS award of some kind.
If you already have a DB and backend app just use a CDN.
Code does not make money by itself. Business does. Code has to work for business. And if programmers can manage business, nothing like it. But someone has to. You can rarely have it both ways, code for fun and make money for the business too. And make no mistake, running a business is as difficult as building software if not more. If we assume that 'non-tech' people do not understand code, we can assume that 'tech' folks do not understand business too. Both of which are not true.
Also, such a flaming rant on any other topic would be flagged out to oblivion. HN's predisposition with tech vs nontech is quite apparent.
I was a teenager once and sometimes you just don’t come up with something (you think is) clever to say.
I used to work in automotive navigation. Other colleagues handled our voice systems, but I do remember all our prompts were written in SSML[1] with varrying amounts of specificity. We would use Lua to configure and customize the SSML, including some custom extensions for different voice renderers.

Even with the prompts marked up, there were huge differences between products. Some car OEMs would pay higher fees for better voice and some wouldn't. It's fairly tedious work and difficult to scale as the amount of sentences grows. We basically built up a catalog over many years and they were always explicitly stated as part of our requirements docs. Of course the renderers could say anything you wanted but letting it free form was so a big risk from a product point of view.

[1] https://en.m.wikipedia.org/wiki/Speech_Synthesis_Markup_Lang...