skysight-inc/HackerNews huggingface dataset:
Curl is magic.

Every so often (less so in recent years) I come across a bad homespun implementation of an HTTP client embedded in a larger project. Usually, a few lines of code to open a socket and POST some data to a hard coded URL. I always replace these with curl, usually over the objections of the original programmer.

The problem with HTTP (v1) is that it seems very simple to write a cut down client. But your simple client better handle proxies, various encodings, chunked bodies, redirects, HTTPs (with all the machinery that implies), and a whole host of annoying little features that the client is not in control of.

"But I don't need to implement talking through a proxy, we don't use one"

You don't use one now, but in 6 months you might. Or your client's might install one without your knowledge.

It is actually pretty simple to write an HTTP server (I wouldn't advise it) because the server controls a lot of the conversation. But clients are best left to either the OS or curl.

Self-promotion time: https://sheep.horse/2019/3/using_libcurl_effectively_and_saf...
If there was only one issue to vote on. However party C will have some other negative that I hate that party A is best on and party B is okay.

The only system that doesn't have voting negatives to me is one with a population of less than 10 where I'm sole dictator. Any population more than that and someone will get mad at me and kill me. Republics with some form of voting are the best option I know of for large populations of people who aren't "mind numbed robots" with no ideas of their own, and there is room to tweak the voting system. However they are still terrible for getting good results.
Rather than 'up and down', I think the visual is supposed to be 'up and back' (like forward and backward).

English is fun
So Southern wasn't turning up and Thameslink was poor?

When was it?
Wait prepone is not an English word, what!?

I use it all the time.
This wouldn't be Craneware would it?
Reasons to Conduct ERP System Testing
Full agreement.

I was an election integrity activist, advocating voter privacy and process transparency. Many bad actors, much bad faith.

I learned to use messaging like "quality assurance" and "preventing errors" in public. Any mention of fraud stops all conversation, triggering pearl clutching and feinting spells (think flopping in professional soccer). The accusations then totally dominate public discourse, obliterating reform efforts.

There's probably some cliche or rule stating reform and justice are mutually exclusive. Certainly abandoning notions of justice lessens the blowback, allowing the more clever perpetrators simply take their profits and wander off to their next grift.
Yeah, very easy to write an HTTP client on top of Berkley sockets. Until chunked responses come into play, and HTTPS, and HTTP/2, and HTTP/3...

(this is actually something I'm very worried about, it used to be easy to cobble together a very basic HTTP client, not anymore with the new HTTP protocol versions, and all the bells and whistles).
> Now imagine if I, a complete amateur, would give it a go...

Now that one is actually tricky. I'd probably enjoy a mediocre amateur production more than a mediocre Hollywood production. It's a bit like the uncanny valley idea - it's easier to look at something meh than at something you know is a bit off from being good.
In this day and age? Not likely. Daddy's turned into a eunuch. Mum's in charge now. There, there... Come to Big Mum.
I think there are two classes of cURL users - those who use it as a "let me download this file to the current folder" users who always forget the -O; and that use case is quite simple and seems it could be easily replaced.

And then there are those who use all the API features and realize it's a complex program.

But the missing link is that even the first use case has many complex edge-cases that aren't obvious at first.
As a Commonwealth inhabitant, having to deal with a multitude of formalized language variants, each with a small number of differences in orthography and vocabulary, strikes me as a useless waste of energy. Difference and local particularity for its own sake may please the odd local jingoist, but it is simpler to simply take the mother version to be definitive.
Iceberg B-15 was widely reported as being one Jamaica in size, which works out at a bit over two Majorcas, or four Rohode Islands.
They probably have a very generous, very old contract by virtue of being the first third-party to use ARM in a device. But we won't know the specifics unless there's a court case that touches that relationship.

With the way Apple operates, we have ten years before we can reasonably assume that they would change their architecture. Is RISC-V really going to be worth all the headaches of a transition in ten years?
It's that way, and you're 100% right, until you hit the corner case performance bug that you can't track down and you spend hours trying to track down why some performance counter is incrementing monotonically on one platform but not on the other. Or why some highly threaded code has great throughput on your development workstation but falls down in production and it probably has something to do with differences in lock behaviour, etc.
That’s true for all semiconductors — they’re inherently making use of Fermi exclusion and discrete energy levels to have a band gap (and, for that matter, the bands on either side of said gap), and by that the means to be able to switch between conductive and nonconductive states.
Doesn't Postman have a feature to allow exporting the request as curl and others though?
Code: Our Biggest Sunk Cost
I have not heard about move up a date before but I understand it to move the date to another future date. I guess the point it doesn't matter if it is a word or not as long as it is easily understandable, typically within a region, a culture or an industry.
Security Now with Steve Gibson and Leo Laporte. Pretty wide range of content delivered weekly.
I have to give Ford credit. I thought it was a mistake to make EV for its well-loved and respected product line (Mustang & F150) instead of striking out on a new product line. So far, the Mach-E has rave reviews, it seems F150 will as well. It actually looks like Ford has a strategy for once.
Pone may not be a word but pre and post should ideally be quite obvious and self sufficient qualifiers if standardized.

And then I remembered the word preposterous, enough said.
Dog Poop AI
What do you mean? I normally build products.
Javascript? I could write that in 9 days, Jim.
Superb story :)
Yeah, I don't want to say what state I'm in, but recent attempts to reform have been stymied by the fucking democrats. Politicians are utterly gutless to do anything remotely progressive (and the thing that was shut down was NOT very progressive)
Forgive the analogy but that sounds like a parasitic relationship, and one that might kill off, or at least impoverish, its host. Even if Google isn't doing that, the potential exists. The counter is paywall, I suppose.
how does it compare with something like qutebrowser? or using chromium with a extension like vimium?
I read the log.

That Shane person, literally told Ariadne she would have power to ban whoever she wants, screw with people she doesn't like, punish her enemies...

She replied she have no enemies, he tried to point out that is still a good power to have and whatnot.

She then explained to him that banning someone from Freenode can damage that person career if they are involved in FOSS community, considering how many important projects communicate only there and all.

Later in the conversaion I saw something I interpreted as a kind-of threat too, when in a passing remark Shane mentioned her sexual fetishes.

Then he implied that certain Linux distros have advantages in Freenode, and Alpine could have it too...

I think you get the point, it is not just a job offer, the way he was writing looked like more someone trying to imitate characters in the Godfather movie.
Mind the gap!

https://www.gnu.org/software/emacs/manual/html_node/elisp/Bu...

https://en.wikipedia.org/wiki/Gap_buffer
That's never going to happen. TikTok is already losing engagement in the US. The TikTok problem is that there are only so many cloned dances to do and very short form video is overwhelmingly low value garbage.

Ever look at the TikTok channels for prominent celebrities? The content is horrible. It's embarrassing to look at their channels. It's inherent to the format. The sole thing propping up TikTok in the US - which is already beginning to fade - is the popularity of young people cloning mediocre dance routines. There is only so far for that one trick pony to go, it becomes increasingly boring with time.

Facebook persists as the telephone that every house has, along with its protective moat in Instagram. TikTok has no persistence reason to exist long-term. It's far easier to build the next fad social network than it is to replace something perma entrenched like Facebook. The over 30 crowd is the majority of social media users in the US, they aren't going to abandon Facebook, it's set (exactly the same way Google is in search); young people however will abandon TikTok for the next cool trinket social media app as they get increasingly bored with TikTok and desperate for something new and cool to play with.
I’m not saying it is or it isn’t. The thesis of the article is that it is, and the reasoning they provide is consistent with the definition of a ponzi scheme. So it’s consistent and your reasoning is no better than theirs until we have more evidence (ie it fails or it becomes the cornerstone of a long lived vibrant ecosystem)
Ten years ago I've read Margaret Cheny's (a mathematician) biography of Tesla. Unfortunately, I don't recall anything much besides a vague, pleasant memory of being impressed by Tesla's inventive mind and Cheny's research for the book.

I wonder if anyone here has read Cheny's bio and any other biographies of Tesla to compare and contrast. I see a couple of them out there (1) Wizard by Marc Sefir; (2) Empires of Light by Jill Jonnes.
>Instagram's video support is what killed the Vine userbase as the big creators moved off of Vine.

I don't really think that's the case. I'd still argue lack of investment from Twitter is what killed Vine.

>TikTok didn't fill a void, it's a fantastic video app that did a lot of things right.

Agree it's fair to say TikTok carved their own path to where they are today, but a lot of the same Vine-energy lives on in TikTok.
All the cool kids have a closet full of Raspberry Pis running their next billion dollar idea.
It doesn't even bundle a proper wget, just a massively stripped down HTTP client it aliases to wget. Sure, providing minimal tools is the point of busybox, but having to sniff what actually runs when you do `wget` is massively annoying. (e.g. until recently, busybox wget didn't believe in HTTPS by default)
I don't think felons should be able to be denied housing and 70-90% of jobs out there either.
I've been using qutebrowser for few years now - how does Nyxt compare to it?

I love seeing more keyboard driven software!
TikTok most definitely filled the void left by Vine. Vine was short video, usually chopped up, lots of one person skits. That type of content was not popping up on Instagram or Snapchat. Snapchat video would disappear, Instagram video felt more like a typical Instagram post but with video, or just throw away stories.

TikTok came in with short videos, collaboration tools, audio sharing, and has a realness that Instagram does not.

Also funny enough many Viners lived together in the same building so they could collaborate. We saw the same thing happen with TikTok.
Can I gripe about the spelling "nonnative" rather than "non-native"? It the former spelling it looks like it's said all at once, like the word "normative". Probably it's in common use and there are other similar cases we've assimilated, but I don't have to like it.
True. I'm kind of surprised (again) by Daniel after 20 years of maintaining curl being so salty about "people not appreciating the achievement". Yes, for overwhelming majority of users curl in 2021 is just a simple http/https request client. And, yes, in 2021 that could be written over a weekend with a better CLI, mainly because most of the languages already have all important stuff implemented in a [standard] library (ironically, sometimes via libcurl).
More usually (in the UK) it's forward and back, which make more sense as direct opposites. It's a little confusing though because pushing something back means move it later and bring it forward means move it earlier, whereas when talking directly about time the meanings are usually reversed (e.g. "back in time" means earlier).
It seems like most quantum hardware companies are releasing data about their processors now.

IBM (can click through to see calibration of each processor): https://quantum-computing.ibm.com/services?skip=0&systems=al...

IonQ (overall benchmark): https://www.nature.com/articles/s41467-019-13534-2

Rigetti: https://qcs.rigetti.com/qpus/

Honeywell: https://www.honeywell.com/us/en/company/quantum/quantum-comp...
If you look through the documents from that period it looks like they are a mix of words split over lines, non-english words, and ORC errors.
G'Ngrams is very unreliable when it comes to the oldest materials. One clue to that is how the occurrence goes from max to min and back again in less than a decade.
Under the Hood of an Exadata Transaction – How We Use Persistent Memory [video]
That's too simplistic.
Chinese province sets up hotline to report suspected crypto miners
I find that strange how people can be so critical about a simple utility that doesn't pose a revolutionary or boasting project ..

Apologies for all the ego driven comments, people we should relax and keep doing fun and useful stuff.
but curl is so ==much== more than just http.
> `1 + 1` is not an addition of two scalars, but instead of two arrays of length 1

I think that's true of (Dyalog) APL, but not of J [1]. APL follows the nested array model (that you describe), while J follows the flat array model that does have true scalars.

[1] https://aplwiki.com/wiki/Array_model#Flat_array_theory
This comment was fairly asinine, I think they self-censored after realizing it was such.
I still think it's a strange phrase. To me a black swan is a normal swan.
Before this rule all tracks AND rolling stock would be owned by single, national entities in every country. If you were a Austrian train operator wanting to run trains to Germany you'd have to ask Deutsche Bahn for space on the rail, and they would (obviously) give priority to their own rolling stock.

This would happen to the point where it was almost impossible to organise cross border rail connections.

By seperating the track from the train you can make the train companies compete with each other on a (more) equal footing.

Ironically, most of the 'private' train companies now running on UK tracks are actually Dutch, German and French state owned railway companies competing with each other.
2021: 375th birthday of Leibniz, founder of computer science
>If we tried to reimplement this stuff from scratch, we would likely start with a simple implementation, then tack on bits when we tried to handle issues like right-to-left layouts, Unicode, emoji, anti-aliasing, text overlapping and so on.

This is why I always try to look back as far as I can in a source's history to see how it started. It at least gives me a sense of the amount of work it takes to get from simple to mature.
More and more APIs use HTTP as the transport for various reasons, but one of them is that HTTP has considered large number of edge cases and has been tested "in the fire" - rolling your own custom API with security and encryption is much more fraught with dangers.
I have never heard it or even seen it in my life.
> What Daniel Stenberg achieved is giving the world a fantastic, reliable, cross protocol, cross platform and cross language network library that can be used as the foundation for many projects.

One of which, curl(1), is a constant ass-and-life saver for me personally and professionally. Of course the library itself ends up being used by me as well (in C, ++ and tcl). curl to me is in the league of sqlite aka "absolutely gorgeous and more often than not all you need"
FYI: I study WW2, and basically everything you've read about the Allies almost equally applied to the Axis:

- Germany read Allied encryption, which greatly enabled the Atlantic U-boat attacks, and Rommel in Africa.

- Germany was far ahead initially in radio navigation (they had the Rolls Royce engine factory dialed in until Britain started jamming), but Britain was ahead later in airplane-portable radar

- All the film footage you've seen of CHAIN-HOME and plotting rooms had analogs in Germany

The real difference was that the US and Britain greatly cooperated, and Germany and Japan had limited cooperation (Japan received sample tanks and a Bf 109 for evaluation.)

Ultimately the Allies won by stopping oil, incinerating the cities and killing the pilots of both Germany and Japan.
PostgreSQL 14 Beta 1 Released
Moving up a date is like moving up toward the front in a line (or queue) vs moving back.
Security Testing Services UK
RISC-V's play won't be in the desktop or server market but in the absolutely huge embedded devices market. A place where the licensing cost on an ARM core can actually contribute significantly to the BOM. Or where having the ability to roll ones own ISA extensions can have a significant win. Or where the politics of licensing a core from a corporation HQ'd in a geopolitical rival means something.
Pancake Bunny crypto flash loan attack
Weird. First idea that came to my mind was to use a linked list of lines.
Why are most open source browsers based chromium as opposed to gecko? I would think much of the OSS community would be opposed to using google owned software.
It's a joke / PoC project. Nobody should expect it to be maintained in any way. None of those PRs are important in that way.
We had a term in the Airborne community called "Little Groups of Paratroopers"; frequently you'd be split up from your direct team but would find small groups of others scattered across the drop zone. We'd work off of "Commanders Intent" which was the goal or mission that needed to be done.

There would be a plan to accomplish that goal, but it was pragmatic in that if we knew what good looked like, constant management wasn't needed for motivated troops.

You see a similar thing in Pragmatic Marketing's "Enlightened Teams" and other frameworks.

I dont have empirical data to back it up, but I believe that you get the results because of all the small things that teams take to get to good because of that higher level objective. I think Ben Horowitz's talk about these small here is golden:
https://a16z.com/2011/11/13/lead-bullets/
Yeah its "see URL" not "see http"
Reading HN threads about AMP has taught me that it's very easy for people with gigabit internet connections, fast computers and adblockers to ignore the fact that AMP made the web actually usable for large numbers of people who previously had to wait 5 minutes for a page to load.
Agreed. They're harder to debug, MITM, trace, etc.

As a silver lining: I have been less worried recently seeing that most of the adoption of http/2-3 (at least their odd features) have been at the edge. Most developers are still writing http/1 endpoints and leaving the edge to optionally up-convert them for transport efficiency.
If you had a standardized core, you should be able to get those figures as well I presume. Again not sure how much sense they make, but yeah.
But until Europeans had come to Australia, no Europeans had ever seen a black swan
all monarchs are illegitimate pretenders if you think about it.
So if you run malicious code on your PC it can cause problems? Huh...
>the Mach-E has rave reviews,

Lots of things get rave reviews but don't sell very well (or vise versa).

>It actually looks like Ford has a strategy for once.

Last time they had a strategy it was their "global Ford" shtick from the 90s an '00s. That didn't turn out well. They spent the 90s killing or not developing product lines that turned out to be what '00s consumers wanted and spent the '00s playing catch up.
Taking your point to its limit, all contemporary languages are a useless waste of energy. Let's adopt a terse and efficient esperanto so that the billions can easily conduct business.
Ah that makes sense, yeah I can see say Country A not being keen on giving Country B's trains a fair shake if their own rail company wants time on the tracks.
The 2021 M1 iPad Pros
It's a behavioral shibboleth. They don't hike for pleasure or genuine reasons. They hike so that they can post a picture on Instagram. It's just a thing you do as part of the bland, petty, superficial, materialistic upper middle class bubble.
This was part of the reason why a lot of previously nationalised stuff was privatised in the first place. MP's would get people complaining to them about the quality of their phone lines from BT for example.

It all moves in cycles, I could well imagine the same situation happening again in 20 years.
Hey, so IMO private prisons are a distraction and tiny part of the problem. The prison industrial complex is more substantial (but still just a piece). It's not just the prisons, but the contractors and LEO/justice personnel involved in putting bodies into the system and making sure as many lives are ruined as possible.
Pone not being an English word on its own is not really relevant.

A lot of, if not most, Greek/Latin neologisms and combined words use a root that is never used as is.

Both “neologism” and “combine” above are examples of this…
It is very fast to deploy a microservice and to have a good boilerplate to start. My only concern would be migrations and what would happen in case you have several model changes. Waiting for the next release with typescript support!
In most sci-fi, you ask the ship computer a question and it can answer using the sum total of all human information.

But judging by the comments her, when Captain Picard asks the ship how long to Starbase 17 at Warp 9, rather than answer you want it to tell the Captain to visit WarpTravelCalculator.com

If you publish information in this world, there’s nothing preventing people from learning it and rewriting it in a new way. Humans do it all the time and they don’t pay the people they learned it from a portion of proceeds.

Future AI will do this too. I want machine learning to read every book and paper ever written and be able to answer queries and summarize things for me.

We may need to find a better model for encouraging content contribution to society besides copyright and demanding royalties on every use.
Is there any indication of how deep this iceberg is? Is it a sheet of ice, or a small landmass? It's so cool!
Humbl: Illusions of Grandeur, Collapsing Deals, and Lurking Dilution
Not sure what OP meant, but from what I understand (which is very little) the Geneva Conventions forbid "perfidy", which includes "feigning civilian, non-combatant status". See https://en.wikipedia.org/wiki/Perfidy.

I don't know enough about the laws of war to understand how that relates non-combat roles (is it OK to dress as a civilian for surveillance? presumably?), which I think is most of what this article was about, however.
Disruption is a descriptor, not a moral imperative.
This has nothing to do with black swans, the birds... this has to do with unexpected results that are easy to explain in hindsight after the truth is known.

https://en.wikipedia.org/wiki/Black_swan_theory

"Taleb's "black swan theory" refers only to unexpected events of large magnitude and consequence and their dominant role in history. Such events, considered extreme outliers, collectively play vastly larger roles than regular occurrences.[2]:xxi"

This discovery (unexpected behavior of matter) seems like it'll have a surprising and large magnitude.