HNHacker News
TopNewBestAskShowJobs

dhuramas

1,339 karma · joined November 6, 2013

[ my public key: https://keybase.io/dash; my proof: https://keybase.io/dash/sigs/w7nRQQ-U9xuhhGejsVBk-CxXVLCH3MEyeBdfTjcDoJI ]
submissionscomments
dhuramas··on How CUE Wins (2021)
Anyone having used both KCL[1] and Cue? There is a comparison presented by KCL[2], but wanted to hear people's personal experience.

[1]: https://news.ycombinator.com/item?id=34144566 [2]: https://kcl-lang.io/docs/user_docs/getting-started/intro/#vs...

dhuramas··on Failure Modes and Continuous Resilience
His talk at QCon[1] covering this topic was pretty interesting

[1]: https://www.youtube.com/watch?v=v5Gwi9AYvm4

dhuramas··on AGPL License
OP is speaking hypothetically- the question is perfectly valid and asks for which of the scenarios are okay.
dhuramas··on Kansas City is first major city in U.S. to offer no-cost public transportation
Sleeping in the car is also illegal in a growing number of places[1]

[1]: https://nextcity.org/daily/entry/10-facts-homelessness-2014

dhuramas··on Google Fires Four Workers, Including Staffer Tied to Protest
Extending the example, “if a company A (eg. Marlboro) pays you a salary X to do your fucking job Y ( make cigarettes more addictive) and if you use that money and time on activities Z(whistleblowing, protesting, etc), especially if it negatively affects company A's image / revenues, why shouldn't the company be allowed to fire

I think people feel strongly about certain issues. That doesn’t imply that what they are doing is inherently wrong if driven by those core sentiments. How about we empathize- We can respect both Google’s and the employees’ action without choosing sides.

dhuramas··on Bootstrapping a SaaS to and$250K/Month on a Competitive Market
Good for them...

But my first thought before clicking was- please don't be ad/marketing/SEO biz.

dhuramas··on GCC null pointer check removed
I was wondering where I had heard of Cranelift before- seems like it is the default backend for wasmer[1].

[1] https://github.com/wasmerio/wasmer#building

dhuramas··on I completed Ultimate Go, took good notes and commented directly on source code
I can't upvote this enough.

I am going through this course- and it is fabulous. Covers tests, and even though the topic names might seem easy or trivial(I mean there is only so many ways you can write loops or define arrays), they include a lot of "extras" that make it fun- for example one of the topics might include details about how to write doctests and docs, another one might introduce table driven tests and provide advice on when to use them. Overall it is great.

I'd be very interested in seeing this approach applied to other language courses.

dhuramas··on Contributor Agreements Considered Harmful
Context: https://en.wikipedia.org/wiki/Eric_S._Raymond#Political_beli...
dhuramas··on Tips for reviewing code you don’t like
I don't think OP wants a project to accept anything "less-good". It's just a post asking to be respectful to the contributor. Attack the idea(in a civilized manner) - not the person.
dhuramas··on You are not Google. You are not Netflix
Out of curiosity - Which database is this? and is it really taboo to have views joining against multiple other views?

If the underlying views were performant- I'd assume the query optimizer would do the right thing(at least 90% of the time).

EDIT: I guess it depends - Just did more research and found this [1]. As long as the views don't do unnecessary heavy lifting or joining unnecessary tables, it should be fine.

[1] https://dba.stackexchange.com/questions/151169/are-views-har...

dhuramas··on Getting 2FA Right in 2019
Something I do to mitigate this problem is take a screenshot of the barcode and store it in keepass - along with the password. So next time I change phones- I just scan the codes back and I am back on track with the TOTP.

> I thought we were trying to stop people writing their passwords down and storing them next to their computer?

Yes- but I guess it's okay to use password managers anyway. And they make it easy to store screenshots and stuff as attachments.

dhuramas··on Tesla will soon downgrade software on the entry-level Model 3
Lots of hate in the comments- but I feel this is a good thing. I think of it as my free trial to JetBrains IDE expiring - yeah it sucks. But I got what I paid for(or didn't pay for)- and it was good while it lasted.

Besides they had a clear communication about the matter- it's not as if the customers had the rug pulled off their feet. They have been informed well in advance.

dhuramas··on Relicensing CockroachDB
Does that mean we shouldn't revisit our decisions and all your decisions should be set in stone?

CockroachDB tried something. It seems to not be working- so they are changing. It's not as if they are doing it retroactively.

dhuramas··on Aurora Postgres – Disastrous Experience
Deeply concerned about the insertion of new schema. That would make it an absolute no-no I feel.
dhuramas··on PEP 594 – Removing dead batteries from Python's standard library
In an enterprise-y environment, it's not always possible to keep upgrading to the latest. So assuming someone creates a project based on f-strings, that would be python 3.6+ only. Whereas using string.format will work across entire python 3+. Is that worth the upgrade- I'm not convinced.
dhuramas··on Show HN: Oya – New projects set up lightning fast
I recall two other popular projects doing the curl xyz| bash approach

Rust[0] Chef [1]

And here is an old HN comment[2] going into why it doesn't really matter.

Besides it's a Show HN- why be negative when we can raise the same issue more constructively as "Please add checksums and digital signatures. Also why not use regular GitHub releases in the installation instructions?"

[0] https://doc.rust-lang.org/book/ch01-01-installation.html [1] https://docs.chef.io/install_omnibus.html [2] https://news.ycombinator.com/item?id=12766049

dhuramas··on Hong Kong Property Tycoon Gave Away Children’s $400m Inheritance
Maybe this: https://www.wsj.com/articles/SB10001424052970204630904577058...
dhuramas··on Joe Armstrong has died
A great loss to the community. Even though I don’t use Erlang, I’ve always been enamored by it’s unique features.

Black Ribbon please.

dhuramas··on Chef extends open-source licensing to all its software
"we are more open and free" - There is nothing dishonest about that. What we are seeing is companies trying out different business models and seeing what works. I can respect that.

As an end user, if you care about free software- this is good news. Instead of having different "Enterprise" and artificially handicapped "open-source" edition, we get to see everything out in the open. The secret sauce is now limited to the release process. They say openly that if you need to, fork them and create your own releases - yeah go for the "knockoffs" if you can trust them - or else try the branded (Chef) product.

MongoDB got a lot of flak for misappropriating the name "open source". What Chef is doing is IMHO more clear and honest. They need to make money too.

dhuramas··on Racket v7.2
python comes with IDLE. Which looks dated w.r.t current IDEs. I guess for most languages, stability is the key - changing UI also means maintaining two different UIs(the old and the new)- that time could probably be better spent on language features.
dhuramas··on Unknown to most, Kubernetes was originally written in Java
Just read about it on /r/programming - Sounds interesting.
dhuramas··on ScyllaDB Open Source 3.0
Really? Would have helped to check out: https://opensource.org/licenses/alphabetical

All the licenses(Except the Third-Party Driver licenses) look opensource to me.

dhuramas··on Quora User Data Compromised
Can't recommend FastMail enough- it has aliases which automatically forward mail from xyz@alias.yourdomain.com to your alias@yourdomain.com - This is very similar in practice to the + trick with gmail[1] but with the benefit that your email addresses will pass all stupid Javascript email validation rules.

[1] https://www.thewindowsclub.com/gmail-address-tricks

dhuramas··on Still in love with Rust
Yapf- https://github.com/google/yapf
dhuramas··on IgNobel Prize in Neuroscience: The dead salmon study (2012)
TLDR; researchers at UC Santa Barbara, intending to show how statistics can be used misleadingly, received statistically significant results when scanning a salmon with fMRI to show that it's brain responded differently to photos of different social situations. The salmon was dead.

(sauce: https://www.reddit.com/r/todayilearned/comments/9t3bc4)

dhuramas··on Making the GPL more scary
I guess it all comes down to whether one thinks free as in beer is "freer" than free as in freedom. Freedom has a price.
dhuramas··on Show HN: Vespene – My new Python CI/CD and automation server written in Django
we use https://wiki.jenkins.io/display/JENKINS/JobConfigHistory+Plu... to track job config changes. Additionally we require users to checkin the config.xml for each job in VCS- It's easily accessible by appending config.xml to the Job URL eg. http://server/job-name/config.xml

That seems to take care of who changed, what changed, etc.

dhuramas··on Cimple: Instruction and Memory Level Parallelism
What's zero page? Where can I read more about it? Wikipedia[1] suggests in modern operation systems "actually make the zero page inaccessible to trap uses of NULL pointers".

[1] https://en.wikipedia.org/wiki/Zero_page

dhuramas··on Ask HN: What open source project, in your opinion, has the highest code quality?
I am surprised no one mentioned SycallaDB(https://github.com/scylladb/scylla) . Redis and SycallaDB have often been pointed out as examples of good codebases to look at for C/C++ Devs.
Page 1 of 2Next →