skysight-inc/HackerNews huggingface dataset:
Interest rates can actually bring down supply-side inflation. With most things being bought on debt, making that money drastically more expensive will eventually erode demand. With demand falling it brings it better inline with the lower supply levels, easing the inflationary pressure on prices.

The same downside to all of economics still applies though. We can't actually predict what will happen and the larger the changes made the bigger the unintended consequences we will see down the road.
Or else why would you reply, right?
I think the article is missing some points with regards to the REST.

If the API that the author is building is a REST API then the response for a non-existing resource is 404.

In case of REST the main idea is that if you try to GET a resource by ID then you assume that the resource exists. Thus if it does not exists => 404.

It does not matter too much which part of the URL is the one that is causing the URL to be wrong.

Thus `api/v11/employees/1` and `/api/v1/employees/100` both are wrong resources.

In the first case, asking for `/api/v11/employees/1` is not a search or find to see if there is a V11 and if inside there is employee 1. Building an URL is an intentional choise that includes assumptions, like there is an 'api', that has a 'v11' and inside there are employees and one should have the ID 1.

The same goes for later case with employee ID 100. If you ask for an employee with an ID that means you know (or assume that you know) that employee exists. Thus if it does not it should be very level clear => 404.

In both cases responding with 200 means something like "I kind understand that you want an URL that is similar with some that I have so it is almost okish".

But in REST this is not the case. It is like you are serving some static folders and you want to get the file 100 under /api/v1/employee and that file does not exists.

Nobody is stoppping anyone to add response body to a 404 to indicate which nested resource is invalid. That can be added as a debug message for the developer for example.

Of course this is IMHO and I am only addressing REST API. If the API is not supposed to be REST then do whatever you want but make sure you document it well and be consistent.
The guy who owns Spreepark in Berlin tends to be rather hostile to visitors, and has 24/7 security on site.

I'm not sure how often he pursues prosecutions against people caught trespassing.

Made visiting a lot more fun, avoiding them.
Anecdotally, I just purchased some physical gold. Even though it was a holiday, it arrived at my doorstep within 24hrs..
The nickel wars are coming to fuel the battery factories.
From reading the paper, it basically does jump unthreading. Basically, if you imagine code like this:

bool found = false;
for (...) {
if (...) {
found = true;
break;
}
}
if (found) {
// A
} else {
// B
}

Jump threading is an optimization pass that replace the break statement with a goto A. After that replacement, found is always false, so the boolean variable and the if statement is deleted. The resulting code would look something like this [1]:

for (...) {
if (...) {
// A
goto end;
}
}
// B
end:;

What the lifting is doing here is essentially running this pass in reverse. If you find a branch pattern that doesn't meet any preordained schema (such as a loop with multiple exits), just synthesize a variable that tells you which target you're going to jump to. Were the compiler to optimize the resulting code, jump threading would convert it back into the gotos present in the compiled binary.

[1] This kind of optimization pass runs at a stage when the code is basically treated entirely as a CFG and there's no such thing as if statements or jumps or gotos, just conditional and unconditional branches terminating basic blocks. Any reflection of the code outside of this form is therefore somewhat imprecise.
All major news outlets reported on both so...that disproves the point?
They are down about 7% over two weeks in my New England city. A bit moreso in the rural areas. OP can call it a "plunge" but it's down from literally the highest I've seen it in recent history to just slightly less of the highest I've seen it in recent history.
For those who are considering other engines, try Godot Engine. It's open source and free to use.
https://godotengine.org/
If it isn't clear to anyone right now. There are no safe assets, there haven't been a lot of options for the last year. Your best bet is to minimize your losses. Hold cash- lose ~7-8% real value. Safe bonds are probably your best bet for the short term or owning a inflation protected business however those are rare and a recession is coming along. I guess there's a case for some risky short bets but that makes the problem worse.

It just feels like there is about to be an asset wipeout across the spectrum - like a forest fire clearing out the forest for new growth.

Don't run to the exits because that's an even worse outcome unless your holding leveraged stock bets.
Does that make a password + email password reset a quarter factor?
Like this one?

https://www.benzinga.com/news/21/11/24241910/this-is-how-you...
I gather that kefir grains are like big balls of mud, picking up lots of varieties of microbes. Over time, however, I’d guess that the number of strains might deteriorate due to more homogeneous growing medium and controlled kitchen environment.

I’ve had a lot of kefir grains from different sources over the years, and many that you order online seem to be weak and not thrive. By contrast, I’d gotten some big healthy grains from a friend of a friend who’d been culturing them in raw milk in rural MT for a lot of years, and those things were monsters that grew large and divided often. They led me on an on- again off-again quest to find such excellent grains.

I’ve heard of people introducing their grains to e.g. Icelandic skyr cultures, which results in the permanent colonization of the kefir grains by particular microbes. The skyrified kefir being qualitatively different. I could see getting a lab strain of reuteri and similarly training kefir grains to incorporate this as part of the colony.
Same. FF - nothing happens. Chromium - broken image icon.
If this gets fixed I would use the heck outta this app.
> My favorite one is, you can't time the markets. Quite obviously a lot of people correctly timed the market's trends...

Whoa. Think about it, there are constantly people thumping their chests and posting their theories about how things are under and over-valued, and pretty much everything else (like the world ending). If you think that because some people made a winning bet with their money that timing the market in general is a good strategy, I'd suggest you never play poker seriously.
Countries that can't feed their people probably shouldn't be taking in massive numbers of immigrants.
I don't remember the exact context at this point, but I've definitely encountered someone complaining about "ascorbic acid" as an additive, which is of course vitamin C.
Moreover, now it's now easy for adherents to some myths to find each other on the internet. IMO this is not a good tradeoff.
I'm in Europe and I had a very favorable energy contract for the last couple of years. Well, that contract ended and my rates got hiked 800%.

It sure put everything I do on a daily basis inside of the house into perspective.
> Why do you think housing is a safe haven? Interest rates will continue to rise, thus making a monthly mortgage payment more expensive. People can flat out not afford to purchase homes at these levels if interest rates rise. It's simple math.

But if you get your mortgage now, you don't have to worry about those future increases. IIRC, most American mortgages are fixed rate.
If something is literally a novelty, there's an inherent boom-and-bust dynamic to that. Travelling fairs are one alternative for places that don't have enough demand to sustain a permanent amusement park, but those have their own issues.
As others have mentioned, it's confusing if you don't know anything about how CPI works or how the reporting works

To bystanders it looks like inflation is up 8-9% every month, which is obviously false

If the growth of inflation resembles a step function, then the YOY change will be reported as being very high each month even if inflation is not changing on a monthly basis.

https://greyenlightenment.com/2022/07/03/sensationalism-and-...

Headlines that read "inflation rose 9% in $month$" are liable to cause a lot of confusion. A .5-.8 % monthly change looks way less bad than a 8-9% YOY change. The psychological implications of this are potentially huge because probably a lot of people think that inflation is rising 8%/month.
My SMS inbox is almost entirely login codes and other automated stuff so I'm quite happy just to leave it all there
I worked for too long on mobile games, ads mediation company are indeed the worst, IronSource included. It's a nightmare to work with their black box SDKs, and god knows what they do in that, in addition to tracking and showing ads (do you know some ads can take up more than 200MB ? That's sometimes more than the game I worked on...)

I hope this will incite more developers to look into open source game engine such as Godot and find better way to monetize games than ads.
I have a vague recollection that the language used by MS PowerApps might work like that:

https://docs.microsoft.com/en-us/power-platform/power-fx/ove...
Is Erlang functional programming? Anything in an Ets table is a global variable. There's even mutable state hiding in the process dictionary! You might have to access a database, which is global state! The horrors!
Difference between language and IDE.
This is fear mongering. If what you say might happen ends up happening we are fucked. There’s no reason to even consider it because there is no way to hedge or protect against it.

It’s like showing up to a job site with all the tools in the world and worrying that you’ll need a tool that doesn’t exist. Do not fall into paralysis by analysis.
Yep, exactly. Worker coops in a market is fine.

Compare the difference between Bernie Sanders, Elizabeth Warren, and Joe Biden. Warren and Biden fundamentally believe that capitalism is good and the natural law of the land. Sanders does not. Warren believes that we need to do more to address inequality between the owners and the workers, Biden does not.

I would (personally) consider Bernie to be Leftist, Warren to be Left Leaning, and Biden to be Centrist.

None of them I would consider to be revolutionary left. I've met plenty of tankies who believe in an authoritarian left seized through violence. (I am not one.)
You really can't win. You think you're safe, located in or downwind from an area that's sufficiently remote, sparsely populated and strategically irrelevant so as not to be assigned its own warhead, only for it to transpire that your government is experimenting on you.
> * Job markets are still extremely strong

Less so in Silicon Valley (which should be relevant to the HN crowd), as far as I can tell working at one of the relatively few Silicon Valley tech companies that hasn't slowed hiring yet.
Crypto also going down the shitter, the next $10k drop in price will probably arrive before the end of the month.
Core inflation, which excludes energy, rose at a 8.8% annualized rate. The current YoY figure is 5.9%

So no, it's not just about gas. If you look at the numbers it's across the board and broad based.

The Fed made a historic and pretty obviously needless mistake in delaying their response. Now we get to enjoy the fruits of either a severe recession or unchecked inflation if they decide to chicken out
TLDR:

> Although Ring publicizes its policy of handing over camera footage only if the owner agrees — or if judge signs a search warrant — the company says it also reserves the right to supply police with footage in “emergencies,” defined broadly as “cases involving imminent danger of death or serious physical injury to any person.”

(…)

> it has provided police with user footage 11 times this year alone.

I would actually be okay with this if it was more public when the standard was met. For example, there’s an armed shooter at the local elementary school in front of my house? Sure, scoop up my Ring footage.

But without more info I have to assume it’s whenever the police say it’s an emergency, which can be anytime they want.
If you only need Safari, AdGuard does a surprisingly good job, far superior than what you can get on Android.
All of the points above were sayings, slogans being repeated that we see today are incorrect.

Interesting username, btw!
Password plus email is one factor. So that would be 3/2 factor auth.
Someone said above that the only real hedge was to short the entire market. I think within a year, if interest rates rise, house prices will drop inversely.
Similarly, 10,000 being a round number is how it was chosen arbitrarily by the Japanese for the 10,000 steps thing that has since caught on globally.
> nothing is a good hedge except real estate it would seem.

This is similar to the best arguments I've seen for gold as well. It isn't a fortress against inflation and should only be part of a portfolio, but at the end of the day owning a physical object is better than a paper IOU
If you look at their daily sales, outside of days when pizza is a norm like the superbowl, I'd be surprised if they haven't decreased in many categories since they added the additional fees after the pandemic began, they have declined as a result of the increased price of delivery orders. The service fee was also in place prior to inflation surging as well, which defies logic.

It's opportunistic to charge more in this way, it's actually tacking the cost savings of coupons on at checkout, which also makes it a rather deceptive practice, whereas, the simply could have increased the cost of their pizza margins, but these days cost schemes online have become the norm on top of taxes and tips. It's a shameful business practice that not enough people call out.
Same thing with lemons, especially if you're in sunlight.
Not exactly answering your question here, but I shipped a mobile game worldwide about a year ago with both ads and ability to unlock whole game via purchase to unlock.

My ads are as unintrusive as I could implement (watching an ad via button press to unlock a level). So far I have seen mostly iOS users are willing to purchase the game while Android users will heavily lean towards watching an ad to unlock a level. From what I have read (and seen so far) it looks as though the way I'm implementing ads is going to be highly unprofitable

Additionally integrating ads in general was a huge pain in the ass. I initially looked to Unity, then Admob, and finally mediation of the two. Funnily enough at one point I looked at mediation via ironsource along the way as I had heard their Unity integration was pretty good.

If your curious as to the exact monetization mechanisms you can check them via my game below.

[1] https://commandcenterearth.com
I also disagree with the “read books instead” stuff. As long as you’re not using your homegrown crypto in production, and more generally as long as you’re not doing stupid things like reusing single-use tokens, why would I care how you choose to spend your learning time? Though if I’m catching these mistakes in pull requests, I might suggest a formal curriculum for the sake of actual software safety.

I see the same problems in internet debates about which programming language to learn first or how to learn programming in general, and a lot of it just doesn’t take into account that learning is a long journey and staying on the path is often more important than taking the fastest or cleanest path. If trying to roll your own stuff is more engaging, great!
Having it as debt instead of in the bank sounds even better as inflation eats your debt away.
> A better calculator language

Well there are many of them like MATLAB, IDL, scilab, R and others. Python is verbose because it's not a calculator language but a general purpose language. I find J unreadable.
It feels like they tried to compete with Unreal in the same way that Apple tries to enter gaming: very half-hearted attempts that they think are very serious. With Apple it’s “hey look we are a serious gaming platform. Look we have 3 new APIs just to support gaming and we paid a AA/AAA developer to port their game eventually” and with Unity it’s “Hey we can compete with Unreal. Look we even have new render pipelines with some of the features Unreal has and we bought Weta for some reason. Look we even put out a demo that barely works that we will never update showing just how graphically advanced Unity can be.” They both think these meager attempts are actually some great effort when it actually requires large investments of time and money to get where they say they want to go. E.g. Microsoft buying their way into the console market with the original Xbox. Basically just hemorrhaging money for an entire console generation so they could finally compete the next generation with the 360.
Sadly there have been some problems at the export terminals for LNG to Europe. That's caused the price of natural gas to go down a lot in the US and up in Europe. Yet another displacement.

https://www.npr.org/2022/06/10/1104118546/freeport-natural-g...
I'm in the same boat. People login 1 time a year (it's for an event) and using magic links means I don't have to deal with password management, forgot/reset password flows, and more. It also means signing up is as easy as entering your email (the web/app prompts you for the other required info on first login).

Out of thousands of people who used the system I only had 1-2 people who had issues. One was using their work email (why do people do this?) and I think it was being filtered and the other was using Yahoo but for some reason the emails were slow to deliver, 2-3 minutes (far from the only Yahoo user, only one that had issues).
You can buy $10k of I-bonds per year. That is a safe haven, even if small.
Opening with "You're using X wrong" or "You're doing X wrong" is a good way to get a reader to ctrl-w and move on. In my experience it is more often than not followed by questionable advice or incorrect assumptions so my instinct is to just go " ah one of these" and tab away.
Sure, i suppose inducing a recession does bring prices down, eg., oil dropping is now just a recession in demand. Fair point.
And on the employment front, they’re doing very well! Continued very low unemployment.
People are getting confused by this

The YOY is 7-9%

The monthly change is around .5-.8% , so nowhere close to 16%

16% inflation in 2 months would be very, very bad!
Speaking of which, a spec for recipes that was a previous Show HN[1], Cooklang[2]

[1] https://news.ycombinator.com/item?id=28997309

[2] https://github.com/cooklang/spec
Curious what effects this will have on capital holders deployment of capital. From my loose understanding, in a low rate environment, capital holders try to control for risk. It’s hard to make up a loss on .5%.

On the other side, if inflation is near 10% - then why wouldn’t you spend the capital you have on a productive asset? Your cash is going to zero from simply doing nothing.
If someone copy-pastes this code in spite of the warnings, I consider them to be very much in own-risk territory. Sucks if they end up getting burned, but I don't consider myself responsible.
I think I agree with the article, because I just got bitten by exactly this. My API was returning 404 as a fairly common response when a user makes a typo, but Twilio's observability code was treating that as a serious error it needed to alert me about.
That’s not any normal definition of sharing. In the most flattering portrayal this is the equivalent of store accounts where you can make periodic large deposits to reduce transaction fees. Personally it seems more like an admission that the first decade of saying Bitcoin was suitable for use as a currency was in fact just as obviously wrong as critics said.
I don't think Gladwell is a particularly insightful guy, but as someone who has actually read a couple of his books, I feel like the "10,000 hours" thing is frequently misrepresented.

The claim isn't "put in 10k hours and you'll magically become an expert". It's "if you want to become an expert, you have to put in 10k hours". Necessary but not sufficient.
People generally know what it means. The impact is from the fact that they know real inflation is worse than what is reported, and if the reported inflation is more than expected that’s a pretty bad sign.

Also, any rise in prices, while small, is likely permanent at this point.
Yes it's apocryphal. Please stop repeating it. It's disrespectful to the late great Dr Gary Kildall, for a start, and to his cofounder and business partner, the late Dorothy McEwen.

From memory and without consulting much in the way of references:

* Dr Kildall's personal and business partner Dorothy was the company's cofounder and dealt with contracts etc.
https://en.wikipedia.org/wiki/Dorothy_McEwen_Kildall

* Dr Kildall, as the CEO of the most significant microcomputer OS vendor in the world at that time, had his own plane, yes, and he piloted it himself. He was going on a site visit to a major customer. It wasn't for fun; it was a business trip, and it wasn't his job to deal with IBM.

* DR had good reasons to refuse the deal.

1. IBM wanted DR to sign a very restrictive NDA; DR had a policy against that. Ms Kidlall refused. MS, as a small company with nothing much to lose, happily signed.

2. IBM offered $250K for an unlimited license. DR quite rightly refused and so did MS. MS retained the rights to licence DOS to other vendors, and it did, a lot, and made a lot of money thereby. The deal IBM offered DR precluded that.

* AIUI, MS licensed SCP QDOS for $50K. It only bought it in later on, for a lot more money. It ended up paying $1M for it, and that was still a bargain.

This is not ancient history. It was only about 40 years ago. Many of the protagonists are still alive and active, notably Tim Paterson and a certain William H Gates the 3rd.
I'm sorry, but you'll need to explain this a lot more.

I'm happy to answer questions directly, or discuss any sources, but I'm not able to respond to this point by point because this just is not correct. I'm on here all the time if you'd like to talk further, or email me directly - david (dot) aronchick (at) protocol (dot) ai

Disclosure: I am co-director of Research Development at Protocol Labs.
Lol, if you can get a decent meal in midtown Manhattan for $150 that would indeed be unforgettable! :-)
Ask HN: How Netflix preloads the next video?
Hi,
I am curious of how Netflix loads the next video as soon as the current video is finished. I noticed that the next video has been loaded fully most of the time and the video starts to play without any buffer.

My question is how this feature has been implemented on the frontend and the backend?

Thanks for reading
Writing is on the wall. The recession (depression?) is already here. The housing market has already taken the hit - it crashed upward in price this time around and now activity is grinding to a halt in most markets around the United States. Contract activity is down 20% or more in most major areas, both YoY and QoQ. The fed rate hike spooked buyers and most activity is institutional, many of whom are going to offload when the short-term rental market bottoms out. The question most people should be asking is what should I park my assets in to weather this. My opinion is that there isn’t much that’s going to be safe this time around. Burry’s water meme might come true finally.
As an adult I never experienced this, but I have vivid memories of staring up at the ceiling at 3 AM hearing "Paradise by the dashboard lights" play over and over and over again as a teen.
The Fed's charter is based on comparing against our own targets though. If the whole building is on fire, it isn't useful to say the person in apartment 3b is doing well because their place is less on fire than down the hall