skysight-inc/HackerNews huggingface dataset:
I wholeheartedly agree that rust’s syntax is way noisier and uglier than I’d like, and it’s nice to see someone else raise the point seriously. People tend to act like syntax is an ancillary detail in a language, but actually it’s fundamental! It’s our direct interface into the language itself and if it’s painful to read and write the language won’t be pleasant to use, no matter how great it’s semantics may be.

Beyond the line noise problem. I feel some of rust’s syntactic choices are confusing. For instance:

let x = 2

Introduces a new name and binds it to the value 2 while

if let Some(x) = y

Is a shorthand for pattern matching. Meanwhile other matching structures have no need of “let” at all. Likewise this extends the semantics of what “if” means and also overloads “=“ (e.g, glancing at this, would you say equals is binding a value to a pattern, performing a Boolean check, or both?) Rust has a couple of one-off weird syntactical devices that have been introduced as shorthand that imo quickly increase the cognitive load required to read code because several structures and keywords are reused in slightly different ways to mean entirely different things.

There are a lot of similar syntactic hoops around type signatures because they didn’t go with the old “type variables must be lowercase” rule which leads to subtle potential ambiguities in parsing T as a variable or proper type in some cases that thus forces additional syntax on the user.

I also think there are too many ways to express equivalent things in Rust, which again leads to more cognitive overhead. Reading the current docs, I get the sense the language is becoming “write biased”. Whenever they introduce some syntactic shortcut the justification is to save typing and eliminate small amounts of repetition, which is great in theory but now we have N ways of writing and reading the same thing which quickly makes code hard to grok efficiently imo.

This minor gripe comes with the big caveat that it remains probably the most interesting language to become vogue since Haskell.
We used JSDoc and Webpack to write custom JavaScript decorators and annotations
We do a lot of Rust compilation exploration during the development of TiKV(github.com/tikv/tikv), a lot of interesting learnings ...
https://en.pingcap.com/blog/rust-huge-compilation-units/
> I didn't mention Tucker Carlson

Yes, you did, an hour ago, elsewhere in this discussion.

https://news.ycombinator.com/item?id=31433617

> talking points repeatedly brought up on his show were directly brought up in the Buffalo shooter's manifesto.

And talking points repeatedly brought up by BLM were directly brought up by other attackers. So what?

> "The media" is not a monolith.

No, but most media outlets do use the same techniques, whatever their stance or affiliation.

> That appears to be a tactic of low quality outlets like the NY Post.

The NY Post has broken news that most outlets you might call "higher quality" denied for months before finally admitting they were true. Might I suggest reading a variety of sources, including some you disagree with?

And if you think, say, the NY Times doesn't engage in these tactics, read some of their recent coverage of Tucker Carlson.

Edit: This was interesting, but HN isn't the appropriate place for long back and forth debates. You can have the last word.
I would really like to buy one BUT I find it a little bit too expensive, especially the price difference for better CPUs I find proportionate. (i would be slightly more tempted if it was for an amd 6000 cpu, they are much better in perf/power, I hope you will reconsider in the next generation when the iGPU will be RDNA based)
I do enjoy that much of the thread is down to arguing semantics and terms over what kind of scam it is. soon we'll be arguing over if the P is capitalized or not. https://xkcd.com/915/
I would challenge you to find a 2022 Dell or HP with a trackpoint.
OOP is not the problem. You can write shit in Haskell and elixir too. I should know. I’ve done it!
The day there is a ThinkPad style keyboard (trackpoint, 3 button) and a matte screen, I'll order one immediately, and assuming it lives up to the expectation, I'd order more after that quickly.
When these NK scammers can land a high-profile job, I wonder why someone with a real credential would remain jobless!
I dread to think what gmail's codebase looks like, I've heard Stories. Some resources:

https://www.quora.com/What-was-the-code-quality-of-the-initi...

https://news.ycombinator.com/item?id=2452126
You are truly a legend pjmlp :)
I see it as a fusion of the campfire stories that humans have told themselves over thousand of years.

The fact that it was written in a book gave it incredible power and have allow our civilisation to exist and science to be developed but also removed much of the evolutions of the stories.

Now that our world change so fast the stories seems very outdated to our modern mind but most of them speak about a deep human conditions and traps we feel into multiple times.

It hard to speak to christians as most see it a first level reading (literally true) but most people are not ready to go into deep analysis of meaning, they need a story to unite them, to show them a way to a good life and so it was for all people 200 years ago.

Without those stories people put other things in its place (false idols) like money, pleasure, diversity and equity, communism, fascism, etc.

To the question is there a God, the God of the bible is a mix of the natural environment (god of wind, god of the sun, etc) and the human civilisation ’thou shall not kill’ if you kill, God will be angry: you are going to have a bad time (at the hands of other humans)

If you have the time, the Peterson lectures gave me a way to understand it that make sense to me (no bearded magician in the sky)
Any news about lvfs support from framework?
I think you'll find that that varies dramatically from denomination to denomination. When I was a kid, my grandparents and parents took us to a Southern Baptist church. I agree, 100%, and I'm not even sure that I'd qualify that with the word "benign" :)

In university, I dated a Lutheran (in Canada, there's two "sub-Lutheran" organizations, she was a part of the "more welcoming one") and it was a night and day difference. Not to go too far into theology, but these folks were some of the most "Christ-like" folks I have ever met. They really embodied the "be good to each other" concepts and strongly rejected the more evangelical/recruiting position that many churches take; their philosophy was "be good people, treat others kindly, feel free to have a conversation about your religion if someone asks, but don't try to guilt/shame/whatever, just be a good person."

I'm actually surprised this morning to be defending churches somewhat. It's a tragedy: the worst kind of Christians, to me, are also the most prominent and vocal. From my own understanding of the Bible and basic theology, I absolutely agree that many denominations are cult-like and have also lost their way from the teachings they purport to embody.

Meanwhile there's folks like the Lutherans I hung out with who, for lack of a better turn of phrase, are actually bringing light into the world. These folks get painted with the same brush as the... crazies.
Probably a case of automatically converting an Excel column into a pie chart.
If you've been using jQuery for years, know it, and can write a good amount of code without looking at a reference, then by all means, keep using it. It's not going anywhere anytime soon.
I don't know about CA, but PA its generally a pretty safe guess whats gonna have it
Open-source your SaaS and skyrocket your MRR
Even in Buddhism. I find pretty much anytime I say anything about it online I have to add "in most lineages" because there are certainly dogmatic ones.
> First, it shows that they listened to feedback. From way over here in the corner it seems like AMD has been the most requested feature for the Framework.

I would argue one of the most glaring problems with selling Framework laptops was that they where "still"
on Intel 11th Gen hardware which is often perceived as "not so grate" of a choice.

I'm sure they would love to also ship AMD based mobos (and Arm too) but it needs to be profitable, i.e. the additional sales gained through also supporting AMD must outclass the higher logistic cost as well as higher development cost. This might not seem like a big deal but from the little experience I have with logistics and things like maintaining Intel and AMD BIOS support, still having pressure to also ship a faster Intel mother board etc. I highly duped this makes any sense at this point in time.

Also, yes many people perceive AMD outperforms Intel, but many also perceive the opposite! Sure competition is grate, but Framework is not yet a well established company. Lastly I don't think they need to technically prove that upgrading to AMD or ARM is possible, the problem is not technology but logistics, resources (BIOS maintenance, testing, etc), supply-chains and potentially shitty contracts and practices by Intel (and other Companies).

So IMHO they need to first establish themself well, and then branch out.
C89 did:

• FILE* was a big I/O abstraction that C did not have before. With Unixes and MS-DOS there were file handles, but many other platforms had nothing like that.

• That there was a clear idea of what kind of operations were well-defined was a pretty big deal. Remember, all there was before was K&R to go off as a reference, or maybe you had access to the Portable C Compiler. It was also a time where you had a lot more oddball architectures.

• void return types and parameters. There was no idea of a procedure in early C, only functions with useless return values.

And of course more. There are definitely worse cases of ISO standards than C and C++. Both are noticably better out of it.
I find myself nodding along to comments like this and coming away with the idea that I should optimize for TC and then GTFO while I'm still young.
> Do you think this is mediated by your mental state, instead of directly causal?

It’s causal. I’ve found that my productivity level is relatively constant when I maintain a routine. The quality of my work may change depending on other factors, but I still make meaningful progress.

However, if I break my routine by checking social media early on in the day, there’s a good chance that my productivity will subsequently go down.

I haven’t found anything to suggest that I am more or less likely to do this when I am, for instance, not feeling well. One caveat. I don’t have to deal with anything you have to deal with, so I can’t make an apples to apples comparison.
I was fortunate that my last team was a group of engineers that all liked video games. So we downloaded 0AD and beat the crap out of each other for a few hours one Friday.

Crucially, they'd been nagging ME for months to do some sort of team bonding thing but nobody wanted to do the usual Zoom HH; everyone was well past the novelty of that by late summer 2020.

I'd inherited the team during the pandemic, we were spread out over 4,000 miles and six time zones, and we'd grown the team by hiring remotely too. So it was important, but the initiative came from them and I just facilitated it.
It alleviates the issue the way the frog doesn't notice in the "boiling frog" fable. That is, not in a good way. The cognitive load to parse and understand it is still there; you're just not as aware of it distracting from other matters. Some (me) would say it distracts from more important things, like how units of code compose and what the purpose of a program is.
Climate change reveals unique artifacts in melting ice patches
Interesting. This was with a minor app that has no users and no name brand. Thus I assumed it was standard. Sorry about that, maybe it's more arbitrary than I thought.
I'm waiting on alternate screen options. The 3K2K OLED screen on the HP Specter X360[1] would be a great highend option for me.

Framework is suggesting many customisable options but the wifi antenna is behind the screen so it's not a seamless transition. I would be interested in a screenless framework (with keyboard or just the guts) if they simplify wifi.

So a WiFi module or Cellular module would be a definite buy

[1] https://www.theverge.com/22264792/hp-spectre-x360-14-laptop-...
The worst polluters in the Arctic are not what you think
Or maybe it's just the sign of a meh place to work if there is mandatory fun?

I've worked at several (small I have to admit) companies where the people were usually honestly disappointed if they couldn't join the yearly weekend outings, the parties were fun and if someone didn't want to join, they didn't join. OK, I only started at my current one during the pandemic so I haven't actually met most of the people and it's also a bigger one, with actually separate departments, so no high hopes here, but I'm just saying that it doesn't have to be this bad.
I didn't think anything of it at first but that is indeed a strange design. Especially since the right part is a breakdown of one of the pieces.
I really hope this works out well for the Glitch userbase. I'm always nudging people towards it because I don't know anything else that makes it as easy to get started with a flexible web project without having to learn The Boring Stuff.
Intellectual property law is intellectual property law.
Having used a laptop similar to that linked HP in past and now comparing spec sheets, I don’t really think it’s in the same class as the framework laptop at all.

Compared to the framework, the HP’s:

- CPU is a generation behind

- Screen has low PPI (less sharp), very low brightness, and is probably a TN panel, meaning colors will be more dull

- HDD which is a lot slower than an SSD anyway is 5400RPM, which is slow even for an HDD

- Battery is 14Wh smaller

- Webcam is 720p instead of 1080p

- Bluetooth and wifi is a whole major version behind

- Charging port is one of those old terrible barrel jacks that gets loose quickly

And the build quality is most assuredly not in the same universe. Laptops as cheap as this HP are built on razor thin margins, which means that manufacturers are cutting costs wherever possible. This gets you things like creaky flexy cases, loose wobbly hinges, chintzy keyboards, bad trackpads, and oddball bargain basement components with less than amazing performance.

In short it will be a lot less pleasant to use, even ignoring that huge gaps in the spec sheet. Models from other manufacturers that would be more comparable to the framework in specs and fit and finish are the M1 MacBook Air/Pro, Dell XPS 13, and Lenovo ThinkPad X1 Carbon.
If not C++ or Rust, what languages do you advocate for now?
And if you bothered to read my reply to them before you rudely interjected, you would see that I shared that experience and consoled them over it. https://news.ycombinator.com/item?id=31434328

Touch grass.
An optional is just a '?' before the type:

For instance a function which returns an optional pointer to a 'Bla':

fn make_bla() ?*Bla {
// this would either return a valid *Bla, or null
}

A null pointer can't be used accidentally, it must be unwrapped first, and in Zig this is implemented as language syntax, for instance you can unwrap with an if:

if (make_bla()) |bla| {
// bla is now the unwrapped valid pointer
} else {
// make_bla() returned null
}

...or with an orelse:

const bla = make_bla() orelse { return error.InvalidBla };

...or if you know for sure that bla should be valid, and otherwise want a panic:

const bla = make_bla().?;

...error handling with error unions has similar syntax sugar.

It's probably not perfect, but I feel that for real-world code, working with optionals and errors in Zig leads to more readable code on average than Rust, while providing the same set of features.
> Lack of expertise? They’ve been building music players for 18 years now!

The developers working on that music player haven’t. Companies are just that, groups of people. Being a part of one doesn’t automatically grant you the powers of every developer there before you.

There are developers there that don’t have the slightest clue what Quartz, AppKit, and UIKit are doing.

There are certainly people outside of Apple that sometimes have more expertise in those spaces than people coming in!
Yeah, there is even a "fork" banner on the website. But we can't take it for granted that someone will actually do it.

(I lack any knowledge about Android development, so I'm out. ^^)
30kb gzipped is still 10x larger than Preact for reference
Well, they're still the ones that built it. :-)
As someone actually diagnosed with and medicated for ADHD, I'm stunned by the clarity and relatability of this description of it, right down to the SAD that has afflicted me for over a decade. None of my doctors has ever put it so clearly, so obviously, in a way that connects to my actual experience. All that is to say, I'm bringing this to my next therapy session, wish me luck.
Yes, you are correct. I had not thought about it deeply. There are restrictions for what can be used as a map keys according to some built-in equality rules. And of course the types used as map keys and values are concrete types so you can't pass a map to generic functions pre generics.

But was the built-in append function generic pre generics? I think it is?
People absolutely do that. Not people you really want to work for, but OP has no other options. Take the offer, get experience, and look for your payday in a couple years at Job #2.
You assume that resangan wanted to continue running FreeNode the way it was.

To me it looks like he had some issues with the people behind FreeNode and decided to take it over simply to destroy it (and/or change it into the right-wing gaslighting pro-trump "community" that it is now). If you look at it this way, it all makes sense: It's all just a personal vendetta project for him
s/every language/some languages/
>People will complain about these events, but I just don't know any other way to help teams learn about each other.

In gaming, there are entire genres which expect people to cooperate to get better results. Initially, they don't know anything about each other, but in functional groups there's at least a silent agreement to work together and not cause a fuss. Let's say in professional environments, it's fair to expect most employed people would do the same (ergo, the hiring process properly filtered the problem people out).

Eventually people end up working together on things more and more. From there, depending on their personalities, they will either learn more about each other, or come to an agreement they are only there to do the work. Both outcomes are fair, though individuals might feel left out when their expectations aren't met (team culture mismatch).

By introducing these events, it feels like managers are trying to fastforward a process which would happen naturally, through events which have little to do with the work at hand. If your projects need collaboration, surely these people will eventually communicate with one another and go through the flow illustrated above. I only expect managers to step in when there's a clear mismatch or sign of dysfunction within the team.

And honestly, I'm skeptical whether functional adults as a whole enjoy the attempts at fastforwarding the process. These events have a tendency to feel forced and infantilizing.
I wonder if this is related to K9 mentioning they're in talks with Thunderbird

https://k9mail.app/2022/01/18/2021-in-Review
> At the same time, you can just send people APKs or publish to F-Droid.

That's not really an alternative as only a few nerds will jump through these hoops. The app is as good as dead if you are not in the stores.
Faiq Bolkiah
How would that work for passengers inside the car? Does that mean they won't work?

What would happen if the phone was in a bus? Does that mean they won't work?

What would happen on a train? Does that mean they wouldn't work?

"Technically Trivial" is doing a lot of lifting
I disabled ipv6 on my router because I prefer having a static IP.
Why does he need to lead it? A manager should delegate, especially for things like this that can easily be organised/lead by someone that actuallys wants to lead them.
I have the opposite experience. Try discussing pretty much anything (from latest news, to car repair, to salad recipes), and see how quick it goes to bashing GOP and Trump supporters. As a non-USian myself, this gets really tiring pretty quick.
It's true .NET is lacking autovectorization support.. (despite leveraging a huge number of intrinsics) however the explict SIMD API of .NET is more complete than the Java Vector API, for advanced use cases.
I’m using act fiber and got ipv6 address
It might help you to think of 'if let' as an extension of 'let' rather than an extension of 'if'. That is, 'let' by itself supports irrefutable patterns. e.g.,

let std::ops::Range { start, end } = 5..10;

So the 'if' is "just" allowing you to also write refutable patterns.
More like content companies, not nec. app providers.
Seriously? I configured all five of my email accounts on FairEmail literally a week ago, because K9 doesn't have a unified inbox. I was even going to pay for it, just so I could snooze mails without having to use the Gmail client.

I hope to see updates to the app somewhere else.
To pile on even more... A lot of Linux users used to buy ThinkPad because of the Linux compatibility, the modularity and the build quality, but got addicted to the trackpoint, and this has become the only reason we keep buying them.

A competitor would be very welcomed!whoever is going to take that market will have followers for a long time.
The other day I tried to open Quick Assist to help my elderly father find out where his email was. Couldn't access it without signing in to a Microsoft account. That's not the exact situation you're referencing, but speaks to the length and breadth of the effort MS is undertaking to force you to log in to MS.
One Step at a Time
Not even that, since it's just a feedback about how people perceived communication.

But we know the brain is terrible at assessing its own decision process.

The hiring party could very well have not like the person, or be attracked sexually to the person, and felt that it was all about communication.

Post decision star rating is junk science.
My own experience was that only a couple of people in the groups I mentioned seemed like anything other than normal people, i.e. other moms and dads at Scouts, school events, kids sports & activities, etc.

The only real sweeping generalization I can make is that money (somewhat at $10M+ and mostly at $100M+) means that almost nothing is impossible. When you've got that kind of cash, a $200 dollar shirt is functionally the same price as a $20 shirt. It's not worth worrying about cost below some minimum increment. Most were also highly involved in multiple cultural and philanthropic organizations.

There's also a level where it almost becomes impossible to NOT make money. One family I know decided to renovate their primary residence, so they bought another single-family residence nearby (keep in mind, this is downtown in a major US city) to live in during the multi-year reno. Once the reno finished and the moved back in, they renovated the "temporary" home and sold it at a large enough profit to pay for both renovations.

The other "generalization" is that all had pretty unique attributes. One of the $1B folks traveled with an entourage everywhere, while another rode his mountain bike to/from work and was super-low key despite having multiple homes, flying private, etc. Another in the $10M+ club mowed his own lawn, had one used car, but lived in an $8M home. Yet another in that same club is on the board of many cultural organizations. Some had drivers, and some didn't. One family had a nanny who was on one of those nanny shows that were popular a while back (and she was freaking amazing, BTW. She was magic with kids. My kid absolutely adored her)