SubMachineGhost's comments

SubMachineGhost | 3 years ago | on: Ask HN: Products/Services you swear by – Dec. 2022

- La sportiva Theory & Katana climbing shoes, i used MadRock shark & drone for a while but after switching to la sportiva i cannot go back.

- Tokyo powder industries' climbing chalk, i tried many climbing chalks this is the one that works for me. i use it for indoors, outdoor, training and performing! the only time i do not use this chalk is during hangboarding at home to avoid making a mess.

- The clever dripper, i finally gave away my V60, the clever dripper constantly produces decent coffee.

- DataDog, my teams services are written in Scala, we use DD's JVM agent and we get lots of integrations for free (JVM metrics, tarcing for http calls, tracing for DB queries...) and we push our own metrics.

- my Iphone 10 (now 13 mini) & Macbook pro 2015, Super happy about the quality & the constant OS updates, but i miss a proper package manager like APT from Debian, i cannot seem to trust homebrew's reliability :(

SubMachineGhost | 7 years ago | on: Ask HN: What is something you automated paid off?

i used to work on a payment system and i automated test data generation, you can specify constraints about an an entity you want in your test and the software will generate all the possible instances for that entity.

Do you want a credit card ? then you get instances for all banks, products, limits, end of the month cycle ...

what used to take my colleagues a week to do, was now being done in 15 minutes.

SubMachineGhost | 7 years ago | on: DuckDuckGo will use Apple Maps

> Google uses my data to target ads at me but doesn’t actually give any of my data to its ad-buying customers. Apple doesn’t do this but is obliged to turn over my iCloud data to the government with a subpoena.

I agree with you, but Google is way more aggressive in its data collection behavior than apple and i am getting sick of that.

I have been using Google maps this past month and i noticed some dark patterns :

- after getting directions from `your current location` when you deactivate your location services and switch apps, google maps will delete the directions and resets to the page that asks you to chose a `from` location, now you have to give google your current location to get those directions back.

- you cannot get your `current location` without internet enabled, even when you have `location services` enabled.

SubMachineGhost | 7 years ago | on: New Horizons’ first hi-res imagery of Ultima Thule

Pluto's flyby generated about 8GB of data and it took about 16 months to get all of it downloaded [1], and this data includes more than just the images, and i read somewhere that the Ultima Thule flyby will generate about 6GB of data.

I think the images are the first thing that get downloaded, so it should not take more than a week to get all high res images.

1 - https://en.wikipedia.org/wiki/New_Horizons#Telecommunication...

SubMachineGhost | 7 years ago | on: Ask HN: How to turn mindless browsing time into productive programming time?

A good thing is you are already, motivated to sit down and work on your side project.

I suffered from the same issue and the problem was, i lose focus really easily, so what helped me overcome this is for each session i take to work on my side project, i should first define a concrete and an achievable task, so for example if the side project i am working on requires me to use a library that i am not familiar with, the tasks that i will define are :

- find out which resources are recommended to learn this library, and pick the most recommended one.

- read sections A, B and C from the chosen resource.

- read sections D, E and F from the chosen resource.

...

And examples of programming tasks are :

- Create an Http end point that forwards requests to two configured hosts.

    - Create the class that captures the Http Requests.

    - Create a function IncomingHttpRequest => ForwardedHttpRequest.

    - write tests for this function.
Do not be afraid to further decompose your task into sub-tasks, and to define really small tasks.

Other things that helped me :

- having a desk that i only use to work on my side project.

- meditation

- listening to podcasts when i am doing a task that does not require a lot of focus.

SubMachineGhost | 7 years ago | on: How to Be Better at Parties

It's a bit similar in France too, on your birthday, your nameday or any happy occasion YOU ARE the one who is expected to bring pastry, cake and drinks to your office, and buy everyone drinks at launch.

SubMachineGhost | 7 years ago | on: Ask HN: Data diff tool for tabular data?

https://github.com/MouslihAbdelhakim/Quick

I made Quick to solve your exact problem! we use it to test our batch processes that either generate flat files or write data into database tables.

please contact me if you need help with the tool, i know that the docs are not as complete as i would like them to be.

here is the wiki: https://github.com/MouslihAbdelhakim/Quick/wiki

here is a repo of some examples: https://github.com/MouslihAbdelhakim/Quick-examples

SubMachineGhost | 7 years ago | on: Ask HN: What motivates you?

My insecurities.

Due to some life circumstances, i grew up feeling that i am not deserving of being where i am at and that at i am the worst person in any given room.

I came to embrace these feelings because they motivate me to keep improving my life on a daily basis.

SubMachineGhost | 7 years ago | on: Why Functional Programming is not more widely used in industry?

> Because it's hard and non-obvious.

I would argue that for someone who never programmed functional programming will be much easier to learn.

Your statement is only correct for people who programmed for years in an imperative style and then tried to pick up FP, because at this point you have a lot of unlearning to do, and a lot of your know how becomes absolute, don't use variables, don't use loops, push your side effects out... and after all this unlearning you'll have to learn new concepts and abstractions like Monads and Applicative...

page 1