skysight-inc/HackerNews huggingface dataset:
> But what if that's just a problem with our tools rather than an intrinsic issue? What if I had a tool that could automatically present all the mutable state of your system that is publicly accessible as a single screen and automatically link to different procedures that link to different parts of it?

The world needs this. I think Pernosco has a workable technical foundation, but the GUI is a debugger and I need a code exploration tool to "find my way" in big unfamiliar codebases. Encouraging developers to pick up and hack around in others' codebases is the only way to get enough eyeballs to make all bugs shallow.

> maybe it's nicer to have that implicit state strewn everywhere instead of having to carry around values which are irrelevant for the bulk of a function body and only relevant for a single part of a subfunction.

I think global state (which is unusually bad) or shared mutable state (which is omnipresent outside of Rust) is a mental overhead (more things to keep in mind). I don't think tooling can eliminate the overhead of worrying about moving parts, only make it faster to look up (and hopefully document) what touches each bit of state.
He was an NSA contractor, not a CIA one.
> If that's true, then Apple just raised the privacy bar and now Tile and other small players need to up their game to stay relevant.

No they didn’t. This “feature” is garbage for the people who actually buy it. It makes putting air tags on things shared by a bunch of people a huge pain in the ass.

“Freaking people out who are on the bus with you because you forgot your phone but have your keys” is not a selling feature.
It was worse than that: in Doctor Strangelove, General Buck Turgidson was at least waiting for Truman's say-so before doing anything irrevocable. In real life, there's this anecdote about Curtis Lemay:

SAC had reconnaissance aircraft flying secret missions over the Soviet Union twenty-four hours a day. “If I see that the Russians are amassing their planes for an attack, I’m going to knock the shit out of them before they take off the ground.” Sprague was shocked. “But General,” he countered, “that’s not national policy.” Sprague remembered LeMay responding, “I don’t care. It’s my policy. That’s what I’m going to do.”

https://www.newyorker.com/magazine/1995/06/19/the-general-an...
Hi, could you explain why this happens normally? Isn't the output neutral line of the DC charger supposed to be pretty much 0/ground anyway? Or is it that the neutral is a few volts off the ground?
Yes, he is always extremely awkward. Stumbling over his own words, telling jokes that only he has context for, going into unscripted mini-tangents without much of a point, "ums" 30x in a row, waiting for applause at inappropriate times. An all around zero when it comes to public speaking. Despite me saying all this, I like Elon when he isn't on twitter. I still own TSLA since the IPO and he has made me a lot of money(I doubt TSLA would be where it was without him, even if the products would have been exactly the same). But he still should take a public speaking crash course, and maybe some beta blockers before these events.
But then you lost money. If you are selling assets worth $10 for $1, your revenue is literally negative
I've heard him talk in the cybertruck announcement and during a neutral link thing, yes.
I hate that. I prefer an environment that enforces individual responsibility. I'll push through your code without much review so you need to own your code and make sure everything works.
I agree with this separation of concerns, but you have to paint the full picture.

Without ads, we have a pure ethical situation. Desirable content and an eager reader to consume it. All is good. Except for the fact that this content cannot exist unless the producer runs ads, which some consider unethical.

If we end the story here, the content disappears since there's no ethical way to sustain it. So the original ethical transaction (content -> reader) is gone. Also known as throwing away the baby with the bath water.

If we are to complete the picture though, you might as well claim it's the consumer being unethical here, for flat out refusing to offer any payment for a service they want, and clearly costs money to produce.
I ginned up some python to generate an SVG file for a bevel setting gauge[0]. The code is ugly, and the SVG file doesn't render correctly except in a browser and Corel Draw, and that's ok, because that's all I need it to do to drive the laser cutter.

I'll throw it up on GitHub under WTFPL if I ever get an afternoon to comment it and write a readme.md for the benefit of anybody misfortunate enough to stumble across it in the future.

I might also add the option to do a lefty or righty gauge. It's identical in outcome, but I could see it being more ergonomic.

[0] Just like this one: https://lostartpress.com/collections/tools/products/bevel-mo.... I'd have probably bought one if they hadn't mentioned lasering them. Since I have access to a laser, I figured why not brush off the old programming skills. For the record, I'd have come out ahead buying one.
It's a fine line, but I feel Apple avoided being exploitative here. The vibe wasn't "you deserve to have this terrible thing happen if you don't buy our product." The watch clearly provided real utility to real customers and it's worth highlighting.
Honestly, this is "better" than usual for him, in that he's speaking more smoothly. I think it's coming across worse though. He sounds less enthusiastic than usual.
I’m selling my car to Carvana in a couple of days. They’re giving me $1700 less than I paid them for the same car 4 years ago. Pretty nuts, but I’m not complaining.
Pretty nice implementation, but it's missing the best feature: social sharing
We might have to agree to disagree on this.

I bet a huge percentage of Reddit’s traffic comes from their website. And if they didn’t want people using the website, they wouldn’t have bothered putting so much effort and attention into the redesign. Why bother redesigning something you want nobody to use anyway? And if your argument is that they made it bad on purpose, they may as well have just made their old site worse.

Also, if their business model is analytics and ads, why do they allow 3rd party reddit clients like Apollo?

I hear what you’re saying, but I stand by my perception of what’s going on.
Yeah, he's always like this. See his Neuralink presentations.

He got to where he is through a combination of hard work and luck (a large part of which was the birth lottery), like everyone. Imagine if Woz was intensely interested in building Apple, and had Jobs' judgement.

As far as I know, he's planning on a time frame of 200 years to build a sustainable city. He's also intending on building thousands of Starships, by making them as rugged and as cheap as possible without sacrificing safety.
How do you classify something as anti Russia propoganda vs just reporting on things that Russia is doing? Russia is not exactly a good actor in global politics (or towards their own citizens), so obviously reporting on their actions is going to be negative a lot of the time.
> Wait, what’s wrong with NoSQL?

For a few years back there, it was going to take over the world and we were all going to throw away 'old fashioned' DBMSs because they were slow, clunky and overcomplicated.

Like many of these overhyped technologies, when the dust cleared about 5 years down the line, we are left with something useful that definitely has its place, but isn't like wow huge it's taken over everything maaaaan. Meanwhile SQL is still with us and still good at what it does too.
Even still, if somebody dies, the whole team is legally a conspiracy. Not the kind of thing you want to talk about in public.
I used to work at Facebook, YouTube, and Twitter. One of the big questions I focused on: what was the right objective function to align our AI systems towards?

When we started optimizing for watch time at YouTube, for example, our algorithms started suggesting longer videos for the sake of longer videos, and videos with racy thumbnails.

Similarly, optimizing for engagement at Facebook led to low-quality clickbait, and Hooter's appearing as the top search result when you searched for restaurants in Houston.

Experiments that increased favorites and replies at Twitter invariably increased toxic content as well.

So while watch time, engagement, and replies would always go up -- were these really the products we wanted to build? What happened to Facebook's original mission of connecting users with their friends and family? What did "favorites" have to do with being the platform for public conversation at Twitter? A lot of work at these companies is spent measuring active users, but where were the dashboards measuring progress to these broader goals? It's easy to become blinded by standard metrics and lose sight of the original product principles that made us stand out -- and I say this as a data scientist at heart!

So could we figure out a metric that was better tuned to human values and the product mission we cared about, but also fast, rigorous, and easily measurable? After all, we still need our A/B tests, ML objective functions, and OKRs! This question is particularly important today, with all the troubles that social media platforms face, and I wrote up an approach that I've often worked on.
https://synthwave.live/ - a collection of synthwave mixes on YouTube with some specialized functionality on top of embedded videos that makes listening to music compilations more convenient.

I made this mainly for myself because I was really into synthwave compilations at the time and YouTube's playlist functionality wasn’t getting the job done.

I run the update script every week and fix the occasional bug. I'll continue maintaining it because I like using it.
Details on Heron's missed sqrt(-63): https://nrich.maths.org/13402

Apparently there's not much to say about how that mistake came up, though.
> I have this theory that without ads 90% of the web as we know it would end immediately. And nothing of value would be lost.

I'm gonna reuse this quote for sure in the future.
Hard perfectly flat sleeping surfaces with just a simple blanket for warmth can stimulate the lymphatic system much like a massage can.

The worst is when you have an uneven surface, like when camping and there is a rock which even your (inflatable) roll mat cant dampen out, that makes sleep difficult.
At what point do you go “you know, the low severity problem we’re solving (finding my keys) is probably not worth creating high severity problems like stalking and sexual assault?”
Climate-wise, this applies to hot places as well. I spent a few years in upcountry subsaharan Africa. Sleeping indoors was suggested and encouraged because it made it easier to set up anti-mosquito bed nets, but actually doing so was a challenge, and virtually impossible when it was humid. Much more comfortable to lay out on a bamboo frame with a sheet and hope not to get malaria that night.
> This is pretty gross holocaust revisionism.

Not really, no. The USSR has its own history of genocides, especially against muslim communities. And both USSR and the nazis were strongly opposed to any form of social protests: the nazis called opponents "terrorists" or "judeo-bolshevik", while the USSR called them "leftists" or "counter-revolutionaries" (see also: Cronstadt uprising, Makhnovtchina).

Let's not forget also that Hitler and Staline had an alliance at some point. There are quite a few differences between national socialism (nazism) and authoritarian communism, but they can't exactly be presented as opposites, as they occupy the same half (authoritarianism) of the political compass.

Disclaimer: i'm advocating for libertarian communism (self-organization, not bureaucracy). I believe defending tyrannical regimes in the name of communism does not help the cause. In fact, i would even argue the USSR killed all chances of communism when the Bolsheviks started slaughtering the real revolutionaries (anarchists and anti-authoritarian marxists alike), and that they never tried to go beyond the dictatorship of the proletariat which was presented as exceptional/temporary measures against counter-revolutionary activities on the road to communism (stateless, classless society). Having a central State dictating your life and bureaucrats overseeing your work is not communism: it's State capitalism (or as Mussolini called it referring to fascism: corporatism) at its finest.
> Congrats on the milestone!

Thanks!

> Q: What are your plans for sharding / scale-out?

Sharding is planned, though there is no set design yet, this area is in early research phase currently. Thanks for sharing your experience by the way! Learnings from the field definitely help. A traditional read replica scale-out is already supported and we are building integrations with Postgres orchestrators (for failover, replica discovery etc). Oh, and automatically routing read-only queries to read replicas (with some controls for lag) is something that we plan as well.

> Q: Do you have plans to support EdgeQL embedding or SQLite?

Possibly. Depends on the application and performance expectations :-) PostgreSQL is really special in its ability to deal with complex queries. We already have a toy EdgeQL interpreter in the codebase [1], which is mostly used to quickly prototype syntax and validate semantics. It would be great to scale it up to something that can work with persistent stores (even if dumb and slow).

> are you considering porting more logic to Rust?

Yes, that the long term plan.

[1] https://github.com/edgedb/edgedb/blob/master/edb/tools/toy_e...
It's not really much different from White Collar vs Blue Collar crime is it though?

Not to quote a certain poet,[0] but you mug someone on the street and you could face life in prison, but if you mug a whole community, the worst that might happen is you lose your job

[0] https://genius.com/The-coup-fat-cats-bigga-fish-lyrics
You can chose to stop getting an alert if a particular device is following you, so that should handle the communal device with an AirTag?
the problem is an api that returns someone’s pii without authenticating they are allowed to see it.

a uuid on its own is not a problem. but if you can take one and establish a link pii then the uuid becomes a pii risk.
When was this magical world where you could get a list of hundreds of restaurants of all possible cuisines from any part of town with all their menus and prices in one place and have food ordered from them in minutes?

Up until the rise of these services if you weren't a cheap pizza place or Chinese restaurant you likely weren't doing delivery at all. Doordash and others probably saved the restaurant industry in most major towns during the pandemic.
Happened on my NAS: had a corruption due to a bitflip, BTRFS recovered fine.
I would suggest framing distributed systems analysis in terms of PACELC instead of CAP: https://en.wikipedia.org/wiki/PACELC_theorem
There is a famous paper called 'out of the tar pit' which may be somewhat related.
The PersonnelRecord isn't OOP and exhibits a widespread misunderstanding:

class PersonnelRecord {
public:
char* employeeName() const;
int employeeSocialSecurityNumber() const;
char* employeeDepartment() const;
protected:
char name[100];
int socialSecurityNumber;
char department[10];
float salary;
}

As written, PersonnelRecord class will inevitably lead to code duplication, tightly coupled classes, and other maintainability issues. An improvement that's still not OOP, but exposes a more flexible contract, resembles:

class Employee {
public:
Name name() const;
SocialSecurityNumber socialSecurityNumber() const;
Department department() const;
private:
Name name;
SocialSecurityNumber socialSecurityNumber;
Department department;
Salary salary;
}

OOP is more about the actionable messages that objects understand to carry out tasks on behalf of other objects. Wrapping immutable data exposed via accessors reaps few benefits. Rather, OOP strives to model behaviours that relate to the problem domain:

class Employee {
public:
void hire();
void fire();
void kill();
void raise( float percentage );
void promote( Position position );
void transfer( Department department );
private:
Name name;
SocialSecurityNumber socialSecurityNumber;
Department department;
Salary salary;
}

This allows for writing the following code:

employee.transfer( department );

I don't know how to "transfer" an employee given the code from the article, but it would not be nearly as elegant.
I'm trapped in the MS ecosystem hacking C# on an M1 Mac and deploying on Debian. Oh wait.
I'm bullish too. I've always been extremely skeptical when it comes to vendor lock, but after a very shallow look at Pages + Workers with SvelteKit + Adapters [1] I'm ready to drink the Kool-Aid.

Sign me up for the future where infrastructure is a pluggable cog that I don't have to think about if I'm not trying to build highly scalable systems.

1. https://kit.svelte.dev/docs/adapters
I'm building a spiritual successor of the dBase/FoxPro family of languages with modern ideas, what I hope become a better alternative to Access/Excel (so, not just the base lang, but the UI builder + Data engine. Just asking little things, you know):

https://tablam.org

Is both true that I wish to have the means to work on it full/half-time and doing for pure enjoyment when I have time.
Regarding extensions: we plan to wrap the most popular ones like PostGIS to give them idiomatic EdgeQL flavor. We need to do a bit of work to make that the right way.

Sum types can be modeled with inheritance. You can create an abstract base type and use that as target for the links. You can then derive types from it and write polymorphic EdgeQL queries to select/match data.

Rust client is still work on progress, not really open to tinkering unless you want to experiment.
I found a psych study about how vulnerable narcissists use more first person pronouns in their writing, and applied that to the Epistles in the New Testament to determine Pauline authorship (Paul has always struck me as a vulnerable narcissist).

Amazing result. Very distinct clusters on relative usage between the undisputed non-Pauline letters (John, Peter, etc) and the undisputed Pauline letters.

Almost all the disputed letters fall in the non-Pauline cluster. Only 2 Timothy falls within the Pauline cluster, and does so smack dab in the middle of it.

Currently debating formatting the results for peer review (which probably won't publish for a year at least) or just creating a post with pretty graphs.

As an aside, the whole "can't have published preprint elsewhere and can't submit to multiple journals" submission policies at academic journals is dumb.
I've actually never really encountered issues with operator overloading. Is it just ADL, or are there any other canonical operator overloading issues?
> to the example of a web browser I would say, most applications are not web browsers.

I should've clarified. I meant developing a web page to run on a web browser, hence the form example.
So your solution is to "pre-cancel" yourself?
Hmm, my clone of Hacker News but focused on Cybersecurity: https://cyber.report/
Well he is speaking about it now:

https://twitter.com/Snowden/status/1491961623132651521
I remember a healthy internet without ads and I would go on and say that safe for some topics there is less content than there used to be, e.g. 15 years ago.
Funnily enough, the app that works like iPhones (AirGuard, open source) was created by people from a German university.

Apple's own app is almost useless as it only works if the user performs manual scans... but who does that?
I have no idea about the points that post is trying to make.

OOP like everything, using it incorrectly will lead to trouble, and it has its merits when done right. plus, it's used widely in practice that is really the best evidence in that, it's not bad at all.

use FP all the way IMHO will lead more spaghetti code, use it to complement OOP could be great however.

Last, what's the alternative? if you don't have a better alternative, you don't solve any existing problem.
> That leaves "finding your keys within your home" as the only truly "officially supported" use case.

That is hardly true. Case in point - my wife put down her keys at a store and managed to leave without noticing (this was early after AirTags hit the market). I was driving and we left without recognizing that a few hundred dollars of keys had been lost.

Later that day, we noticed. She called a few stores all said there were no keys found. We then tracked the AirTag - and in fact, it was at the store. We returned and were able to locate it, at one of the registers in a lost and found. We never would have found that it not for the AirTag.

Since then, we’ve used them to not leave things behind, to find things lost at home and elsewhere. There are indeed many legitimate uses despite your want to claim otherwise.
Why are people so upset that websites are starting to use features that have been standardized and available in all major browsers for the last 2 years?
I'm currently working on a ranked-choice polling website!
Kobe Bryant, whose death made news for weeks, is your comparison point?
> Tandy's drive is a horrible, unreliable kludge

Apparently the Shugart SA400 and Western Digital FD1771 controller chip used by Radio Shack for the TRS-80 were commonly used on other systems of that era, such as S-100 systems, but the Apple's Disk II originally used a stripped down/cheaper version of the drive dubbed "SA390" that attached to Woz's disk controller card.

More info at:
https://apple2history.org/history/ah05/
Top Tesla engineer hired by Ford after 12 years with EV industry leader
BTRFS RAID1 has numerous advantages compared to regular RAID1. It does not mirrors whole disks, but chunks of the disk, usually 1GB chunks. This has numerous implications:
- drive size can be mixed without usable space loss (kind of, with some combinations you end up losing a bit)
- you don't need an even number of drives
- you don't need a raid0 atop several raid1 to use e.g. 6 drives, it's all one big raid
- a drive can be swapped for a bigger or smaller drive without issue, meaning spare drives don't need to be identical

etc.
> Instead, you should just release the core version so others will build an open ecosystem around your mainline product.

To be clear EdgeDB is the core version, albeit a large core. We have many ideas about value-adds. But the goal for open sourcing it is indeed to foster an open ecosystem.
This kind of comment baffles me.

Hiring a person and training them for the role is going to be quite a lot cheaper than finding that rare professional, who's going to command a very high premium.

Which means that at least one of the following things is true:

1. You're not willing to pay enough for an individual who's a perfect fit.

2. You're not willing to hire someone who's not a perfect fit and spend money to train them for the role.

3. You've done the math and concluded that the cost of doing either 1. or 2. above is higher than the value brought by actually securing these applications (who's doing it now? nobody?)

So in cases 1. or 2. it's entirely your company's fault, and in case 3. it's nobody's fault and you don't actually care about the end result. It's an evergreen listing for a job that you already decided shouldn't exist.
I just read your book this last week and loved it! I came here to recommend it.

One thing I still struggle with, though your book helped a lot, is when you start trying to get typing right with decorators and other types of misdirection. You pretty quickly start reading through PEPs and forums and using weird hacks that may or may not be a good idea.

For example, I’ve spent a fair amount of time trying to get PyCharm to understand a classmethod property to no avail. It’s hard to know if it’s a problem with my typing, a problem with PyCharm, or something else.

Anyway, thanks for the great book!
That sounds super interesting and useful, can describe how you're making it work more and how far along you are? I have plans to build something I think is similar.
That is some count of Monte Cristo level shenanigans.