Better HN
topnewbestaskshowjobs
Log inSign up

cosmicexplorer

183 karma · joined Sep 25, 2014 (12y ago) · 26 submissions

[ my public key: https://keybase.io/turingtarpit; my proof: https://keybase.io/turingtarpit/sigs/kw5pQMMPwLKWtR2duluuOsAJqfdAkxKrHEThdRy6Bo0 ]
Submissions

comment 4y ago · link · parent

His name is spelled "Gerard".

comment 5y ago · link · parent

I hope everyone in this thread talking about feeling unsafe understands they can leave San Francisco. Lived in the Tenderloin for almost 4 years now and this type of discussion always fills my throat with bile. Haven’t posted on HN for a long time but wanted to emphasize how little I think of this rhetoric. “Progressive policies”? Use your words.

comment 6y ago · link · parent

"The response was private so he shared publicly because it's relevant info for the community."

Made me feel very positive to see this comment in the replies, thank you! It was very difficult to focus the discussion on Twitter to why the engineer would feel sharing publicly was necessary in the first place, despite potentially losing their job.

comment 6y ago · link · parent

I agree with this comment and I think it improves the conversation to have around, even if many people disagree with it.

comment 6y ago · link · parent

I'm pretty sure the parent comment understands that they can, and also agrees that they shouldn't.

comment 6y ago · link · parent

Also, I added back/forward support to org-info-js (along with a GPL license) here: https://github.com/cosmicexplorer/org-info-js. I haven't used it in a bit, but feel free to take the code e.g. from https://github.com/cosmicexplorer/org-info-js/commit/d72b310... if you're looking to improve the default org-info-js situation.

comment 6y ago · link · parent

The sandyuraz.com dependency might be a good starting point for people who don't know how to make CSS styles, though, or want an example to go off of!

comment 6y ago · link · parent

Telling hardware vendors not to modify kernel code feels grotesquely anti-competitive.

comment 6y ago · link · parent

That's definitely correct^. In addition, I expect that this feature is intentional, as most requests will use well-typed thrift structs or graphql to perform backend requests (I think) and I would be surprised if the mute word filters were ever applied accidentally.

comment 8y ago · link · parent

I work at twitter and wasn’t able to find out immediately, but have been collecting responses like these + the article and communicating with someone who knows what to do. I only found out about this over twitter and I am personally deeply frustrated and working to understand whatever led to this.

comment 8y ago · link · parent

I disagree, it seems to be building on a lot of discussion build tool developers have been having recently. E.g. Pants (mentioned in the article) supports exporting not just scala but multiple other languages into an intellij plugin we also develop, and we are involved or familiar with the work at the scala center and I personally think this is really exciting, and that the LSP analogy is pretty reasonable for the type of operations they intend.

comment 8y ago · link · parent

I’m developing the build tooling for C/C++ in pants (the twitter build tool) to support this work, see [0]. Twitter open sources basically all of its infrastructure, we don’t really like throwing open source over the wall, and we maintain several high quality open source libraries that don’t require you to develop specific expertise in platform building (e.g. scalding [1], one of my faves)!

[0] https://github.com/pantsbuild/pants/pull/5815 [1] https://github.com/twitter/scalding

comment 8y ago · link · parent

I was thinking of the same article, and found it, I think [1]? There was a higher-rated link also posted around the same time with the same post content [2]. I also found a follow up post [3] while looking for [1].

[1] http://varianceexplained.org/r/trump-tweets/

[2] https://www.r-bloggers.com/text-analysis-of-trumps-tweets-co...

[3] http://varianceexplained.org/r/trump-followup/

comment 9y ago · link · parent

Actually not sure how to do this with magit, but I just tried `vc-region-history' while highlighting an R method signature and body and got a pretty slick view of all the relevant commits. Would definitely prefer magit for jumping to commits, might take a few lines of elisp.

EDIT: Actually, [0] mentions =L, which seems to work flawlessly. Hacking on an option to take the selected region instead of manually specifying file and lines is easy. Alternatively, magit-blame lets you look at a specific change's commit.

[0] https://github.com/magit/magit/issues/1717

comment 9y ago · link · parent

OK, found out what a bare repository means and pretty sure that's what it refers to. Still can't find any documentation for the query string parameter and don't know how that makes sense for github's repository view page.

comment 9y ago · link · parent

What is the meaning of the "?bare" query string in the url? I googled around for the meaning of query strings on the github site but only found rnandom repos on github (not sure how to narrow the search). The first time I tried removing it I saw another folder named "to_do", but this is gone now so it might give a version which is cached for longer somehow?

comment 10y ago · link · parent

https://github.com/syohex/emacs-helm-ag is also super cool, although it works from within emacs; you can interactively preview the matched areas without opening files, and jump directly to matches. tag seems really cool for people who prefer working more directly in the terminal, though (or people who don't use emacs).

comment 10y ago · link · parent

I think this what OpenACC (https://en.wikipedia.org/wiki/OpenACC) was created to do; its support is pretty iffy right now, though.

comment 10y ago · link · parent

yes, but quite a lot of tutorials i've seen / intro to systems courses seem to think it looks "cleaner" to use an if statement; switch is definitely the move here but i've seen the if version quite a lot

comment 10y ago · link · parent

I actually made a little thing for emacs that does something similar, actually tagging on the parsed parts of speech instead of just tokens. It requires you to select the text first instead of automatically highlighting, though. It uses coreNLP which was pretty lovely to work with.

https://github.com/cosmicexplorer/speech-tagger

comment 10y ago · link · parent

The filtering by language is super cool; do you think you could ever allow adding custom tags as well?

comment 11y ago · link · parent

Is there an option to make it print the file:line:column? Cause I use emacs and rely on the compiler printing out error messages in that standard format so I can jump to them easily; I could certainly hack together a solution for other output formats, but it's a tad more annoying. Not sure what kind of users would be complaining about having that and it seems like stronger editor support for standard compiler output would fix some (definitely not all) of the problems you identify and solve in this post.

comment 11y ago · link · parent

Is there not like a "-O3" option to try aggressive code manipulation like that? Or is moving code around just not done at all because it's difficult to do correctly?

comment 11y ago · link · parent

Why wouldn't the OCaml compiler optimize away the variable usage in the first example? It seems an easy optimization to make if they're only used once.

comment 11y ago · link · parent

so like.......did they put this decrypted database online, or something? true, we could just perform the same operations they did, but if you're going to go through the trouble of putting your crack in public, might as well spread its fruits too