HNHacker News
TopNewBestAskShowJobs

brickteacup

190 karma · joined January 13, 2023

submissionscomments
brickteacup··on Ignoring boys' emotional needs fuels public health risks
I really wanna ask whoever wrote that if trans men are included
brickteacup··on Diabetes projected to affect 1.3B people by 2050 as waistlines keep growing
> My SIL said that kids need to “live a little”

he will in fact live (only) a little if they keep feeding him like that

brickteacup··on Massachusetts DA postpones free “DNA drive” after ACLU questions program
what kind of a person would voluntarily give their DNA to law enforcement? we really need to make people trust the government less
brickteacup··on Lingua Latina per se illustrata (2012)
great series, probably the best way to learn Latin. there's also some nature method courses for French, Italian, English, and German that you can find online if you google hard enough (search for "X by the nature method")
brickteacup··on Lingua Latina per se illustrata (2012)
god I wish HN had downvotes
brickteacup··on HashiCorp just let go 8%
> use "Alice" and "Bob"

why are you using stereotypically white names? this is exclusionary!

> use "Jessica" and "Guillermo"

why are you using stereotypically nonwhite names? this is racist!

it's just impossible to win with you people isn't it?

brickteacup··on Rust Criticism from a Rustacean
which forces people to pay to register a domain just to publish packages...
brickteacup··on Most important papers for quantitative traders
> Only an absolute pedant who is looking to argue trivialities would bicker over the name of "Nobel Prize in Economics" vs. "Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel".

well this is HN after all

brickteacup··on Rust: The wrong people are resigning
> without a clear statement of what happened from the decision makers, people can speculate

People can always speculate whatever they want. And let's be honest, the kind of people who like making utterly baseless claims about racism will do so regardless of any official statements or explanations. Unless there's actual evidence of racial animus it's best to just ignore these silly people.

brickteacup··on What's up with this new memory_order_consume memory order?
> Um... which platform?

most platforms with weaker-than-x86 memory models need additional barriers for acquires e.g. on ARM you need LDAR

> Probably the biggest reason that memory ordering semantics are such a mess

are they though? release/acquire semantics are actually intuitive once you get used to them and are very well suited for pointer-based lockfree data structures. consume is maybe more subtle but it's mostly an optimization on top of acquire, so not very difficult conceptually

brickteacup··on What's up with this new memory_order_consume memory order?
`sample_consume_allowed` is an example of a transformation that the compiler is permitted to apply to the original function `sample_consume`. if the original function had used `acquire` instead of `consume` then the reordering of the v2 load before the p load wouldn't've been allowed
brickteacup··on What's up with this new memory_order_consume memory order?
> the DEC Alpha seems like it should have some sort of cheap fast atomics, but you can't cheaply do Acquire-Release so how about we invent something else ?

consume was not invented for Alpha. rather consume should have less overhead than acquire on any platform that needs additional memory barriers to implement acquire semantics (on most platforms consume requires no barriers at all since memory ordering is enforced as a side-effect of dependency ordering. Alpha is an exception to this, i.e. consume does require a barrier on Alpha).

it's also worth noting that rcu_dereference in linux is based on the same idea as consume (using dependencies to enforce memory ordering) the the basic idea is definitely useful. it's more that the C++ standard's specification of consume turned out to be unimplementable in practice

brickteacup··on Where have all the hackers gone?
> Who the fuck wants to talk about the Golang GC just because you have a Golang shirt on?

ummmm me

(I mean I hate Go but in a hypothetical world where I liked Go, me)

brickteacup··on Show HN: A little web server in C
> stop for a second to think WHY Go didn't have them

I have thought about this. I concluded that Go doesn't have generics because it's a poorly designed language whose designers elected to ignore decades of progress in programming language design for... reasons. Hence why you have to do the moral equivalent of passing around void pointers and checking return codes in $current_year

brickteacup··on Texas professor fails entire class from graduating- claiming they used ChatGTP
Yes, the real world, where a professor decides an entire class cheated because ChatGPT said so (lol. lmao even). I guess it is a good introduction to dealing with capricious idiots
brickteacup··on Texas professor fails entire class from graduating- claiming they used ChatGTP
Rather disturbing that such people are able to become professors in the first place. Even if he's not technically inclined he should be smart enough not to assign grades based on the output of some untested tool
brickteacup··on EPFL cancels Stallman's lecture citing “the situation regarding” his persona
> in practise it is very human nature

yes, it's human nature to be intellectually lazy; that doesn't mean it's a good thing or that it should be encouraged

brickteacup··on Dell goes back on WFH pledge, forces employees to come back to the office
> If no one is willing to hire juniors, then how do you get a pool of seniors

It's self-correcting: the fewer seniors there are, the more they cost. Eventually hiring a junior becomes the more economical option. The market gets exactly as many seniors as it deserves :)

brickteacup··on Dell goes back on WFH pledge, forces employees to come back to the office
Doesn't really matter if you're salaried though, does it?
brickteacup··on Monte Carlo methods
Some people actually find learning new things to be interesting and would therefore appreciate a comment giving them a new avenue of exploration to pursue.
brickteacup··on Baltimore sues Hyundai, Kia over spike in car thefts
Just give violent criminals exponentially increasing sentences for each conviction. Then they'll only get a handful of chances to reoffend in their lifetime
brickteacup··on A whirlwind tour of the LLVM optimizer
Can you elaborate on the extent to which you use LLVM optimizations? Is it comparable to e.g. clang's -O1/2/3?
brickteacup··on One Day You'll Find Yourself
Nah actually shitposting is funny and should be encouraged. Yes I know this is HN but stop being so uptight
brickteacup··on Mojo might be the biggest thing to happen in programming for decades
I've never understood why some people seem to care so much about 1- or 0-based indexing. Literally who cares? I cannot comprehend actually refusing to use an otherwise-perfectly-good language just because the indexes happen to start at 1.
brickteacup··on Parquet: An efficient, binary file format for table data
Jesus, why are you so angry at the prospect of having to execute a CREATE TABLE statement? Are you okay?
brickteacup··on Employees are feeding sensitive data to ChatGPT, raising security fears
Cool, please provide a link to a library of similar size and complexity to pandas which was written using ChatGPT in the span of a few days. We'll be waiting.
brickteacup··on ChatGPT Can't Kill Anything Worth Preserving
> all the music you listened to was played live by musicians, all stories were brought to life in front of you by theatre actors

well, no, you probably didn't listen to much music or see many stories at all because the average person couldn't afford to experience such things more than a few times in their life. shocking that Luddites are still a thing in the 21st century, especially here.

← PreviousPage 2 of 2