Better HN
topnewbestaskshowjobs
Log inSign up

milkbikis

371 karma · joined Jul 8, 2012 (14y ago) · 50 submissions

Submissions

1.

The Rocket Equation for Startups(shreyb.dev ↗)

1 points · by milkbikis · 2y ago · discuss

2.

Learning Rust in 3 Attempts(shreyb.dev ↗)

46 points · by milkbikis · 2y ago · 14 comments

3.

I spent way too long building this blog(shreyb.dev ↗)

2 points · by milkbikis · 2y ago · discuss

comment 3y ago · link · parent

Coincidentally, I recently looked into the slow startup time for shiki and it was mostly from parsing JSONC, not WASM: https://github.com/shikijs/shiki/issues/439.

5.

The Curious Case of the Missing Cell(medium.com ↗)

10 points · by milkbikis · 4y ago · discuss

comment 5y ago · link · parent

Ah I didn’t know it was deprecated, but good to see new work happening in this area!

comment 5y ago · link · parent

Nice, I've always thought Python could do better by adopting source transformation tools like babel. I implemented something similar using lib2to3, which preserves whitespace and comments more accurately (than the ast module): https://github.com/banga/prefactor

comment 5y ago · link · parent

I wrote https://github.com/banga/git-split-diffs mainly to scratch an itch about not having side by side git diffs in the terminal, then ended up adding more fancy features like syntax highlighting and it got somewhat popular.

comment 5y ago · link · parent

Yeah I looked into bundling and deno, but neither of those seemed palatable at this point. Deno’s ecosystem is still quite small, so I’d have to implement things like syntax highlighting from scratch which is not feasible. Other bundling options don’t seem all that reliable / popular and they aren’t really solving the actual issue of untrusted dependencies. So my current take is to just use node and be very conservative with dependencies.

comment 5y ago · link · parent

I actually tried to automate the screenshots for this project's readme using GitHub actions, but struggled to get it to produce the same quality screenshots as my local machine. This is the script I use for now, which has to be invoked manually: https://github.com/banga/git-split-diffs/blob/main/scripts/g...

comment 5y ago · link · parent

:) thanks nayak!

comment 5y ago · link · parent

The slowest operation is syntax highlighting: https://github.com/banga/git-split-diffs#performance. I have a PR out to improve that somewhat.

Good point about the themes, I'll add one. I'm hoping to make it easy to customize individual theme colors so you could unset the background colors, for example

comment 5y ago · link · parent

Yes this is the default behavior for git-split-diffs: https://github.com/banga/git-split-diffs#narrow-terminals

comment 5y ago · link · parent

Yeah I (un)fortunately learned about delta too late or I probably wouldn't have made this. The main difference is that delta's default styles and appearance did not appeal to me. I'm sure it can be customized, but I wanted something that looked great by default. I especially like that the syntax highlighting matches vscode's since that's the editor I use for work.

15.

Show HN: GitHub style split diffs in your terminal(github.com ↗)

178 points · by milkbikis · 5y ago · 50 comments

16.

Cubes(shreyban.ga ↗)

1 points · by milkbikis · 5y ago · discuss

comment 6y ago · link · parent

My wife and I are both on H1B. If one of us has to go to H4 due to unavoidable circumstances, can that person again apply for H1B while in US?

comment 6y ago · link · parent

Author here. I also prefer metric in general, but the "6 feet" guideline has been so recognizable that I decided to convert to imperial to preserve it. It also helps compare with San Francisco where I live, which is famously 7x7 miles.

comment 6y ago · link · parent

Ah you're right, thanks! I didn't notice the comments here before, will fix.

20.

What's the smallest country that can fit everyone standing six feet apart?(banga.github.io ↗)

45 points · by milkbikis · 6y ago · 59 comments

21.

Syncing dev environments the hard way(banga.github.io ↗)

2 points · by milkbikis · 6y ago · discuss

comment 6y ago · link · parent

Wow, thanks for creating it!

23.

Little known features of iTerm2(banga.github.io ↗)

329 points · by milkbikis · 6y ago · 154 comments

24.

A tool for writing Python AST-based refactorings(github.com ↗)

3 points · by milkbikis · 9y ago · 1 comment

25.

What’s it like to work at Quip as a Software Engineer?(quora.com ↗)

1 points · by milkbikis · 9y ago · discuss

comment 13y ago · link · parent

Hi! Just pitching in here as an outsider who has interviewed twice with Facebook and talked to quite a few others (mostly fresh graduates) who have. I did not receive an offer on both occasions, but I'll try to remain unbiased. I did receive an offer from Google and Quora, if it helps.

Facebook's interview process seems to have a very high variance in terms of candidates' experiences about the process. In the telephone rounds, collabedit often has sync issues, which can be quite stressful for first timers. Occasionally, interviewers either do not speak clearly, keep moving away from the speakerphone or have a very difficult to understand accent (not sure how to solve this one). These two things compounded together have caused several people I know to have a terrible experience in the first round, and it appears that these issues are not taken into consideration when making a final decision, as was the case for me. I had two phone interviews because the first one had these issues. I was called to the campus for the final interviews, which I would certainly describe as "code problems", or more accurately as algorithm based problems. I actually found these interviews to be easier than the phone rounds, which was a common opinion among the other candidates I met. I was quite surprised to not get an offer and my guess is that the botched phone round had an effect, but I may be wrong.

This is intended as honest feedback rather than a sour grapes reaction to not being extended an offer. I have interviewed with several other companies and usually the experience is either consistently good or consistently bad, which at least gives the candidates a fair playing field. My guess would be that this feedback is getting ignored because it primarily comes from rejected candidates.

Finally, it would be great if software companies started sharing feedback about candidates' performance if they don't receive an offer instead of a cliched e-mail. Quora seems to be the only one doing this at the moment: https://www.quora.com/Quora-Recruiting/Can-I-get-the-feedbac...

comment 13y ago · link · parent

I think he's trying to depict the situation where one person becomes the go to guy for some component of the code, so everyone goes to him for code reviews etc. I vaguely remember Zach mentioning this in a talk he gave recently.

28.

Show Cat Facts on your Gtalk status(shrey.quora.com ↗)

1 points · by milkbikis · 13y ago · discuss

comment 13y ago · link · parent

Anyone know what happened to G+'s Sparks? I think it was touted as a reader replacement.
12