HNHacker News
TopNewBestAskShowJobs

pulkitsh1234

853 karma · joined March 1, 2017

Opinions expressed are solely my own and do not express the views or opinions of any other organisation.

You can contact me on a--v-a-st-p-u--l-kit---AT ELGOOG's mail service--.com

submissionscomments
pulkitsh1234··on Documentation to set up a simple macOS VM in QEMU, accelerated by KVM
can this handle 'xcodebuild' ?
pulkitsh1234··on Game Builder: Create 3D games with friends, no experience required
haha I am from India, one of the somewhat 100 players from India when it came out. I was ranked 15 when trackmania 2 came out.

Yes, you are right all the best players were from Europe.

pulkitsh1234··on Game Builder: Create 3D games with friends, no experience required
The build and instant play feature reminds me of Trackmania for some reason.

It was (is) a great game, but I still cannot believe why it never became famous.

pulkitsh1234··on Ask HN: How does everyone handle mobile browser testing?
The first task to write some sort of test script to have assertions for the core features of your game.

For testing specific UI features, I would recommend looking into Selenium/Appium. Selenium for desktop browser testing, Appium for mobile testing (using Appium you can do mobile specific things like touch actions for instance).

For testing JavaScript, you can take a look at libraries like https://jasmine.github.io/.

Once you have a test script(s) ready, you can point it to cloud based testing services like BrowserStack (I work there).

We provide a large number of actual physical mobile devices to test on (no emulators), For complete list see: https://www.browserstack.com/list-of-browsers-and-platforms/...

Our service is completely free for open source projects !

If you want to go the manual way, you can also do that with BrowserStack, we provide the 'Live' product where you can control and test your website on actual mobile devices straight from your browser.

pulkitsh1234··on Capture the Flag: the emergence of complex cooperative agents
'language' as we know is quite ambiguous and an inefficient way of communication. my guess is that what they will probably evolve is some kind of an audio encoding format for the exact information they want to convey to the other entity, like literally sending it control inputs over audio.
pulkitsh1234··on Amazon S3 will no longer support path-style API requests

    ag -o 'https?://s3.amazonaws.com.*?\/.*?\/'| awk -F':' '{print $1, $4}' | sort | uniq | cut -d'/' -f 1 | sort | uniq -c | gsort -h -rk1,1
For anyone interesting in finding out the occurrences in their codebase. (Mac)
pulkitsh1234··on I/O Is Faster Than CPU – Let’s Partition Resources and Eliminate OS Abstractions [pdf]
This paper was very accessible as compared to other academic papers, is there a way to find other papers like these ? Maybe its the lack of math equations and benchmarks.

I like how most of the statements are supported by examples, which makes it easier to understand (after some Googling ofc), especially for someone like me who is a million miles away from academia and a programmer who rarely has to think about kernel/CPU/memory intricacies, mostly due to working with higher level languages and abstractions on top of the OS itself.

My uneducated and naive thoughts on this paper: Instead of replacing the kernel with `parakernel`, is it possible to implement a POSIX compatible kernel layer over the parakernel itself ? So that drivers, linkers, and other abstractions don't have to be re-implemented again for the parakernel.

pulkitsh1234··on How Bad Is It to Forget Someone's Name?
Wow, I can totally relate to that !

Especially the part of carrying grudges. It has happened numerous times where I just forget what I was unhappy/sad about, or a particular thing a person said to me, which was clearly offensive.

I find myself hanging out with them, months later. And then if I recall that old event, I think, well f*ck, I should not be talking to this person.

Forgetting names, is especially hard with relatives. As you might know, Indian families are quite big and tightly knit. It is really embarrassing to see me parents (or my brother) remember each of the ~50-60 of relatives and family friends. While I am just standing their and calling every one Uncle/Aunt, instead of their proper "relation name" (look at https://en.m.wikibooks.org/wiki/Hindi/Family_relations)

But, as the parent comment mentioned, I rarely forget about a thing which I had worked on or built (though not on a scale of 15 years !! yet..), but atleast 2-3 years. I sometimes have very specific memory, like, I can say "yeah, go to this file and you will find this function, which was written in this file earlier, it was written by that guy who left the company 2 years ago...insert-other-useless-stuff.."

Which might create a impression, that I have a good "memory".

As, a matter of fact, even mental arithmetic, is kind of hard to do. It seems that most people have lots of answers preprocessed and stored in their brains.

I clearly remember, when I was in highschool. I used to actually calculate things, for instance, If I want to calculate '9 + 3', I would count 3 times from 9 to 12. And I thought, being fast in arithmetic is doing this counting thing way faster. Slowly, this was turned into a rule that, it you add X to 9, the answer will be 1(X-1). And then very slowly, I am kind of building up on these rules for doing faster "maths".

But, I see people all around who have all of these basic operations (taking certain %, adding, subtracting) basically memorized, or they have incredibly fast processing speeds. And here I am not talking about some math involving big numbers, but just number we encounter in our day to day lives.

Maybe the arithmetic thing, might not be related to my memory issues, but just lack of practice. But, still I feel there is something definitely out of place.

It could be that, my memory issues stems from the concept of living in the "now". I rarely ever look back into memories. I am constantly looking to do the next thing to "do", instead of sitting back and talking a look of what has happened in the past. Even, when I am sitting back and "relaxing", I think about what I am doing currently, "Ok, I am sitting on a bench, looking a trees, that thing looks interesting ... .. ". Very rarely, I look back and think about some particular, day, event, or person.

For instance, If we want to an adventure park today. In next couple of days, I will rarely think about it. Yes, I will look at the photos and all other social media stuff. But, it would be a very superficial glance. And I am pretty sure that I will forget about specific details, or some other interesting thing about the adventure park after a couple of years. Which I am pretty sure, a normal person, like my girlfriend, will definitely remember.

pulkitsh1234··on Dropbox traffic infrastructure: Edge network
How are TCP connections established while using anycast ?

I was reading https://serverfault.com/questions/279482/what-is-the-differe... to understand what exactly is unicast, anycast, etc. It seems like TCP works with unicast.

With GeoDNS users requests will be resolved to single IP address with which they can establish a TCP connection.

How, will connection establishment (TCP specifically) work with anycast ? Where request (packets ?) can be routed to different machines ? Is there some other network protocol to use with anycast ?

I was going through: https://serverfault.com/questions/616412/how-does-anycast-wo... , not sure it is the 2018 way of doing these things.

Sorry for dumb questions, network newbie here.

pulkitsh1234··on Solid – Reshape the web as we know it
So, I need to ensure that my POD(s) are up and running just to access other services (which will read data from my POD) ? Isn't that a step backwards ? or am I missing something ? Will the data be cached somewhere, so the services are accessible even if PODs go down ?

If people can't run their own POD servers reliably, then they need to use some other cloud POD providers (Inrupt, as mentioned on the website). Which means your data is now with a third-party.

    Solid changes the current model where users have to hand over personal data to digital giants in exchange for perceived value
Won't Inrupt become one of those digital giants (in context of Solid) with access to numerous PODs of people who cannot reliably host them ?
pulkitsh1234··on Solid – Reshape the web as we know it
It's a company founded by Tim Berners-Lee himself, As a way to propel Solid.

From https://www.inrupt.com/blog/one-small-step-for-the-web:

    So I have taken a sabbatical from MIT, reduced my day-to-day involvement with the World Wide Web Consortium (W3C) and founded a company called inrupt where I will be guiding the next stage of the web in a very direct way. Inrupt will be the infrastructure allowing Solid to flourish
pulkitsh1234··on Ask HN: What topics/subjects are worth learning for a new software engineer?
On a related note (sorry for hijacking)

Should you invest time in learning for interviews or your own personal growth once you are 2-3 years in the industry ?

I understand that both sets are not mutually exclusive, but where should you put your time on ?

Investing time specifically to give interviews: Leetcode, Cracking the Coding Interview, TopCoder, etc., may increase the chances of getting a better job then your current one (and will make you a better programmer too).

On the other hand reading books like 'the pragmatic programmer' and other classics, won't necessarily put you in a better position to get a better job (in most companies), but will surely make you perform better in the current one.

So, is it ok to put it this way:

* If you are happy with your job and you can see that you can stay 5+ years at the company (basically FAANG ?): Invest time in learning for personal growth (Design Patterns, Refactoring, etc)

* If you plan to switch / want a better salary / company sucks / <every_other_reason> : Invest time towards preparing for interviews specifically ?

pulkitsh1234··on Using AWS CodePipeline, CodeBuild and Lambda for automated UI testing (2017)
or BrowserStack :-) https://www.browserstack.com/test-in-internet-explorer
pulkitsh1234··on Google’s Jeff Dean’s undergrad senior thesis on neural networks (1990) [pdf]
My undergrad "project"'s report had to be of some minimum page count (about 300, I recall). I remember filling the report with the W3C specification of HTTP, Wikipedia articles and what not in order to convince the professor that I had done some "work" in order to build the project (It was based on using a interactive genetic algorithm for generating CSS files for webpages).

Also, I had to be submit 3 identical hard-bind copies of that bullshit report.

pulkitsh1234··on Reversing the effects of long programming sessions
But how do I deal with the fact that I always feel that there are people out there who are a lot better than me and a lot younger. I feel I am already wasting time doing daily chores...I feel the act of 'eating' is complete waste of time. You are doing nothing..just eating..

There is this constant thing in the back of my mind, that I need to improve. I stopped watching movies, stopping playing Dota (had played it 2000+ hours in total), stopped playing any musical instruments...

Day in and day out, I feel like the time I am spending not learning anything is a going to waste. I need to be productive everytime (atleast feel like being productive).

Even on youtube, I try to only watch technical talks as much as possible. If I stray away, for instance watch a VICE documentary, then I feel miserable as I just spent 45 minutes doing nothing.

Technically, I can see that I am improving. But when will this stop ? There are 15 year old kids who know more than me currently, then I will ever learn/know.

One would assume that, with this kind of daily life, one would be lot better "intellectually" or in some other sense. But I can assure you, I might be only slightly above average, but thats it. There is this constant thing inside me, that I am only slightly above average, not the best in anything.

The more I know, the more I find what I don't know. I guess it stems from the Dunning–Kruger effect.

But how do I deal with this ?

pulkitsh1234··on Put your keys in the fridge to keep them safe from car thieves
Why can't the cars (and keys) have something like a TOTP authentication mechanism?
pulkitsh1234··on Teenager Finds Classical Alternative to Quantum Recommendation Algorithm
And here I am, struggling to solve TopCoder problems....
pulkitsh1234··on Google Cloud Platform is down
https://status.cloud.google.com/incident/cloud-networking/18...
pulkitsh1234··on Go 1.11 Beta 1 is released
seriously ?

Look at this: https://news.ycombinator.com/item?id=17373220

pulkitsh1234··on Show HN: Whiteboardfree – Developer Jobs at Companies That Don't Whiteboard
Free alternative: https://github.com/poteto/hiring-without-whiteboards
pulkitsh1234··on Show HN: A raytracer to shade topographic maps in R
I do not recommend it. It gets irritating if you want to inspect some version of the image, but then the image moves up and down, instead of being static.

My suggestion, A simple GIF would work fine. Or if you want to get fancy you can do interactive demos like on this blog: https://www.redblobgames.com/articles/visibility/

pulkitsh1234··on Getting some air, Atlas? [video]
I wonder what proportion of the development efforts go into securing these things.

Imagine what would be happen, if these robots start getting hacked. A virus would no longer be just sitting inside a computer, it would manifest itself in a physical form.

Hardcore viruses/trojans/worms/whatever can create physical implications: disrupting power grids, sabotaging nuclear programs[0], etc.

But, even the basic forms of viruses which hackers will start out with, can cause serious consequences because of the physicality of these robots. And not just advanced robots like BostonDynamics', even basic autonomous robots have a high potential to do physical harm, if hacked.

I somehow feel, people should focus more on securing these things vs empowering them with increased intelligence, agility and sheer strength.

I would like to know, if security of these systems rely on the current state of computers, or do they have a different set of guidelines to abide by, considering that the attack vectors can be vastly different.

With the current computer systems, most attacks are done via the internet. But with these, physical access can exploit a whole different range of vulnerabilities, which can be difficult for the bot the detect. Like, how the old PS/2 hardware keyloggers turned out to be quite difficult to detect[1]. What if someone just sticks a different kind of lens in front of the camera(s)/sensor(s) these systems rely on, which can just break all the math it is doing around visuals.

Does the current state of the art of securing these systems, handle these cases ?

[0] Quora -> http://qr.ae/TUTPJK

[1] https://security.stackexchange.com/questions/79124/detecting...

pulkitsh1234··on Ask HN: Which books have made you introspect?
For some reason I am repulsive towards 'self-help' books. I always have a feeling that you just cannot sum up all the things to be "happy" or "content" or whatever in one book. I have seen numerous people who read inspirational quotes/books but the act the opposite way. I feel it is very difficult to change how the internals of a person work, reading a book will definitely push you in the right direction, motivate you, elate you, change your mental models[0]. But to bring those changes in your actual life, seems quite difficult and time consuming. Can your "mental model" be modified just by reading 1-2 books ?

I am interested to know, how often when you face a situation, you stop and think, oh I read this and that in a book, I should act this way instead of my natural intuition to do the other way.

Given the limited experience with life I have and the fact that I haven't read any of the self-help books, I am willing to change my perspective regarding this. Will give a shot to '12 Rules for Life: An Antidote to Chaos.'

[0] => "It’s Okay to “Forget” What You Read" https://medium.com/the-polymath-project/its-okay-to-forget-w...

pulkitsh1234··on Cloud Memorystore: A fully managed in-memory data store service for Redis
It seems like they might be running Redis Sentinels (for handling failover and replication), but exposing it outside as a single IP, instead of giving a list of sentinels to connect to.

Applications might use that endpoint like a standalone Redis instance. Requests to that endpoint will be routed to the current master.

Effectively abstracting the details about the Sentinels and their configuration from the clients.

Not too sure, just a guess.

pulkitsh1234··on Google Duplex: An AI System for Accomplishing Real World Tasks Over the Phone
Next what, phone interviews with Duplex ?

Interviews are dreaded by most of the engineers. What are the chances that Google might be testing this in the wild. Given the number of applications they receive.

pulkitsh1234··on Scaling a High-Traffic Rate Limiting Stack with Redis Cluster
More details on Stripe's rate limiter(s): https://stripe.com/blog/rate-limiters. An awesome gist is given at the bottom too, which has implementations of the different rate limiters, And also the `EVAL` part this post talks about.
pulkitsh1234··on Interns with toasters: how I taught people about load balancers
Maybe some people dismissed her problem as 'impossible' because she didn't inform what kind of load balancing technique was the load balancer using?

  I suspect what happened is that they didn't understand the problem, and so resorted to ineffective means to steer
  the attention away from their own inadequacies.
^ This statement is kinda harsh.
pulkitsh1234··on Using Jekyll and GitHub Pages
Yes I'm aware of that :-) It's mentioned here too : https://jekyllrb.com/docs/themes/#converting-gem-based-theme... In fact, I have added that as an update on the post too.

I can't see why someone should use gem-based themes, when eventually they'll need to dump the entire code into the Jekyll project.

← PreviousPage 5 of 5