HNHacker News
TopNewBestAskShowJobs

swagonomixxx

482 karma · joined December 25, 2016

submissionscomments
swagonomixxx··on GitHub Codespaces
Thanks. VS Code is actually no saint in this regard. MS collects metrics through VS Code's "telemetry" option (I think toggle-able to off, not sure) and this data has no doubt been used to improve VS Code and help MS build better product offerings and hence more rake in more revenue.
swagonomixxx··on GitHub Codespaces
Thanks for the detailed response.

I can definitely see where you're coming from. In fact, for VS Code, I believe they collect quite a bit of metrics on your usage of the product through telemetry, so it's definitely not "free" in the sense of "nothing given" - essentially, your programming and usage habits of the program are being sent to MS every second.

Re: the case of VS Code eliminating competition and MS losing the inventive to build good stuff, I think the core editor engine being open source gives me hope that this won't happen like in the olden days of MS. But of course, still a risk.

swagonomixxx··on GitHub Codespaces
> If I'm not the customer, then I'm the product.

I'm not sure what you mean by this, care to expand? Aren't you also the product for JetBrains, since you're one of the customers that's keeping them afloat?

swagonomixxx··on GitHub Codespaces
This is exactly my current situation. In one day I can end up writing in up to 4 languages (Go, Python, C, C++) and having one editor, with one set of settings for editing, and all the customization available in a single settings.json file, is just too good to give up for language-specific IDE's, especially ones that require yearly subscriptions.
swagonomixxx··on GitHub Codespaces
I've been using VS Code's Go and Python plugins for development for the last 2 years and I've never had any major issues. In fact, my experience continues to get better after every release.

With the Go language server kicking off, Go development in VS Code is literally a breeze. Every single thing I'd want to do (format code, imports, run tests, run a particular test, debug a test, breakpoints, on and on) has been integrated into the VS Code plugin and it works pretty much seamlessly. I haven't used Goland since it's early release in 2016 or so, so I might be missing out on something, but it doesn't feel like it.

I've never had a good experience with PyCharm. Again might be because I've using earlier releases and things have gotten better. But I'm at a point where I'm too comfortable with VS Code and have customized it to a point where I don't think it's worth it for me to switch to another editor, especially one that is tied to a particular language.

swagonomixxx··on GitHub Insights
I'm inclining on agreeing. Gaming commit counts and commit graphs on GitHub is already a thing. I've been asked by many recruiters why my commit graph on GitHub has gone stale, when I've worked at places that don't use GitHub, or if my commits are 99% of the time towards private repositories.

I can already see the resumes of developers touting their statistical brilliance from metrics gained from this tool. It's not a world I want to be a part of, to be honest.

swagonomixxx··on GitHub Codespaces
They should be OK because they're still usable with GitLab and have a self-hosted offering.
swagonomixxx··on GitHub Codespaces
This is pretty epic. VS Code has proven itself to be one of the best (if not the best) and feature-complete editor out there. It's basically an IDE of a ton of languages at this point, and it's completely free. Integrating it with GH is a no-brainer move from Microsoft's standpoint, to increase market share even further with more seamless integration.

If they're able to do setup for Python, Go, Ruby, and JavaScript projects, I suspect that'll be > 50% of all professional work (both FOSS and private) done on GH.

swagonomixxx··on A possible new back end for Rust
Devil's advocate: more diverse compiler tech will mean a more fragmented community and a larger probability of divergence across implementations.

People think the C compiler community is dominated by GCC and Clang, and it is, but there are literally 1000s of implementations out there in the wild. Most are necessary, because we need code generated for some obscure processor architecture that's completely proprietary, but you can create that "backend" in LLVM itself - it's a new target architecture instead of e.g x86.

The great thing about LLVM is that it's effectively the quickest (and probably the best) way to generate machine code without putting in too much effort, for a language. Whether that language be a research language or an existing industry language (say, C), that kind of establishment is hugely valuable.

A great example of a good monoculture is the Go monoculture. Sure, there's gccgo, but the proportion of people using that vs. the reference implementation is minimal, and that reduced fragmentation is actually a good thing for practitioners (which most engineers are, not PL researchers).

swagonomixxx··on Playstation Architecture: A Practical Analysis
Why should Apple care about portability of their Desktop apps to OS's like Windows? Native API's are almost by definition non-portable. That's why you need something like Qt to bridge the gap for you and provide a OS-agnostic API.
swagonomixxx··on Go Developer Survey 2019 Results
Interesting, I haven't heard of Valhalla (I haven't really used Java since around 2014). From their landing page it seems like their priorities are value types (which Go already has - you need to specify pointer types explicitly) and support value types as generic type parameters, which Go has to do, because it has value types.

I guess it will complicate things a bit, you're right. I'm pretty happy I don't have to use Java anymore though :)

swagonomixxx··on Go Developer Survey 2019 Results
Out of curiosity, at what point do you consider someone a seasoned Go developer? Is it 5 years or is it more?

I've been using Go since 2015 and I still feel like I'm not as seasoned as I perhaps should be (I'm not really an enthusiast of the language, I just think it's the right tool to use for 95%+ of the stuff I'm working on right now).

swagonomixxx··on Go Developer Survey 2019 Results
Ah good point about GOPROXY.

So if I have a mix of private and public dependencies that I pull in, can I specify a specific proxy for the private ones? Is it the GOPRIVATE env var?

swagonomixxx··on Go Developer Survey 2019 Results
If Go ends up getting generics it will be a serious competitor to Java in the enterprise small-medium size application space, and perhaps make it viable for larger applications.

So I think it will be a huge step up for Go. This is of course if they do it in such a way that does not increase language complexity by an order of magnitude (e.g C++ style templates). I think Java style generics is not as complex and something along those lines would be a huge win IMO.

swagonomixxx··on Go Developer Survey 2019 Results
> Does your organization manage their own internal go documentation server (similar to godoc.org)? > No (85%)

I would be very open to setting this up at my org - is there a canonical way to do this?

> What is the biggest challenge you personally face using Go today? > Working with modules / vendoring / pkg mgmt 12%

Go has come a long way since the solutions in the early days and is now supremely better than it every was. However, vendoring is still confusing, and it's unclear when one should commit vendor files (we did that at one of the places I used to work) and when one shouldn't. We kept getting afraid that one day some guy would just delete that repo off GitHub, or somebody would end up hacking it, then we can't get an important fix out into prod. I'm not sure if the Go team has any advice regarding this.

> What is the biggest challenge you personally face using Go today? > Issues with tooling 12%

I think Go in general has become very mature. From a tooling standpoint it's almost feature complete. The only thing I would like to see there is better autocomplete and tooling around calling C from Go but I know that's kind of hard to achieve. I frequently work with C libraries that I have to call from Go because Go is simply easier to write than C, but I don't think that Cgo has good integration with gopls at the moment (and I don't think it did in any other tooling that I've used).

swagonomixxx··on Evidence SARS-CoV-2 Emerged from a Biological Laboratory in Wuhan (Updated)
Has anyone actually read this full webpage?

It seems legit, but I feel like we need an independent group of scientists that are familiar with this particular area of research to tell me whether this is actually legit or just seemingly legit.

swagonomixxx··on How Spotify ran a large Google Dataflow job for Wrapped 2019
This is interesting, but what I actually find even more interesting than this is Spotify continuing it's usage of Google Cloud products even after being acquired by Microsoft. Can anyone shed some light as to why this is the case? Has that acquisition not been a "traditional" MS acquisition?
swagonomixxx··on The dystopian world of software engineering interviews
> The second was to write a recursive permutation generator using dynamic programming which is no easy task. I got totally stumped in the moment by that one. At the end of the interview I asked the interviewer “This problem seems a little steep for a phone interview. Do you often write recursive algorithms at Payment Processing Company?” He replied “No, we don’t use recursion.” “How about permutations? When have you used those?” He answered “Our algorithms have no need for permutations. Most of the engineers here work on user interfaces and infrastructure.”

This is absolutely hilarious, and has happened to me a bunch of times interviewing at large corps. Although I wish I had the balls to do what Jared does here, which is ask the interviewer if they ever even _used_ dynamic programming on the job.

Like, I get that some jobs are algorithms intensive. I've worked in such jobs myself. On the job, I had a lot of resources to help me - access to textbooks like CLRS and Wikipedia, so that building an algorithm and coming up with it's big O was mostly straightforward. But we've never had the CEO come and say "I need a O(n) algorithm stat for this problem _text dump of hard DP problem_".

swagonomixxx··on Companies flooding Kenya with apps offering high-interest loans
I think he's trying to say that even in the developed world there are people taking out loans with ridiculous interest rates, so that this phenomenon of taking out loans you can't pay isn't exclusively a "developing world" thing. Money Mart and the like come to mind, and I'm sure there are many other loan shark companies out there that do similar things.
swagonomixxx··on Ask HN: I've been slacking off at Google for 6 years. How can I stop this?
k8s and chill?
swagonomixxx··on Finnish minister Sanna Marin, 34, to become world's youngest PM
Agreed. For a long time I had thought the age requirement for being president in the US was kind of dumb - why don't we just get the right person for the job, no matter the age? But as I've grown older I realized what you have - it's extremely difficult to run anything, and I would prefer leaders that have been in extremely high, laborious, and difficult leadership positions before over those who are outlier-level young (such as Mrs. Marin). But then again I'm basing this judgement purely on age and not on many other factors so this is a very shallow analysis.
swagonomixxx··on Codem Ipsum: Lorem Ipsum but for Code
As some others in this thread, I feel bamboozled.

What I was hoping for is a "Lorem Ipsum"-style generator for code for like 10 different languages. So you'd have a Lorem Ipsum for JS, C++, Rust, etc.

This is just find/replacing identifiers with lorem ipsum, which doesn't really mask the underlying code that well.

swagonomixxx··on CockroachDB 19.2
Performance in what sense? Searching online for benchmarks gives some impressive numbers, specifically this: https://www.cockroachlabs.com/blog/cockroachdb-2dot1-perform....

Others have commented about how the language that CockroachDB was written in causes performance issues due to Go using a GC. Can't say that this is the main reason for sure, but I guess it could be a possibility.

swagonomixxx··on Gitlab cancels plan on tracking user behavior on GitLab.com
Ruby on Rails backend, I think.
swagonomixxx··on Critical Security Issue Identified in iTerm2
For folks who don't use the Tmux integration, are they affected at all? I know that the post details that this occurs during usage of the Tmux integration, but is there a possibility that the same vulnerability is present in normal iTerm2 usage (i.e, no Tmux integration)?
swagonomixxx··on Attorney General will ask Zuckerberg to halt plans for end-to-end encryption
Great points. It definitely seems to me that those two are fundamentally opposites. Suppose we champion (1), then with perfect privacy gives a lot of leeway for criminals to commit crimes such as those you stated and more without being able to detect that they did them.

However, without perfect privacy, every world citizen would be subjected to such monitoring, and we'll basically be exactly what 1984 is, with the metaphorical "telescreen" functionality spread across pretty much every device that's connected to a network.

swagonomixxx··on How a double-free bug in WhatsApp turns to remote code execution
Does anyone know if such behavior is possible on iOS as well?

And maybe if Signal has a similar issue? I'm not sure if they use the same GIF decoding library on Android? And iOS?

If someone doesn't know off the top of their head maybe they can point me to some docs.

swagonomixxx··on Building a Relational Database Using Kafka
The author is doing this purely for fun (I think, I'm not the author). They link to this: https://www.confluent.io/product/ksql/ which is apparently a production tested system that provides a SQL interface to a Kafka backend.
swagonomixxx··on On Being a Principal Engineer
> Think about how you treat people on your way up, because you will meet them again on the way down.

That’s an incredible saying. It really encapsulates the “fall from grace” that a lot of celebrities experience. Never saw it put in a way that would relate it to my life. Thanks for sharing!

swagonomixxx··on Google terminated our business via our Google Play Developer Account
Another one of these aspiring app developers bites the dust. I have some advice to such developers - work on making a good web app. You automatically reach more platforms than just the two big ones, and you won’t have to deal with too big to fail corporations taking you down.
← PreviousPage 6 of 7Next →