HNHacker News
TopNewBestAskShowJobs

rjayatilleka

77 karma · joined November 25, 2014

Ramith Jayatilleka - SDE at Amazon
submissionscomments
rjayatilleka··on How Intuitive Are Macs Really?
FYI you can do cut in Mac. Do Cmd-C to copy and the Cmd-Option-V to cut-paste. For whatever reason, Windows has cut attached to selecting the file, but Mac has it attached to pasting the file.
rjayatilleka··on Judge in Fortnite case holds Tim Cook's feet to the fire
Why is a judge asking a witness questions? Isn't that normally either the prosecutor or defense counsels' job?
rjayatilleka··on “They introduce kernel bugs on purpose”
To be clear, Linux kernel patches from good UMN researchers and students are rare. We have plenty of great people at the University of Minnesota, they just don't work on the Linux kernel.

It's justifiable and natural for our name to be dragged in the mud here, but as a run of the mill software engineer who graduated from UMN, I hope our reputation isn't soured too much.

rjayatilleka··on Pluto’s dark side spills its secrets – including hints of a hidden ocean
Why would Jupiter give off radiation?
rjayatilleka··on The Political History of Pad Thai
Could you name it please? Thanks
rjayatilleka··on Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml
Could you clarify what you mean by "don't abstract idioms?"
rjayatilleka··on The Anti-College Is on the Rise
Up to the team. I've "interviewed" for 4 internal transfers there, and I've had:

- Three 1hr interviews, coding/system design/behavioral

- Portfolio review

- Talk to senior engineers on the team for a couple hours

- None (I had people on the team vouch for me)

EDIT: This is about Amazon, in retail and AWS.

rjayatilleka··on Amazon S3 Path Deprecation Plan – The Rest of the Story
He got degrees in computer science and electrical engineering from Princeton. I have no idea how competent he is, but I think you can assume at least equal to the average college grad SDE.
rjayatilleka··on Loop, a new zero-waste platform that may change how we shop
I don't think you would need to track each container individually (as another commenter said, consumers will probably keep an extra of each item for buffer). The subscription/ordering system knows when you get a new instance of each item, so it already has all the data without tracking containers.
rjayatilleka··on Guide to scaling engineering organizations
Even worse, at some big companies, recruiters will ignore direct referrals and ask you to submit the resume internally through their req system. But then resumes get lost anyway.

Good recruiters accept internal referrals directly.

rjayatilleka··on Ask HN: Ex-FAANG developers, where are you now and why?
This is something I learned recently, but some people who get lucky and find a good manager will just follow them around for a while. At least at Amazon, having a great manager is the most critical external component of having a sustainable job.
rjayatilleka··on Ask HN: Ex-FAANG developers, where are you now and why?
That doesn't sound accurate. Anecdata, but in my current org in Amazon Retail I think about 1 in 15 engineers browse HN daily. When I was in AWS it was around 1 in 3.

Why do you think people in Google/Netflix/Facebook browse HN more than Amazon/Apple?

rjayatilleka··on Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust
Good find, thanks!
rjayatilleka··on Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust
Very cool project, I'm trying it out, but this is an unrelated question: what is that Vim colorscheme in your screenshot? Do you have a link?
rjayatilleka··on GHC 8.0.1 is available
There was a large (but informal) survey done on /r/haskell (one of the largest Haskell communities) last month about "Why Haskell sucks". The results were collated into a presentation linked below. It's a very detailed review that covers just about everything "bad" about Haskell (though I think it views each issue rather optimistically).

Presentation: https://secure.plaimi.net/~alexander/tmp/pres/2016-05-11-why...

EDIT: Also, if you find the colors on the slide show intolerable, the page source is well-formatted and readable. Content starts at line 200.

rjayatilleka··on Squash your commits
Yeah, and that's why you squash all the intermediate commits first. If all your commits on master are useful and meaningful individually, bisect works great.
rjayatilleka··on Ditching tmux
Some sites only use Flash like Crunchyroll or Quia for DRM purposes (and lack of technical chops)
rjayatilleka··on Managing two million web servers
An Erlang process isn't really equivalent to a Java thread. A Java thread maps to a native thread, whereas an Erlang process is entirely in userspace. Erlang processes are basically green threads without shared state. Java has no equivalent in the standard library.
rjayatilleka··on State of the Haskell Ecosystem – February 2016
Did you switch that up? Learn You a Haskell is excellent for beginners. The intermediate space is the gap.
rjayatilleka··on Why I love Rust
I think you should learn Rust, because there are actually things there that you can't learn about in other languages.

1. How to manually manage memory more safely with aid from a borrow checker. 2. If you don't already have experience with an ML/Haskell descent language, it will teach you about more powerful static type systems. 3. General low-level programming concepts that you wouldn't know without experience in C/C++.

Whereas Go doesn't really have much to teach you. The community says it themselves: Go is a very simple language. Even if you needed to learn it for a job, onboarding new workers onto a Go project is really easy. So I don't think you'd add much to your resume just by tacking Go onto the list of languages you know. What Go can teach you about:

1) CSP - Communicating Sequential Processes. I believe this is the concurrency model behind goroutines and channels. But you can learn about CSP in other languages.

rjayatilleka··on Angular 2 versus React
Um, that was sarcasm right? You might want to add a /s then.
rjayatilleka··on Happy new year
Cheers! Let's make 2016 even better!
rjayatilleka··on Apple's $348M Tax Settlement In Italy Bodes Ill For Google, Facebook, Microsoft
Forbes doesn't even work with an adblocker for the last couple weeks. If you want to hear about the actual settlement, here's a ReCode article: http://recode.net/2015/12/30/apple-to-pay-348-million-to-set...

Not sure if the article brings up the same discussion and conclusions as the Forbes one though.

rjayatilleka··on Introducing d3-scale
I'm not a d3 dev, but from what I've heard is that the current d3.min.js is v3, the current standard. The various small modules that are coming out are v4, and are meant to entirely replace the larger d3 package. Ideally, the entirety of v4 should be smaller than the entirety of v3.
rjayatilleka··on MVVM is Exceptionally OK
In Redux, if you edit the user's name, that would dispatch/trigger an action {type: 'SET_USER_NAME', payload: 'New Name'}. The store would take the current state and the action and generate the new state. Then it would send it to React to cause a re-render of everything to the virtual DOM (not just everywhere the username was, but actually the entire view). And then it diffs the vDOM with the real DOM and updates the real DOM anywhere it's different.
rjayatilleka··on MVVM is Exceptionally OK
Shouldn't, not can't. You still can have components keep their own state, and that may be the right decision for small/localized/ephemeral state, such as what's selected in a dropbox, or the coordinates of a widget that's being dragged around. But it's more common to have views trigger events/send actions, which then update the top-level state and trigger a re-render.
rjayatilleka··on A difference between Haskell and Common Lisp
Not really. It doesn't matter that Haskell is lazy by default, so long as you called the function on a lazy stream data structure. Clojure is strict but it can do this efficiently as well, I think.
rjayatilleka··on Java's Cover (2001)

  This is related to my wheelchair, I suppose. Just
  because I can't walk, people would ignore me when
  making plans to go dancing or maybe even just go for
  coffee. The place probably isn't accessible or they
  think, what would a girl who can't walk do when we go
  clubbing or dancing? Honestly, I dance better than
  you, and I'm only moving my upper body.
By Virali Modi, Paralyzed since 2006.

http://qr.ae/RblzzS

EDIT: It took a couple tries to get the formatting write. Anyway, I'm just saying that 1) You shouldn't just call people in 'poor bastards', and 2) There are people in wheelchairs who can dance well and enjoy it a lot.

rjayatilleka··on Angular 2 Beta released
I haven't used React in a while, so maybe this has changed, but can't you just do something like

    component = React.createFactory(MyReactComponentClass);
    component(props, children);
rjayatilleka··on Glassdoor: Airbnb dethrones Google as the best tech company to work for in U.S
Wait, hey, that last category of companies sounded really nice. Especially the closed offices. Can you list of some companies like that, so I know where to look?
Page 1 of 2Next →