HNHacker News
TopNewBestAskShowJobs

chessturk

122 karma · joined March 22, 2019

submissionscomments
chessturk··on Show HN: A minimal and idiomatic WebSocket library for Go
I'm waiting for a lib like Phoenix Channels with a js client that starts with WebSockets and falls back to long polling if things like firewalls get in the way. I actually found Phoenix when trying to solve that usecase in go.

I feel like because of Go's concurrency model, a standalone version of Phoenix Channels (without all the MVC stuff) would be possible to implement.

Phoenix: https://hexdocs.pm/phoenix/channels.html

chessturk··on Istio Observability with Go, gRPC, and Protocol Buffers-Based Microservices
As a developer who uses go microservice architecture and is in the process of containerizing our services at work, this is very valuable. Thank you!

As an elixir/erlang enthusiast, haven't we just reinvented BEAM and observer?

chessturk··on Microplastics Are Blowing in the Wind
I mean you're right in a unabomber type sense (i.e. living in a log cabin trapping small animals), but if I wanted to build my own smartphone from scratch, my whole lifetime is spent extracting materials to build the equipment required for making the smartphone. Even if I somehow made the smartphone, I would have immediately violated some patent law.

Even if I were a globe trotting immortal, I cannot legally DIY most common electronics because of patent law.

chessturk··on Microplastics Are Blowing in the Wind
Not to mention monopolies/oligopolies prevent real choice with most products.

No one can DIY everything.

chessturk··on ‘Land Lordz’ Service Powers Airbnb Scams
Check out gandcrab: https://sensorstechforum.com/gandcrab-criminals-affiliates-r...

It's ransomware with a commission scheme.

> It’s curious to note that the program offers a 60-40 split in profits, with 60 percent offered to the customer. However, the gang is willing to negotiate up to a 70-30 split for customers that are considered more “sophisticated”, researchers say.

chessturk··on Error Handling in Go (2016)
My work has handled this with autogeneration of things like DB models. I don't know if that would be applicable to what you're doing.
chessturk··on Error Handling in Go (2016)
Stealing this pattern. Thank you.
chessturk··on Size visualization of Go executables using D3
Would it be possible to pass a flag to go build to change runtime.pclntab to the pre Go 1.02 implementation?

I don't actually have the author's usecase though, I tend to build microservices in Go!

chessturk··on “Google just started mass banning/limiting Archive Team downloads”
Hellholes are historically and anthropologically valuable.

A Diary of a Napoleonic Foot Soldier[1] is a hellhole.

https://www.penguinrandomhouse.com/books/185435/diary-of-a-n...

chessturk··on You Have to Pay the Right Person
This is how I feel about college athletics. Make a minor league and pay the players, don't spend millions of govt/tuition dollars on coach salaries that could be spent on education and research.
chessturk··on PHP 8 to Add a JIT
Isn't reflection slow as hell?

If not please correct me.

chessturk··on PHP 8 to Add a JIT
> Better documented is better.

I was talking to some kid who wanted to be a developer, and I echoed this sentiment. A complex tool with good documentation is easier to use than a simple tool with bad documentation.

chessturk··on TypeScript 3.4
It only gets interesting to me when browsers (or for that matter node) get tail-call optimization.

Until then iteration makes way more sense than recursion in JS.

chessturk··on Coc.nvim – Intellisense Engine for Vim8 and Neovim
I'm really careful to not change standard settings, so when I'm remote only cosmetic things change (linting underline, autocomplete). If I do change something standard, then it should be obvious what the original command was (<C-w> to <leader>w)
chessturk··on Coc.nvim – Intellisense Engine for Vim8 and Neovim
I'm using NeoVim which might explain the difference, but VSCode is slow to boot and laggy when running on my Ubuntu 18 box. Nvim has never been either.

At work, on OSX, VSCode has been fine though. Still, I've never run into a situation where nvim is slower. And I use a good many plugins (deoplete, ALE, ctrlp, fzf, and 5 sets of language specific plugins).

chessturk··on Apple Cancels AirPower Product
You can even return marijuana to a pot shop. It's hilarious.
chessturk··on Go 2018 Survey Results
Thanks for the detailed reply, that helps a lot :)
chessturk··on I Miss Rails
I maintain a legacy Grails app, it's memory hungry and brittle. A bug one place brings down all parts of it.

I hate it but I'm no Java expert.

chessturk··on I Miss Rails
The similarity of Hack and TypeScript support your argument.
chessturk··on I Miss Rails
Why is it hard to dismiss Node? Do you mean business environment-wise?
chessturk··on I Miss Rails
> React’s component model is much nicer than any templating system

This is my feeling too. Composition and JSX beat logic in templates.

Though I've seen some pretty hairy React, I still prefer it to badly implemented template files.

chessturk··on I Miss Rails
For my work it's all React + React-Native shared codebase for web and mobile.

I've also heard that graph dbs are better for social data than relational dbs, though I don't know the details. So I guess another use case is you are Facebook.

chessturk··on I Miss Rails
Elixir/Erlang's emphasis on uptime/fault-tolerance/scalability/concurrency (admittedly at the cost of performance and the abstraction of a VM) is perfectly suited to web/mobile use-cases.

On paper, Pheonix should be the default choice for large and small web/mobile MVC applications. I think the question of if that becomes the case is directly tied to adoption of Elixir.

chessturk··on Go 2018 Survey Results
Sincere questions, I don't come from a OOP background, and do have plenty of Go! experience, so I feel like I'm missing the nuance of this post.

What causes OOP to be well suited for finance's use case?

What are the short-comings of structs/interface methods that Go! provides in the financial space?

If Go! had generics, would that change it's suitability for finance?

I would think that first-class concurrency would be useful in that space, is it?

chessturk··on Office Depot computer scans gave fake results
> Then again, there has always been questions of piety and alignment with the greater good.

The intresting thing is there's no specific source of "piety" in the religiously/ philosophically divided West. Even if someone's moral failings get exposed, currently, every devil has an advocate.

chessturk··on Looking for a new CEO
You know, I recently posted about how I learned to program with no home internet connection. Learning to only rely on the docs for major libraries has really helped me use obscure stuff.

That said, SO is still a wealth of information.

chessturk··on Ask HN: Can't seem to remember basic things, should I give up on computing?
I used to be in this boat for financial reasons. I downloaded tons of documentation and learned to love specifications.

Of course, nothing beats Google, but if the docs are good (big if) you tend get a deeper understanding of your tools.

chessturk··on Ask HN: Can't seem to remember basic things, should I give up on computing?
> - Take lots of notes with code examples and thorough basic explanations to self.

I gained a ton of productivity when I started creating a set of helper functions, examples, and gotchas for each language / domain I work in. I used to use a network call helper in JS for ages to remember all the different ways errors can bubble out of fetch. I also have a file with a bunch of ML algorithms, cause there's no way I can keep it all in my head, but I don't want to forget the right tool for a job.

I'm still self depricating, but my 'babys_first_elixir.exs' has been invaluable resource for me to dump interesting funtional patterns into while reading other folks code, then referencing when it's time for me to write.

chessturk··on Life on the wrong side of China’s social credit system
Honest question, isn't this same big data technical effort supporting the round up of Uighurs[1]?

I get that the main story is about a debtor and credit, but the concept of stratification based on surveilence-data is word-for-word 1984.

[1] https://www.reuters.com/investigates/special-report/muslims-...

chessturk··on Life on the wrong side of China’s social credit system
> the Communist Party billionaires

It's so Orwellian. All of it.

← PreviousPage 3 of 4Next →