Better HN
topnewbestaskshowjobs
Log inSign up

weissi

9 karma · joined Aug 14, 2014 (12y ago) · 9 submissions

[ my public key: https://keybase.io/jw; my proof: https://keybase.io/jw/sigs/VDZTEbaydiiSXyStqHghAKY7k9clfvetgt8DWOnRfv4 ]
Submissions

comment 5mo ago · link · parent

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.

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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.

4.

Learn English pronunciation of words with video clips of native speakers(youglish.com ↗)

1 points · by weissi · 6y ago · discuss

5.

Getting Started with Swift on AWS Lambda(fabianfett.de ↗)

1 points · by weissi · 6y ago · 1 comment

6.

This File Is a Valid PDF, ZIP and Firmware for the Apollo Guidance Computer(alchemistowl.org ↗)

2 points · by weissi · 8y ago · discuss

comment 9y ago · link · parent

no mention or picture of Windows Phone?!

comment 9y ago · link · parent

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)

9.

Assembly x86 Emulator in Browser(carlosrafaelgn.com.br ↗)

3 points · by weissi · 9y ago · discuss