News for hackers. Stuff that matters.

swuecho

Re:Rating 26 years of Java changes on Saturday October 11, 2025 @07:56PM (#45553849)
That is why I think of java when using python's concurrent.future package.
Re:I Am So Sick of Leetcode-Style Interviews on Tuesday June 04, 2024 @03:23AM (#40571590)
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).

mac mini 8G runs at 10tokens/sec
Re:Melange 1.0: Compile OCaml / ReasonML to JavaScript on Monday June 12, 2023 @08:33PM (#36303452)
What is your journey about F# and Fable?

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

Re:Cursor: A code editor built for programming with AI on Friday March 24, 2023 @08:48AM (#35288335)
it has free chatgpt4 and copilot is a joke at now.
Re:Cursor: A code editor built for programming with AI on Friday March 24, 2023 @08:47AM (#35288319)
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.

very useful tools!
Re:Fresh is a new full stack web framework for Deno on Tuesday June 28, 2022 @08:33PM (#31914998)
That's exactly the island in Fresh does. Use Island for interactivity
Re:How do you deal with rejection? on Tuesday December 28, 2021 @08:54AM (#29713766)
move on and prepare for next one.
Re:What Is Dbt and Why Are Companies Using It? on Friday December 03, 2021 @12:40AM (#29426972)
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.
Re:What Is Dbt and Why Are Companies Using It? on Thursday December 02, 2021 @09:35PM (#29426000)
If it is for for affirmation. The answer is Yes. I even write a similar tool using Scons. However, dbt is far better.
Re:Things I learned from building a production database on Wednesday November 24, 2021 @12:17AM (#29327130)
thanks!
Re:Things I learned from building a production database on Tuesday November 23, 2021 @11:19PM (#29326881)
Interface directly with customer ICs ==== what's IC?
read a blog claim that asyncio does not faster than normal python code. so why async?
Re:Pyjion – A Python JIT Compiler on Tuesday November 09, 2021 @10:03AM (#29162635)
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

Re:An oral history of Bank Python on Saturday November 06, 2021 @10:54PM (#29136127)
Thanks for the links. eye opener for me, despite using python for serveral years.
Re:Handling 100 Requests per Second with Python and Django on Wednesday July 28, 2021 @05:50AM (#27982005)
5/mo digitalOcean instance should handle 100/req fine
Re:Handling 100 Requests per Second with Python and Django on Wednesday July 28, 2021 @03:38AM (#27981282)
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.

In China, retail investor are called '韭菜' (Chives). Obviously, nobody care.
Strange Parts is marvelous.
Re:Pyodide: Python for the Browser on Thursday May 13, 2021 @03:45AM (#27139459)
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.

Re:Dream – Tidy Web Framework for OCaml and ReasonML on Friday April 09, 2021 @10:01PM (#26758308)
finally, some ocaml project has good document!
Re:A Brief F# Exploration on Friday April 09, 2021 @02:37AM (#26747341)
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.

Re:Coursera S-1 IPO on Friday March 05, 2021 @10:30PM (#26364933)
They were none-profit at initial stage (free education for anyone, first Ng machine learning course), but later somehow turn to for-profit.

Older »