HNHacker News
TopNewBestAskShowJobs

swuecho

474 karma · joined June 25, 2010

submissionscomments
swuecho··on Rating 26 years of Java changes
That is why I think of java when using python's concurrent.future package.
swuecho··on I am sick of LeetCode-style interviews
The market is so bad, and most interview sucks one way or another. The main reason is interviewer have tens or hundreds application for same position.

I have just went through one interview that have 4 rounds.

1. half hour talk 2. 2 hours coding for several crud api. 3. system design project ( I spend 2 days on it. they told I have about a week on it) 4. another half hours with CTO.

and then got rejected. (The interviewers does not bother to send a reject letter. I asked them they told me the position is closed).

swuecho··on Llamafile is the new best way to run a LLM on your own computer
mac mini 8G runs at 10tokens/sec
swuecho··on Melange 1.0: Compile OCaml / ReasonML to JavaScript
What is your journey about F# and Fable?

I find Fable is good too and generated code is very readable.

swuecho··on Cursor: A code editor built for programming with AI
it has free chatgpt4 and copilot is a joke at now.
swuecho··on Cursor: A code editor built for programming with AI
most of chinese are cut off from chatgpt.

I use cursor to generate code and then edit in vscode. it is free and generate good code.

swuecho··on Show HN: CSVFiddle – Query CSV files with DuckDB in the browser
very useful tools!
swuecho··on Fresh is a new full stack web framework for Deno
That's exactly the island in Fresh does. Use Island for interactivity
swuecho··on Devious SQL: Message Queuing Using Native PostgreSQL
https://procrastinate.readthedocs.io/en/stable/
swuecho··on How do you deal with rejection?
move on and prepare for next one.
swuecho··on What Is Dbt and Why Are Companies Using It?
In theory, you could write dbt in make. Actually, Whenever I introduce to others about workflow concepts (DAG), I tell them it is similar to how make works.
swuecho··on What Is Dbt and Why Are Companies Using It?
If it is for for affirmation. The answer is Yes. I even write a similar tool using Scons. However, dbt is far better.
swuecho··on Things I learned from building a production database
thanks!
swuecho··on Things I learned from building a production database
Interface directly with customer ICs ==== what's IC?
swuecho··on Modern Python full stack with asyncio, Mypy, Next.js 12 and GraphQL
read a blog claim that asyncio does not faster than normal python code. so why async?
swuecho··on Pyjion – A Python JIT Compiler
Known Limitations With statements Pyjion does not currently support with blocks.

This is on the roadmap (and related to try..except).

=====

I thin with block is used all of the places, so this limitation make it not usable to a lot of projects

swuecho··on An oral history of Bank Python
Thanks for the links. eye opener for me, despite using python for serveral years.
swuecho··on Handling 100 Requests per Second with Python and Django
5/mo digitalOcean instance should handle 100/req fine
swuecho··on Handling 100 Requests per Second with Python and Django
I don't think they need 100 more current connection. Assume one process take 1 connection, only several connection are required.

I think there must be some misconfiguration there. otherwise, the throughout should not be that low.

If possible, the author should setup a demo (contrived query, but similar to production scenario). From there, others can give valid suggestion or improve the code and configure.

swuecho··on WeChat suspends new user registration for security compliance
In China, retail investor are called '韭菜' (Chives). Obviously, nobody care.
swuecho··on One man’s fight for the right to repair broken MacBooks
Strange Parts is marvelous.
swuecho··on Pyodide: Python for the Browser
no server is required. check https://pyodide.org/en/stable/usage/quickstart.html
swuecho··on Show HN: Squirrelbyte – a SQLite-based JSON document server
do you know sql.js?it is sqlite in js.

not sure the json support. if you move the sqlite to frontend, no server is necessary. upload a sqlite db or csv and explore.

swuecho··on Dream – Tidy Web Framework for OCaml and ReasonML
finally, some ocaml project has good document!
swuecho··on A Brief F# Exploration
ocaml ecosystem is smaller than haskell. ocaml kind of meets the minimal requirement, but far away from production grade.

in frontend, bucklescript changes too quickly. js of ocaml is hard to use. good luck if you want to trim the code size.

swuecho··on Coursera S-1 IPO
They were none-profit at initial stage (free education for anyone, first Ng machine learning course), but later somehow turn to for-profit.
swuecho··on AWS announces forks of Elasticsearch and Kibana
> relying on the poor experience and artificial overhead to launching that software independently and in a production ready fashion.

I feel elastic stack work against developer too. Not a good sign for open source product.

swuecho··on Rebooting a 15 year-old game written in D – Part 1 Compiling
Having someone who wrote the compiler to answer the question is very lucky, especially when port the code to new version.
swuecho··on Rebooting a 15 year-old game written in D – Part 1 Compiling
reading the blog and finally play the game feels great, even though I do not know much about D.
swuecho··on ReScript 8.4
well. rescript still compile pure ocaml code just fine.
Page 1 of 6Next →