HNHacker News
TopNewBestAskShowJobs

zenocon

715 karma · joined December 19, 2008

anon
submissionscomments
zenocon··on Google shows off what ChatGPT would be like in Gmail and Google Docs
This guy gets it.
zenocon··on Google shows off what ChatGPT would be like in Gmail and Google Docs
We have come full circle. Clippy is back.... "It looks like you're trying to write a letter to your wife, would you like help with that?" OMG
zenocon··on CLUI: Building a Graphical Command Line
Seems to be in line with my fav Postgres tool pgcli: https://www.pgcli.com/
zenocon··on CIA malware and hacking tools
How can one not have a whole giant mountain of cynicism with all we've become aware of in the last few years? We could just as easily turn the tables and call you irresponsibly naive.
zenocon··on Mark Zuckerburg comments on Peter Thiel controversy regarding Trump donation
I feel equally as bad that this person has been fed a narrative and hasn't gone out to debunk the propaganda and find out what is really going on behind the curtain. We can have a disagreement, sure, but when the argument is just shouting "sexist, racist, homophobe, xenophobe", etc. it's clear there's no real political discourse to be had, which is sad because there's a boatload of disgusting politics and corruption being exposed right now.
zenocon··on Walmart Canada stops accepting Visa cards
I build processor integrations and am working on several new ones now for EMV. I can confirm Square's pricing is ridiculous compared to what's out there. Bear in mind there are only like 6 companies in the US that actually process cards, but there are several thousand payment processing companies who are all taking a slice.
zenocon··on Thousands of Hip Hop Mix Tapes, Why Not
http://datpiff.com is another good source for mixtapes, but it's cool that he took the time to clean these up, catalog them and throw them up on the archive.
zenocon··on Go best practices, six years in
> I think a testing library can be a great addition, since it can turn a three-line if check into a one-line assertion.

Totally concur with this. I feel like all these people complaining about "bloated test frameworks" either haven't written a lot of tests, or are just fine with repeating themselves in test code, or they end up writing their own version of a test framework anew in every project. So much simpler and sane to grab an off the shelf solution for test code.

zenocon··on My Little Sister Taught Me How to “Snapchat Like the Teens”
it sounds to me from reading that article that her use of it is somewhat problematic.
zenocon··on How I fixed a bug in Atom
Thanks for the tip -- yea, I have go-plus installed. It is helpful, but still isn't ideal to have to save the file in the middle of trying to initialize a slice.
zenocon··on How I fixed a bug in Atom
Here's another one that needs to get fixed with Atom. Try writing this in the editor with syntax set to Go:

expected

func someFunc() {

        aSlice := []string{}{

 	}
}

actual

func someFunc() {

        aSlice := []string{}{
}

}

The end bracket on the slice's initializer never indents correctly when you type it and hit <enter>. It always defaults to the first character of the next line. It seems insertNewLine somehow is not able to grok the idea of more than one set of matching brackets.

Edit: issue filed https://github.com/atom/bracket-matcher/issues/209

zenocon··on What PostgreSQL has over other open source SQL databases: Part II
Use JetBrains 0xDBE -- still available now as early pre-release for free.
zenocon··on What PostgreSQL has over other open source SQL databases: Part II
Most people don't get this and they over-engineer the f#$%k out of everything.
zenocon··on Attention K-Mart Shoppers: Recordings of K-Mart In-Store Music from 1992
The whole vaporwave community is going to have a field day with this stuff.
zenocon··on Rebuilding Our Infrastructure with Docker, ECS, and Terraform
I just setup something similar for one of our api services as a trial to see how it would work out. My biggest gripe with ECS is that it currently does not support dynamic port mapping between ELB and a container instance. For example, if your service listens on port 8080, and ELB terminates port 443 and forwards to a container, then you can only have one container instance per EC2 cluster node, b/c spinning up two containers on the same node results in a port resource conflict.

This makes the whole solution fairly similar to just using auto-scale to spin up a new EC2 instance per app.

I know this is a major gripe right now with ECS, and hopefully Amazon is working on a solution.

Other than a few other frustrating gotchas, ECS has been pretty nice. I do like the idea of putting central config in S3 and copying config files over to cluster instances with a user data script (how they recommend you pull from private docker repo).

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/...

zenocon··on A new approach to web performance
> I disagree - most publishers I've seen (including large and mid-level) have some of the most bloated HTML with megabytes(!) of javascript and CSS just for rendering + all the other stuff you mentioned. They are definitely not optimized.

http://www.nytimes.com/interactive/2015/10/01/business/cost-...

zenocon··on From Radio to Porn, British Spies Track Web Users’ Online Identities
It sucks that it has come to this. I am afraid to do certain types of searches. The other day, I wanted to learn more about "Azan" -- the Muslim morning call to prayer that is often broadcast over loudspeakers from a mosque. I find the topic interesting and started poking around, but it landed me on several websites that made me start to feel uncomfortable that I was going to incite some trigger. I'm betting most people in my neighborhood aren't searching for this information, and I don't really want to be flagged. Pre-Snowden, I wouldn't have given it a second thought and thought it ridiculously paranoid. Now, I am very careful how I use the computer when it is connected to the wider network...and I think this is really sad and Orwellian.
zenocon··on From Radio to Porn, British Spies Track Web Users’ Online Identities
Wouldn't it be fantastic if there were a coup in the CIA/NSA/GCHQ, etc. of all tech people who just started deleting data on a massive scale surreptitiously. When the dept. heads were like, "WTF happened to the numbers on all the porn viewers...they just kinda shrugged their shoulders and said...'dunno..guess people got bored with porn'"...

Replace porn with '*' and now we're really cooking...

zenocon··on What I Wish I Knew When Learning Haskell
I find articles like this pretty useful and always bookmark them. They are useful for me when I've already invested the time to learn the rudimentary basics of a language; after that, each of these tips usually provides an 'a-ha' moment and saves me from learning something the hard way...but I wouldn't start reading this before getting yourself to at least an elementary understanding of the material.
zenocon··on Stochastic rain generator from the author of myNoise.net
strange, the thunder sounded like a train rolling in... was very cyclical.
zenocon··on Bitbucket announces Connect platform
Tried CodeSearch, but after installing it and clicking on it, it shows a form that says it will "be available soon for private repos" and asks for a bunch of information.

Tried the Graph plugin also -- after installing it and clicking on it, it shows a blank page.

The HipChat integration works well, but they've had that for some time now.

zenocon··on “Swift will be open source later this year”
This is truly not meant to be a snarky comment, but why is it so overtly verbose? I left Java years ago b/c it was making my fingers arthritic it seems. It doesn't look like much fun. Sure, IDEs do autocomplete, but still requires parsing by the human eye.

I'm sure you get used to it. Every language looks horrible the first time, then you learn to live with it and maybe love it, but on first glance that looks pretty awful.

zenocon··on All United Flights Grounded Due to Mysterious Problem
I'd agree here, and only add that if, in fact, he had accomplished manipulating command and control packets on a live plane, I doubt the FBI would have let him walk with a stern talking to and the loss of his personal computer effects.
zenocon··on Pdfmake – PDF printing in pure JavaScript
Does this support svg images (e.g. d3.js charts)?
zenocon··on Struct composition with Go
This is cool, but I find this snippet a tad bizarre:

  client, server := net.Pipe()
        var buf bytes.Buffer
        client = &recordingConn {
                Conn: client,
                Writer: io.MultiWriter(client, &buf),
        }
While it seemingly works, it seems confusing to assign client to an internal field of a new struct, and then overwriting that same client variable with the newly created struct...not to mention passing it into MultiWriter.

Anyway, I like those short posts like this. I've done similar things with embedding and struct "reconstruction" in order to elicit more testable code. It's powerful and useful, indeed.

zenocon··on In Flight
It looks great, but be honest: did you really read through the whole story? I got bored pretty quick. The text just lost me..and it seemed to be a neverending css showpiece, which is fine, but I don't think you can disguise that as an interesting news piece for too many scrolls.
zenocon··on Spiders Ingest Nanotubes, Then Weave Silk Reinforced with Carbon
It seems this is how the most remarkable scientific discoveries happen, though -- purely by accident or as part of a wild trial "Hey, what if we just tried this...?"
zenocon··on DragonBox: Secretly teach algebra to your children
I have used this game with my 5 yo (now 6), and I can say that it is done really well, and kept him engaged. YMMV, but this seems like the right approach for math/edu apps.
zenocon··on The easiest way to use Docker on your Mac
I tried Kitematic briefly and it seemed fairly buggy. I also was getting some kind of conflict between it and the command line tools with boot2docker. I just stopped using it and moved straight to boot2docker.

Your other options on Mac are Vagrant's docker provider -- which is nice, but I agree in general with the sentiment that it is even nicer to just use Linux natively.

zenocon··on Microsoft Acquires Calendar App Sunrise for North of $100M
That's good info, but I think you missed the part where parent commenter lamented:

> I don't want to spend my whole life on this.

Page 1 of 11Next →