HNHacker News
TopNewBestAskShowJobs

realrocker

990 karma · joined March 28, 2012

github.com/adnaan badr.adnaan@gmail.com
submissionscomments
realrocker··on Deno for Infrastructure as Code
fixed
realrocker··on Deno for Infrastructure as Code
Broke my DNS settings. Here's an alternative link: https://github.com/adnaan/hugo/blob/master/content/blog/deno...
realrocker··on The perfect configuration format? Try TypeScript
Agreed. It's a matter of discipline. It is a a balancing act between:

1. A constrained specification where its difficult(but not impossible) to shoot yourself in the foot.

2. Devops: as in equitable participation of operators and developers in maintaining configuration on a build it, run it basis.

Languages like skylark/starlark, dhall, cuelang, jsonnet promise a constrained spec(for operators) while being expressive enough(for developers). But after using skylark, jsonnet and dhall in production, personally I haven't seen enough adoption in terms of developer contribution so the promise of expressiveness which is attractive enough for developers hasn't been true for me.

At my current workplace, we have taken a middle approach. We use typescript to generate/emit yaml/json and use "official" validators to validate this configuration. The developers get a familiar and "blessed" frontend to the configuration while the operators can still enforce schema validation, resources and security policy on the generated config.

But yes, if one could import this base typescript package directly in their application, and generate the configuration which can be then picked up by the operator pipeline and isapplied to the infrastructure. That would be bad. Really bad.

realrocker··on The perfect configuration format? Try TypeScript
One of such sandboxes is Deno.
realrocker··on The perfect configuration format? Try TypeScript
Great little writeup ! After mangling YAML, HCL, JSON for years as an ops engineer, I have come to the same realisation. In fact, I have put this into practice in production pipelines by using: jkcfg[1] for the last couple of years. Two data points: 1. Zero developer support contract rate around YAML syntax and templating issues 2. High number of contributions in our private typescript configuration library from developers. Using typescript as an ops frontend has made operations a lot more approachable to folks.

Recently I took what learnt in the last 2 years using jkcfg/typescript and taken it to Deno in form of an opinionated port of jkcfg called: dxcfg[2]. Its early days, but I would bet on Deno/typescript for future ops configuration.

[1] https://jkcfg.github.io/#/ [2] dxcfg: https://github.com/dxcfg/dxcfg

realrocker··on Launch YC S21: Meet the Batch, Thread #5
With my team. Everyone in my org. does it. Multiple teams
realrocker··on Launch YC S21: Meet the Batch, Thread #5
I do similar weekly updates using notion.so templates. New pages are created manually every week. Am I your target customer ?
realrocker··on Ask HN: Who is hiring? (August 2021)
Taxfix(https://taxfix.de)| Berlin, Germany | ONSITE| Full-time | Senior SRE

This role is for a high stakes team looking to improve the reliability, availability and scalability of a system built in Elixir/Erlang running in Kubernetes.

About Taxfix:

Every year millions of people are either filing their taxes in fear or giving up on their tax refund altogether. We're working on fixing that. Our intuitive app enables anyone, regardless of education or background, to file their taxes with newfound confidence.

Spread across Berlin and Madrid, Team Taxfix is a compassionate group of solution-finders. We speak our minds openly, and with 250+ professionals from 40 different nationalities, we're rich in ideas and voices. In four years, we've raised over 100 million euros in funding and helped people reclaim more than 500 million euros.

Tech: Elixir, Nodejs, Golang, GKE, GCP

Apply: https://taxfix.de/en/careers/open-position/5333273002/

realrocker··on Ask HN: What novel tools are you using to write web sites/apps?
I have built an app template which uses Go html/template package to render html on the server. The app is enhanced using sprinkles of javascript(stimulusjs, svelte single file components) on the client, wherever needed.

1. template: https://github.com/adnaan/gomodest-template

2. template demo: https://gomodest-template.fly.dev/

3. SAAS starter kit using the template(wip): https://github.com/adnaan/gomodest-starter

4. SAAS starter demo: https://gomodest.xyz/

[edit: formatting]

realrocker··on Slack is down
Same for me. Data is missing in tables too.
realrocker··on Ask HN: What are you surprised isn’t being worked on more?
How far did you go ? Something comparable to wasabi ?
realrocker··on Ask HN: What are you surprised isn’t being worked on more?
I have also observed this. We had a custom thing over Wasabi : https://github.com/intuit/wasabi which was quite difficult to maintain, but compared to the paid solutions out there was still cheaper to do. I wonder why aren’t there more products in this area.
realrocker··on Ask HN: Which great products didn't succeed?
ex-employee at notion ink. thank you for the love.
realrocker··on Show HN: Thoughter
I don't like the idea since it essentially kills hope. Hope that a relationship might work out when the time is right. Putting a timer on hope is a bad idea.
realrocker··on Modi’s Cash Crackdown Failed, Indian Bank Data Shows
Have a better source than an opinion post and a quora post ?
realrocker··on Notes on the Go2 Generics Draft
I have written about 10+ medium and big projects in Go for production over last 6 years. They were written mostly for CI/CD, APIs, cron jobs and various pipelines in e-commerce and consumer electronics domains. Have personally never needed generics or have felt that I can improve the code by using generics. I also have quite a bit of Java experience so I do know why you would need generics, but it just never came up in Go. Maybe my opinion will change with the new proposal getting implemented, but at this point I don't see how.
realrocker··on Ask HN: What tech were you convinced would take the world by storm but didn't?
Smartwatches. I was convinced enough to bet two years of my life working on them.
realrocker··on Tile38 – Realtime geofencing and geospatial index, v1.7.0
Neat. Seems like a good weekend is coming up. I was wondering how was the gifs/images done? I would really like to see the code if it was done programmatically.
realrocker··on India is displaying classic signs that foreshadow fascism
It's already happened with the lynchings, killings and sporadic riots, but at scale of India, it just doesn't leave a big enough mark. It's kind of sad really. India rationalizes the most horrific acts of humanity, shrugs and moves on.
realrocker··on India is displaying classic signs that foreshadow fascism
I am not sure about this. India has never been good at conforming to a particular point of view. Aurangzeb tried it. Indira tried it. I read an article about traffic of a country implying how lawful it is. And just before reading this, I almost got knocked down by a big car jumping a red light while on a bike(In Bangalore too. We call ourselves civilized here). So whenever I get worried, we are falling into absolutism, I then recall how chaotic our streets and roads are. It's kind of a strength-is-weakness thing with India. You can't enforce a law here, but also can't impose a fascist state. I guess we are just destined to be the average guy of the world. Like the Big Lebowski, we only want our own patch of carpet, everyone else can go fuck themselves. Hail Tribalism :/
realrocker··on How it feels to learn JavaScript in 2016
Ok, So I have only ever done backends and some android stuff,and been trying to learn building UIs. It's been hard. This post finally cleared some of the confusions I had but was afraid to ask.
realrocker··on Users spend more minutes per day in Pokémon Go than Facebook
Let's give it a minute.
realrocker··on Ask HN: Significant commit rate decline of Android's base repository?
platform/packages is open source, but I guess the split is done so that the manufacturers can ship their own versions of these components. Also I guess manufacturers are more responsible for these components now.
realrocker··on Ask HN: Significant commit rate decline of Android's base repository?
Not sure. Several of high change frequency components from telephony were moved to platform/packages. Also Google has probably not dumped the latest changes yet.
realrocker··on Deco IDE for React Native: Now Free and Open Source
If you don't mind, would you share the reasons for making Deco open source ? This obviously looks high quality and I guess developers would be open to pay for it.Was open sourcing the project always the intention? Not that I am complaining :)
realrocker··on Large Companies Game H-1B Visa Program
Capping the visa limit per company should do it. I am sure the loophole has been lobbied in .
realrocker··on Google to Fold Chrome Operating System into Android
Merging Chrome OS with Android means that now it will have access to the humongous ecosystem of App Developers, Platform Engineers, OEM's, ODM's, cheap ARM chipsets, a gazillion of tiny hack shops across China, Taiwan and India and test labs. And more in the form of an established brand name.

Android is bent and tested in unthinkable ways due to its reach. Let's see if Chrome OS is up to it.

realrocker··on First chapter of Kernighan and Donovan's new Go book [pdf]
From the book:

"But it has comparatively few features and is unlikely to add more. For instance, it has no implicit numeric conversions, no constructors or destructors, no operator overloading, no default parameter values, no inheritance, no generics, no exceptions, no macros, no function annotations, and no thread-local storage."

realrocker··on Ask HN: How do you stay sharp?
I want to say this to my Product Manager, and if aren't doing this already try investing 10-20% of your time on doing hands on work. Details matter.
realrocker··on Taking stock of startup innovation in the Netherlands
Interesting. Was wondering how hard it is to get a work visa?
← PreviousPage 2 of 11Next →