Twitter | Search | |
This is the legacy version of twitter.com. We will be shutting it down on 15 December 2020. Please switch to a supported browser or device. You can see a list of supported browsers in our Help Center.
sinan
I like programming languages and compilers. Not interested in chains or coins.
3,769
Tweets
339
Following
466
Followers
Tweets
sinan Nov 27
Replying to @_osa1
Reply Retweet Like
sinan Nov 27
Just realized that on Linux (at least on a few versions I tried) setting terminal to non-canonical mode is enough for read(stdin) to not block, but on WSL you need to set stdin to non-blocking mode otherwise read blocks even in non-canonical mode. Is this a bug in WSL?
Reply Retweet Like
sinan Nov 23
Replying to @_osa1
The issue: it's fixed in master branch.
Reply Retweet Like
sinan Nov 23
Had some fun debugging a tiny issue this weekend. Someone reported a bug when using a bouncer with multiple clients. I tried to reproduce it and thought it's not a bug because konversation and hexchat also behaved the same. Turns out they are all buggy the same way.
Reply Retweet Like
sinan Nov 22
I just quickly implemented a tool that works like tree-sitter-cli but loads the parser from a .so file: I think tree-sitter-cli doesn't allow this (or at least I can't find it) and I needed it recently.
Reply Retweet Like
sinan Nov 18
Replying to @sanchayan_maity
Glad you liked it :-)
Reply Retweet Like
sinan retweeted
Sanchayan Maity Nov 18
Running hexchat requires Xwayland so trying out this tiny IRC client written in Rust. Simple and easy to configure!
Reply Retweet Like
sinan Nov 17
I'm very close to understanding MLsub type checking ...
Reply Retweet Like
sinan Nov 12
One of my biggest frustrations with rustc/cargo these days is if I run `cargo build` and then `cargo check` after that, it starts checking from scratch. Intuitively I'd expect `build` to do the checking already but that's not the case.
Reply Retweet Like
sinan Nov 12
Agreed 100%. My second internship was at a Java shop writing "enterprise" software and I hated every second of it. By the end of it I had a much better idea of what I want to do with my time career-wise. I was lucky to have 2 more internships before graduation after this one.
Reply Retweet Like
sinan Nov 12
Replying to @_osa1
Just finished building gcc.. beautiful
Reply Retweet Like
sinan Nov 11
Hell is when your nix cache is offline and you have Haskell dependencies
Reply Retweet Like
sinan Nov 10
If anyone wants to use a single lexer with multiple lalrpop parsers, I recently added the ability to match on string literals in tokens in lalrpop: You can now implement a single token for kws and ids in lexer and match on the str in the parsers.
Reply Retweet Like
sinan retweeted
MMTk Nov 4
Hello world. 18 years after debut, I'm back with a complete re-write. This time in Rust, and with interop with V8, OpenJDK and JikesRVM. web: code: chat:
Reply Retweet Like
sinan retweeted
Well-Typed Nov 3
Tomorrow, 4 Nov at 1200 UTC, Simon Peyton Jones will announce the launch of the Haskell Foundation, an independent non-profit organization dedicated to broadening the adoption of Haskell by supporting its ecosystem of tools, libraries education & research.
Reply Retweet Like
sinan retweeted
Wesley Moore Nov 1
I've published a blog post containing all tweets. The original screenshots and videos are also present, unadulterated by Twitter's heavy compression.
Reply Retweet Like
sinan retweeted
Gabriele Keller Nov 2
If you need some good news among all the uncertainty this week, watch announcing the launch of the Haskell Foundation this Wednesday, 12:00 UTC
Reply Retweet Like
sinan Oct 27
Time to port tiny to tokio-0.3.2 .. (was blocked on PollEvented)
Reply Retweet Like
sinan Oct 27
I used it a few times today and it seems to work fine, so made it public: It's a syntax-aware grep-like tool. Uses tree-sitter for parsing.
Reply Retweet Like
sinan retweeted
Andy Wingo Oct 23
Replying to @andywingo
llvm: this design is important for, like, the c backend me: weird flex, but ok llvm: which doesn't exist any more me: 🤔 llvm: or the gcc rtl backend me: ok.. llvm: , which never existed
Reply Retweet Like