Better HN
topnewbestaskshowjobs
Log inSign up

Turing_Machine

10,789 karma · joined May 28, 2010 (16y ago) · 6,160 submissions

Submissions

comment 4y ago · link · parent

> But how would you link a library written in Rust to a Virgil program? Or vice versa?

Sounds like that's Rust's problem, or maybe Virgil's? Why is it C's problem?

If Rust is going to "replace C" for systems work, as the more grandiose claims would have it, it's going to have to replace all of C.

It's not like writing a POSIX-like system is that hard. It's a lot of work, sure, but it's been done multiple times, by unpaid volunteers at that.

This complaint basically boils down to "We can't/won't/haven't reimplemented this low-level stuff in our whizzy new language, and that's somehow C's fault".

comment 4y ago · link · parent

Yeah, I want my phone to be a phone, not a low-end tablet. I've got an iPad for that.

Any phone that's too big to fit in my smallest shirt pocket is too big for me.

Obviously, mileage varies for other people.

comment 4y ago · link · parent

I assume we're talking a deep Bush situation, as all but the tiniest villages have regular Internet service nowadays.

Might be worth looking into Starlink, if you haven't already. I know it does have coverage in at least some regions of the state now.

Source: have lived in Alaska for many years.

comment 4y ago · link · parent

Looks like 3.5" external floppy drives (USB) are still readily available for about $25-30.

5.25 floppy drives are a lot thinner on the ground.

comment 4y ago · link · parent

If you're interested in his thoughts on cities, have a look at his "A City is not a Tree".

https://www.patternlanguage.com/archive/cityisnotatree.html

comment 4y ago · link · parent

The thing that strikes me about those reading nooks is how uncomfortable the seating appears. They seem to be from the "design to impress designers" school rather than the "design for intended use" school. Hard benches? Rigid, hard-armed chair? Whatever that thing in the last picture is supposed to be?

Nope.

comment 4y ago · link · parent

That is due to short half-life fission products, not long half-life components.

comment 4y ago · link · parent

The thing is, the "slightly dangerous thing" (i.e., uranium with all its associated breakdown products) occurs naturally in vast and totally uncontrolled ore bodies, sometimes right in contact with the water table. Yet somehow we're not worried about that (except in a very few cases where the concentration is extremely high). Why not?

It's like the way that no one gives a crap about the natural oil seeps off the coast of Southern California, which dump about 5 million gallons per year right into the ocean, then they have a panic reaction when a boat accident dumps a couple of hundred.

comment 4y ago · link · parent

If I remember right, Apostol uses a non-standard sequence (integration first, then differentiation). That probably only matters if you might be using a different book for another part of the sequence, though.

comment 4y ago · link · parent

I'm saying that, all other factors being equal, that stuff with a long half-life is less dangerous than stuff with a short half-life.

To put it another way, "half-life of infinity" = "not radioactive at all".

Now, there are other factors involved (type of radiation emitted, what fission products appear further down the decay chain, etc.), but none of them are made worse by a long half-life per se.

It's a scare term, pure and simple.

comment 4y ago · link · parent

Yes, especially by comparison with the amount of space the ash from coal plants is taking up.

comment 4y ago · link · parent

One good rule: anything that uses "long half-life" as a scare term is propaganda.

comment 4y ago · link · parent

Propagates the common error that "long half-life" = "more dangerous", when, by definition, "long half-life" = "not very radioactive".

1814.

Headed back to the office? Make sure your building has flushed out its water(popsci.com ↗)

2 points · by Turing_Machine · 4y ago · discuss

comment 4y ago · link · parent

This is about manually-written type annotations. About as far as can be from "the IDE keeping track of it for you".

comment 4y ago · link · parent

> This changes literally nothing about the JS language.

Besides adding a bunch of new syntax, of which JS already has far too much.

comment 4y ago · link · parent

1) "Someone else wrote them" doesn't make them free. Given a limited amount of developer time, that means that the time spent on the annotations wasn't spent on other functionality.

2) If the types can be inferred, that should just happen. No objection there. But this piece is specifically about "adding (manually-authored) type annotations to JavaScript"

comment 4y ago · link · parent

Those type annotations don't just magically appear. You have to write them.

Yeah, they're optional, but if you don't write them, there's no point in using TypeScript in the first place.

comment 4y ago · link · parent

Not if the errors are rare and the "tooling" slows down development.

comment 4y ago · link · parent

> Just because a feature is not widely adopted it doesn't mean that is not useful to the people using it

But it does mean there likely isn't a "huge demand", which was the original claim.

You're attempting to move the goalposts here.

comment 4y ago · link · parent

Compare the lines of code (on Github, say) written in straight Javascript and the lines of code written in Typescript.

I do not think the demand is quite as huge as you think it is.

comment 4y ago · link · parent

I've often speculated that strong typing only seems like a win to the kind of developer who makes a lot of type errors, and a waste of time to those who don't (which doesn't mean they don't make other errors, of course).

comment 4y ago · link · parent

There's a whole lot of distance between "stuttering" and "coming across like a slick politician or car salesman".

comment 4y ago · link · parent

It's not pretty, IMO, and I don't like the new monitor designs either.

On the other hand, if I needed that level of performance, esthetics would no doubt take a back seat.

Edit: I'd be happy to live with the uglier display design, given the extra flexibility in adjusting height and tilt.

comment 4y ago · link · parent

New M1 Ultra chip for desktops. Essentially 2 M1 Max with a new high-speed interconnect.

comment 4y ago · link · parent

New iPad Air: M1 CPU, 5G connectivity.

comment 4y ago · link · parent

If I remember right, the original Robocop was apparently running MS-DOS. :-)

comment 4y ago · link · parent

Agree with the others: SwiftUI is a long, long way from being ready for prime time at this point. In practice you're going to be stuck using a nasty, ugly mixture of SwiftUI and AppKit/UIKit for anything beyond the most basic design, and that way lies madness (at least for me).

But I also agree that SwiftUI is very promising, and I like what I've seen a lot. It's just not there yet.

comment 4y ago · link · parent

Well, the main difference is that Mac users are still largely willing to actually pay for software -- they don't demand that everything be "a buck".

You could write a combination of Photoshop, Microsoft Office, and AutoCAD, and put it on the iOS app store for $2.99 and people would complain about the price.

comment 4y ago · link · parent

> given that the marginal utility of a font is just so low.

Then... don't buy it? I mean, it's not like there aren't hundreds of other fonts to choose from, many of which are free.

1
606162
206