skysight-inc/HackerNews huggingface dataset:
The entire point of returning a status code, at least in theory, would be to not simply be practically-semantically indistinguishable from a 200.

In practice, if you try to return a 402 with an HTML page explaining how to pay, you'll quickly revert that because you'll break some percentage of HTTP clients (not browsers, but other ones) that will try to do "something" with 402, even if it's just assuming "well, it's a 4xx so it's basically a 404", and you'll return a 200 for that page. On the one hand, it isn't necessarily that many clients that will blow up, but on the other hand, you'll observe that no clients will be confused by the 200, so the engineering pressures are pretty consistent here, which is why everybody ends up in the same place.

In theory, if you read the standard, you ought to be able to return a 402, and use content-negotiation to decide whether to return it in a human-readable format, or some rich selection of machine-readable formats, and you ought to be able to annotate it with several dimensions of somewhat overlapping information about exactly how to cache it and exactly what conditions should cause the cache to be expired, including some specification of the HTTP-standard authorization techniques available, etc. etc.... in practice, pretty much every individual element in that collection only sorta works, and trying to do all of them at once essentially impossible at scale, and you'll return a 200 page with HTML and expect the client to pick up the pieces, and if you do offer a JSON view, while you may honor the negotiation stuff you'll probably also allow a querystring or form parameter to ask for JSON too because you can't count on the people writing clients to even know what headers are.... and libraries often make them somewhat less convenient to work with than form parameters, since everybody needs those. And you probably won't "content negotiate" at all, but just have entirely separate URLs for your human stuff and your official "REST API", because most people who try to get clever and make your human website URLs also be the "REST API" pretty quickly discover it's not worth the effort.
Oh wow, I was under the assumption that Google Apps(Now called G-Suite but I always remember it as the original) kinda gave you a guarantee if sending to other Gmail people and probably other big providers like Microsoft, Yahoo, etc would trust Google more too.

I'm far from shipping from what I'm working on though, but before going live want to get email setup for the main company website and product website for me and future staff, then want to be able to send email's for notifications, password resets, etc and then also have scripts receive and parse emails for replies to put into a database for the support portal part of the product domain but getting ahead of myself. Not sure if the product site would have users to people or just be all scripted sending/receiving while the main site is mostly emails hosted for humans.

I think one strategy would just run a mail server and have a script download the emails to the database and delete them, since doubt many solutions support a more of a webhoook type setup.
I agree you probably won't find a lot of systems that will automatically "fix" a 406 or 422, or that have an ordered list of more than one media type they are willing to accept in followup requests. OTOH I do think it's useful to be able to convey and log this type of error in a standard way. 406 can be more or less interesting than 400 retrospectively.

Also, isn't HTTP 503 just about the same as 500 as far as your garden variety client is concerned--even if it's technically plausible some client, somewhere, might want to more aggressively seek out a stale cached result for a 503?
It'd look like Delphi i'd guess, at least the earlier versions. Delphi 2 is stupidly fast, almost instant compilation on a contemporary PC that runs at around 200MHz with 16MB of RAM and practically instant (in that it is impossible to notice it) in any modern PC (a synthetic benchmark i wrote some weeks ago had it compile a bit above 10MLOC in 5.56 seconds on my 3700X CPU, which is an average priced consumer CPU - on a single thread).

While it doesn't have the niceties added in later versions and in Free Pascal (like dynamic arrays, generics, anonymous functions and a few other things) it still has more than enough features to create big complex applications (e.g. object oriented language, rich RTTI that allows automatic serialization, properties, native string support, optional reference counting, real module support).

In terms of generated code... well, it isn't exactly great (it came last on this benchmark i wrote some time ago http://runtimeterror.com/tools/raybench/ that compares some C and Pascal compilers - i mainly wrote it for retrocoding, but threw in some modern compilers as well - EDIT: i misremembered, it didn't came last, Borland C++ 5.0 came last, in fact it came slightly above Free Pascal 3.0.4 with its default settings, though by enabling 64bit and modern instructions FPC was able to generate much faster code).

But then again, it is written in itself and as i wrote, it is stupidly fast. So it does the work perfectly fine for most tasks - as long as you don't need brute force number crunching.

Of course i'm not advocating the use of Delphi 2 (and i do not know how it compares with modern Delphi - last time i tried out the free version they have the entire IDE felt very weird and sluggish). However the fact that it exists is a proof that you can have a very fast compiler and IDE for a rich language that produces very good code - maybe not the best possible code, but good enough for a large majority of tasks.
The thing that makes english good for computers is the small alphabet size (smallest of any language I know), and the fact that a phrase is just a sequence of characters. These characteristics make it easy to get started with as well. What is the situation with this language?
> complex production processes require scale and knowledge that can only be managed by sufficiently large institutions

I think this makes an assumption that industry equilibrium relies on complex production processes. There is a lot of interest in simple production processes and I think that one trend that will continue in the next few years is the (both open and closed source) productization of production processes for consumption by progressively-less-technical individuals over time. This drastically reduces the amount infrastructure (and corresponding capital) required to bring innovative new products to market, unseating incumbents and breeding healthy competition.
It's in the works :)

https://www.reddit.com/r/rust/comments/enxgwh/cranelift_back...

https://github.com/bytecodealliance/cranelift
So, is it not esoteric? Asking because this comment was downvoted.
Of course, this is entirely a joke.
I like this idea. Where's the Chaucerian English programming language?
We created Viyo.io for this very purpose. With all of the ridiculousness around security system privacy right now, we wanted to build a web-based, privacy-first solution because it's something that we wanted but couldn't find. Basically you can use almost any web-accessible device as a security camera, or to observe your cameras. We've had a super awesome response so far, and we've been able to add a ton of backwards compatibility. Some of our users are using 7+ year old Android devices.
Yeah ... current practice treats the need for payment as a permissions issue and thus 403.

But in Shopify’s case, the client has no permissions problem.

What you’re describing really is a 500-range issue ... or even an old fashioned 404.

Like I said on another comment, this really is a header or body issue.
Every other comment saying this has been killed, but...how to trust this charge anymore, I have no idea.
> "Docker is the de facto developer standard for building and sharing apps that enable simplicity, agility and choice [...]".

You're right. It's only slightly better than zombo.com (https://html5zombo.com/)
Does he recommend lying so much?

I'm not sure how to categorize Trump's lying. He just says whatever he wants, completely made up.
> in the repo that only operates on 3 files in that subdir

It does today. Will it change tomorrow? Will someone rename one of the files to include a space? It sounds like people saying "I don't need to escape this value in a query, it comes from a static list and it's safe." Yes - it's safe right now...
This.

A Python script is not the answer when I'm trying to do something quick and dirty at the shell.

The beauty of shell scripting is that it evolves seamlessly from trying to solve simple problems at my command prompt. I pipe a couple of things together, and then I realize I could use a loop and a few conditionals, and suddenly it makes sense to store this in file in case I want to do this again. Boom, program done.

It now works on every computer I own.

I love Python. I use it almost every day. But I'll be damned if I'm going to go rewrite every shell snippet I hack together into Python just because it exists.

Different problems, different solutions.
Calling on quiet (but attentive) members of my team to speak up in meetings where we need to make a decision.

There will be a pause in the conversation and (as if its my meeting) I'll say something like generic "Jim what do you think?" No matter what he says I acknowledge it and thank him.

A few things happen.
1. It removes the internal conflict Jim was having if he should speak up or not.
2. It gives him 'the floor' so he knows for a minute he will be heard. Others are probably wondering why I called on him and want to hear what he has to say.
3. His answer might not be directly related, however it often sets off a chain of conversation that often does lead to creative answers.

People actually do like to contribute. The way I look at it is we're not leaving this room until I feel like we have at least heard every idea good or bad. Those set of ideas are our collective intelligence at that moment and I fully intend on leveraging it.
Someone put a naughty word on the Internet.
?

If cond return err means everything after is an implicit else block
I would LOVE to hear a little more about this & anything you've learned about making these meetings effective. Would love to know how long do they last, how many ppl are in the meeting usually (wondering what the "right size" is), or if you got that idea from somewhere?
Aren't you just not imagining a terrific enough enemy?
Mind and cosmos is one long argument about why we need some sort of teleological principle to explain our reality. He definitely comes across as an ID proponent in that book. Maybe I missed something...

For reference, here is an article Nagel wrote explaining the core of his book.
https://opinionator.blogs.nytimes.com/2013/08/18/the-core-of...

"This means that the scientific outlook, if it aspires to a more complete understanding of nature, must expand to include theories capable of explaining the appearance in the universe of mental phenomena and the subjective points of view in which they occur – theories of a different type from any we have seen so far."

That is totally ID in a nutshell. One may then go on to make theological inferences, or not, as Nagel does.

In which case, perhaps he thinks the current paradigm of science as methodological naturalism is lacking. This is the same perspective that ID promotes. If correct, then Nagel and ID are on the side of science.

At any rate, I propose the relationship between ID and religion is not quite as you believe it to be. Happy to discuss the topic further if you are interested.
Yes; the idea behind 406 and the whole content negotiation thing seemed to be that clients and servers would somehow notice they didn't negotiate a common representation and then do "something" sensible in response to that, not that it would be essentially treated no differently from any other 4xx error.

Quite a lot of the web would just ignore the mismatch and serve the resource up anyhow with whatever Content-Type the server wanted, and, honestly, that seems to work OK.

It's not that it may not be an error in some sense, it's that the standard has this rich set of specific errors that seems as if it's coming from some parallel universe where the web evolved much differently. And it's not that there is no overlap with our real universe, it's just that if you read the standard and kind of do a postmodernism-style analysis of what the authors must have thought was important, what you get doesn't much resemble the real-world web of today. Or in the case of HTTP 1.1, even the real world web of the time.
Plot twist: MLK's words are no longer considered #woke enough.

“I have a dream that my four little children will one day live in a nation where they will not be judged by the color of their skin but by the content of their character.”
These guys might have wasm related work.
https://www.linkedin.com/company/wasmerio
Even Bitbucket would follow DCMA requests. Beside that, Github is the best place for the visibility of your project .
Not to mention we've built great walls separating rich and poor in the form of highways, so the classes never share common ground, literally.
That's an awful lot of vitriol from someone who can't spell "their" ;)
Perhaps countries that have already blocked the Internet Archive? But Tor users can already access it through Tor without a hidden service.

If the IA itself was DoSed then wouldn't your relay stop working?
What am I missing? What's the wokeness test this fails?
I lost Firefox sessions so many times last year! As I have a few thousand tabs over several windows, some being placeholders for things I regard as important, that sort of thing is really bothersome.

Every so often, after a system restart due to running out of battery on my laptop, I'd start Firefox and get the dreaded "only one window, home tab".

I was able to recover by going through backups, but it was a fiddly and manual process, and for a while last summer it happened annoyingly often. There were a couple of times I couldn't recover what I'd been working on the previous day.
Torque/efficiency is still a big issue. A coworker and I put together all the math and specs for a robot which could "cook breakfast", just to see what a PoC would take. For anything approaching human arm levels of strength, in that form factor, you are looking at SWG servos. These are nominally 70-80% efficient, but that drops after a few thousand cycles, if you operate in higher loading regimes [1]. so cooling/maintenance is super important. Planetary gears are also not great efficiency-wise and are heavier.

Force feedback is also super important and challenging.

We just need like, synthetic actin :) Disney is actually working on that [2]. yeah it looks super inefficient but so were vacuum tubes before transistors.

1] https://eeepitnl.tksc.jaxa.jp/mews/EN/19th/text/206.pdf&ved=...

2] https://studios.disneyresearch.com/wp-content/uploads/2019/0...
I wish I could do more than leave a comment that sounds like a complaint, but in case it’s helpful: I get a black screen on iOS.

I might dig into the reason why it’s failing when I get home. Whatever its doing should at least render on mobile without extra dev effort. Curious...
You do know browsers render 404 error pages, right?
To answer your question: plenty. I've had the pleasure of working with a lot of people without college educations who are great.
Jay-Z Takes on the Super Bowl
Yeah, I wonder why it appeared on Hacker News today.
You could be saying one of two things here:

1. "The average dev these days is so terribly uninformed, they're willing to buy an entire book to explain what, to me, is a simple concept. I feel like devs these days aren't as good."

Or:

2. "Our tools these days are so complex that the average dev needs an entire book just to understand a single command. I feel like our tools are too complicated."

You might want to work on being clearer about what you mean in the future, or else risk coming off as rude. I thought you meant #1 when I first read your statement, but, after rereading your statement, I'll give you the benefit of the doubt and assume you meant #2.

To respond to point #2: imagine explaining a complex bash command to someone. If they mostly used bash to change directories and list files, you might need to explain pipes, buffers, and the unix philosophy before they'd really understand it. As someone in this thread mentioned, they mostly use git for push/pull/merge and that's not uncommon. Most devs need more background about how git works behind the scenes in order to really get the benefits of something like git rebase. I happen to be one of those devs and I'm glad a book like this exists.
Ginni Rometty leaves complex legacy as she steps away as IBM CEO Ron Miller
Great tools. I am just a normal web developer, yet still receive unwanted calls from the insurance sale every month
Compared to a proper language, shellscripts work for 80% of inputs with 20% of the code.
Logic is not universally useful in formal proofs because logic as you conceive it is incomplete. This is a provable result in the basic logic one would learn in an introductory formal methods course.

Real formalization either does not admit very obvious axioms, like excluded middle, or cannot prove theorems we would consider obvious, like function equivalence.

In formal methods in computer science and math we as of yet do not even have a complete logic that can encapsulate all the things we want to prove (homotopy type theory is an attempt but there is no accepted computational interpretation). Stop pretending 'logic' is a thing that is self evidentiary.
Why not, but is it portable to other programming language like Go?
There's not much play in demand at the moment, but there could be if more systems were aware of the price of electricity. A/C can be turned off, cars can stop charging, dishes can wait, etc.

Variation in renewable energy generation can be reduced by averaging over larger geographic areas. Wind speeds and cloud cover vary much more on local scales than on continent-wide scales.

A combination of demand adjustment and linking of power generation over large geographic areas can reduce the need for energy storage.
Yup exactly you've understand it all.
About the "-in" thing, I think that's just a midwestern accent.
Yes you do, except that it's much faster for the backend to answer as it just hits a cache instead of doing a db query and serializing the whole model.
Unpopular opinion: Programmer time is more valuable than machine time. Maintenance is 90% of the life of a system. Therefore, just know the concepts for each .md file, be able to describe their general properties, and be able to work with existing implementations in the real world. Formal complexity is rarely useful, because on cheap hardware very inefficient code scales very well. Certainly, don't re-implement basics like sort, graph traversal or queuing algorithms unless there is a pressing need.

For example, it is infinitely more useful (faster implementations, more proven code, less maintenance overhead, free upgrades) to be familiar with iconv and the data available in the Unicode database than to memorize random facts about encodings.
Packix.com uses this for paid iOS jailbreak tweaks/themes! This is what I get if I try to install a tweak that I haven't paid for: https://i.imgur.com/RpomgNa.jpg
1) I did

2) this type of comment is discouraged
My impression that the iMac was so important for USB comes from my memory that most of the early peripherals als came in non-beige versions to be marketed for the iMac.

That’s my memory, and I was not a heavy user of windows and not at all at that point a user of the Mac OS, so it’s hardly a scientific survey.
Some clips are not accurate. First one I clicked on, Mavericks vs Rockets, Russel Westbrook scores layup with 121-126. It was presumably right after he did it and there was just Mavericks imbounding the ball and dribbling it.
This is pretty cool. It shows you how spelunky procedurally generates levels and ensures they can be completed by the player.

Unfortunately, it only works in Chrome.
Did you invest in time to check if you are free to publish clips, especially with "clips.live" as a watermark. I once did the same in another sport, cricket, back in 2013, ended up killing it because of a cricket board and its broadcasting violations note over an email.
I completely understand your position, and sympathize with it, but it seems a bit shortsighted given that you have to live with these people, and things won't improve for your "brothers and sisters who didn't escape" if things don't get better for them. They'll happily drag you and yours down with them. This is all to say that we're all in this together, and while your indifference towards their plight may be justified, it is not productive.
The funny thing is people say “flyover state” and think California is some liberal paradise where they’re safe from crazies and rednecks.

It’s not a flyover issue. It’s in your backyard. I’ve seen confederate flags outside of South Lake Tahoe which makes no sense.

People will get fed up and they’re closer than you think.
The unit weight of water being 62.4 pcf is probably not known by most people - most people don’t think in cubic feet. The more likely (and less useful) number most people know is ~8 lbs per gallon.
> My friends (anonymous!) in the UC system report that the criteria are clear and the word is out: Don't try to be clever. Don't quote Martin Luther King, on judgement by content of character rather than color of skin. Don't write vibrant essays on the importance of ideological, political or religious diversity. Don't quote federal anti-discrimination law, the 14th Amendment, and the UC's own statements of non-discrimination in hiring. Don't write about class diversity, diverse experiences of immigrants, such as people born under communism in Eastern Europe or the amazingly diverse experience of the colleague you just hired who came from a small village in China. Don't write about the importance of freedom of speech, or anti-communist loyalty oaths in the 1950s. Are you thinking of writing about your hilbilly elegy background, your time in the military, your support for gun rights and Trump, and how this background and viewpoint would enrich a faculty and staff that likely has absolutely zero people like you? Don't bother. We all know what "diversity" means. And, heaven forbid, don't express distaste for the project. The staff are on to all these tricks, and each of these specifically will earn you a downgrade. For an example of what not to do, see UCLA Professor Stephen Bainbridge's (UCLA law) posted diversity statement. Let's see if he gets that raise.
Startup Idea: Find the Best Insurance, FD or Other Financial Product
> If cond return err means everything after is an implicit else block

Right, but inverting to get to return early format means that the “else block” that needs to do substantive work becomes the if block, and it needs to be doing something substantive not just “return err”.

Which may be a valid criticism in some cases, but doesn't seem to be in this particular code base, where most of the ifs don't have an else and those that do it's log-error-and-return.
I could even understand not trying to handle the brackets scenario. In RLS, a type error on a local variable can hide a borrow-checker problem in a completely different file.
Just to be clear, the article cites mlk's quote not as "not woke enough" but rather as a commonly invoked cover for ignoring inequality.

Often people employ it as a way to dismiss discussion of race and institutional inequality. People are tired of that. MLK's dream remains unfulfilled, so using it as some representation of an imaginary Utopia of modern America is lazy.

I'm hoping you saw that.
Sorry, Github Pages was overloaded :/
There are more negatively-loaded words than positive ones – so what?
What is a stack and how does it work? [video]