skysight-inc/HackerNews huggingface dataset:
When VCs don't invest, it's mostly due to the fact that they don't think the ROI would be that great. However, VCs will come up with irrelevant excuses because they don't want to go into a long debate.

The long-term and short-term nature of it is highly dynamic. If the investment is going to 2x-10x, they will make a bet with some amount of money.
Since the introduction of Hooks, I've been struggling with understanding React and React code. For context: UI development is not my full-time job (anymore), and I mostly do backend dev these days. I still read/write React once in a while, but I don't enjoy it anymore.

Here is what I am struggling with: I am not able to grasp the programming model with Hooks. I am not able to read the code easily, nor am I able to easily understand the interactions in the app. "easily" being the keyword here. I can understand what is happening if I put in the effort, but every time, it is a struggle. I switch between languages and platforms all the time, but react code is where I have to take a real pause to understand what is going on.

My suspicion is that this has to do mostly with the names of the Hooks, and how they are used in the code.

* Why are they named useState, useEffect etc? Are there better names if used will make it easier for me to read this code? Are there any other systems/languages (even in JS) where similar constructs are present? What are their names?

* If JSX is anyway getting compiled to JS, why do I have to still deal with strange looking useState and useEffect declarations? Is there a way to get cleaner syntax and make React code read like regular code?

This is mostly a cry for help, and not a criticism of React. I have used React in the past (several years ago, before Hooks) and I used to "get" React.
If it were additive to the base cost of healthcare for the nation but it’s not, taxation isn’t ring fenced like that.
I really loved the rare cases of software publishers who put the serial number for the software on disk two instead of disk one so you didn’t have to eject the disk you were working from to do the install.
Note: I dislike settlements in the West Bank. I think it makes the problem needlessly more intractable than it already is. I especially dislike the nigh-terroristic behavior of a portion of the settlers and the seeming inability or unwillingness of the state to properly apply rule of law against them.

Nonetheless. Legally speaking, if a deal isn't signed by both sides, then it's a worthless piece of paper. Settlements in the West Bank are only possible because the Palestinian side refuses to ever say "these are the borders of our state, that which is outside these borders is Israel". There's no sense in talking about "deals" that never happened, or were immediately violated by e.g. 1973 invasion, as though they have a bearing on current reality.

My entire point when I first commented is that there have multiple opportunities for proper long-term peace and Palestinian statehood that were either rejected or violated in short order by the Palestinians and/or their allies.
I just got 2 new monitors in work, one has a built in usb-c hub, and that monitor can use display port out to drive a 2nd monitor.... It can, the MacBook hardware can, but MacOS cannot. I was thrilled to no longer need multiple dongles to drive my 2 displays in a clean way, but ended up having to get an external thunderbolt hub, which can drive 2 monitors, but only if one is driven from thunderbolt and the other from display port. It's pretty shocking that this is al standard stuff, but MacOS limits what you can do.
> I'd argue as far as maintainability being the wrong value for indie games, as what we should strive for is iteration speed.

That seems to be the crucial point. Rust is optimized for writing complex systems software in large teams. That’s not a great fit for a small team hacking on something that is at least in part an art project. You wouldn’t choose something like Ada for that either.
Too much bragging and disappointing
Polyhaven creates textures using only photogrammetry(scan). It's doubling their quality also, equipment, and human resources. I'm adding some scanned textures too but it's not my main focus.
I didn't mean to accuse you of that, it was definitely some small hyperbole about mainstream opinions. I personally know people in life that would call Elon a Nazi without any irony or humor.

I hope the best for everyone, including Elon and the people around him
“I told my boss, 'hey, what if I put this sphere in a syringe and increase the pressure?' He said it was not an interesting idea and that this wouldn’t do anything,” Djellouli claims."

If someone tells you that your line of research is uninteresting, just do the research anyway.
Query Parsing and Understanding
They cannot throttle a particular service under NN. That's the problem.
Interestingly, Python is one of those programs.

You need to use the special "utf-8-sig" encoding for that, which is not prominently advertised anywhere in the documentation (but it is stated deep inside the "Unicode HOWTO").

I never understood why ignoring this special character requires a totally separate encoding.
Agree on what? OP didn't even know the bare minimum (who's the author, what did the author write) to speak up on the subject. You're saying that a pebble is "more or less" like a mountain. OP dismissed an entire philosophy with a quip while your sources are telling a more nuanced – and actually different – point of view.
The South being considered an actual part of Italy is a pretty new concept and not completely accepted by either the south or the north.

The north is sophisticated, cosmopolitan, industrialized, and has tons of arable farmland and just generally money running through it. Culturally it's more French / white European.

The south has very little arable land, it is rocky and hilly. It does not lend itself well to large-scale agriculture. It was largely ruled in a feudal system for a very very long time, which then collapsed into the peasant families each being given land ownership of plots too small to sustain a family.

It has also been a target of conquering by Greeks, Ottoman Turks, and many many many more cultures due to its critical location for shipping lanes - so it's been sort "ran over" too many times to count.

The fact that the real power structure has turned over so many times has led to lots of very very localized, unofficial power structures that represent sort of local "fiefdoms" which exist outside of the modern governmental structures.
Subsequently, it has built its own mythology of being "unconquerable" or "ungovernable" and not really a part of "Italy" - where "Italy" is seen as an outside power which builds into the mythology that helps the mafioso gain and retain control.

Edit: for very enjoyable (and highly regarded) novel that gets at the mafioso / Southern mythology about this, I highly recommend Black Souls.
Quite a few:

- Tons of generators, you can now create JWTs, X.509 certificates, SSH keys, and signatures

- Secret injection via environment variables

- Keyrings, allowing you to logically permission/separate values within the same configuration

- Encrypted value names and metadata for those needing tighter security

- Shamir Secret Sharing for Keyring access, so you can grant access to a Keyring only when a group of individuals can provide their tokens

- Edit mode, where you can edit a Keyring's Values interactively within an editor
I kept reading those as “Brian damaged” and thinking man, MZ really hated Brian.
Even Adobe has a free platform. That's all I wanted to say
Publicly available datasets were used.

> our release includes the complete framework for training and evaluation of the language model on publicly available datasets, including training logs, multiple checkpoints, and pre-training configurations

https://arxiv.org/abs/2404.14619v1
Yes, you can lock the UI quite easily if you're not careful.
> Seems like Rust was the wrong tool for the job.

Sure, but the problem is when you have a community around that tool that insists otherwise.
Nothing more beautiful than wet, dirty and spalling concrete.

https://en.m.wikipedia.org/wiki/Prentice_Women%27s_Hospital#...
Yeah man I seem to be sensitive to both: red lights (or red shifted monitors) during the day make me feel fatigued and sluggish; white and blue lights at night make me feel anxious and vulnerable.
>>> The Pythagorean theorem becomes intuitively true not when you have some deep insight about Euclidean space, but when, on seeing a right triangle, three proofs of it spring instantly to mind.

To be honest, this sounds like orienting one's self in the 'space of mathematics'. Is it not possible that, just like one can navigate by landmarks (proofs) or by the space itself (deep understanding), that there are in fact two roads to intuition in mathematics, of which ones is practice and fluency, and the other is deep insight and understanding?
The Rust community is one of the top arguments against rust.

I've never before been so condescended to as when attempting to ask questions there. Their lack of care for perf also drives me up a wall. Anytime they propose adding an extra layer of indirection to get around the borrow checker, I have to explain yet again that with the way modern CPUs work, extra layers of indirection have serious cache-related perf costs. Then I get told that I am yet again doing it wrong, computers are fast enough, and I am worrying about the wrong thing.
Unity is so good and quite affordable, basically there’s zero upfront risk of using it. Similar for Unreal Engine. And then there are tons of other open-source engines like Godot that are also quite good.

Rust is great from lots of stuff but game development or building UIs isn’t among that (yet).
My reasoning for disbelieving that valuing rhyming advice is a human adaptation from experiencing high quality rhyming advice stands on its own, separate from my reasoning for personally devaluing rhyming advice.

If they said that part of the reason that rhyming advice is sticky is people mistakenly believe that more effort went it to, that seems right.
There are a few things this is responding to, but since it does not provide the context directly, here they are (by no means exhaustive):

- Anduril dropped as NixCon sponsor: https://news.ycombinator.com/item?id=37418351

- Open letter against MIC sponsorship: https://nixos-users-against-mic-sponsorship.github.io/

- Open letter in support of MIC sponsorship: https://nixos-users-for-western-mil-and-govs.github.io/

- Updated sponsorship policy: https://discourse.nixos.org/t/nixos-foundation-event-sponsor...

- Open letter asking Eelco Dolstra to step down from NixOS Foundation and Nix team: https://save-nix-together.org/
One thing is certain, there are a bunch of things in that production chain which are not priced correctly.
The BOM cases are at best a consequence of trying to use poor quality Windows software to do stuff it's not suited to. It's true that in terms of Unicode text it's valid for a UTF-8 string to have a BOM, but just because that's true in the text itself doesn't magically change file formats which long pre-dated that.

Most obviously shebang (the practice of writing #!/path/to/interpreter at the start of a script) is specifically defined on those first two bytes. It doesn't make any sense have a BOM here because that's not the format, and inventing a new rule later which says you can do it doesn't make that true, any more than in 2024 the German government can decide Germany didn't invade Poland in 1939, that's not how Time's Arrow works.
Karafka 2.4 Release Announcement: Advancing Kafka Processing for Ruby and Rails
These companies already have fine print that the advertised speed is not a guarantee. My point in this thread is this policy takes away a tool ISPs had to control traffic in their networks, which I believe will lead to higher costs.
I’ve come to understand learning math as:

1. First gain the intuition

2. Second develop rigorous understanding

3. Third gain fluency from repetition

Repetition without understanding, or even intuition, is not really going to help.

There are game-based learning that really gets to the fluency part.
> why this type of thing is so normal for any VC ?

Because all of them do not hold a single moral they value higher than greed and desire. Honesty, realism, altruism, charity, they all go out the window when a quick buck is on the line. Big-wig figures like Justin Sun and Craig Wright have proven that it's very easy to manipulate crypto markets if you can convince enough shmucks to value your twisted opinion.

So learn the lesson well, here. If you meet a VC that isn't invested in you and issues "friendly" advice, you laugh and tell them to get lost.
I work fulltime in Rust (embedded stuff) but actually think the "everything else" influence into Rust is stronger than the systems stuff, and it's harming the ecosystem.

Just try finding e.g. an MQTT or WebSocket or etc library that doesn't drag the whole mammoth tokio ecosystem (which is really geared for Web Scale! projects) in with it.

Rust is becoming the language that tokio ate, and Cargo/Crates.io the new NPM.

That is, Rust is the systems language that a wave of non-systems developers insist on using, leaving behind a trail of non-systems-appropriate crates and projects.

Parent commenter's comment was crap by HN's commenting standards... but the underlying point about trendiness I think is in fact accurate.
If there are only 3 of you, why do you want to scale to $100m AAR?
About the Chinese police officers who may soon be patrolling in Hungary
As much as I love Rust I sometimes wonder if I'd be more productive in a simpler language. If I wrote it every day I'm not sure that would be true, but as a hobbyist coming back to Rust sometimes takes me a bit to get back in the zone. Also, still not a fan of async, as it is woefully incomplete and fairly complicated in some use cases. That said, I just can't go back to Go with nil pointers and lack of decent enums/ADTs/pattern matching either. I long for the "in between" language, but with an amazing 3rd party ecosystem as both Rust/Go have.

NOTE: I'm not a game dev
I'm going to offer an alternative perspective.

My mom needed a new computer a few years ago. I just went and bought her a base M2 Macbook Air. It had the 8Gb of RAM and 256Gb SSD that everyone complains about, and guess what happened. She loved it. It has been the best computer she ever owned.

She doesn't run out of storage because she doesn't really download that much stuff. Everything she does is basically in the browser. The apple photos app is the only real storage risk for her and it manages your library really well, offloading most photos to the cloud and downloading the ones you are working with seamlessly in the background when you work on them, and offloading them when you have ignored them for a while. She streams movies from Prime Video, Netflix, Hulu, etc. She doesn't download them. She uses "Canva" for various art projects and a few other little apps like that. She uses Messages heavily. But that's it. She doesn't run into any limitations with the 8Gb Ram and 256Gb storage limitations.

Furthermore, I bought it for $899 with a small discount I was able to get, but even the MSRP is only $999.

And if you asked her about it today, she would candidly tell you that she loves her computer. Her favorite features are:

1) It is "pretty" (i got her Starlight, which is a gold color)

2) The battery lasts a long time. With her light, only-web use and she rarely uses it for longer than an hour at a time. So the battery lasts her around 2 weeks on a single charge.

3) The screen is really nice

4) It's really lightweight

5) it doesn't make any noise.

If you broke into her house and slipped a 16Gb or 32Gb MacBook under her pillow without her noticing, she would never notice any speed difference. She is not hitting any sort of limits.

I use my mom as an example, because MOST people (or at least a significant percentage 33%+ I would presume) buying MacBooks are people like my Mom. They need a laptop to make a Google doc or run Office. They need to check their email. They might want to make a digital postcard or something and share a photo of their grandkids. That's what most people do.

Meanwhile I buy a MacBook pro with 64Gb of Ram for myself because I need it. Most people that talk about Apple are more like myself. I can't imagine 8Gb of RAM, so we complain about it. But the truth is, we are not most people. Most people are like my mom. They want a high quality computer that looks nice, doesn't make noise, has a long battery, and a nice screen. They use the browser for everything and 8Gb is fine. 256Gb is a bit sketch in my opinion, I'd like to see 512Gb be the default, but looking at my mom's computer she is only using 94Gb right now. So maybe 256Gb is really fine afterall.
Started using it as soon as they hit 1.0 and never looked back, we’re implementing it in every project now.
Richard Branson was caught evading tax - his family saved him from prosecution by paying it off.

https://slate.com/business/2014/05/richard-branson-tax-fraud...

If Harold Shipman had stopped with the first 100 murders or so he would probably never have been caught: https://www.britannica.com/biography/Harold-Shipman
Man, the website really needs to be updated then. I checked over a year ago and it still has this

> The code for VeilidChat will be available on Gitlab in the coming weeks.
Does the EC simply need someone to pay for their Fediverse VM/infra?
From: https://www.popularmechanics.com/cars/a12367/4324986/

"Quick, which is better: Replacing an 18-mpg car with a 28-mpg one, or going from a 34-mpg car to one that returns 50 mpg? Researchers at Duke University say that drivers find it easier to select the right answer when efficiency is expressed as gallons per 100 miles (g/100m).

So 18 mpg (or 5.5 g/100m) versus 28 mpg (3.6 g/100m)--an increase of 10 mpg--represents a 52 percent reduction in consumption.

If you trade in a car rated at 34 mpg for one rated at 50 mpg, its a 16-mpg improvement, so we ought to see those gas card bills plummeting, right? Actually, after a minute's worth of math, you'll get 2.9g/100m in the 34-mpg car and 2g/100m in the 50-mpg car--only half as big a gain as the original scenario. "
Like the author states, the "written in Rust" bonus many projects get does not apply to games. Most of the games I consider to be the most fun are built on an absolute rats nest dumpster fire of code (see: https://www.youtube.com/watch?v=k238XpMMn38). Sometimes bugs even expand game mechanics and make them more fun and expressive. That being said I'll definitely check out Unrelaxing Quacks, it looks great.
Yes, I also have adblock on my computer. When I’m watching broadcast television, on my TV, I do not.
To be fair, building UIs with iced-rs is getting better by the minute. My favorite showcase for using that library is this IRC client called halloy: https://github.com/squidowl/halloy
i would bet im way more informed than the majority of americans..

how many americans know who the vice president is? how many can even point to DC on a map?
this reminds me of Lispen of ye olde.. wait untill it clicks, man!
As far as I understand it, no parallelism at all in Pharo itself.
I think the problem comes down to fingerprinting. For example, resources used to be cached in the browser regardless of site exactly as you described, but then ad companies figured out you can track a user's browsing history by timing the cache accesses to see if a user had loaded a bundle from another site. To remove that vector, browsers split up caches per domain.
Thanks for the feedback. What kind of product are you using it for? Any issues with library compatibility?
This page has the arguments in favor or fuel consumed per distance travelled: https://www.popularmechanics.com/cars/a12367/4324986/
I agree with you on this, but just saying, there is plenty of actual python (not starlark) at Google, all over the most crucial places (which a lot of people who haven’t touched those don’t even realize exist).

Personal example - the fleet of hardware prototypes (that I used to work on) used for hardware-in-the-loop testing (basically the hardware version of CI/CD) was pretty much reliant on python. Anything that was compact enough to be accomplished by a script and generic enough (open this serial connection, write to that memory address, etc.), the de-facto default choice was almost always python.

But I fully agree with you otherwise, in a sense that I haven’t seen much of a gigantic python codebase consisting of a bunch of interconnected python modules, like you would see with other popular languages at Google (e.g., C++/Java/JS).
Isn't that just Swift/Kotlin?
It's completely irresponsible and ignorant of long term consequences. Private almond farms (among other crops) are allowed to egregiously consume insane quantities of finite resources, resulting in huge disparity in the benefits from those resources that should be a common good. Politicians get funded by wealthy farmers, and farmers get wealthier by funding politicians.

In addition to almond farms, there are all sorts of alfalfa and feed crops produced with a high water weight that get shipped overseas or to other states. Whatever mechanisms most states have in play to manage their water resources are completely inadequate, and they should probably be overhauled. The only reason almonds and other water intensive crops are grown is because there's an exploitable difference in the valuation of the product and the cost of one or more resources required for production.

The problem can be regulated and rectified, but the people with money have a big advantage.
There's wrong, and then there's "not appropriate for the site". I accept that I do veer into the "not appropriate for this site" category sometimes, and I understand and accept why I get flagged when I do so. But getting flagged is not evidence of being wrong. (And, as much as I wish I were wrong, I am unfortunately not.) I also disagree that it's not useful discourse -- ignoring the problem certainly isn't useful either. But I wouldn't post about it in Club Penguin and I understand if people don't want me to post about it in HN. It's a tricky line, because the article under discussion is inherently political. It's one thing to get flagged for off-topic in a tech thread, but it's harder for me to know where the line is when everyone else in the discussion is also talking politics.
Did you read the context of the conversation or just decide to pick on one line of my comment and make irrelevant replies?

The conversation is in the context of airlines making changes to their policies, and the parent poster made a claim that there was nothing stopping them from making those changes as there was no regulation or otherwise preventing them.

I am making the argument that wide changes in industries don't typically happen just like that even if there is no specific entity stopping them from making those changes. Industries settle on some equilibria, and trigger events like the pandemic or other major issues create the seed around which many players simultaneously implement changes.

The housekeeping change is an example of that.

It doesn't matter whether the older system is better or newer. The point is that hotels could have switched to a opt-in system any time, but most did not. The wide change happened triggered by the pandemic.
I have also found that programming is the gateway drug to Math B. Thanks to Functional Programming and Type Theory I eventually found may way into Abstract Algebra, Topology, and Category Theory... Wish I had time to go back and study these with a mentor, though!