weissi
Re:The feature in OxCaml that more languages should steal
on Sunday June 28, 2026 @09:20AM (#48707047)
Swift has `@_noAllocation`:
@_noAllocation func foo() -> Int { return [1,2,3].randomElement()! } fails with "error: Using type 'Int' can cause metadata allocation or locks"
but
@_noAllocation func foo() -> Int { return 1 + 2 + 3 }
compiles fine.
Re:Anthropic Claude 3.5 can create icalendar files, so I did this
on Sunday August 25, 2024 @03:01AM (#41345079)
Interesting, maybe ChatGPT got more reluctant to spit out ics? Didn't have to try very hard back in May: https://chatgpt.com/share/0848349d-4b0b-40f8-9d24-e9c4ffc065...
Re:Ask HN: Best way to remove CO2 in a bedroom?
on Sunday June 16, 2024 @07:40AM (#40696321)
We leave our bedroom door open whilst we sleep which pretty much solves the issue. Leaving the ensuite bathroom door open also helps but not quite as much as the door to the hallway.
Getting Started with Swift on AWS Lambda
This File Is a Valid PDF, ZIP and Firmware for the Apollo Guidance Computer
Re:Microsoft To-Do Preview
on Wednesday April 19, 2017 @12:55PM (#14149273)
no mention or picture of Windows Phone?!
Re:Computer Scientists’ Trivia
on Thursday February 02, 2017 @12:44PM (#13552572)
for
int m[2][3] = { {1, 2, 3}, {4, 5,6}};
int *n[2];
n[0] = &m[0][0]; //equivalent to n[0] = m[0]
n[1] = &m[1][0]; //equivalent to n[1] = m[1]
it lists that What is n[1][1]? //2
What is m[1][1]? //same as n[1][1]
but it's actually 5. (n[0][1] would be 2)