skysight-inc/HackerNews huggingface dataset:
> you can't time the markets

What is generally meant by this is that you cannot know the future so you cannot know when is the most optimal time to buy or sell.

Now, you can react to trend (eg your “trends starting around the end of 2021”) and sell, for instance. But when are you going to buy again (ie can you know when the bottom is?).
At one point I lived in the greater Providence, RI area. I bought an online subscription to a big local paper [0], mainly to help support local journalism.

The subscription did give me full access to their articles. But it did nothing to eliminate the crap I really hate: interleaving of "sponsored content" with actual news, irrepressible autoplay videos, etc.

The unavoidable, usability-destroying advertising is why I cancelled almost immediately.

[0] https://www.providencejournal.com/
CVE-2022-32224: Possible RCE escalation bug in SerializedColumns in ActiveRecord
Ugh. Second derivative again. Haven't seen a headline like that since the 1970s.
I made some and loved it too, a few different various things added but one I think was important was some fruit. An apple or some mango or something adds something quite beautiful.

I really recommend trying some other lacto-ferments. Green beans are great, as are tomatoes (those on toast are fantastic). I make them with my 3yo as it's just "kinda chop & add ~2% salt".
Thanks, thats correct - I was thinking of SymbOS. :) Its a mistake I make almost every single time I refer to the Amstrad CPC6128 version of it.

See also: ContikiOS (for 8-bit machines) .. pretty amazing!
Elixir has ExUnit which is apart of the language
https://elixirschool.com/en/lessons/testing/basics

you can create comments above methods that act as tests
The harder a service is to cancel, the more unlikely I am to ever re-subscribe.

That's something they need to start studying in business/MBA school. That SOME customer churn reduction strategies directly lead to indefinite loss of customers.

To give a specific anecdote: Ooma offers a very interesting service, hassle-free "landline" (VoIP) turn-key phone service, the price is reasonable, and they have multiple offerings to suite many needs. I wanted to use them for a specific project, but cancelling was so toxic (call to cancel, waste my time to cancel, argue to cancel, etc) that after cancelling once instead of re-subing next time like I had PLANNED I went to a competitor. See also: https://www.reddit.com/r/ooma/comments/7he9zh/my_two_attempt...

So they lost a customer for life. Verizon lost a customer for life. SiriusXM lost a customer for life. All because cancellation was a PITA. Why do MBAs keep pushing this? Are they TRYING to exchange short term retention for long term viability? Why is business education so bad?

I feel like Costco, LEGO, or Ikea need to open a business school or something, just to teach a generation of people who want a business to survive a hundred years and go from one success to another. MBA education in the US feels like a "pump and dump" scheme right now.
My gut feeling is that you’re correct and this is money printing coming home to roost. But lots of folks say that isn’t what it is. And I’m not an economist. What sources have you found helpful to explain what’s going on?
Ah yes, that's what I was thinking about. thanks! its so cool xD
Just take all of Debian packages, or something like that.
Or we could label it the "private sector savings iceberg", because that's what the other side of the balance sheet records.

Doesn't sound as scary then, particularly not when you realise that when you spend savings, that causes tax and income, which causes more spending, tax and income and so in until all of the saving disappears in tax.

And of course when the savings disappears in tax, then the debt does as well.

Government debt is a store of taxation that retires the government debt. It's all there in the accounting.

You just have to look at the left side, not the right.

If Cato spent less time worrying about debt that isn't really debt and more time worrying about productivity, it might have an argument.
Wow, 452 upvotes and 89 downvotes on your answer. Very controversial, indeed!

While I agree with you, I sometimes misuse 200 OK even for actual errors. Most times because whatever internal library I've used to do the requests have made it hard to parse the error data if it happens (just throws a general exception instead when it encounters a 4XX or 5XX). Or sometimes because the request failing is somewhat expected, but the client library then insists on doing lots of error handling when it fails (logging, alarms, circuit breakers and whatnot), polluting everything.
I canceled a credit card over a un-cancellable MS Office subscription. MS, all of a sudden, came back to me. After two months or so, they forgot about it and it had no impact on the other subscriptions I had at the time.
I have used my credit card company to do this, but like I say, it wasn't that I was particularly unhappy with their service, just wanted to use a competitor (grass looked greener). Ironically, the auto renew was the first real problem I'd had.
The original Hyperscript still gets talked about, at least in the React and Solid communities and if only in conversations about the relative merits of different rendering methods. I wouldn't feel comfortable naming a project Zepto today. Why muddy the waters unnecessarily?
The law should take care of dark patterns like this.
Why does the text scale with screen size?
That's unfortunate. I've tried to reset the router but it still loads the old settings. Next time I go back to the US I'm going to bring back mesh routers.
By increasing rates on USD you can affect demand globally. We are not in isolation as you seem to be so convinced. Also I have no idea why you'd compare global supply to domestic demand. Again, reserve currency and petrodollar status.
It shouldn't be that surprising, the economy is too complex to be able to accurately predict. It's impossible to succeed at their job.
Back in the day if you wanted to blog you at least had to sign up at wordpress.com. Medium greased the skids for people who really didn't have anything to say, it is right out of

https://en.wikipedia.org/wiki/The_Marching_Morons
PageRank on the Julia package dependency graph
Any sort of integration, but some can be broken down into steps more easily than others. About a decade ago one of my roles at the startup I was at was keeping our browser built atop Chromium up-to-date with Chromium trunk. I normally would merge in all Chromium's changes each morning. Some weeks I just had other stuff to do and so it would be a full week I'd gone without merging.

Merging a full week of Chromium changes in all at once was just too many merge conflicts to deal with.

So I'd simulate as if I'd been merging daily by just doing 5-7 separate merges, which worked out well enough.
A second part of our UX Research in Africa Podcast series is out
Good times for Godot, nice!
exactly this. I'm surprised 2/3 of subscribers don't cancel as well.
I tried it (several hours ago) on iOS and it worked very well. Others are complaining about HN-induced overload, so it might be that.
> You should detect it based on the Content-Type header

In approximately a decade of working on JavaScript and TypeScript UI code, I can count on one hand the number of RPC handlers I've seen that inspect Content-Type in the success codepath.

... for that matter, I can count on one hand the number of RPC handlers I've see nthat inspect Content-Type in the failure codepath also. The common behavior is to dump body to text, log error, and recover.
Subscriptions have trials, or fixed periods. You take the trial, cancel to prevent auto renew and still use the trial / subscription until the period runs out.
Which as many people I’ve talked with about the mobile game industry tell me… is a cold calculated game of roulette, you burn money in adds trying to get enough attention to yourself that some whales spend enough on in game purchases to let the whole thing make some money… it’s a very “luck” driven market and they often are just experimenting with for side projects, which is one of the many less evil ways money flows into the mobile game advertising ecosystem.
Semi-related: If you don't want to go through the process of trying to work with your bank to refuse auto-renewal, there are services like Privacy (privacy.com) that allow you to essentially make "virtual" credit cards.

You allot a specific amount of money to one of their cards, then use that to sign up with.

It also claims to help keep your accounts a bit more safe, since if that data gets leaked, it's not your actual card number, but it's really more of centralizing the risk on Privacy's servers instead at 10 different vendors.
I disagree that returning a 404 for `/api/v1/employees/100` is wrong. If `/api/v1/employees/100` is the resource that is being requested, yet the record doesn't exist, then the resource doesn't exist. Much like `/some_photo.jpg` not existing would return 404 if missing too.

What if we changed `/some_photo.jpg` to `/photo?id=some_photo` and it didn't exist? 404? Okay, now what if we change `/photo?id=some_photo` to `/photo?id=100`? What if then change that to `/photo/100`? At which point does it no longer become okay for the request to be tied to the resource?

`/api/v11/employees/1` may be 404, and `/api/v1/employees/100` maybe 404 too, because neither of them are found. If anything, the problem is that HTTP status codes are limited and haven't really kept up with technology. We have a few additional codes, like with Cloudflare, but for the most part, there is no community project or standard for expanding HTTP Status Codes.

Perhaps there should be.
I've still not heard of any engineers failing to find jobs. There's just less desperation by recruiters.
I use MS authenticator, and had the same thought.

I came to grips with the idea that I really don't care all that much if a single factor has risks as long as the other factors have orthogonal lists.
What are the odds that such an image (Dyson sphere for example) would actually be released? It's not like we have a raw feed from the Webb.
On the other hand, suppressing it doesn't make much sense either, since the age of such an object would only indicate that something was, rather than is.
This argument usually comes down to the "Bitcoin: a peer-to-peer electronic cash" quote from the title.

I'd like to point out that the word "cash" is used differently in the cyberpunk community from before 2008. BCH and BSV both interpret it as "money used for every transaction" and thus advocate bigger blocks, while cypherpunks back in the day used it for "permissionless value tokens" (my phrasing here).
This is like saying that if /web/index.html exists we shouldn't return 404 when /web/junk.html does not exist. That's clearly nonsense and not how http was designed to work.
"This may be apocryphal."

Yes, you story is not true at all. Bill's mom was higher-up executive in IBM and persuaded company to do business with her son's company, not DR. That gave rise to Microsoft.

BTW: for a long time many people were using DR DOS as a much better replacement for MS DOS, which was broken in many places (I did that too). Bill was not very much worried about shipping broken stuff, that's why we have seen "great" stuff like Windows ME or Windows Vista. Sadly, at that point Microsoft was practically a monopoly on the operating system market (Unix/Linux were not a thing, Apple was fighting with its own problems).

The good thing that happen to Microsoft and to its users was Windows NT kernel, that was a sort of a rip-off of rather sane VMS kernel, so Windows NT, Windows 2000 and their successors were more or less acceptable operating systems.
Bringing a database query planner inside a workflow management system
The reactive programming idea is implemented by the Kotlin Compose project as a compiler plugin so it behaves as a language feature. Compose is confusingly named in that there is a more popular Android UI toolkit with the same name built on top of the reactive feature. But Compose the compiler plugin is available by itself without the UI thing.

I've been playing around with it and find it can really simplify a lot of code.
Correct me if I'm wrong but that chart shows gas prices on feb 21 being as high as in 2014, that upward trend just looks like a recovery from the $1 gas we had at the begging of the US "stay at home order"
Maybe I'm not understanding this, but wouldn't network issues take priority naturally? For example, if there's a problem with a database connection, you'd return 500. How would you know if the resource even exists?
Why does ancient Egypt's distinctive art style make everything look flat?
> HTTP is just a protocol defining behavior that belongs in layer 7. It’s not a transport layer in a technical sense, but from the perspective of an API it’s mostly just TCP with extra steps

That's basically arguing against REST and for RPC over HTTP
As an added bonus, Firefox on Android also support ublock origin.
Yes please to contracts.

Dependent types and things like that are probably great. Being able to prove correctness is great. But I would settle for a way to declaratively express invariants and then let the language for the most part take care of inserting checks (in debug or using a special mode perhaps, or all the time) and generating tests/property tests. Why isn’t this more of a thing?
I can't believe that you haven't read the f***ing standard:

"HTTP messages often transfer a complete or partial representation as the message "content": a stream of octets sent after the header section, as delineated by the message framing." - RFC 9110 (https://www.rfc-editor.org/rfc/rfc9110.html#name-content)

Earlier standards even used the "body" and "content" in the same context:

"The presence of a message body in a request is signaled by a Content-Length or Transfer-Encoding header field. Request message framing is independent of method semantics, even if the method does not define any use for a message body. ... When a message does not have a Transfer-Encoding header field, a Content-Length header field can provide the anticipated size, as a decimal number of octets, for a potential payload body. For messages that do include a payload body, the Content-Length field-value provides the framing information necessary for determining where the body (and message) ends." - RFC 7230 (https://www.rfc-editor.org/rfc/rfc7230#section-3.3)

This is probably due to historical reasons - MIME (email standard) uses "content", the original draft uses "body".
I think the author is aware and I noticed the term REST does not appear anywhere in the article.

The main idea of the article is exactly that he does not agree that http error codes be used for application level errors (as REST principles recommend).

I think at this point that ship has sailed. Most HTTP based API will use http error codes in various ways. I would be surprised to not receive a 404 when requesting a resource ID that does not exist for example when consuming a new API.
I always thought this one could be taken apart on simple common sense grounds. The brain is very "costly" for the human species to maintain, in terms of calories required to run it, and risk during childbirth (amongst other factors, no doubt). Given this, why have it, and leave 90% of it unused? Mr Darwin would give a thumbs down to such a strategy.
Out of interest, how is USDT converted into usable currency? Do you have to use USDT to buy some other cryptocoin, then convert back into fiat?
Define pleasant. There a quite a few people happily using umbrel or similar products that allow you on the LN with minimal hassle.
Yes, the economy is interconnected.

I also decided to increase rent on my rentals cause the price of bread doubled and my daily sandwich got more expensive
This.

REST isn't RPC lite. If your mental model is that an HTTP GET is a function call, you think of 4xx's as exceptions, but that is not the correct mental model.
What I'm not quite sure of exactly is: (1) why infrared? Why doesn't the redshift extend further, into microwave or radio? Is that an instrument limitation (we can't build a radio telescope big enough to look at 14 billion years ago so we settle on an infrared telescope that can look 13 bya?

And, (2) is there a limit to this? I understand that the Hubble constant is where the "amount" of redshift comes from (because, the it's the rate of expansion of the universe?) -- but is this linear? If we can see things from 6bya in the visible spectrum, and things from 13bya in the infrared, does that mean that we could see the beginning of the universe itself to 14bya if only we looked just past infrared? Or does it ramp up exponentially and blast through radio because it's a singularity?

And -- if we managed to look "in between" every star/galaxy so that we were truly looking at a 0% deep field with no "objects" in the way, would we be looking at the beginning of the universe itself?

I know that these are all hypotheticals and we can't actually do this, just wanted to clarify that I'm on the right track about the way this works, since I'm the resident JWST geek of the group.
> make fossil fuels prices higher by increasing taxes

Biggest thing? No.

In Germany, where I lived for 7 years, this is only one component of a much broader strategy that includes investing in electrified infrastructure, including subways, trams, busses, long-haul trains, higher fuel efficiency standards, direct subsidies for renewables, direct investment in renewables, including projects to build them, higher efficiency standards for appliances, lightbulbs, timer-based circuits to turn off lights, broad public awareness of the role of conservation, and not tolerating as much climate change denial bullshit coming out of fossil fuel companies and political parties.

It's almost like they decided to mobilize and actually do something, treating this like a problem that can be decomposed and solved by thinking about it and doing stuff instead of tinkering with taxes, which have a tendency to be immediately undone upon the next economic downturn. Hope, they say, is not a strategy.
I've been using Svelte in production for ~3 years now. Hard to go back once you get used to reactive programming.
A Comprehensive Guide to Stablecoins: Finance of the Future
> there doesn't seem to be much love for heavy app development anymore.

I bet that changes eventually when we reinvent personal computing again (currently we are reinventing mainframes).
Twitter unlikely to prevail against Elon Musk
For anyone else mystified...

https://www.gq-magazine.co.uk/article/gq-food-dorsia-restaur...
The 100 most popular passwords should already be blacklisted during registration, so it wouldn't be possible to set them as your password.

I have nothing against password-reset-as-authentication aka "magic links", when done properly. And by properly I mean not using an ultra-low entropy auth code, like the parent is proposing (6 decimal digits, aka 20 bits of entropy).
That's true but only a few of us know and it is better like that.
Apple News+ or whatever it is called does this. It has a good spread of papers across the country (Houston Chronical, LA Times, Kansas City Star, etc), but obviously doesn't include the bigger publications like the NYTimes or Washington Post.
How can everything go down at once, doesn't the money have to go somewhere?

Best hypotheses so far along with how to test them:

1. Perhaps the parts of the CPI that companies in the stock market can produce are being outpaced by the components that are not produced, like real estate, and so can't contribute to an increase in share prices. (How to check: Look up changes in the CPI components, which are detailed in the reports.) (Edit: This does not hold up, almost all the increases are in energy, which is produced and held in reserve by public companies.)

2. Perhaps the consumer goods in the CPI are increasing in price far more rapidly than prices of goods and services overall, leading to an underestimate of the value of the dollar to anyone except a consumer. (How to check: Since capital goods are eventually used to make consumer goods, this should eventually correct itself. Also, is there a broader version of the CPI?) (Edit: This might be it, although energy is 8% of the CPI and GDP, it is only 4% of the S&P 500.)

3. Perhaps money is leaving the USD, US bonds, and US stocks and going somewhere else. (How to check: Make these same charts but with broader indices.)
The D programming language, too.

https://dlang.org/spec/function#contracts
No, we have to do what is best for society not your ego.
For nostalgia purposes, I'd like to see MUSIC & MUSIC/SP source with a fully open license. It was on our mainframe at uni in the 1990s.
So you blame Lightning not for what it is, but what it enables? That doesn't make a lot of sense, especially given the creators built it to address the issues you raise here.

With Lightning, micropayments for the Web can be a thing. Just because nobody has implemented it yet, doesn't mean it doesn't have a killer use case worth the cost of mining (which will decrease over a long period of time). Moving payments for API calls to Lightning becomes very efficient, given the (nearly instantaneous) transactions can occur off chain.

I'm a big fan of mining with solar. Wish more miners were investing in this.
Yup. Problem solved.

Make me the customer again, ask me to pay.

What he's really saying is: My customers are these advertisers, and it would be really nice if those pesky users I'm trying to sell would stop doing absolute bullshit like "insisting they have bodily autonomy" and "curating the content they view".
Dead on. Helicopter money while at the same time forcefully shutting down production lead us where we are right now. Constraining actual economic output while pumping up demand with cheap money.

"Inflation is always and everywhere a monetary phenomenon, in the sense that it is and can be produced only by a more rapid increase in the quantity of money than in output." - Milton Friedman
This is getting into semantics, but IMHO a 200 OK with an empty body is the most correct response in this scenario. Everything worked so you get 200 OK and the most accurate representation of a resource that you know doesn't exist is an empty body.

404 Not found is not exactly correct. I argue that the server found a representation of the object with that representation being "It does not exist".
>If the API that the author is building is a REST API then the response for a non-existing resource is 404.

The problem is that this error then overlaps with server path routing issues, DNS problems, and general network issues. Even if it's logically correct it makes dealing with your API annoying.

As others have mentioned, you can return anything you want in the body of a 404 to clarify. However the other issues you all mentioned should really be in the 500s with errors.
Unfortunately I enter 'dc' far more often than 'sl'.
> It might be howling into the void but the conclusion I reach from this is that "Mobile email clients are a nightmare".

This is true, and as a user I want something better, but as a developer I need to build for what our users use.

I don't put "Site best viewed in Netscape Navigator", and I don't tell users they can only login on desktop.
You still have to do work though, to ensure, that always some fitting object with the correct methods is returned, so that you can chain further. Functions by definition (as opposed to procedures) return something and as long as that is the correct thing or type of thing for the next function, all is fine.