skysight-inc/HackerNews huggingface dataset:
Agreed. I'm a (very) long time Fortran user, and a more recent C, Python, and Julia user. I'd agree that scanf is a pain. The chomping/parsing bit can be, in all cases, hidden behind a convenience function, which if you like, you can name "read".

FWIW, I've been using Fortran since the mid 1980s, C from the mid 90s, Python from the mid 00s, and Julia since 2012 or so. All of these languages are fine for the example provided, and all are understandable. Each of these languages require some minimal boilerplate around the core algorithm to make it work. Specifics of input and output mechanisms would be language/dialect specific.

Really, each of them is fine for this trivial example. Its when you start getting into serious translation of the underlying math into something the language will understand, that the real difference stand out.

That's when both Fortran and Julia stand out. Both are designed to make this process as painless as possible. Fortran was designed and built almost 70 years ago. IO was very painful then, and while the language itself is very simple and easy to understand, the IO system is still quite similar to the early days.

The "(,)" notation combines units (file descriptors), and formatting. It is not different in intent than the scanf and other functions.

Why Fortran and Julia are so easy to use comes from the expressiveness of the language, the simple mechanism of writing code that looks close to the formulae in question. There is no fiddling with array indexing that doesn't start where the formula indicates. No allocating arrays of arrays to build matrices.

That is, it is simple to go from conception to working code very quickly. In a manner that really does look like the way you would do it on paper.

That's why Fortran is still in use, and growing. And why Julia is catching on quickly.
In theory, sure. But this requires that you be a coder, effectively, and not just a coder but a coder with time on his/her hands.

If I'm a professional photographer I'm paid essentially by throughput. The more pictures I take, edit, and post, the more money I make. I literally can't afford to dive into the source for GIMP to try to customize my workflow, even if I had the coding skills to do so.

And that's my point really. Yes, IF I'M A CODER, Linux is superb. But if I'm not, those benefits don't really benefit me.

To be clear, I personally am a coder. Even then, though, how many of us really have the time to debug Linux device drivers? I don't.
love this! would be super cool if replicated the click & release we used to do as tank gets closer to fill up (or on touch devices sense pressure player applying)
This is interesting, because the Chile/Argentina border is defined as the biggest peaks on the Andes that divide watersheds as per the 1881 treaty [1].

There is still an undefined portion of the border [2], between Mt Fitz Roy and Mt Murallon, because the land between is covered by the Southern Ice Field.

For one, Mapbox shows some kind of (unofficial) border. And lastly, this webapp might have solved a 200+ year issue between neighboring countries :)

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

[2] https://en.m.wikipedia.org/wiki/Argentina–Chile_relations#Bo...
Content is from 2015.

Penn Station has been redone since then.
The net of it is "woke" has a definition that is basically insincerity and/or hypocrisy about support for liberal causes, that definition is explained very plainly in both wikipedia and urban dictionary if people actually care to find out, and it was clearly the one that was used by the original poster who used the word.

And probably everybody in this thread knew all that full well from the start.
Diesel is MUCH less flammable than gasoline. This actually supports the safety argument.
I think the best thing that can come out of this whole crypto/web3 space is a new sort of stock market. I've a startup that I want to open up for micro investors and the best way I can think of doing so is through NFTs/crypto that represent shares in the company.

The barrier to entry to the traditional stock markets (turn over requirements etc) is far too high. Does anyone know of something like this?
>and move toward the decentralized end state that apologists are hoping for.

Is there any evidence that this is actually happening? It seems rather backwards! Is the maximalist argument here that these companies are going to build out all this infrastructure, move the global financial system onto it, and then rip it apart and rewrite it to be entirely distributed afterwards? Why? If the point is to be distributed, wouldn't they want it to be distributed first?

Where are the blockchains with full-fat clients that can actually run on normal mobile devices? And if they actually exist, does anybody use them? Like, for normal, actual uses, not "shilling this app makes my portfolio go up 300% before I dump it on some clueless bagholder, to the moon rocket emoji rocket emoji".
“Hospital systems in nearly half of U.S. states including Maryland, Virginia and Ohio have announced they would postpone elective surgeries, a Reuters review of public statements and local media reports found,”

I don’t care what the numbers are, but Reuters/AP should (be able to) report on:

1. The actual total number of hospitals in an overload situation (and what fraction of beds these represent), by State, for every State. The Texas COVID website had that (2020/2021, has that 2022?) broken down to the county level. But they are Texas, so you expect competence and thoroughness. This reads like “I have three friends at a hospital in each of these three States I called who will vouch for me, and I’ll just wing the rest of the country.”

2. What fraction of elective surgery delays are preparatory in expectation of Omicron stress, and what fraction are actually experiencing delaying due to a current surge, by State for every State.

The article isn’t a total nothing-burger, but it’s only a couple of pickles and a slice of cheese. The information presented is not actionable and not demonstratively representative, although perhaps, but just perhaps, actually representative. You’d expect better from Reuters. Ten staffers could do the full job and provide an actionable take, and this story does warrant that. WFH means work from home.
Pedantry, but vendors at Microsoft have an @microsoft.com email, the username is just prefixed with v-.
Loved the perspective. It does feel like those technologies which get "wrapped" open sourced or otherwise by first movers feel this way.

A few points which hope to not conflict with pinned rules:

- Ethereum has outlived it's usefulness. Cost me several thousand dollars closing token positions last month. Swore off anything on this chain. People literally cannot move their $100 worth of alts because of the fees.
(my kids, test coins, etc).

- Your statement about centralization is what made me move most of my interest to mobile crypto. One coin does mining on phones and sends their to/from via mobile. See this as the way for true-er decentralization. Still have app issues associated
from Apple & Google. Further think new $600 reporting reg for Cashapp/PayPal will increase mobile p2p interest - for some reason

- I'm not a dev, but OP's points made me wonder about The Graph (GRT) and perhaps ATOM as ways to ensure data has an outlet in the case where something like Openseas gains too much power?
Most useful comment I’ve read in months, for me. Cheers!
I'm not sure I would call this "solved", since it's effectively just a replacement for the DNS servers in effect.

What I want is no additional dependencies, esspecially on dynamic and slow to propagate services. Not to mention that my current dynamic DNS (through tplink) seems to be filtered by a lot of firewalls or something.

ISPs providing a static IPv6 would be a simple solution that I should be able to create my own DNS records for convienence. No external VPN or otherwise.
Yes, but the problem is many of them don't even include the hash, and you also need a way to verify the creator and his/her public key.
That's a strange story about your former coworker. Was he responsible for registering the /23 block himself or something? I worked at several companies with /16's, back in the 90's. It was pretty common back then.

I know several folks with their own /24's. We were all on the early Internet ("early" meaning before 1995 or so.)
That is a good point that I had anticipated, but severely under appreciated.

I had presumed a somewhat more normal distribution of snowmobiles.

https://www.statista.com/statistics/420693/us-snowmobile-reg...

I'm adjusting my mental model to the reality that Virginia likely has less than 1000 registered snowmobiles.
“The man buried at Tetney lived in a very different world to ours,...but like ours, it was a changing environment, rising sea levels and coastal flooding ultimately covered his grave and burial mound in a deep layer of silt that aided its preservation.”
>Crypto has been solving technical problem after technical problem for over a decade but has yet to offer anything useful to a non-enthusiast.

This is too dismissive of Crypto. I’m not a crypto bro but Bitcoin did actually solve a real problem: a completely digital decentralized immutable record. I hesitate to call it a currency, but it created something that was digitally scarce . The economic value it created can be seen in the Silk Road or in ransomware.

At one point the internet was also a problem looking for a solution too so I don’t think it’s a fair criticism of the technology.
This is a remarkable video (there's a helicopter and a snowmobile) but is that really in Florida?
Ask HN: Other Series Similar to Head-First and The-Manga-Guides?
I am big fan of books of these series. They really teach even complex things in a fun way.

Are there any more such series out there which I should definitely look into from learning various topics from beginners point of view in a fun way?
I mean people stopping at a red arrow for a left turn, looking around, getting impatient, and then taking the left anyway.
Very cool, Graham, checking it out now!
90-day trial period is standard for many low-wage jobs where workers are largely replaceable. I don't know how the highly-paid workers in the tech industry would respond to it, but it's not something unreasonable.
FIA issues notice to crypto exchange Binance in multi-million dollar scam
As if Linux problems were/are not tough to solve for average user. The difference is that most Linux users don't have the luxury of calling tech support to fix their issues, so they waste hours fixing something that shouldn't have existed in the first place. What would it be like to help someone update their Linux nvidia drivers over the phone...
Probably the best web3 article I’ve read. Brava
> Sometimes just ownership of something is valuable in itself. That's the whole idea of collectibles, it's not always tied to its original utility. Think having an original SNES versus an emulator on a computer or an original Picasso vs a digital jpeg copy.

But with a Picasso the scarcity is inherent in its physicality: there is only one in existence. With digital data, it is infinitely reproducible and fungible. If I replaced a JPG with a bit-for-bit copy, no one would notice nor care. Not so with a Picasso. So, NFTs are supposed to come in a make a record of your purchase of this JPG, but unlike the Picasso, this JPG does not physically exist. It must be stored somewhere and, unlike the Picasso, this has an ongoing cost. You don’t need to pay to store the Picasso (although most collectors certainly don’t just keep it in their house, they could). But you do need to pay someone - whether a company or a decentralized network - to keep storing your JPG and once you stop, it’s gone forever. It seems like it would be more future proof if Jagex just mailed you a physical print of the JPG and a certificate of authenticity.
You could make Range<T> copy if T is copy, which would tell the compiler “feel free to automatically copy this, move it into registers, or put it on the stack”, which basically makes it usable as a “value type” with no ownership semantics.
At first I thought it was a weirdly inept clothing ad, until I realized it was actually the person being discussed in the article. Looking at that picture, I have to actively tell myself to not judge someone by just one photo.
>Another moment I would critique is the clever NFT, that displays different things. Yes, ERC-721 allows any URL as metadata file, so you can put traditional DNS-resolved URL there. But I would struggle to find any "respected" NFT collection that actually does that. Almost every high quality NFT project (Art Blocks, BAYC, so on) has IPFS as metadata URL, and goes as far as to freeze metadata, so it couldn't ever be changed.

The problem with digital art is that it is infinitely copyable (at no cost) and untraceable (with little effort, and a huge/impossible effort to trace backwards). There's nothing stopping an artist from selling a work of art as edition 1 of 1, and then a month later "minting" another copy or 10. Secondly, there's no way to prove the image uploaded is from the original owner. What happens if someone steals someone else's work, mints an NFT and sells it, and the buyer finds out the next day?

Thus, I cant be convinced a "respected" NFT collection / distributor can exist.
I guess at least if you keep a copy of your NFT you can start serving it over IPFS yourself if whoever is hosting it can't be bothered anymore, or pay a service to on your behalf. It's sort of the ideal use-case for content-based addressing, I would think, since you're trying to prove some sort of connection with/ownership of/patronage over a piece of content. And it should be more long term resilient than a centralized solution as long as the NFT owners themselves don't lose their own files. At least the incentives are aligned (if you own the NFT you will want to keep at least one copy, if only so you can show it to potential buyers!)

It seems a substantially less silly idea than pointing a token at a url that you don't control. I guess I'm surprised that NFTs aren't all hosted on IPFS or something like it, if only as a backup. Like, have these people not heard of linkrot?

But I guess as long as the buyers don't realize yet that their immutable ledger entry can become a dangling pointer in a puff of smoke, it doesn't matter.
I understand that Mongoid introduced a breaking chnages and should have obviously should have made this breaking change as a part of a major release number. However, should'nt the author have tested this in development first and then found out about this as part of his development testing. Any patches that you apply in production should be fully tested before in development, UAT and other instances.
Can you? If so, what’s the point of this article? Something doesn’t add up.
I mean, that's literally Linux's whole spiel: "works great on older hardware", isn't it?

I wasn't in the market for a new computer, just wanted to use an old one I had lying around (from the Windows 8 era BTW).
How C++ Is Used for Better Performance Web Development
This is my nightmare scenario, and frankly it's why I never update gems regularly unless there's a really compelling reason (a feature I need, or a bugfix, or a security vulnerability) where I can really spend the time to isolate and test the change. Otherwise, it's really just not worth it.
If you had no profit motivation then there is no incentive to do the best and most efficient job. This is why government organizations are always extremely bloated, inefficient, and employees don't care about the service level. It's because a monopoly means you don't have to care about any of that anymore.
Ask HN: What Shapes Us Now?
Winston Churchill once said: "We shape our buildings; thereafter they shape us."

Is not the same true of our devices?

How might historians describe the impression devices made on societies, a hundred years from now?
> What if programs could have any number of input and output file descriptors and the numbers/names along with their contents and data types were documented in the manual?

What you’re describing is similar to one of the more common ways that programs are run on mainframes by using Job Control Language (JCL).
Check out Pocket Network, it's a web3 network protocol that incentivizes node operators to run ethereum nodes (and other blockchains). Effectively decentralizes Infura / Alchemy https://www.pokt.network/
It would have stopped the request being made to the attackers server in the first place.

Smokescreen sits between your app server and the destination URL that was requested, as a proxy server, that has ACLs/rules about what URLs and domains it allows to talk to on behalf of the app server.

You define allowed or blocked domains/routes in Smokescreen, and it’s the one that decides to access the remote URL or not.

So in the above example, the app server would still have been tricked to request the attackers URL with its auth token included, but smokescreen would have realised that server/domain isn’t in its allow list, and blocked the app server attempt to access the attackers sever with the auth token by refusing to even attempt to connect to the attackers server in the first place (and returns a HTTP error back to the app server).
It’s Time to Get Rid of Calorie Counts on Menus
i mean the whole lpad debacle was pretty egregious and that's directly in the javascript land
Google Search Bug?
Go to google.com and search for "office.com login" (without quotes). The second hit, "Sign In – Outlook", points to https://outlook.office.com/owa/?realm=masterworksdesign.com, which then goes to https://sso.godaddy.com/.

This is how it looks: https://i.imgur.com/W6K1FV2.jpeg
This reminds me of my 20yo self watching Fight Club for the first time. If you dont get the movie, you wont get this post, so dont bother arguing in the comments. Even still, the post kinda goes to far on some points, and uses a bit hard language for non native speakers (myself included).
There’s an interesting theory that antimatter from the early universe is effectively condensed into ‘quark nuggets’, extremely dense colorsuperconducting blobs at the center of massive bodies like planets, stars, and asteroids. They can effectively be turned into antimatter at an efficiency of 10%.

If these exist, they could be used for rapid interstellar travel without things like buzzard ramjets.
Though Krita[1] insists on advertising itself as a "painting program", it handles everything you listed: CMYK support,[2] color separation,[3] and non-destructive editing.[4] Krita supports both raster and vector layers as well. It's well-suited for graphic design, and its interface is more familiar to Adobe product users.

[1] https://krita.org

[2] https://docs.krita.org/en/general_concepts/colors/color_mode...

[3] https://docs.krita.org/en/reference_manual/separate_image.ht...

[4] https://docs.krita.org/en/user_manual/layers_and_masks.html#...
PayPal is considering launching its own cryptocoin, report says
Would you?

Actually, yes.

Getting fired means that (at least in principle) I've done something "wrong" but under real-world conditions, and with no artificial clock. So if things get bumpy (as they inevitably do in real environments, at one point or another) I have ample time to actually talk to someone and try to right things before they slouch further. And in any case, if it happens I'll almost certainly know why. (Unlike LC where it's always "OMG I only have 5 minutes left. Should I check the logic in this corner case or clean up my code bit? How do I know what my reviewer would rather see? Since they're hiding from me there's no way to know.")

But "failing" LC just means... I've failed some make-believe test under completely unrealistic time pressure, perhaps under criteria that will never be revealed to me. Which was assigned to me because someone had a vague idea that this is as good of a proxy as they'll ever be able to come up with for real-world programming ability.

Oh and unlike LC -- at least I get paid for my time. And will most likely be learning things infinitely more interesting and useful than what preparing for LC teaches me.

For that and a bunch of other reasons I greatly prefer trial periods.
For me the challenge is not to lose weight, but to gain weight and develop muscles. I'm an otherwise healthy young male but even with proper diet my weight gain rate is way too slow. I'm guessing I've a high metabolic rate. Is there any actually good guide for gaining weight quickly in a healthy way?
I wonder if this is probability based... people who do a lot of creepy things are more likely to be noticed for at least one creepy thing. If you observe enough behavior in a short period of time to think they are creepy, they are probably doing creepy things all the time.
Fortran, my first real language. I haven’t looked at any since 1993. I wrote whole interactive term screen engineering tools with it. I had a whole system/scheme for how I did line numbering (3xxx for formats, 2xxx for gotos, etc). Some of what I cobbled together is still being used for nuclear fuel assembly design work flow.

I have no idea which year’s flavor of Fortran is shown… are implicit variable types based on what letter the variable starts with still a thing? I notice the “real :: …” in the listing…

I thought it was kind of quaint feature as I started learning “real languages” after that. All these years later, I kinda thinks it’s clever/original now.
Kitt itself looks like a Nissan with a rounded butt :-)
$3K seems kind of small for this.
Airlines refuse to fly influencers home after breaking Covid rules to fly Cancun
Although this comes up a half dozen times every time hybrid CPUs and AVX-512 is mentioned, it is not so simple when considering existing x86 software.

Most [1] well-behaved software doesn't simply execute AVX-512 instructions (or any other recent ISA) to see what happens (this would just crash on any non-AVX-512 host), rather they query the ISA capabilities (via CPUID) and if AVX-512 support is reported, they'll use it.

So in your proposal, you need to decide what CPUID is going to report: does it report AVX-512 support, or not? Does it report differently depending on what CPU the CPUID instruction happens to run on? The latter option is a non-starter, because (a) it doesn't make sense and (b) the implied ABI is that CPUID ISA support won't change over the lifetime of a process.

So you are left with reporting AVX-512 on all cores, or none. If you report it on all cores, most processes will execute AVX-512, by the route of a few libc functions which are optimized to use the widest ISA available: so almost everything will end up pinned on the P cores, even if they get little benefit from it. OTOH if you report no AVX-512 support, well-behaved processes won't execute AVX-512 and trigger your dynamic migration in the first place.

Now you can imagine a greenfield where processes are aware of the hybrid nature of CPUs and then things might play out differently: but then you don't need the dynamic migration mechanism at all: since they are aware of what's going on, just have the processes hint to the OS where they should run.

---

[1] One exception is software compiled for a specific target ISA, e.g., -march=avx-512f or whatever. In this case the hybrid system kind of works: you compile your stuff that way if you want it to run on the big cores only, or with a lower-tier ISA if you want it to run everywhere. So it's like an opt-in to big cores w/o having to mess with affinity or other OS hinting.
I understand that there is a psychological burden to the trial period. Perhaps there are ways to overcome that.

On the other hand, what if you did hire slow, fire fast and didn't make the trial period explicit? I've seen lots of people fired from in their first few months in previous jobs.
You could use `vim -u NONE` to prevent loading vimrc/plugins. See https://vimhelp.org/starting.txt.html#%2D%2Dnoplugin for a neat table of such options.