HN user

quangio

92 karma

[ my public key: https://keybase.io/quang; my proof: https://keybase.io/quang/sigs/EGOJxm9xr3iOMNDg9zbpoWFsJlAyKu-ETaAXL5Udnyw ]

Posts5
Comments30
View on HN

This is a stressful time. My school just sent out an email to kick us out a few days ago (we have one week to move out). As an international student, I have no place to go. After seeing this, I am even more worried as I don't know my internship at CloudFlare NYC can happen or not.

I used \LaTeX before switching to Texmacs completely. It is the best WYSIWYG editor I have ever used. Beside the ability to see the result instantly, I really like the memorizable shortcut combinations (just fancy ligatures basically; sometimes you can just drop to LaTex) and the ability to interact with other programs with no setup at all.

This AI is highly inaccurate: AI predicts I don't like dogs & like men (/r/suddenlygay after I shaved). I hope that's the author's point.

The worst thing about AI is that people believe AI is god that makes unbiased prediction. E.g. Big companies use Pymetrics and HireVue for their "unbiased" hiring practice is a joke.

May be a few years from now, AI will become a classic for software bugs just like Therac-25 (but developed by mostly top programmers)

Julia is great. You can call codes from different libraries and they will just work together, even from C/C++/Python libraries. One of the bad things right now ihmo is toolings. Despite having LanguageServer, the IDE-like capacities aren't Java-level mature yet, so it feel a little bit messy for large project. I'm trying to make a PoC to bring lsp features to Intellij platform here https://github.com/JuliaEditorSupport/julia-intellij/pull/41.... I think if someone's willing to improve the toolings and web dev ecosystem, it will be more suitable for general purpose programming.

This book is so accessible! You can make a toy compiler from scratch just by reading this.

On this topic, the LLVM's tutorial is also kind of great and if you are impatient, there are also parser generators. If you are really that impatient but still want to write a compiler, I wrote a guide on how to make a (toy) compiler as easy as possible here https://github.com/quangIO/Lucix

The benchmark seems to use only browsers' built in VMs to run WebAssembly (more like the the efficiency of different VM JIT compilers compared to native). How about running them in standalone webassembly VM like WAVM (it does more aggressive optimization, use LLVM for JIT), Asmble (running in JVM), or Wasmer (use Cranelift like Firefox does, maybe a little bit faster than Firefox)

(I just skimmed the paper, sorry if i miss something)

CS in VN (2013) 7 years ago

There is no question that half of the students in that grade 11 class could pass the Google interview process.

I am quite sure this is not an average case. He likely visited a high school olympiad team. Tbh, CS in Vietnam educational system is still treated like "third class citizen."

(I am Vietnamese, went to a gifted high school and had exposure with competitive programming)

[dead] 8 years ago

Do you guys sponsor J1 Visa for internship positions?

Screen vs. tmux 8 years ago

Not an experienced mouse free|multi terminal workflow user but I find Kitty, as an alternative to terminal + tmux, is quite productive. It just works and has features I-a beginner-need like tab, tiling, layout switcher, and default memorable shortcuts.

It's great to see people still using C to make web servers !

But can you clarify what are the "state-of-the-art technologies and solutions?"

I just skim the project and think this is not a lot better in term of performance than other servers like Nginx or H2O. There is also Lwan[0], which uses epoll too and has a cool coroutine, router implementation (I implemented a framework for Kotlin/Native on top of it[1]).

Another framework having really fast and fancy technologies in it is Seastar[2]. I think implementing kernel bypass, AIO, DPSK stuff makes it the fastest web server around currently. May be you can try to push the boundary with those things, SPDK, aggressive polling, fast router...?

[0] https://github.com/lpereira/lwan [1]: https://github.com/KwangIO/kwang [2]: https://github.com/scylladb/seastar

I personally think node based programming is suitable for DSL, high level plumbing, data visualization (imagine Jupyter cells but having branches). The best visual programming language is UE4 Blueprint: prototype quickly, great debugging experience (great tooling in general), communicate with C++ easily, intellisense... It's really productive to glue stuff together but not that helpful for "drawing" all the core logic. VSP is good but not for every use-cases.

I think China "scaled" really fast and they're too big to fail. But as an asian foreigner non-ml tech guy, I don't plan to stay here. Things look good on paper, but the working condition, environtment is not the best in the world and i don't think it is ideal place to start everything from scratch as there are big class gap and the need of guanxi.