skysight-inc/HackerNews huggingface dataset:
> why not check for full equality with a pre-existing pdf file, byte for byte?

This was what I built once to do unit tests on a pdf generator. The use case was I was working for a software vendor at a very important financial client. Our software was used in their research group to produce output (massive reports) which fed into their trading decisions and had been heavily customized by the client in ways that our dev team couldn’t test (the client had a very exacting internal confidentiality regime and these reports and the various code customizations required to generate them were heavily restricted). We were trying to upgrade our software by 2 major versions and make sure everything was still going to run correctly in spite of the massive upgrade.

Each report contained >100 pages of 9 widgets per page and all the data going into these widgets was restricted as well as the calculations and outputs themselves. So we needed to somehow prove that the new system would generate these reports exactly the same as the previous system in spite of the fact that everything had changed under the hood and we couldn’t see either the old or new reports.

What we decided to do was treat the entire system as a big blackbox test. I built a junit harness that would generate the pdf of each of a set of reports using the old system and the new system and then diff the output. Initially we literally just used a normal text diff on the pdf file, but once we had fixed the first few (hundred) differences we refined it to snapshot both pdfs to images and produce the diff images because that made it easier to find and fix the problems.

It was a very painful process but an extremely effective test because the reports were the end product of the entire system and nailing all the differences in the reports proved that all the input data, all the calculated outputs and everything else was working correctly. It ended up with us doing the upgrade successfully.
Have you tried https://handbrake.fr/?
Prior to 2023, I didn't know a single company that offered these satellite services to consumers, but recently a startup launched with similar service: skyfi.com

I noticed Carmack was giving them helpful feedback

https://twitter.com/ID_AA_Carmack/status/1626389607104249857...

(I know this isn't about Sony, just commenting fwiw based on the timing really)
Check out https://ffmpeg.guide/ (https://news.ycombinator.com/item?id=33383023)

See also https://img.ly/blog/ultimate-guide-to-ffmpeg/ (https://news.ycombinator.com/item?id=33771445)
Oh, absolutely, I can't listen to a book on tape and code. I mostly listen to death metal or electronic music with no (intelligible) words. I do think programming engages the language portion of the brain, which is why it can be so rewarding and draining.

But traditional pair programming, like actually sitting next to someone at one computer? I honestly enjoyed it! I might just be old? :) These days IntelliSense is effectively my pair programmer. TypeScript and VSCode allows me to actually enjoy front end dev work for once, fixing the squiggles is fun. But in the old days before Stack Overflow, time spent co-working next to someone who really knew an API or a library or a language was very much worth it.

My current team does do a shared screen pair programming thing a couple of times a week, there's a video call that we can drop in on while we are working on something.

Maybe it's more inspired by Twitch live coding and less like traditional pair programming but I still think it counts? It wasn't even my idea, but I participate because I enjoy it.
I use Git daily and literally couldn't tell you how to use it because I've aliased every single command it has. I basically have a wrapper over it and to teach anyone how to use Git I have to peel my layer away and check what I have things aliased to.

It feels like terrible ad hoc user design built over an otherwise extremely elegant and clean data model.
Yep. The symptom being that a problem of this scale can be caused by a single engineer, which points to the root cause being deeper and potentially systemic.

The question for future trust is: what's been / being done to prevent the same thing from happening again due to another single engineer?
> SCOTUS Says Domestic Spying Is Too Secret To Be Challenged in Court

SCOTUS said no such thing. Here’s the exact quote ([1] p. 2)

CERTIORARI DENIED
22-190 WIKIMEDIA FOUND. V. NSA/CSS, ET AL.

Nothing else. “Certiorari” is a fancy word for appeal. “Denied” means fewer than four Justices were in favor of a hearing. When this happens (about 99% of the time) Justices don’t need to give a rationale, or report who voted which way. That single line is all we’ll ever know about their decision. Everything else is just speculation.

[1] https://www.supremecourt.gov/orders/courtorders/022123zor_g2...
Angle grinders truly are the gift that keeps on giving
Even if they got pwned and the hackers got full system access like this the screw up is still definitely in the implementation right?

Isn't this like basic stuff where you would use encryption that only the end-user can bypass?
It should have enough compatibility with C++ that Google and others will be able to incrementally migrate their C++ code. So C++ modules should be supported.

Code migration is part of the Carbon language requirements. Carbon is being designed because other existing langages didn't focus on this aspect.

The specific details and edge cases are probably to be determined.
I feel like I have a bigger problem with "a sequence of commits" as a phrase than I do with whatever he wishes to call a branch. A commit itself is a sequence (it includes its own history!), so a sequence of a sequence is a confusing thing to talk about without any sort of qualification, since they're heavily constrained by being linked together. Moreover, what he's calling a sequence is really a DAG; it's not linear. Hearing "a sequence of commits" is so jarring that it conveys more confusion about git than anything else... perhaps that's why he gets corrected so often?

But in terms of what a branch is, if you don't want to call it a "ref", then I'd just say it's a commit symlink?
Starlink satellites don't "return to earth", at the end of their life cycle they burn up in the atmosphere upon reentry
“Clean” code, horrible performance
The widespread layoffs are more because of copycat behavior than cost-cutting
Resume, avoid Windows to compile anything.
EMP are easily repelled with faraday cages
loan has the explicit give back property. thats what a loan IS:

'borrowed' carries the same implications with a down-note on the giving back.

taken, adopted, brought in, co-opted... there's a thesaurus of choices which to my way of thinking do a better job of describing english's habit of .. adopting other languages words.

the key point is that gate-keeping in english doesn't work. we don't have the academie francais to police loanwords, and nobody gets to say loan or borrow words are bad, and that better ones exist: they are what they are.

I'm really just howling at the moon. (I wonder if howl and moon, in some sense are loan words from latin, or anglo saxon)
I'm accepting criticism from anyone who has seen the full context here.

The rest of you are in a fake news bubble but I trust you suspected that.

Scott Adams Interview - It's Okay to Be White

https://www.youtube.com/live/oeFA-n3SMRw?feature=share

https://twitter.com/ScottAdamsSays/status/162983363644608102...
Generate test data for your Testcontainers databases
I value simplicity and control.

Zig is a very consistent language in syntax and semantics, so there are a small number of features I need to be concerned with. My understanding is that once Zig reaches a stable 1.0 the language will not change. Although there is a lot of churn right now, I appreciate the idea of a language that is simple, and stays simple.

The code is also very readable. I haven't found another language (yet) that I can just open up the standard library source code and understand just about everything. With no hidden control flow I can easily read a function and not have to question what a line of code does. Everything it does is right in front of me.

I also love that Zig is trying to fix many of C's problems. Rather than a global libc allocator, each function that can allocate (by convention) accepts an allocator as an argument. In my projects this has been really great for understanding what code paths allocate, which has made it easy to package my fuzzy finder as an allocation-free Zig module and C library.

Now, if I were working on a project with more critical safety requirements, I might consider a different language. But for most of my personal projects Zig is exactly what I need.
Git is a pain to provide support for if you’re an internal tools team, lots of users with incorrect mental models
You did not claim that C++ had no problems, just that you prefer it. No fight from me. You should be able to like what you want.

While not a shot at your choice, a C++ dev that I follow a bit is the creator of SerenityOS. Many times and in many of his YouTube videos he has sung the praises of C++ and called it his favourite language. Presently, he is writing his own language, Jakt, to replace it. I find that interesting.
As pointed out in other comments, the data is inconsistent once the gravy of opinion is stipped off.

This is the common theme of my friends and me(age>30).

1. We get satiated with porn, as noted in this article, but also life size sex toys, friends with benefits and plenty of sex workers. None of them complained how average looking or boring I was, even though I was one

2. An inconsistance with popular stereotype, We get satisfied with emotional relationship and intimacy via blood relatives and friends. The dense networking effects eased me into their personal life before and during the pandemic. Everybody is happy with it. I just had a dinner with my thesis advisor( 6 years back when I was in University), vented my family feuds for hours at length with my close friends, burst out on how silly the office politics were while doing some woodworking with my gym buddies. At the same time, I have deep sense of camaraderie with my colleagues. No one is gay to my knowledge, nor is one socially motivated by being one in such situations. I haven't described my social circle of neighbors who lent me big stash of money in troubling times!

3. We never wanted a woman for a need. I am perfectly alright sleeping alone, waking up alone, eating alone in a big empty house, seeing PDA all day in parties or public, or travelling all alone. I just couldn't come up with a situation of my life where a void or need with a women is to be filled even in social life. Even close family events are not at all a taboo to be presented as single.

4. I knew the hints women were throwing at me, I just couldn't understand why because they could easily have what I have and more. When you want monogamy + marriage + children + family, why judge me and repudiate harshly whenever I clarify my tastes?

5. I get paid good for SV or NY and have advanced degrees myself, but the real game changer was lasting frienships formed at all points of life. The networking effects(as elaborated in 2) led plenty of women to me and me to plenty of women.

6. Is there a research supporting alone men with lonely men? Like deteriorating mental health?
In the link I posted, the study shows 2/3 of that range of costs is due to differences in treatment, not billing. Major surgery on a vital organ is always a customized service not a commodity.
> 99% of all the complaints about C++ are … 2. memory management problems because people have a poor mental model of how it works, which can be learned.

or memory management problems because Qt uses a different string type than glib uses a different string type than std, each with different ownership semantics, and by the way some of these claim to be thread-safe while others don’t say clearly one way or the other in the docs, except actually Qt’s copy-on-write implementation claims to be thread safe but assumes that the compiler inlines the mutation operators so if you forward-declare `struct QString` instead of #include <QString> then the operations might not be thread-safe…

i think the CoW problem might have been with Qt’s set type, not its string type, but you get the idea. it’s not just the language: it’s the library ecosystem too. it’s that any time i dive into contributing to a new C++ project i have to learn potentially a new memory model, one which is likely assumed instead of documented.

RAII presented an opportunity to normalize all this stuff; i’m not sure how significantly it’s unified things: i suspect it’s effective primarily in greenfield projects.
In Dutch, as an example we have a word called zoetwater - which if you translate it literally, is "sweet water". But it is the word for 'freshwater' in English [as opposed to saltwater], not some kind of sweet water. Even though zoetwater could be literally translated, no one really knows it means freshwater in English. There is advertisement for 'fris water' or 'vers water', which means fresh water correctly.
On YouTube…
> [H]e was so insecure and petty that he would argue with complete “nobodies” like myself for extended periods of time if you tried to be reasonably persuasive.

I do appreciate Adams’ work, although I think he has “gone off the deep end”. However, is what you write here not potentially a very uncharitable take? Is it not also possible that this man genuinely cares about a fellow man and believes he can somehow get through to you? This is of course putting aside whether he is on the right side of the argument and whether he himself can be argued out of his own position.
Or you know, just use a browser like a normal person...
The Lambo tractor also has the wrong type of connection in the back (Brits use a different standard or something). He just bought the biggest one he could without thinking.

He does go in being The Clarkson, buffooning about and doing things the stupid way. But he does learn and begins to actually enjoy it during the show.

And he has Caleb, 20something a farmer who does call him on his buffoonery repeatedly.
Show HN: Thunder Client CLI – A new way to test APIs in VSCode
Hi - I am creator of Thunder Client CLI, which helps you to test APIs from Terminal.

In 2021 we launched Thunder Client extension for VSCode which was game changer, as we were the first to launch a GUI based API Client inside VSCode. Today we are launching Thunder Client CLI which will have many new innovative features for API Testing.

Key Features
- Simple & Easy to Use CLI tool
- Seamless Integration with Thunder Client Extension
- Run Requests/Collections and View Test results
- Syntax Highlighting and VSCode Themes
- Open Request/Collection UI from the terminal
- Enhances CURL commands
- CI/CD Integration
Thank you for doing this talk. I agree with you, news about ffmpeg progress should be more widespread. And by the way, I love your hat!
And the many mappers NES and other consoles used: https://www.nesdev.org/wiki/Mapper
git init .

git add file

git commit -am "my message"

Pretty simple really. You don't need to think about staging if you don't want to.
How about an open-source RDS alternative for PostgreSQL?
Yo, Pigsty is a local-first open-source alternative for RDS PostgreSQL, with monitoring, HA, PITR, IaC, and lots of stuff to run a production-grade PostgreSQL Service on your nodes for free. Demo: http://demo.pigsty.cc.

* Battery-Included PostgreSQL Distribution, with PostGIS, TimescaleDB, Citus united as one.
* Incredible observability powered by Prometheus & Grafana stack.
* Self-healing HA PGSQL cluster, powered by patroni, haproxy, etcd…
* Auto-Configured PITR, powered by pgbackrest and optional MinIO cluster
* Declarative API, Database-as-Code implemented with Ansible playbooks.
* Versatile UseCases, Run Docker Apps, Run demos, Visualize data with ECharts panels.
* Install in one command, provision IaaS with Terraform, and test with local Vagrant sandbox.

Features: https://github.com/Vonng/pigsty/blob/master/docs/FEATURE.md

I'm Vonng, the author of Pigsty and a PostgreSQL DBA of a large deployment (25K cores, 1PB TP data). Pigsty alleviates my pain of managing such a massive elephant in production.

It works well for us, and I'm glad to make it open-source. Since cloud RDS PostgreSQL are so expensive, sometimes it charges 10x compared to underlying EC2 and storage. An open-source alternative could help.

I'm happy to answer any questions about Pigsty ;)
Even with attestation you could just daisy chain and use the attesting device as a proxy. Not to mentioned the billion of internet enabled devices that would never support it
13:41 is where the relevant bit starts
My experience as a single young man in my early to mid 20s is that I never have time for a relationship, and even if I do I'm not well-established enough socially to take one or pursue one, if I get involved with someone now I might have to move for work within a few months, and it takes a lot of time and effort to get into a relationship which I can't afford to invest. Also, young women today are very unapproachable, I've been bullied and socially ostracized for showing interest in girls. Otherwise I have to meet women at bars which almost never results in anyone getting laid because the women are scared to go home with you, having just met you for the first time. Dating apps are basically a scam, they feed off of your anxiety, and they don't usually result in sexual fulfillment.

I've learned that the best way to attract young women is to treat them like complete shit, ignore them, be mean and insulting to them. But I don't want to hurt anyone and most young men probably feel the same way. But all the ones I know who get laid regularly are shitty to women in some respect, and it feels like, as a man, if you try to be nice you'll just get walked all over.
As long as we have articles claiming language xyz replaces C++, c++ will be fine.
The day none writes about c++ anymore is when it will be replaced.
No, 15-Minute Cities Aren’t a Threat to Civil Liberties
If you don’t think the cost of farming has gone down in 100 years because of better tools, equipment, automation, irrigation, etc, I’m very surprised. You don’t need statistics. Just look at farm implements from 100 years ago.
https://archive.ph/EehVC
Thanks! Sounds like a good idea and a nice way to make it easier for people to get started playing around with Civet.
Chicago is consistently ranked one of the most walkable cities in the country; New York is more walkable, but Chicago isn't "unwalkable".
Would you mind sharing your aliases? Curious to see a different mental model.
from what I recall carbon doesn't have any working interop yet. it's just a feature on the roadmap.
I am not saying a branch is nothing than a ref, I am saying there are only refs in git and this is the powerful part of it because being so arcane and simple makes it so flexible
Right, but for your average user. If your machine is infected with a keylogger that results in a stolen password because of a vulnerability not timely identified and corrected.

That's not on you as an employee, that's on the security team for not implementing compensating controls/defence in depth.

Yes you have a responsibility to detect phishing emails, not writing down passwords, inserting USB's etc. But if something happens to you completely behind the scenes during your normal business, it's not on the employee.
Welp, I guess it is totally not LastPass's fault then. Darn DevOps engineer should have known better.
Until you need it. :)
Most people don’t understand how regulatory agencies actually operate (banditry), but most people do vote. So they have conflicting goals; on the one side, they need to create a paper record so that judges will approve their future banditry, but on the other side they need to disguise their intentions from the public. This blog post by the FTC is unusually well done and effectively meets both goals, so I disagree with you that the threats shouldn’t be made this way as it is clearly in their own benefit to do so.
Wizards' Creative Department Application (2014)
NON-LINEAR STORYTELLING
December 2014 (30 hours)
> In winter of 2014, I applied for a job in the Creative Department at Wizards of the Coast, working on storylines for the Magic: The Gathering trading card game. This was a supplemental piece submitted with my application, meant to demonstrate creativity, world-building, and outside-the-box-thinking.
That puck still costs money, where many existing services are free

It won't be directly accessible over the internet without either router configuration changes, or some kind of cloud service to phone home to

If it were addressable over the internet- would the customer have to set up a custom domain? Or memorize an IP address? Or rely on a cloud service to redirect requests through?

And then on top of all that, it'll go offline if the customer's home power or internet goes out

There's some more gap to be closed, sure, and you already don't have to be a programmer to set that kind of thing up. But I don't see this kind of thing ever traversing beyond the realm of enthusiasts
Are those hectares or acres? One is significantly larger than the other.
Beatiful commit graph allows to actually understand commit history. I dread opening history with merges. It's always incomprehensible mess for me.
I can tell you it’s heavily used in professional settings within the entertainment industry. There is no better tool, thankfully!
I don't agree with your analysis. But that's fine.
> to sell you

D is free to use for any purpose, being Boost licensed. We don't even keep track of who downloads it. Not that such info would do any good anyway, as anyone can host the distributions for download.

So yes, you can secretly use D at work, and we won't be able to tell on you!
You've already included the answer - "using their machines as remote terminals, doing most their actual work on some remote server".

The developer uses MFA (TOTP, Push Notification, Yubikey etc) into a virtual desktop inside the organisation (Citrix, VMWare Horizon, etc).

From there, the developer can SSH / whatever into their development environment - which is hosted "inside" the corporate network, or their cloud provider, via internal links.

All code, and dev boxes live "inside" the corporate network, and only keypresses, mouse movement, and screen diffs are sent back and forth.

Most remote access packages can prevent clipboard, USB device, file transfer etc.

If you need a password manager for work purposes, then it lives on the corporate managed network - not your remote laptop/desktop - and to be really paranoid - you only ever "copy/paste" those passwords - you don't type them in.

If you really want to lock it down further, give the remote workers dedicated corporate equipment that they only use to access the remote desktops, so you can prevent some things like screen capturing, and really lock down the software to prevent things like keylogging software/malware.

You also should have the entire development environment segregated from the "business" corporate network as well.

It's only really an issue if you want to have offline developers - in which case I don't have any thoughts ready to hand - (but would expect it to be a very locked down machine, possibly with an even more locked down VM inside it).

As someone who regularly uses multiple layers of Virtual Desktop -> Virtual Desktop -> Remote Desktop, provided the network can handle it (on both your local network, and the corporate network), it works surprisingly well.
You need `-pix_fmt yuv420p` for an iPhone to recognize a ffmpeg-encoded video file.
https://archive.ph/K7rRL
Is that a typo or intentional? If you did git add, you don't want commit -a, right?