skysight-inc/HackerNews huggingface dataset:
I get the feeling there may be more to this story.
I use it fairly extensively whenever I have code like <Cpt>{props.children}</Cpt> (i.e. whenever the only thing I'm doing with the children prop is passing it to another component. This comes up pretty often with context providers, where I'll write a provider wrapper that handles some stuff by itself, and then passes the value and children to a React context.

I like using the "children" prop explicitly because it's a lot more concise (with prettier, I can often go from five lines to one line with this style), and because it's more explicit. I'm not creating my own children, I'm not adding anything to the markup myself, I'm just passing the input children directly to another component.

This isn't really anything unusual, it's exactly what JSX compiles to under the hood. And passing JSX elements in props rather than as children is useful in other contexts as well - for example, a button that allows <Btn icon={<MyIcon />} ...>

You're right that this can cause odd situations where children are specified in two ways, but I'd rather have a lint rule explicitly handle this case than disallow using the "children" prop altogether. (In fact, I think Typescript does validate this case already? But I might be wrong there.)

I can see why this rule might be useful to have in general, but I agree with the previous poster that it's a semi-opinionated rule, and one of the sort of rules where I end up having to disable it and fiddle around with configs whenever it comes up, which in turn puts me off using ESLint in general because I know to get it to be useful I'm going to need to spend some time changing everything up.
Would Automerge be a good choice for a non-realtime single-user app that just needs to have reliable offline support?

E.g a personal note-taking app where the user will never have any collaborators, but where they expect the app to work fully offline on multiple devices and reliably sync up when they come online.
This is most certainly a backcountry ski trail, given the close proximity to a ski resort.

It’s much, much easier to navigate the mountains when all the rock, skree, and brambles are covered in a meter or two of snow.
I haven't seen newposters anywhere before, it's always been newfriends as the slur replacement
1.5 cents per kilowatt hour even

https://pv-magazine-usa.com/2020/05/28/record-low-solar-ppas...

note that the coal plant mentioned in that article has since been decommissioned https://en.wikipedia.org/wiki/San_Juan_Generating_Station
C compilers are funny on this one, because instead of warning you about code that don’t do anything, they take advantage of it, in the form of UB optimizations.

Like you say, macros often make this very hard to enforce in practice.
>I've heard pure functions described as "having no side effects". So "being pure" means having no state of its own, as well as not having an effect, changing the state of anything anywhere else.

This is correct. The "state" part of the equation is equivalent to IO. You either manipulate state, or you manipulate the state of the real world (aka IO). The key is to segregate state and IO away from purity.

>Doesn't that describe Object-Oriented Programming, at least some aspect of it, like classes which bind state and methods together? The difficulty, in my experience, is that there can be many, many objects with their own state, affecting each other's state in a complicated web/graph of effects.

Yes. OOP by nature unionizes state and method. That is the very definition of an object. But this is not exclusive to OOP. You can do this with any programming paradigm except for strictly functional programs that force you to segregate mutating state and function.

>This approach of "pushing state up" to the surface, I think is the way to keep all states in one place, with every change under control. Better yet, to have immutable state, with every effect/change producing a new state.

Yes. But the problem is If we truly had immutable state and we produced new state every time this will in the most practical cases lead to a OOM error. We must at some point change state in order to save memory.

>In this context, does a combinator mean something similar to a pure function? I see on Wikipedia:

Similar. The free variable restricts modularity of the function.

x = 5
f(n) = n + x

vs.

g(n) = n + 5

g is more modular then f because f cannot be moved out of the context of x. g is the combinator while f having a free variable x is not a combinator. This is why the combinator is the most modular primitive.

>Right, I think years of programming have taught me to intuitively notice mutable state, especially when a function is trying to reach out and make an effect on some state outside itself. That goes against modularity, unless it's managed intentionally.

Exactly and the way to manage it intentionally is to minimize the need for management as much as possible. Remove all logic away from mutations. Mutation is division by zero. Minimize this action as much as possible. Additionally treat mutation and IO as the same thing. You are either mutating state or mutating the world.
If you read the news every day, you might be forgiven for thinking that most people are naturally evil.

In reality the vast majority are actually good, or trend towards acting in a positive manner at the very least.

I've seen two sorts of IRL applications rely on this: Self checkout at stores, and sites like wikipedia and openstreetmap.

Or just western society in general, if you think about it. Most of the time we trust people to do the right thing without oversight.
I went to a pt and they helped me figure it out. Basically they asked me how I sit, then told me to try sitting with feet on the ground. Surprisingly it helps for me.

Also I'll add that I noticed on my own that squats made my glutes very tight, inducing the back pain (I was doing heavier weights then, approaching 225lbs), so need to roll them after and not do too heavy weight these days.
I recommend getting back and asking about the state your application whenever possible. This helped me recently while having little hope it would.
FWIW, you could do shutter speeds like that on the Canon PowerShot series of cameras all the way since ~2005 due to the unofficial CHDK - Canon Hackers Development Kit.
So, reading the comments.. there seem to be an internal and an external explanations to the paradox.

Internal explanations are that people who want to do comedy tend to be somehow messed up somehow.

External explanations are that the world itself is messed up, and if you want to do comedy, you have to understand it, and that makes you sad.

I think to determine which one is true, we should look at people curious about the world who don't do comedy, for example, scientists or activists. Are these often sad too?
The new Leica camera already does it, give it a look for a working example already in the wild
Before social media we had rap music glorifying criminal activity, 16 and pregnant and other assorted reality TV, before that we had old MTV and metal music that glorified hedonism, before that we had girl magazines with "impossible beauty standards", the pressure to wear make up, before that we had the sexual revolution... It seems that for every generation there has been something corrupting it. The older people get their panties in a wad and the younger people become more self destructive.

America just has a culture of pushing limits and often those limits were there for a reason. Chesterton's fence and all that. All this social upheaval and people aren't happy. So much progress and everyone seems to be more and more miserable. So what is the solution? Ban Instagram filters? Make self esteem our golden bull? Begin goose stepping? I don't think anyone knows, and we are all just looking for someone to blame.
My grandfather died of emphysema. He spent the last twenty years of his life struggling to breathe. It's a horrifying condition.
Hello! I know of your guys work! I try to keep up with all the competitors :)
Feel free to reach out to me rob @ summer dot ai and I'd be happy to talk shop.

For anyone else that is interested in this question: I've tried a whole bunch of the TTS services and found that Microsoft and AWS are the best of the standard providers IMHO and these are services that tend to have startup credits available so I use a mix of these two - I try to never rely on just one provider. I've met with the Eleven Labs folks and some of their demo's of the V2 stuff that's coming are really amazing but latency and pricing might rule them out as an option for the time being.
Not so sure. Not trying to defend Brian or AirBnB, but realistically, it was bound to happen, just like Uber was.

Perhaps under a different name with a different path, but I am fairly certain that the ending would have been the same. And there are definitely lessons to be learned form this. And honestly, it could've been much worse, so I am ok with those lessons being learner earlier rather than later. I think they were pretty useful.
It's not uncommon in Nordics to have satellite libraries with mainly self service hours where there's no staff present but you need to swipe / scan your library card to get in.
C2PA is more about tracking origin and edit lineage for e.g. press photographers. It does not determine if an image is a deepfake or not. Create a deepfake then take a picture of it with a C2PA camera, now you've got a C2PA-stamped deepfake.

But supposed you take a C2PA photo and then edit its contents with e.g. generative in-fill. The updated C2PA stamp from that action will get noted and can be audited later on.
More capable mechanical focal plane shutters with a flash sync speed of 1/200s or faster do not show objectionable rolling shutter effects for most practical stills photography, including wildlife and most sports. Better mirrorless cameras use the same types of shutters.

Older film cameras may have had flash sync speeds of 1/60s, and rolling shutter was sometimes a problem with them.

Mirrorless cameras also have a fully electronic shutter, for silent shooting and shooting video. (Some DSLRs could also shoot video this way.) In all but a handful of very expensive cameras, it takes a long time to scan the sensor and rolling shutter is obtrusive – in many cameras it is as slow as 1/15s. In that handful of expensive cameras it is around 1/200s, like a fast mechanical shutter. Nikon’s expensive cameras don’t even have a mechanical shutter any more.

That last bit of speed, from 1/200s to the 0s of a global shutter, is detectable in certain examples Sony showed off in their presentation. Most of these examples relate to high-end sports photography.

Flash sync at any speed means flashes can be built more cheaply and cycle faster. Currently, to shoot faster than the flash sync speed the flash must emit a long burst instead of a single pulse. For this reason, some cameras used a leaf shutter, which can sync at any speed, but they were typically expensive to make and sometimes less reliable.

There are related problems to do with the refresh rate of LEDs in the field of view, which are solved by the global shutter and somewhat clumsily worked around in cameras without one by trying to sync the shutter with the refresh rate. Again, high-end sports photographers are the ones who usually encounter this problem.
Thanks for making my day. That has to be the feel-good story of the year!
You know how brits call a cigarette? For some reason 4chan calls new-posters new-cigarettes.
I took the quote from eBay. Not sure which shade of black that would be ;)
typically desert solar farms have higher capacity factors, like 25% to 29%, than non-desert solar farms, which are typically more like 20%, or 10% in very polar countries like the uk, germany, or the netherlands; possibly faster degradation will eventually reverse the relationship

but, for the time being, the gained efficiency from the hot sun does seem to outweigh the efficiency loss

as an ai language model, i cannot feel pain, so i do not know what outweighs it
> Now, is it a benefit that is worth paying $6,000 for?

This tech will certainly reach all levels of the consumer market. Plus being able to shoot with flash at any speed will indeed benefit tons of amateurs who will be able to do away with the stupid artificial limitations present for the last 150 years
This isn’t about empowering DIYers. It’s about empowering _everyone_. It’s about allowing you to use the services of a non-affiliated mechanic for repairs. It’s about autonomy, competition, and efficiency.

As to the question of why this requires legislation. Why wouldn’t it? The current market conditions result in an unfavorable outcome.
When’s it getting put in a phone?
Considering this might be targeted by nation-state adversaries for propaganda uses, I don't see the effectiveness, at least on that threat model. AFAIK even if the private keys are buried in some trusted computing chip, there's very little a focused ion beam can't do. And that's in an extreme security scenario, I doubt those cameras even reach that.
Post author here. That’s a great framing! That means that, in theory, an enforced 100% code coverage would catch these issues as well, which I’m inclined to believe!
Honest question - did you expect any other outcome? If so, why?

> (for some incomprehensible reason)

s/incomprehensible/obvious/. It's the version everything in the whole system is packaged for, so of course just replacing it behind the system's back is not going to work.
Whenever I hear about such a thing (people doing legacy system data extraction manually) I wonder if in every case someone got the estimate for the "proper" solution and just decided a bunch of people typing is cheaper?

Integrating things like Chatgpt will still require people who know what they are doing to look at it, and I wouldn't be surprised if the first advice they give is "don't use chatgpt for it".
It's not unusual for local libraries in Denmark to be accessible to outside office hours using a library card.

Usually, not at night -- but why close a local library in the evening.

Just require library cards and add video surveillance.

(you milage may vary)
Comedians typically were in sad environments and coped by making people (and themselves) laugh.

But laughter is transitory. And jokes grow stale.

So it’s chasing a high. A type of hedonic treadmill.
> if you want to be pedantic Windows was never designed to fit into the firmware of a network card.

If you want to be pedantic, nor was the linux kernel.
More specifically invisible Unicode characters.

https://github.com/KuroLabs/stegcloak
Oh, that’s very cool. Do you think it’s possible that Squeak and/or Pharo will ever want to build upon the UI work done by the GToolkit developers?
Unfortunately, they don't mention the most easy way of defining a DSL: by doing it in the host language itself. Not all programming languages are capable of allowing that, but some do, and in that case it is by far the most easy and safe solution.

It is still much much easier than combining existing language like adding OCL into another language, as suggest in the paper; and you get compiler/IDE support, tooling support and everything else from the "host language" out of the box.
Exactly. That's why it's just expected that the PRC managed to acquire the personnel records of all US federal employees, and it's not a big deal that the PRC stole data on the F-35. Same with industrial espionage, states are just going to keep spying on each other, why get upset about it? It's just what states do.
I find it odd that the standard policy is to leave packages unattended in any form in the first place. This is another one of those things that is not standard globally.

E.g for us in South Africa, this would be unthinkable, regardless of how much time it saves the delivery company. The only time a parcel is left at the door is when it's UberEats. Otherwise delivery is rescheduled if we don't physically collect parcels in person. This is partly an access issue (many houses/apartments/estates have gated access) and largely a trust/crime issue.
A minimal level of protection against lawsuits like the one that just killed Omegle.
Everyone here keeps using that word, and I'm sitting here confused.

Can we sit down and define it, or are we to forever just throw it around as a convenient "bad people"?
Zero Punctuation star Yahtzee Croshaw quits after 16 years Published
Working for a broadcast company with a good chunk of news content, authenticating content is one of the major we face. It has always existed, but it’s getting worse and worse.
That’s the goal of this system, not for consumer.
you're confusing the northeast of brazil, which is what cesar was talking about, with the northeast of the usa

these are not just in different countries but in vastly different climates in different hemispheres

the exact page you linked in your comment literally answers your question: 'due to problems with supply chains, higher interest rates and a failure to obtain the amount of tax credits the company wanted. ... High inflation, supply chain disruptions and the rising cost of capital and building materials are making projects more expensive while developers are trying to get the first large U.S. offshore wind farms opened.'

maybe you should have read it

please don't post random bullshit without respect to whether it's true or not
Professional comedians are…. Well known to have issues. It’s not a type of direction someone takes if they’re able to get what they need from a normal life.

Just being funny != being a professional comedian.
Eat. Sleep. Exercise. Work
They might have to experience Scandinavian market pressure. One story about how McDonalds choose to experience it :

Once the sympathy strikes got going, McDonalds folded pretty quickly and decided to start following the hotel and restaurant agreement in 1989.

This is why McDonalds workers in Denmark are paid $22 per hour.

https://mattbruenig.com/2021/09/20/when-mcdonalds-came-to-de...
Recently, we were at a resort in Switzerland. Arguably one of the safest countries on earth. But: as we exited the swimming pool house, our umbrella was gone. I said „what an irony, the first time we have something stolen is in Switzerland“.

Two hours later, the umbrella was again where we had left it: someone must have borrowed it to protect themselves/their children from heavy rain. We understood why there were no cctvs anywhere: they were not needed.
How will tools like this affect web tracking or generally advertisements on the internet? Imagine you could have an agent browse the web for you and fetch exactly what you are seraching for without you seeing any ads/pop ups or being tracked along the way! Could be a great ”ad blocker”! Could it perhaps also make SEO useless and thus improve the quality of internet?
But I wonder if it also could have negative effects such as the ads being “interweaved” into the fetch content somehow!
I love that framing. I’m the author of the rule/post and I see writing rules like this as an opportunity to mentor at scale. Incredibly rewarding to think that, in a sense, I can be in so many engineer’s editors helpfully pointing out (and via documentation explaining) issues right at the moment that the developer needs it.

Just in time mentorship!
Distilling the GPs argument to its simplest form:

The past thinkers did not reason under a hanging "publish or perish" sword that current researchers do

Source: me. I was a researcher at a national research institution for 7 years.
To be fair though, even the most baseline tier of a cloud machine at GOOG is pretty nice. 64GB RAM + 32 cores (i think it might be more cores now, but not certain) is good enough for pretty much anything, aside from niche specialist tasks (for which you will get a more than beefy enough machine anyway).
> I genuinely believe this game of whack-a-mole would end if Youtube stopped being greedy and offered a simple plan, than offered ONLY no ads. No stuffing of other products like Youtube Premium or whatever the case may be. You can keep static ads like they used to be, but let me pay 6 or 7€ per month and just not have intrusive video ads.

They just did that in several markets with the introduction of Premium Lite, which removes ads during video playback but doesn't include Youtube Music, background playback or offline downloads. Here in Germany it's 5.99 €.

Nevertheless I think there's a significant part of the user base that will never pay for the product.
It's like having a "no trespassing" sign and a fence around your pool. You still might be in legal trouble if a kid hops your fence and drowns, but you're vastly better off from a legal perspective than the alternative of not having any barrier whatsoever.
yeah, it's reassuring that for most (all?) of these I'm like "I would never write that"... though I also lean towards very "simple" code that is not only blatantly clear but totally non-"clever". I'd rather the early-in-career dev we bring in 6-12mo later can read it and immediately parse it. Plus it's easier for ME 6-12mo later! hahah :)
Having just read the Matthew Perry memoir, this one fits perfectly too.
Hypothetically, if this were a real situation, how did the individual write personal statement to apply for college?
Prostitution happens over WA, SMS, plain old phone calls and everything under the sun.

They don't seem to go after the communication channels, they go after the discovery mechanisms.
I totally agree on all points, especially around what AI means for this.

I'm kind of in a happy accident situation because I was working on something for RPA, which then became a layer that was factored as its own product, but now might be able to come full circle as a result of AI.

Essentially this layer can function as a "delivery medium" for RPA agent creation, that you can use on any device without download. However, as it has many others uses I've been working on those, but I've been seeking a great reason to get back into RPA.

I have a cool idea to leverage human-guided AI creation of data maps and action tours for RPA, but similar to what you say, unless great care is taken you can end up with a brittle approach. Also, as the market has been quite saturated many reasonable approaches, I just haven't felt compelled.

Yet now I think the possible merging of GPT level AIs with browser instrumentation to deliver an augmented way to browse the web makes that incredibly compelling.

So I'm incredibly thrilled that I have this happy accident of BrowserBox^0 (the factored out layer originally from RPA work above) which provides a pluggable/iframe-emebeddable interface for remotely controlling a headless browser. So now I want to look at unifying BrowserBox with this kind of GPT driven exploration.

It's even cooler, because, as BB enables co-browsing by default (multiplayer browsing) and turns the browser into a "client-server" architecture, I can see plugging in GPT-4V as a connecting client with some kind of minimal API affordance for it to use would, like the very cool vimium keyboard-enabled browsing in the OP, would be such interesting project to try!

We're open source so if you want to check us out or get involved in this quest, come say hi, maybe get involved if you're game!

0: https://github.com/BrowserBox/BrowserBox