skysight-inc/HackerNews huggingface dataset:
> One reason is that inheritance is strictly more powerful. When you delegate (compose), you can't modify the inner working of the object you delegated to, you can only wrap it.

It's more powerful, sure, but in the same way that goto is more powerful than if/for/while. In theory some languages give you the tools for a superclass to expose a stable interface to its subclasses (ish - even Java doesn't give you a way to specify "subclasses may read but not write this field", for example), but in practice they're rarely used (Wicket is literally the only library I've seen to offer an effective inheritance interface); the overwhelming majority of the time inheritance ends in fragile base classes and the resulting bugs.

Which is perhaps inevitable; the trouble with giving you the tools to change the superclass's behaviour in unintended ways is that it results in people changing the superclass's behaviour in unintended ways. If you have a locked-down inheritance model where classes and methods are final by default then maybe you avoid the fragility problem - but by the same token if subclasses can only use extension points that were deliberately exposed then you're probably not gaining much flexibility over what you could do with composition.

> The final advantage is that in some languages the implementation is highly optimized. On HN you'd be forgiven for thinking nobody writes virtual method calls since 20 years ago but in reality virtual method dispatch is so common in real programs that it's heavily optimized by both CPUs (sophisticated indirect branch caching) and language runtimes (PICs in fast VMs like Hotspot or V8). Composition is less well optimized.

Shrug, as the language design consensus shifts, the implementation optimizations will follow. Composition should ultimately be easier to get better performance out of, because it's more constrained (in particular, knowing that a given class or method is final means that you can optimise that class or method much more aggressively).

> So people just aren't exposed to the situations where OOP is useful because browsers weren't designed for UI, and the memory of why it was originally developed atrophies.

AIUI the association between OOP and GUI is more of a historical coincidence than a deliberate design. Though I agree that they do seem to fit together well.
I think PHP, as horrible as it feels to go back, is one example of something that’s truly backwards compatible even to its own detriment.

Haven’t worked with it for years, went back to find that the horrible image manipulation functions are still the same mess that I left behind 8 years ago.
For Python programs, a mere

FUSE_LIBRARY_PATH=/usr/local/lib/libfuse-t.dylib

is sufficient. For other binaries, overwriting the libfuse*.dylib with the libfuse-t.dylib should work in the same way.
GPT helped me build a Python tool to work with the OpenAI Assistants API
Hey folks, just dropping in to share a python tool I put together for working with the OpenAI API. It’s a command line tool that helps with managing assistants, threads, and files.

This was an early attempt at learning python for me, and it was really fun working with GPT to help outline what I wanted the tool to do. It was a pretty big learning curve — I have loads of experience in other programming languages, but less in Python, so it was so cool to just dive right in.

Here’s what it can do:

- List Assistants: See all your assistants ids quickly.

- Handle Files: List, upload, and delete files easily.

- Smart Thread Tracking: I've added a key feature to the tool – it now automatically keeps track of any thread IDs created. This is especially handy since, as some of you might know, OpenAI doesn't offer a native 'List Threads' feature due to privacy concerns. Threads in OpenAI are tied to organizations, and listing all threads could potentially expose private conversations.

One heads-up: You’ll need to set up your Python environment to use it, but the OpenAI docs cover that part.

Thought this might make things a bit easier for anyone juggling with the API. Give it a whirl and let me know how it goes!
While I agree the LSD is somewhat meaningless, I personally find it fun to test my color matching/mixing. Binary search circumvents that (at least for the most significant digit); though I agree it really only applies for the first and maybe second guess.

For instance, my initial guess was off by (+1,-1,-1,+3,-1-2) and my first impulse was to look at the target and see that I had too much red and not enough green.
With Solana pumping, I am once again getting lots of opportunities to use Rust in my freelance work. It's nice to see Rust slowly creep up into anything, especially outside of system / low level development. By this rate we'll use Rust in webdev and app development and I'm getting excited.
Perhaps, but Firefox is an independent and it has trouble. Now. Right?
Thanks for clarifying! I wasn't entirely sure what you were communicating at first.
How many more until net zero?
1. Apple makes it clear that this indicates whether someone has an iPhone. This does not make clear to non-technical users that this indicates that you are sending a different type of less-secure message to these users.

2. Even if Apple made this clear, it still creates a pretty insecure environment in practice. If you don't know ahead of time what phone someone you're talking to has, you must receive a message from someone before you can know whether messages you have sent them are secure, in the same chat application you use to send secure messages
To have fun, perhaps?
and the FIAT Topolino and Opel Rocks-e, which are all built on the same platform, and in the same factory, I think.
You seem to be assuming that on a large code base that you have top 1% programmers. I suppose that is the case for some places that are paying $500k average pay, but most businesses don't pay that and have average developers and a few top 5% if big enough. That's why tools that check for issues like linters and sanitizers help, especially if you make them part of "the process" for checkin
Twenty nine years ago, Metrowerks Code Warrior was released https://en.wikipedia.org/wiki/Metrowerks

I had the shirt ( https://www.rustyzipper.com/shop.cfm?viewpartnum=282427-M558... ) and wore it for many years... wish I knew where it was (if its still in one of my boxes somewhere).

The IDE was no where near as clunky as a text only DOS screen. https://www.macintoshrepository.org/577-codewarrior-pro-6
5 years to get a wrap_comments feature stable? I sometime wonder if people read the things they write?
Would you do the same with, say, the UI? Or an API?
Dacia Spring is still a Chinese car that's got nothing to do with the Romanian brand, it's just a rebadge to a brand the EU consumers are familiar with.
You are missing the point. If you do this commercially and have that need, you usually have a separate geocoding. This data can not be combined with OSM unless it is already freely available. The point is that the data in OSM is freely useable in what ever way you want to as long as you publish the data used to create your maps.

There are no available map data that allow this except Openstreetmap.
Similar question as my sibling comments. I have rented a server with a static IP address for over ten years now. Nobody else has used this IP during this time. Yet, every few months I have to beg Microsoft to unblock the IP. In the beginning I could do this on my own, but something changed a few years ago and now I have to beg my ISP (netcup) instead to contact Microsoft on behalf of me to temporarily whitelist the domain. Then wait another 2-3 months and do the same dance again.

Why? Why can Microsoft not learn that an IP has been healthy and spam-free for 10+ years and only bother me when there is actual spam is being sent?
Yeah they respect robots.txt: https://commoncrawl.org/faq
That's downhill range.
> Do CliffNotes, Wikipedia, etc. substantially impact the market for the original work?

Yes.

For example, Wikipedia cites many research journals that otherwise are available only by subscription.

Prior to Wikipedia, gated information centers were the norm.
Just Google it. There are tons of results.

https://www.wapcar.my/news/in-china-640-evs-caught-fire-in-t...

With the degree of censorship they have, I wouldn’t be surprised if more were covered up.
Rust is a great language but the developers suffer really badly from Reddit Intellectual syndrome. If they put some people with social skills at the forefront of relations with users it would definitely get more adoption.
Of course we can find exceptions for this rule.
What we need to understand is that:
a) those exceptions are more rare today than in the past
b) everything points to those exceptions becoming even rarer.
c) the billionaires are richer today, compared to the rest of society, than what they were in a not so distant past.
You're right, I should have said "agency-shop" rather than "closed-shop". The main point I was driving was that you don't get to join a union, then go work someplace and expect that union to be involved on your behalf.

You go to work some place, and the one union that represents your class of workers at that shop runs the negotiations.

Regardless of whether or not you "join" the union, you're paying them. The only difference is

a: In theory, you're not paying for their political activities (ymmv)
b: You have zero say (which is about the same as being in a large union)
30 years ago
late 1980s / early 1990s

Yeah, no
Following links from the article, we may find that mitochondria are usually integral to several other processes besides oxygen metabolism. So, it's not surprising to find that protists in anaerobic environments don't need their mitochondria to process (usually) absent oxygen.

But it was surprising to find these protists producing iron-sulfur complexes without the aid of mitochondria. And, able to break down glycine and serine to form folic and then formic acid, and methionine, which normally happens within mitochondria.

Nothing in biology is as simple as "X does Y, and nothing else", and rarely "X, and nothing else, does Y". There seems to be no benefit to simplicity in biology, which makes the near-universality of the genetic code the more astonishing. ("Near", because minor variations occur even there.)
Sounds like you, sir or madam, need to get plugged into your local, not-online, crypto exchange community. Some googling should sort you out on that, at least. Inconvenient, cash-based, but FAR less intrusive to your lower GI tract than your local bank, apparently.
They're probably faked certs.
Not terrible, not great. If you can get linksoap.com go for it, but I wouldn't do it if you're going to have a just okay name and a non-canonical .com domain like getlinksoap.com or linksoap.io.
800V is a cost saving measure too.

800V lets them have all the HV conductors within the car half the thickness.

Back in 2015, it didn't make sense because EV's didn't charge that fast, and battery balancing tech was still expensive (and cost scales proportional to the voltage).

However, now battery balancing tech is mere cents per volt, and customers demanding fast charging means super thick (and expensive!) wires in the car and battery pack.

1000 volt MOSFETS have also become a lot cheaper (used in the motor inverters), whereas before car manufacturers were reusing 600 volt mosfets designed for other things.

The only downside of higher voltages are increased insulation requirements. However, PVC insulation allows 10kV per mm, so the insulation thickness required is still tiny (although clearly you cannot use outdoor air as an insulator in either case).
> you can continue to write about how much free software sucks.

I think that's unfair. He wasn't writing about how much free software sucks, he was writing about how some of the rust tooling sucks.

Even in the larger context, everything he wrote applies just as readily to proprietary software. These sorts of issues are everywhere.
Changing the dither pattern every frame subjectively increases noise so I have change dither pattern every frame off for videos.

I also turn off colored noise as well, because even though having colored noise on lowers luma noise, it does increase chroma noise.

I don't want to see noisy colors moving around on videos, esp. anime.

My monitor does do FRC, so all this software stuff is added noise which is why I like to turn it off.
A theoretical alternative to ullage motors is to impart a spin on the vehicle. Then the fuel would pool at either end, or along the tank walls, depending on the type of spin.

There's some diagrams and discussion here: https://exrocketman.blogspot.com/2021/08/propellant-ullage-p...
Tbf, if Python devs would just use stdlib, as you can for many, many tasks, this isn’t nearly as much of a problem.

I’ve seen people install numpy so they could compute Euclidean distance. math.dist() is _right there_, people.

Same with requests, if you're doing trivial things. urllib.request() exists.
I work on IBM mainframe (z/OS). Nothing else I know comes as close in maintaining backwards compatibility as IBM. Microsoft (Windows) is the 2nd, I think. Linux (kernel) ABI has the 3rd place, but that's only a small portion of Linux ecosystem.

Almost everything else, it's just churn. In OSS this is common, I guess nobody wants to spend time on backward compatibility as a hobby. From an economic perspective, it looks like a prisoner's dilemma - everybody externalizes the cost of maintaining compatibility onto others, collectively creating more useless work for everybody.
* Stability: I've had zero issues in the last decade

* Latency: Hetzner's ping latency is more than double for me

* Switching costs: migrating hosting providers can be time consuming

That said, I agree that DigitalOcean isn't good value for money anymore.
Thanks for trying this out! It's the same with Rust: https://godbolt.org/z/89z9rEz9a
> Did you miss that all sibling comments to mine seemed to - shockingly - be able to react the same way I did - albeit less exasperated?

Did you miss all the upvotes that my comment and responses to sibling comments that show that your reaction is completely out of place?

> to make my general non-comment specific point

OK, so you have no justification for your reaction to Visarga's comment, just as I and the voters suspected.
How about

def __repr__(self):
import warnings
warnings.warn("Use exit() or Ctrl-Z plus Return to exit")
return super().repr()
Why doesn't whitelisting an address ensure one receives messages from it, the address has never sent spam, sends at most a couple of emails a day. But I couldn't receive emails from it, there was no notification or information despite the address being on my whitelist?

What's the rationale there?
You need to look at the potential consequences of an accident to determine how rigorous the safety standards should be. A metric such as deaths/TWh cannot answer that question and therefore should not be used to guide the answer.
An algorithm that uses location and other hints to detect language will probably come pretty close to working everywhere.

I'm not really arguing with you, just questioned the 'fill the map' characterization and pointed out the more fundamental motivation.
What are the philosophical implications of these life models? Is it implied that life as we know it may also have a simple set of rules like this that generated it? Or is it just a game? (as in Conway's GoL).

Found some info here, seems like these are open questions [1].

--

1: https://en.wikipedia.org/wiki/Artificial_life#Philosophy
> For example, explain within your framework why in response to the Russian invasion of Ukraine, Sweden abandoned neutrality that they had maintained since the Napoleonic era.

Because they're worried about being invaded by Russia, think NATO is substantially more powerful and likely to aid them? That seems like a pretty obvious one to me.

> Ironically, this is the simplification that you speak of...

Yeah. My argument is that only simple messages propagate. I don't know why people feel compelled to point out I'm pushing a simple message. Complex messages don't work.

The issue I'm pointing out is that the current in-vogue simple message is catastrophic in consequence. US foreign policy has managed to go from unassailable global hegemon to conceivably taken out in a 3 front war + debt crisis by 2035. Not likely, but uncomfortably possible and there was no need to be staring at a debt crisis or to provoke a 3-front war - in 2016 it looked like the US and Russia could even have become friends aligned lightly against the threat of the Chinese military going rogue. There are 350 million people in the US, surely they can find another Bismarck instead of the clowns that were responsible for the clown show that was 2000-2020.
We definitely plan to enable effortless transformation of any block into an object, for example, by adding a tag to it or simply by mentioning it in another object 'transclusion'.

We also have plans to develop a simpler local API and a local AI helper that will be able to assist you with import/export tasks in ways you might think of
That's a terrible argumentative commenting style. How about just typing out what you mean and your reasoning behind it?
Shuffling the whole playlist to choose a new song every time is no different than choosing uniformly from all songs every time. What would be the point? I can't tell what you are getting at.
While I agree with that and still enjoy some of Egan's writing, his text would definitively be better and more interesting if the characters were not so artificial, without losing anything about the science.

It is amusing to think that a lot of people who are defending Egan on this point would probably be uncompromising on their very low opinion on a book containing badly put together science. They will probably not say "it's not for me, but why not, the author was interested in the characters, the science is just an excuse", but rather "no, they use science, so they need to do the science correctly". But they will ignore this argument ("they use characters, so they need to do characters correctly") is the case of Egan.
How does this differ from https://www.conventionalcommits.org/en/v1.0.0/ (which already has a robust software ecosystem), or the multitude of various "git standards/best practices" already in existence?

What about this "revolutionizes" software development or "enable" faster iteration, reliability beyond clear commits in any other form?
That seems like an unreasonably high level of confidence to have when paired with no supporting material.

A Model 3 has a battery no larger than 83kWh. A BMW i4 has a battery no larger than 84kWh. This car has a 101kWh battery. Considering the cars appear roughly approximately equally aerodynamic, it seems reasonable to expect the car with the 20% larger battery to be able to go about 20% further.
Silly question, maybe, but what is filling the "empty" volume of that cylinder as the oxygen bubbles float around? Clearly it can't be oxygen or nitrogen gas, so is it just vacuum? In a total vacuum, wouldn't the liquid oxygen atomize? (And wouldn't pulling a vacuum in the tank on the way up make it a lot harder to pump the liquid out of it in the atmosphere?)
Fantastic article, thanks for sharing.
WHAT? That seems like a gross misuse of funds because they're definitely not spending hundreds of millions fixing bugs. They must be spending it on useless changes like the 300th UI refresh no one asked for. Firefox still sucks in every way imaginable and it's not measurably getting better. That number is shockingly unbelievable. Their crapware is not worth that budget.

For comparison, look at what the OpenBSD team has accomplished (and continues to accomplish) with a small core team and they surely do not have hundreds of millions.
Minivans are still more likely to rollover than passenger cars, but suvs and pickups at the time of this article rollover in one in four accidents - which is shockingly high.

https://www.autosafety.org/formula-predicts-rollover-risk/
Dumb question: does this do text-to-video?
Agreed! We will stop bailing you out. Please remember this next time you ask.
I didn't mean to suggest that Gopher and Gemini enthusiasts are one and the same. Rather, I meant to suggest that it was a subset of Gopher enthusiasts that decided to address some of the shortcomings of Gopher. At least that is the impression that I received while watching from the sidelines. It never really struck me as being a derivative of the web.

And thank you for gopher.floodgap.com. While I had some exposure to Gopher in the mid-1990's, most of my exposure was through Floodgap (and SDF) in the early 2000's.
It's not stupid, but the test would be complex.

E.g., one would have to model and output the relevant solar spectrum to heat the vehicle and see how it responds to the IR heat load in maintaining human and battery operating temperature. Same with cold cycles, and the details get complicated when you try to average out the experienced conditions.

One of Tesla's mileage advantages comes from using the most advanced multilayer mirrors in their glass to minimize the effect of radiant heating/heat loss.

Fun aside: An interesting side effect of the technology is the appearance of red droplets when rain or dew is on the glass with the proper sunlight conditions:

https://www.reddit.com/r/oddlysatisfying/comments/9ustsa/ref...
Whatever password manager you use I would consider browser integration critical. This is because it will check the domain for you and prevent phishing attacks that may work if you need to copy+paste your password. The fact that the password doesn't auto-fill is a huge red flag that interrupts your regular workflow and requires an unusual manual action to be phished.

But whether that is an in-browser password manager or a third-party manager with browser-integration (usually via an extension) probably doesn't matter much.
Pjmlp is right. You need to read on how X was designed for remote work.
There are still cars being sold for 15k-20k.
An artist fights Midjourney
I use Anytype and like it. I do hope they’ll invest more time into the editing experience — there are a few sharp edges that will probably alienate people coming from more mainstream tools like Google Docs and Notion:

- Typography is a bit weird, especially with headings; there is very little line height on headings, leading to cramped documents.

- Bullet points look weird when you look closely at them. (On Mac, they’re not perfectly circular; perhaps an aliasing issue.)

- Can only use cmd+b and cmd+i for bold and italic when selecting text; can't use them to switch on/off boldness on the cursor.

- Can't specify type when creating a new object with the @ symbol inline (Capacities, a related tool, does).

- Bullet points flicker when you first create them.

- Linking inserts a space even when you don't want it, as does formatting using markdown characters (e.g., providing the closing ** in italics.)

- Relatedly: Entering closing markdown characters (e.g., the second **) does not end the formatting effect (the cursor should not have the formatting applied after they're entered, but it does).

Anytype is overall a fairly polished app. I hope they’ll iron out these editing issues — when they do, it’ll really be exceptional.
Yes, Germany's government is no different than China's in regards to data abuse.
The reason the cops ask this question is to solicit a confession. Most people think that by admitting to a little infraction, the officer will see them as being reasonable and go easy on them. The conversations go something like this:

Officer: "Do you know why I pulled you over?"

Driver: "Sorry officer, I guess I was just going 5 miles over the speed limit"

And there you just confessed to breaking the law and have no further defense for the speeding ticket. The correct answer is to just politely turn the question back to the officer ("Hi, how can I help you officer").