skysight-inc/HackerNews huggingface dataset:
The Honors Algebra II class at the HS my sister went to was the same way but it was girls rather than boys that she treated more harshly. Girls would drop out of the honors track to avoid her class. Math class might provide fewer opportunities for subjectivity to creep in, but it still provides plenty. My sister's homework was "lost" several times, and she was falsely accused by the teacher of skipping class (3 unexcused absences in a quarter was an automatic F).

The response by the administration any time complaints were made were "We don't comment on any teacher's methods, but some of our best students come out of her classes." Given that honor students went into her classes, it would be rather troubling if that weren't the case...
It's somewhat silly semantics, but I believe it is a valid deductive step on the way to the contradiction - if the number is not divisible by any other prime, then it must be a new prime, ⊥.
I just asked an insider and will do my best to respond with more info. In the meantime, I believe the aquifer gets depleted from over-irrigation later in the season. I also imagine that flood mitigation prevents natural early-season recharge (our society just cannot help but build in floodplains).
Peehaps your argument is about how engineering should be taught, and everyone is saying how it is taught as black-and-white answers.

I studied Electronic Engineering, and I would say 95% of the questions in my exams had a correct answer, with zero subjectivity. It was decades ago in NZ so maybe things have improved?
Can you elaborate on the render fragment on GET/POST part? That sounds interesting!
I don't know, I would expect turning off biters to make the temptation for hardcore optimization much worse!

They add chaos and something else to focus on and if they're making things too hard then you can adjust the difficulty.
Yes. React re-renders components recursively by default. So, any state update in a parent component will recurse through and render all child components. But, a "render" does not necessarily imply a "DOM update" - it's about asking the components "what do you want the UI to look like now?", and determining _if_ updates are needed. This can be optimized if needed.

For more details, see:

- https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...

- https://www.zhenghao.io/posts/react-rerender
> no more separate types package

woo! and a module to augment!
TIL credit score is a real thing in a Western country - I always figured it was some thing hypothetical. Looks scarily too familiar to the Social score from some Black Mirror episode, or the alleged Chinese system if you ask me.
I don't know if this benchmark is trustworthy. Using a lookup table pollutes cache. It definitely needs to be compared with interactions on other parts of the code to get a good performance measurement.
it's the best i got
Use !g at start or end of your query to query google https://duckduckgo.com/bang
> Want to know how to never have to deal with a landlord? Own your own property!

I feel sympathetic with the folks who are trying to buy into the housing market now. I could not reasonably afford my own house if I were buying it today, and I make pretty good money. There will be a reckoning at some point, this obviously cannot continue indefinitely.

> We will be dealing with the fallout of the mass wealth theft/consolidation from COVID restrictions for decades to come.

Yet another example of the road to hell being paved with good intentions. "Seemed like a good idea at the time!"
> but now they punish my wife with a 10-minute interrogation to prove her identity if she ever has to get them on the phone for a legitimate reason.

How is that punishment? If USAA knows you or your wife were a target of somewhat sophisticated attack that ultimately broke their security barriers, wouldn't you yourself actually want some extra protection? If anything, this is a positive sign for USAA, I doubt with my Bank of America anyone would care with any sort of extra layers of security if my account would ever get hacked in a sophisticated way.
Congratulations to the React team on the release! I've kept up somewhat with the development of these features since Dan first introduced some of the ideas at JSConf 3 years ago. It's interesting to see how the APIs have changed over time—I'm sure as a result of some tough lessons learned at Facebook.

As someone who has worked on large React projects worked on by multiple teams, I can see a lot of the value proposition being delivered in this release. I can already think of many places where I'll want to slot in the transition API.

I'm curious if the SuspenseList API is making the cut here or if it's still on the roadmap? I played with it a while back and thought it was very cool, albeit slightly niche perhaps.

The only part that's a bit of a bummer is the recommendation on using suspense for data fetching. I'm already itching to get rid of lots of if (loading) {} code that plagues many of our components and makes orchestration and re-use of them a bit more painful than we'd like. I see lots of power in the idea of suspense as a way to orchestrate various generic async operations, but it feels like they don't want us to build solutions on this abstraction unless we buy into some opinionated framework. I can't really tell my team "let's use remix now lol".

All that being said this is a tremendous step forward and I'm looking forward to seeing what problems the React team tackles next.
The parents did not actually know what it was really like. They only knew the marketing "we'll help your kids".

When the kids told them, they were usually not believed because these were kids with a history of bad behavior already.
Someone noticed the Axie Infinity hack 6 days ago
I grew up with A, B, C, D, and F. You always knew where you stood, where you were excelling, where you were going fine, and where you needed to put in extra effort. It was simple and effective.

My daughter’s school uses this ridiculous categorization:

- M: meeting standard

- P: progressing towards standard

- T: needs more time to meet standard

- AC: area of concern

Her “grades” are usually simply all M. Totally useless as a parent. I have no idea what “M” means in terms of her competitive ranking amongst her peers, readiness for AP or advanced courses and/or trajectory for future success in college. Someone who is barely hanging on, but technically “meets the standard” and someone who is a literal genius in the subject will both get “M”. It tells me (and her) nothing.
Our return to the office has been back and forth for various reasons, but the ultimate goal is that everyone work in the office every day. But in an effort to make commuting easier, we are opening satellite offices in the metropolitan area...which (when all satellites are open) scatters teams between up to four offices. So nearly all of our meetings will be via Zoom, even if team members are "in the office."

I don't want to criticize too much, because I work for an otherwise great employer, but this decision just has me shaking my head.
Recently bought a Samsung Smart TV for my aged mother.

It was life changing for her.

She watches YouTube mainly; she selects videos of her interest areas using voice (button less remote with Mic). Mainly watches exotic and local travel destinations. Things she has heard of, but never had a chance to go. She particularly likes the intimate, off the beaten track, short solo traveler's videos.

She feels liberated, as she says she is traveling without the need to leave the house (which she cannot due to her age and mobility issues).

Without smart TV this would not have been possible.
FYI IntelliJ/WebStorm has a refactor option that automatically converts class-based components to hooks and vice-versa.
Dark patterns all around! Same i experienced with Coinbase after registering, when i searched for delete account, there is no such thing!
Yet again, another React major version, more churn in the ecosystem. Are all of the libraries your app depends on compatible with the new version? How much effort to update the ones that aren't, if that's even possible? Get ready to spend tens of your team's man-hours answering these questions.
Not a chance in hell I'd have one of these in my home. Or any Samsung product for that matter.
big fan of what you all are doing with this. the one massive need we still have are great user stories and recipes around auth, and some common kinds of things people do with auth, and how it affects mutations, queries, etc. It's all very vague at the moment and the docs don't go into much depth. cheers
Wow that looks amazing! Is it all tailwind CSS?

How do you work with components e.g. buttons in django + tailwind? Do you {% include %} them or are all of them uniquely designed?
Thanks so much for the reply, could you check out my message to the other user? Genuinely curious as I feel like I have good ideas, have delivered in the past, and can apply with working prototypes for my ideas.

My main concerns are applying without solutions for legal/physical scalability.
Well, it's only efficient if the component which renders each element in the list gets a stable key AND is React.memo() AND the props passed to the components do not make the React.memo() pointless.

For example the following will not be particularly efficient, because a fresh callback is passed to the component on each render.

<>
{array.map((data) => (
<SomeComponent
data={data}
onClick={() => { alert('nope'); }}
/>
)}
</>
This is a very americo-centric view....

Most of the world consideres americans the "bad guys", and a lot worse than the russians. You can start with southern america and middle east. Then the balkans (where putin is doing the same as you guys did with kosovo). Even parts of africa would have a say.

Here in the balkans, people were actively rooting for trump in the last two elections, because they were afraid Hillary would start a new war here...
Warning : The read is really-long (multiple-hour), and potentially PTSD trigger inducing.

Interesting but disturbing. Happy that such hell-hole is now closed.

There is also a documentary https://en.wikipedia.org/wiki/Children_of_Darkness (available on Netflix) about the school.
I don’t think these kinds of documents are particularly useful unless they are to-the-point explanations of things about the person that significantly differ from the norm, which someone might actually have a shot at remembering in practice.

For example, “I love direct feedback. Please don’t sugar coat things with me.” or “I am sometimes very direct and it comes across as rude. That is never my intention, so please feel free to call me out on it when it happens.”

Even that though is less useful than the constant work of difficult, honest communication that is actually required to shape your interaction patterns with others. I worry that user manuals might be used to absolve oneself of that work.

This document is a nice piece describing the environment the author wants to work in, in my opinion, rather than being a user manual for the author. Maybe reframing it that way would engender a better response in readers.

All that said though, the response here is often verging into the downright cruel, and I am disgusted by a lot of it. Many folks are making sweeping proclamations about this person’s personality or character and/or directly attacking the author. I think there are things to critique here, but it’s hasty as hell to assume that this document gives you enough to judge an entire person, and a whole other thing to rip that person down with insults.
Marketing 101, make the buyer think that defects are features.
kagi does. i love it. whenever they move from beta to paid I'll be a paying customer
This may be the finest meta-analysis of this phenomenon I've read to date. Thank you.

In particular:

>> once insights are established they also suffer from a decay rate (proportional to the magnitude of disruptions into the cohesive fabric of societies) - if not activley reinforced - and then have to be relearned (the hard way) after the turbulent times of societal changes subside.

I'm intrigued - although not completely sold - by this idea that rather than a pendulum swinging too far one way and too far the other, we're actually regressing and forgetting hard-won liberties (and the skills most people need to reason with why those liberties are necessary). If that's so, it's more like we're entering a mini (or who knows, not so mini) dark age, right?
> They were using email -> sms specifically which is a relatively new feature that allows you to text mobile devices on carriers that support email to SMS.

I don't think this is true? In ye olden days of text messages, SMS and MMS were relayed via email, IIRC. I remember emailing pics to a friends phone using the MMS email address. The format was unique to each carrier but included the phone number, obviously.
This is horrifying. Can we be sure something like this isn't still happening? Are there people trying to help stop this kind of thing? I don't even know where to start.
Yes, controlling the world's reserve currency and forcing others to adopt it fits the definition of monopolizing money.

You should probably start here:

https://en.wikipedia.org/wiki/Bretton_Woods_system

https://www.thebalance.com/what-is-a-petrodollar-3306358

https://www.investopedia.com/terms/r/reservecurrency.asp
You could have spent 1/20th of the cost on an Apple TV or even a Firestick and she'd have got exactly the same.

Edit: And with an Apple TV it would also not be spying on her 24/7 and sending audio recordings of her private conversations back to Samsung.
I don't see it Workspaces or in regular Google Docs. I don't see the typical "feature rolling out over the next few weeks" disclaimer, but I wonder if that's it.

If it does inter-document linking like obsidian, that would be a real game changer for me.
Font Awesome also suggests SVG over web fonts in any app with JS:

https://fontawesome.com/docs/web/dig-deeper/webfont-vs-svg

One of the key notes in the bottom table on that page is "Auto-Accessibility" and the JS libraries with SVG icons provide better accessibility out of the box. Most of the document you linked is stuff you need to do manually by default when working with web fonts.
Isn't that company also trying to fulfill the same ideological goal? Their twitter even says "Freedom for gamers". Looks exactly the same type of bs to me.
Out of curiosity, what would be an acceptable way for the developers to provide a quick way for users to get up and running?

A get started guide with all the required commands easily copy-pastable? (A popular option these days)
Something else?

I don’t mean to be critical, I’m simply curious.
Had a lot of fun collaborating with you on the supabase pg_graphql example, which of course is a HackerNews clone! https://github.com/supabase-community/supabase-graphql-examp...
Oh, that actually explains a lot. I don’t use Twitter, nor do most of the people I talk to about these things. Frankly, most of the stuff I see on Twitter sounds to me like it was composed by an insane person. If you used more of a “boots on the ground” approach and interviewed people who aren’t chronically online, your findings might ring more true with people like me. But maybe that’s not your goal? Nothing wrong with using Twitter as your basis, but I think the site as a whole will feel “off” to a lot of people unless you make it very clear that your data is Twitter-based.
Ask HN: Any Advice on Mentoring Juniors?
Hi, I just joined a team, where most devs are really juniors(mostly bootcamp grads who did a career change and got hired after internships).

I'm not that experienced myself but a bit more than them(I've been coding since I was a kid, but don't have that much experience as an employee)

A part of my job is supposed to be mentoring a few of them. I've never mentored anyone outside of a few students/friends in college though(besides maybe one intern I gave a few advices to, but it was really quick)

Any advice on how to be useful to them?

Should I be proactive and regularly ask if they need help? Or just tell them to ping me whenever they want if they have an issue?

Also I'm sure I could teach them a few things, but I don't always feel legitimate/confident, I'm younger than them,
I'm not always 100% sure of what I'm saying, so sometimes I'm hesitating about giving them advice to not teach them wrong stuff.
I wouldn't dismiss the the 'tent pole AAA shoot-em ups' so quickly, as some of these games are the best candidates for 'expanding minds'. I suggest Red Dead Redemption 2.
You're aiming for the same outcome in that example; it's just that your incentives for it aren't the same. That's okay.

Oftentimes different incentives imply different outcomes, though. I've been in environments where product's incentives were not "enable dev to get to work" but instead "create documentation/slide decks for upper management". So they were busy as hell, creating artifacts that did not help dev identify what problem they were solving (let alone what solutions might look like), and were extremely successful based on what they cared about, but meant that the dev teams had very little time or direction to be successful with, leading to low morale and high rates of burnout.

In the example you provide, if that leads to one person going off to play with new stuff while the rest of the team is focused on the project, that's a problem. Likewise if the person wanting to get promoted insists on taking on all the high visibility work (or worse, just taking credit for it), that creates a problem. As long as the desired outcome is the same and you can create a path towards it that aligns with everyone's incentives (project succeeds, people get recognized for their contributions, we use some new stuff along the way) you can be successful.
>This burden applies to no other federal agency or private corporation."

Pensions for retired employees are, generally speaking, paid by the contributions of today's employees. No other federal agency has a business that is guaranteed to continue declining in volume and revenue. Congress recognized this in 2006; this is why said law was passed near unanimously. Better a decade of pain, than to not have USPS pensions fully funded in the future.

And as for the private companies that are also guaranteed to be declining in revenue, I bet a lot of retirees of newspaper publishing companies wish that their employers had been required to similarly bulk up their pension plans c. 2005.
I would say anything from Zachtronics - these games are like core programming concepts as games and are fundamentally different from mainstream AAA shooters. I especially recommend SpaceChem and ExaPunks.

Dwarf Fortress, if your children can manage to play it, has a steep learning curve but is a weird and wonderful simulation of a fantasy environment with immense depth. My college roommate played an immense amount of Dwarf Fortress and had minor fame among other DF players for the magnitude of his projects. For the years that he played that game he would play it non-stop - literally non-stop there was always a computer in our apartment running Dwarf Fortress 24/7 as dwarves worked on his instructions creating enormous monuments and castles. He always had crazy stories about what his dwarfs had done and how his fortress was developing.

Minecraft and Factorio are pretty popular but also pretty different from the shoot-em ups. At least, Minecraft can be, there are mods and variants of Minecraft that are basically fighting/FPS games.

Factorio touches on a key concept in programming. I think of it as gamifying the idea of scaling your code. You get a system working, you build a bigger system, you find a bottleneck, you remove it. You keep repeating this cycle, looking at your metrics, until you realize your factory is a mess of spaghetti that you can hardly keep running - so you refactor...
My guess is it would respond with the standard stack overflow error, from examples of similar output posted in its training set.
> Internal Server Error

Boo
Nothing but love for Zulip honestly. But getting my company to switch from slack or teams seems to be impossible.

For a good example of how great Zulip can be: the rust-lang zulip instance is a shining example.

https://forge.rust-lang.org/platforms/zulip.html
A Brief Overview of Auditing XCMv2
I don't think you should be downvoted, it's a consideration that should probably always be somewhere in the back of people's minds when they go to some emerging market, considering history. Maybe in the same way that Germany asks themselves what their true purpose is when they're adding to their military budget.

But it would be nice to see some suggestion of what the "proper" way to try to help out in the developing world if you're an altruism-minded tech person.

Off the top of my head...

You could completely avoid going there and stay at home, because anything you do is inherently corrupt and colonialist. Let's call this the Catholic option (original sin and all). OK, but "emerging" can stay that way for decades or just never emerge; whatever knowledge you have stays locked in your head. Maybe eventually, some Western corporation comes in with the product you would have built there, except it's all made overseas and only takes from the local economy.

You could go there and teach coding and entrepreneurship. Great idea! Hope someone is paying your bills to do so (they're going to be higher than you think). But there's another issue here: there is a local environment. You can't just import your knowledge, it's kind of specific to where you're from and won't work. Everything from -- how do you interact with employees? (Believe me, Silicon Valley BS does not fly in the international workforce.) What are the buying habits and needs of your local customers? How do you deal with governments that range from inefficient to massively corrupt? At best, with no local experience, you're teaching skills that are not really as great as you think they are.

You could join an existing local company. Whoops, nobody can hire you and/or there are none and/or you don't speak the language. Also, you don't have a work permit. Nobody is particularly interested in this weirdo with no local experience going around offering their knowledge.

Honestly, I'm trying to give you a fair reading. I have traveled, I've started a (very small, still exists but isn't growing) startup in an emerging country, and it is just really difficult. Everything is different, and trying to adapt what you know is not a cakewalk. The capitalist model works because you have to get hands-on, figure out how to actually build something, and work through the very difficult puzzle of how knowledge actually is transferred.

And in my personal experience, the big successes really aren't "Westerner barges into and takes over local market" anyway. There's usually some connection -- off the top of my head, look at Canva, with a second-generation Filipina-Australian building a massive business in the Philippines (with help from US and Aus investors / execs).
Same, except it took me two (lengthy) sittings. Really strong stuff. Had to really reflect afterwards.
what is the point of this comment? would you prefer react never receive any updates? AFAIK transitioning to react 18 shouldn't break much unless you want to take advantage of concurrent mode
This isn't Instagram either, can you clarify what this is supposed to mean?
consider the idea that with empathy you can effectively communicate and persuade others better as you can gain insight into who THEY are and how THEY feel. its an attribute necessary for EFFECTIVE leadership, not of the brainwashing manipulation kind, but of the trusting kind. takes learning
Ask HN: How do tech companies deal with employees who get brain fog long Covid?
Brain fog can last for months and possibly for life after an employee finally tests negative. So what happens to such an employee in a tech company?
Apple leads U.S. tech giants in China ties