Wan Shen Lim

34 Followers
63 Following
25 Posts
capybara | current phd student @ CMU SCS | Brunei
official stuffhttps://wanshenl.me/official/
life goalcapybara
Twitterhttps://twitter.com/lmwnshn
Wild possum shelters with plush toys in Australian airport shop

Staff at Hobart Airport in Australia's Tasmania discovered the marsupial among toy kangaroos and bears.

CNA
@0xabad1dea Have you seen Hogan's translation of the Tao? It reads like either a modern masterpiece or a shitpost, depending on my frame of mind: https://ttc.tasuki.org/display:Code:gff,rh,uklg
Side By Side viewer

{{ description() }}

@dev @dan @irene You may already know this, peanut milk is a thing: https://chinesecookingdemystified.substack.com/p/peanut-milk-soup
Peanut Milk Soup (花生汤)

A simple peanut milk vegetable soup to round out a (potentially spicier) meal.

Chinese Cooking Demystified Substack
@lindsey @ilyasergey I just checked my spam mailbox and it includes legit Google Scholar alerts from @ google.com that I signed up for. At least they're not biased?
@dev @dan @irene The feed placed this next to the "what to do about raccoons" thread that you replied to, generating brief concern.
@tobinbaker @adrian In Southeast Asia we use cheese or condensed milk :) Sometimes also closer to a folded pancake than a sandwich https://en.wikipedia.org/wiki/Apam_balik
Apam balik - Wikipedia

Hagelslag - Wikipedia

@dave_andersen TIL about copilot including Claude. Thanks!

And fully agreed. I think I'm seeing an interesting split in student opinion on AI code assistance for 15-799's first project right now (there is extremely little public code on GitHub that demonstrates how to use Apache Calcite) - in office hours, I feel like half the students told me that it's really helpful for API discovery, and the other half told me that it just keeps generating garbage. Maybe we should run a poll once the project is over. :)

@dave_andersen FWIW, Claude-3.5-Sonnet immediately recognizes that there's a trick: "I'll help write a solution to this problem. Note that this is actually a trick question - no prime number (except 13 itself) can be divisible by 13, as any number divisible by 13 would be composite by definition! However, I'll write a program that demonstrates this and verifies our reasoning".

No sieve, but their isPrime function only checks up to sqrt(n), skips even numbers with += 2, uses standard (n % i) == 0 testing. It ends with "A more efficient solution wouldn't need to compute anything - we could just return 1 as the answer since we know mathematically that 13 is the only prime that can be divisible by 13. However, I provided the computational solution to demonstrate the verification of this mathematical property".

Additionally, following up with "can you use a library?" generates code that uses primesieve.

In general, I find that Claude-3.5-Sonnet (which is the default AI model for the Cursor IDE) outperforms Copilot significantly and is a better representation of current AI coding assistance capabilities. I've tried and given up on a lot of the predecessors over the years (e.g., ChatGPT web interface, VSCode + Copilot), they weren't worth using at the time and I became very skeptical of AI-generated code. But Cursor+Claude changed my mind, I actually pay for that now (fixed cost of $20/month).