HNHacker News
TopNewBestAskShowJobs

rajathagasthya

2,127 karma · joined March 18, 2015

submissionscomments
rajathagasthya··on SpaceVim – A community-driven Vim distribution
Title needs change. The link is for SpaceVim's documentation.
rajathagasthya··on Ask HN: Do you feel fulfilled with your work?
> For most people, it's like the TV show 'the Office'.

I'm sorry, but as a big fan of The Office, I'm really offended :)

rajathagasthya··on [dead]
Dupe - https://news.ycombinator.com/item?id=14612196
rajathagasthya··on Ask HN: Modern, open source python 3 code bases?
Anything written by Doug Hellmann (author of the aforementioned PyMOTW) is well worth a read.
rajathagasthya··on Hard Questions
> How can we use data for everyone’s benefit, without undermining people’s trust?

How about not collecting so much data? I really don't see how my social data benefits anyone except Facebook and advertisers.

rajathagasthya··on New features you can't use unless you are in Python 3
> I did not know you could append to a Path via "/", but that's really awesome!

I didn't know that too. It's pretty cool. Seems like they overload __truediv__ operator: https://github.com/python/cpython/blob/master/Lib/pathlib.py...

rajathagasthya··on Uber CEO to take leave
> A lot of the hate towards Uber in these threads seems to be about the number of allegations, not that they were swept under the rug

If you have a large number of harassment incidents, it's completely relevant to question if there is a culture problem in the company (a problem which was denied outright by the parent commenter), and IMO this is what HN seems to be doing. Especially when you have accounts of Uber having a "frat" culture trickling down from the CEO and some senior executives condoning (this is probably too strong a word) such behavior.

My point is Uber isn't being treated unfairly by any means.

rajathagasthya··on Uber CEO to take leave
Did I say Uber isn't doing anything about it? The parent comment dismissed a clear problem in the company and was being all revisionist now that TK is on a leave by saying that he's a ruthless business leader running a typical SV unicorn and is being treated "unfairly". I pointed out that he failed to see a problem.
rajathagasthya··on Uber CEO to take leave
I'm not the one dismissing a blatant problem based on a tiny percentage value. We've seen in various accounts that many incidents were swept under the rug because the person was a supposed "high performer". Then there is the recent email issue. This suggests that the problem is top-down in the company. When the problem is top-down, surely you deserve such treatment?
rajathagasthya··on Uber CEO to take leave
What percentage do you need it to be to acknowledge sexual harassment is a problem in that company?
rajathagasthya··on Ask HN: Has the Touch Bar improved your productivity as a developer?
You can set the touch bar to show "Expanded control strip" in Settings -> Keyboard -> Touch Bar Shows so you get the same layout as the physical keys.
rajathagasthya··on Apple announces the HomePod
$349 for an Alexa/Google Home clone? That's pricey.
rajathagasthya··on Isro’s new GSLV Mk III rocket places GSAT-19 communication satellite in orbit
GSLV MK3 is a crucial enabling technology for future applications for ISRO. They plan to human certify it. But most importantly, it's planned to evolve into new family of launch vehicles called Unified Launch Vehicle (ULV). A new SCE-200 semi-cryogenic engine which is under development and other upgrades could enhance the payload capacity to 6 metric tons. So the ULV will eventually replace PSLV and the GSLV MK2.

As for pricing, I definitely agree SpaceX has the edge especially with their reusable rockets. But one can still hope ISRO catches up :)

rajathagasthya··on Isro’s new GSLV Mk III rocket places GSAT-19 communication satellite in orbit
This is a big deal for ISRO when it becomes operational. In terms of launching its own heavy communication satellites, it doesn't have to rely on the Ariane. I can see a lot of customers queuing up to Antrix to launch commercial satellites. One can hope it eats into SpaceX's lunch in the near future.
rajathagasthya··on Déjà vu so extreme that I can’t tell what’s real
My deja vu situations are usually not pleasant and I feel exactly the same way as you do!
rajathagasthya··on India, Once a Coal Goliath, Is Fast Turning Green
> They burn a massive amount of coal compared to most countries.

What part of this is comparing India to India?

rajathagasthya··on Apple Is Manufacturing a Siri Speaker
I'd really love if Apple integrated the Workflow app they acquired into Siri. I think it could be a straightforward way to let Siri do more useful things than just setting reminders and asking about the weather. They also have improve the voice recognition big time since Siri has real difficulties understanding if you have an accent.
rajathagasthya··on What I've learned from 100s of interviews with candidates at top tech companies
I don't think asking someone who you just met about their wife and if they plan to have kids is a "get to know you" question.
rajathagasthya··on The largest Git repo
Very cool blog! As I understand, you dynamically fetch a file from the remote git server once for the first time I open the file. Do you do any sort of pre-fetching of files? For example, if a file has an import and uses a few symbols from that file, do you also fetch the imported file beforehand or just fetch it when you access it first time?
rajathagasthya··on Uber Plans Millions in Back Pay After Shortchanging NYC Drivers
That may be true, but I assume Uber commits to paying drivers $X per mile or hour or something similar (as stated in that article). Surely, you won't drive for Uber if you don't know exactly how much money you make and if it's always subject to changes and experimentation?
rajathagasthya··on Uber Plans Millions in Back Pay After Shortchanging NYC Drivers
> While drivers’ pay is determined according to the time and distance they travel, Uber has begun to experiment with how it calculates the price for riders.

I don't get this. How can you "experiment" with price calculations?

rajathagasthya··on Ask HN: Why you use python most?
It was easy to learn, has great libraries to do virtually anything and I haven't yet found a need to require strict static typing (I haven't explored MyPy yet though). More importantly, I know the internals of the language pretty well and I invested a lot of time in learning them. So I'm kind of reluctant to switch to another language, although I want to explore Go.
rajathagasthya··on Turning Sublime Text into a Lightweight Python IDE
If you're used to vim, you can also use vim key bindings in Pycharm and kind of get best of both worlds.
rajathagasthya··on Generating all permutations, combinations, and power set of a string (2012)
Straight from the horse's mouth! Thanks, Raymond :)
rajathagasthya··on Generating all permutations, combinations, and power set of a string (2012)
Python recursive solution for generating permutations:

  s = 'abcd'
  prefix = ''
  permutation(prefix, s)

  def permutation(prefix, s):
      n = len(s)
      if n == 0:
          print(prefix)
      else:
          for i in range(n):
              permutation(prefix + s[i], s[:i] + s[i+1:])
rajathagasthya··on Box: Python dictionaries with recursive dot notation access
You're using named tuple correctly, but why would you want dot notation on a dictionary? There's a reason square bracket notation is used to access dict items. Because it's an item of a dictionary, not an attribute.
rajathagasthya··on Uber faces criminal probe over software used to evade authorities
Uber is having one hell of a year. Anyone have an idea whether it has significantly affected their recruitment of new people?
rajathagasthya··on Etsy has ousted its CEO and is laying off 8 percent of its staff
There was one today, but it seems to have disappeared.
rajathagasthya··on Asynchronous Programming in Python: Asyncio
Exactly what I thought. I also made an edit to refer to the process pipelining use cases which makes it more clear. Thanks!
rajathagasthya··on Asynchronous Programming in Python: Asyncio
Oh sure. I was just discussing in the context of the example given in David Beazly's slides.

  def grep(pattern):
      print "Looking for %s" % pattern
      while True:
          line = (yield)
          if pattern in line:
              print line,
You initialize the coroutine with g = grep("python"). Isn't this step same as having a partial function with it's `pattern` argument with value "python"?

  def grep(pattern, line):
      if pattern in line:
          print line,
And then:

  g = partial(grep, pattern="python")
  g(line='python in a line')
I'm sure this is a very simple example of coroutines, but if this is all I want to do (setting aside async vs sync for a moment), why would I use a coroutine here instead of a partial function?

EDIT: As I see more examples of coroutines especially the pipelining use cases, I was wrong and agree that it's completely different from partial functions.

← PreviousPage 3 of 8Next →