skysight-inc/HackerNews huggingface dataset:
Check out valtio if you want to do proxy based state management in react.

https://github.com/pmndrs/valtio

https://codesandbox.io/s/bitter-night-mm4xes?file=/src/App.j...

// a.js

import { proxy } from "valtio";

export const a = proxy([]);
a.push(1);

// App.jsx

import { useSnapshot } from "valtio";
import { a } from "./a";

const add = () => a.push(a.length + 1);

export default function App() {
const snap = useSnapshot(a);
return (
<div>
<ul>
{snap.map((value, index) => (
<li key={index}>{`${index}=>${value}`}</li>
))}
</ul>
<button onClick={add}>Add element</button>
</div>
);
}
I mean all of this needs executive pay to not keep skyrocketing vs everyone else.
Yup. The "Why?" question gets lost among the impulse to be 'clean and modern'.

>>Tropicana’s original packaging had rich colours and a strong visual hierarchy. On the other hand, the new packaging failed to impress the consumers, with clean lines, a lack of visuals, transforming the once indistinguishable orange juice into a “generic store brand” product.

This same thing happens in everything else too, such as automotive controls and web design.

The damn "designers" are so infatuated with their "principles" of design and aesthetics that they completely ignore the fact that DESIGN IS SECONDARY TO FUNCTION — if you make it stop working, your design sucks, no matter how good you think it looks.

Whether you make it harder to notice the brand that I've always associated with good fruit juice, harder to find the controls to my automobile by touch while the windshield is fogging with blinding glare of oncoming cars, or just harder to find a common function on your web page/app, IDGAF how aesthetically pleasing, clean, or hip your "design is" — you had one job and you FAILED.

How designers and their teachers and managers can so consistently and massively fail to understand that fundamental concept is just baffling.
I worked on a website that was completely redesigned every few years. We, the developers, didn’t understand why until one of the business people, who was leaving for a new job, admitted to us that they (the business management team) mainly did it because it was fun, because it let them expense meetings/travel/food doing “research” and meeting with design consultants, because it gave them something to do other than their real (hard) job of getting 3rd parties to use the current website, because it gave them something to report to their managers, etc.
Juggling Jobs with OS-9: multitasking and timesharing
Things on my van that just make sense: Starlink Internet
Bull market doesn’t mean inflationary, it just means that the market trend is upwards.

But to your actual question: Not according to Wikipedia at least.

https://en.m.wikipedia.org/wiki/Market_trend

It seems “Bear Market” came first, and bull market was a play on it.
The equivalent Go would be something like:

func f[T interface{.Foo}](T) {}

Of course, this doesn't exist in Go, so we must do:

func f[T interface{GetFoo(); SetFoo()}](T) {}

And then define setters and getters on every type we want to use, including defining new types (with the commensurate setters/getters) for types that we don't own (i.e., if you import a struct from another package and it doesn't have setters and getters defined, you have to create a new type that implements those setters/getters).
Re-reading the table of contents of this tutorial, no, probably not 80%. But if it isn't 50% it's close.
At least for me, I had to try using it three separate times over the past decade for its killer features to sink in and my usage to finally stick. If my experience is common, it would explain a lot of lag in adoption.
I think you are the first person I have read to say this, but I totally agree.

The cost to secure the Bitcoin network is a function of the market capitalization. If the market cap increases so will the cost of securing the network.

If Bitcoin market cap continues to increase, the resources required to secure the network will start to crowd out other economic activity.

I feel like we are seeing the first glimpse of this with the chip shortages.
I’m not sure about the redesign, but Tropicana (and others) have used color to denote this trait. Blue, instead of orange, is low pulp+calcium.
In college right now and from all the classes I’ve attended it seems that everyone is fine. We all actively participated in class and did well on finals. Think it might depend on the college/class. Took an English, math, and some CS classes. All seemed normal to me. Maybe I just got lucky.
>> because you can’t get your money back when you’re scammed.

> Thats a feature not a bug.

This is a hilarious admission that cryptocurrency is designed for malicious actors. Anyone altruistic would consider lack of recourse for scam victims to be at least an unfortunate consequence of the system design. But a “feature”? Only the scammer or their associate would view it like that
Honestly; Jabra should be responsive; but i put significant blame on Apple.

For whatever reason they seem to have little issue breaking third party devices. Pre-pandemic; i had a nice usb-hub I used at work. No issues for years on my maxed 2017 rMBR. Paperweight when I finally made it back to the office (though working fine on other machines). Same with a number of misc usb-c hubs/adapters I used fine until an OSX update.

Seriously annoying.
As I expected, HN delivers :)

I am going to try to address the input I've received so far:

# Licensing

Arg. How could I forget? The project is now licensed under Apache 2, which is compatible with the BSD licenses that @d_meeze listed. I've used it in many previous projects, including RootTools, and some projects were included in multiple commercial projects.

# Data in the configuration file

@drdaeman yes this is definitely with simplicity in mind. Right now, the updates the server accepts are limited to RFC2136 for LetsEncrypt's ephemeral TXT fields. If this becomes a necessary feature, I may do the same as with Glauth and introduce database plugins (SQLite would remain a light, but not as simple approach)

# Toml

Controversial as always. @dhzhzjsbevs, I found that if I provide an amply documented template file, folks find it easy to use. Is this a great configuration option? No, not it is not. I personally dislike all of them.

# Record reuse

@drdaeman making another valid point. It's going to be an easy fix, which is good.

# Split horizon DNS

And then we get to @jchw and one of my unstated goals. Right now, I am using the rule engine to alter responses. Obviously, a nice demo of what it can do, but a bad idea overall. Can anyone think of a way to implement split DNS other than filtering based on which interface the query came through? I do extract the query source's IP address, but this only tells me which server is recursing.
What is traditional?
I mean ADHD is a challenge in of itself, why not push back on the promo or go on a trial phase to figure out how stressful it is.
I don't understand the need for people to keep pushing and advancing beyond their means.(goes beyond streching)

Is there a reason you put so much stress and was it all worth it? Are you doing it for money, prestige or a combination of both?

Most of the times its always better to slow down and not fight with your condition just to perform your regular duties.
Taking medication and optimizing all for doing your job seems like a waste and something that will have its consequences in the long run.
Third the "Body Keeps the Score". The concept of left hand writing, and speaking to your inner child is fascinating (and was coined by the author)
Yeah, that kind of contract is not really good. There are much better arrangements out there that leverage the fact that bitcoin mining is an interruptible load.
That's a really profound question that deserves serious research, IMO. Communication is easy enough to define using Shannon's theory of information. I would argue that computation is subset of communication: signals go in one end of a 'processor' & come out the other (so the processor acts as a 'channel' in communication theory), but the data comes out modified in some non-trivial way, which distinguishes computation/processing of information from mere replication of the signals at the output.

A trivial modification would be something like (X,Y) -> (Y,X), just re-ordering cables. A non-trivial modification would be something like (X,Y) -> (X XOR Y, X AND Y). Both of these 'channels' have 2 bits of capacity, but intuitively only the second one is actually doing any information processing/computing.

I haven't found a satisfactory way to formalize my intuition about what is 'non-trivial' and to quantify how much 'processing' is being done by a general system, in such a way that one could meaningfully compare a brain and a CPU, for example. I think it's a great research question.
> It typically manifests itself as not being able to read your own writes

Multi-region databases with read replicas face the same issue
That doesn't change the fact that if you're not a library author you should probably avoid using that feature. It's not that the feature shouldn't exist, it's that it's now best used in plumbing code, not in application code.
VPS and the ARCore Geospatial API
Miami’s Bitcoin Conference Left a Trail of Harassment
Quitting Twitter? What People Say About Life After Social Media
After getting a set of Sonos speakers in my living room I couldn't bring myself to just pawn off my Onkyo TX-NR626 and Polk speaker set, so now I've put them to use with my work setup and gaming rig. My PC games sound pretty good now, as do standup meetings!

When my Onkyo finally gives up the ghost, which could be in 2 years or 20 years based on what I'm reading in this thread, I'll be looking for whatever gives pretty good audio quality while having an absolute minimum of IoT cruft.
Some people find it genuinely motivating working alongside other people working hard. It’s not so simple as someone being a slacker or not.
Eh? If you spend $30m and get $80m back you are in the black to the tune of $50m overall, even though your investors would probably be underwater.
If you run an app like gmail for example, you can store most everything in cache, and local storage (browser), including logos, button graphics etc. Resulting to an app that loads almost instantly most of the time as it's coming from disk (relatively speaking, many would argue that disk access is extremely slow).

This information stored should obviously not be time sensitive. But if you're running a client for social networks or such, it's perfectly a good idea to cache the last 10 posts seen for example, so that when the user loads the page, he instantly has something to look at while the browser is fetching the fresh content.

Local storage was designed for this I believe: a longer-life cache for unimportant data.

One key consideration is security: do not cache things on the browser that may be private or sensitive information, unless encrypted, but even then the argument could be made to not do it at all. That said, storing your application graphics and most of the UI bits in local storage can certainly improve the user experience greatly.
Isn't this just the corporation circle of life?

Hot new company appears. It offers great value and undercuts the old guard. As they grow in market share their rate of growth starts to slow as do their investor returns. They start to focus on locking people into their ecosystem with integrations instead of acquisitions. Then once it's hard to leave, they jack up the price. The captive audience has to keep paying despite diminishing, but non-zero, value to them. Eventually prices become too much and they are undercut by the next startup a generation later. The cycle continues.

Tesla will lock up most of the supercharger market, become indispensable and then eventually charge like it. See also cloud and streaming services.

I wish companies could be happy to reach a stable equilibrium where profits and prices are both steady but that doesn't seem to be possible under the growth model.
Sure, peak-to-N-dBFS is not what the streaming services do. But what they do is not normalization.

I'm the author of a DAW that allows normalization, compression and loudness control. The first one is more different from the last two than they are from each other.
The new version 100% looks like a generic to me. It’s some kind of orange juice. Likely a store brand.

I agree that lacking the obvious name Tropicana somewhere is a big problem. Maybe if that was still in black and just as prominent as it was on the old carton, the new picture of orange juice might’ve worked.

But if you make your product look like the store brand… what do you expect?
> Of course, and the ones who gather and analyze the data tend to be well paid too, for the same reason. But turning data into strategic decisions is an important skill, and one a CEO is expected to have.

Only the top layer is well paid.

People produce, collect, and analyse data throughout the organisation. As the data passes up through the hierarchy, management bureaucrats present it as their own to the next level up, thus using people's work to justify their own higher salaries.

That goes on for O(log n) levels and ends with the CEO doing the same.

I think most good decisions I've ever seen a CEO make have already been made inofficially at the lower ends of the organisation. Or at least would have, had the lower ends had access to the relevant information.

Of course, the CEO wants to keep the relevant information to themselves, because again, that's how they justify their salary.

> So, why don't you apply as CEO instead of as a software engineer if you want the big fat pay? If you can show the board that you are the best suited for the job, they will hire you.

My experience is that these jobs generally go to the well-connected and politically affluent in the right circles. It has little to do with suitability or skill.
As you correctly point out, everything you can do with metrics can be achieved via logs if you have enough compute and I/O. But that ignores the reality of what happens when you do indeed have too many logs to use something fancier like column store/inverted indices as you point out? I agree that in the vast majority of cases, it's likely fine to just take the approach of using logs and counting. But plenty of of developers (particularly here on HN) are in that overall small slice of the overall community that does have a genuine need for greater performance than is afforded by some form of optimized logging.

Likewise, traces are indeed (as you point out) functionally just correlating logs from multiple services which is akin to syntactic sugar. But again, that's precisely its value _at scale_: easing the burden of use. I've personally seen traces that reach across tens of services in an interconnected and cyclical graph of dependencies that would be hellish to query the logs for by hand.
Turquoise Health raises $20M to boost price transparency
, if you are paying typical prices for electricity.

Most people are, but many major mining operations are not.
Immigration of high earners is destroying Canada. Housing prices in Toronto and Vancouver and many other desirable metros are absolutely exploding, and they keep importing more high earners and boosting competition. America’s housing crisis is not yet so bad, but I think a housing crisis should be taken into consideration with any immigration. Imagine if it were easy to get an H1B, but you are restricted to work for some number of years in a state that actually wants more people (aka not New York or California).
As an American citizen, the problem I see with H1B is that when demand declines, and US citizens start to lose their jobs, the H1B continue to be issued, and renewed. I’d prefer a system which monitors US citizen college graduates employment rate, and adjusts the H1Bs accordingly. There’s currently no feedback system other than large corporations hiring lobbyists to push for higher and higher quotas.
Parallel Tree Running
Stick to brands that have a reputation for quality worth defending.

It's no guarantee, but you want a brand that perhaps charges a bit more because of their long track record of quality. The longer and more solid their track record of quality, the more motivation they will have to make sure that reputation stays intact.

That's about the best you can do.
ACA doesn't pay long term nursing home fees for e.g. bedridden parents though. That can easily cost a fortune.
Check out monkeytype.com it's a fantastic typing speed/accuracy test with a plethora of config options, including an option to require opposite shift key.
I wonder if some of the "why" isn't the general turn against straws in the current zeitgeist.
The depressing part was that a globalist billionaire (and not a particularly conservative one historically) was perceived as the only viable option conservatives had to disrupt the existing party cronyism. In 1992, that option was Ross Perot, also a billionaire, until the deal with Bush and the weird withdrawing and reentering the candidacy. The mainstream Republican Party has been generally disliked by conservative voters for a long time, but they don't have anywhere else to go, and Democrats' policy positions are completely unacceptable to them.
"Not from concentrate" juice is still pasteurised and stored in tanks for months or years before being packaged into the final supermarket packaging, with vitamins, minerals and flavourings added to revive it. It's not any healthier than concentrate, but it is more expensive to store and transport as the water isn't removed.
Computer component manufacturers have already caught on. New products are built to spec and then later on in that product's manufacturing life cycle, the parts it's built with are changed to reduce cost but the SKU is kept the same.
In case you were avoiding added sugars and corn syrup due to nutritional concerns, I have heard doctors for over a decade come to the conclusion that fruit juice is as bad as soda due to the total sugar content. You would not eat 10 oranges, but you can easily drink 10 oranges worth of sugar in a few gulps.

One of the questions pediatricians ask nowadays is do you keep fruit juice in the house, and I believe they ask so that they can advise you to get rid of it or prevent the kids from drinking it.
> Do you mean, if you have a given y value, and you are describing "is the point (x,y) inside the circle" as a function of x, then if you pick the y value to be further than r away from the the y coordinate of the center of the circle, where r is the radius, that the function stops depending on x and for all x, is "no" ?

Yes

> I'm really not sure what point you are trying to make.

The point is that it is non-linear, and people want linear “explanations”. If you imagine that x is say income, then people want simple explanations for the effect of income on the model.

People don’t like it if you say that, well sometimes income has an effect and sometimes it doesn’t. They don’t like it when you say that it actually depends on the relationship of a number of other variables in a non-linear way. They tend to assume that you’re hand-waving or making excuses, when instead what they’re asking for is a mathematical impossibility.
Because not everyone you talk to has an Apple device?
> How can we get companies to respect their users?

Stop giving them money unless they provide source and schematics and unlockable bootloaders and put things together with screws rather than glue.

As long as you the public at large keeps taking abuse and keep handing over more cash, they'll keep doing it.
Interesting. I garden and have thought it would be cool to build a spectrometer that I could feed soil samples and get NPK and other nutrient levels quickly without chemical processes.
task /something/ # list all tasks with <something> in their description

As the slashes imply, that's not just string search, it's a regex.
For RDS, are you talking about multi-region, or multi-AZ? I know the latter is easy, but I don't think the first is, though maybe Aurora makes it easier.
It's retro because it's been 'round the block.
Better bring that up to Apple, they might reconsider.
Books.

I spent my allowance on computer books about MS-DOS and various programming languages, assembler, interrupts, how computers worked, etc, etc.

I was obsessed with learning every little program that was in that dos folder, and how to write batch files and properly tune the config.sys. Then windows hit and there were ini files to explore. Plus you could hack a lot of old dos games with binary file editors.

I was just so passionate about everything. I feel sorry that all of this is just handed to my kids now. They’ll never choose to do the deep dive unless something takes over their brain.

If my friend’s dad hadn’t taken me to their old 286 and ran “type command.com” to make a bunch of gibberish appear on the screen I have no idea where I would be today. I was hooked from that moment.
Is there a list of equivalent excellent resources for other languages? I'm familiar with JS and Python - I'd love to get up to speed with other languages this way.
My guess is that it's offered for those who want to do their own Windows install but would be confused or scared away by seeing "Linux" in the name. "FreeDOS" is the codeword for no-OS, you install your own.
Interview with Crypto Billionaire Sam Bankman-Fried
> IMHO the biggest visible difference to me (besides the "straw orange" trademark) is the original one has the brand Tropicana very clearly in the middle, while the redesign puts it in much-less-readable-at-a-glance vertical text on the side.

Yes, that was also the Humble Opinion of the eye-tracking visualization included in the article.
I wasn’t saying that there is a gay gene, just explaining there are cases where differences in human traits are deemed “better” by some governing body but aren’t actually better.
Preface: I think a lot of us - particularly developers - have a tendency to mock/devalue what people in design and UI/UX do.

I think there's incredible value in what they do and part of that is keeping sites from going stale. I believe that in general people get fatigue from seeing the same design day-in, day-out. There's a cost to not changing. Or at least a trade-off.

The risk is when redesign is carte blanche for the design team to do things that they think are pretty without the requisite user testing and data to back up decisions.

Major design changes should come with a nice set of data to support them.
> people have been saying that the quality of HN has been falling ever since HN started 15 years ago

I agree with them. I’ve been sticking with it for these 15 years, but I’m sure you’re aware of a certain site that does a pretty good job characterizing how the comments on many of the most popular stories have devolved.

> Internet forums are super weird and there are limits to what one can do about it. I wish it weren't so.

Respectfully, this is a cop-out. This is your site. You can do anything you want to make it fit your vision, from making it members-only, to making every post subject to review. I’m not trying to tell you how to run your business or anything, but to throw your hands up in the air and say (paraphrasing), “Internet forums are hard, what can you do” strikes me as forfeiting responsibility.

> different users have completely contradictory images of what that would involve,

It doesn’t matter what users think. This isn’t a democracy. This site belongs to you and its owners. How it’s run, what the rules are, and who can be a member are choices you exclusively get to make. You are responsible for its tone and character. Don’t burden the members with this responsibility without giving them the direct ability to enforce it.
I recently tried to replace the belt on a mini perl cassette recorder. The shape of the belt wasn't round, it was a semicircle on the outer side and a wedge shape on the inner. How does one even Google that XD