HNHacker News
TopNewBestAskShowJobs

Goopplesoft

877 karma · joined October 6, 2012

[ my public key: https://keybase.io/pnegahdar; my proof: https://keybase.io/pnegahdar/sigs/CL-VyfGdWKwT-AEYmvTcyzcLwE7eHTLV-AMaVe-GFQ0 ]

GAuthify.com - OTP/2FA as a service.

github.com/pnegahdar

Email: pnegahdar gmail

submissionscomments
Goopplesoft··on Cloud SQL for PostgreSQL now generally available
https://cloud.google.com/sql/docs/postgres/extensions

Looks like a preset list of extensions. I'd assume custom extensions would be very difficult to support in managed postgres.

Goopplesoft··on Squared Digit Sum
https://en.wikipedia.org/wiki/Happy_number
Goopplesoft··on B-Heap vs. Binary Heap (2010)
> ..., not to mention wasting enormous amounts of hardware and electricity.

I wonder how legitimate this concern is from an environmental angle. On one hand a lot of code in the world probably has much worse performance ratios than than the one described in the article -- using python is sufficient to cause an order of performance loss. On the other hand data centers are using more renewable energy sources and reducing their carbon output.

Is this only a wasted money problem? How worth while is it to write "green code"? Back of the envelope calculations on how much developer comfort costs would be interesting.

Goopplesoft··on Show HN: AtomicWrite: cross platform library for atomically writing data to disk
I usually don't defend Windows, but, rename not overwriting (without an argument) seems safer as a low level API, no? Given it takes a 2 line helper to achieve the same thing in C++ [1], doesn't seem that bad.

[1] https://gitlab.com/jeffreyrogers27/AtomicWrite/blob/master/A...

Goopplesoft··on Relibc: C Library in Rust for Redox and Linux
> I think encouraging a culture of distributing software in such a fashion is an incredibly bad idea

It isn't obvious to me how that is dramatically different from traditional package managers as far as the update process goes. Upgrading decencies seems like a generally active and involved process as far as most package managers I've seen go.

pip/apt/npm/go-get/glide/yum/nixos etc all require you to actively discover and upgrade your dependencies and I've never been prompted to upgrade a package from any of the programs (a few do ask if you actively engage special subcommands on CLI e.g apt list --upgrade). Unattended-upgrades might be close but you can really only enable that on security releases and most package managers don't have the resources to setup special distros (and fewer backport security fixes).

So is the pain really just not having a quick upgrade cli and is that dramatically different from going to a github page and getting the new URL for a new binary? Would something as simple as writing a script to list and download versions of binaries from github releases make this a non issue?

Goopplesoft··on Go best practices, six years in (2016)
Is anyone else using golang dep[1] as their vendor/dependency tool?

I’ve used it and it works great (much better than glide, gb et al) but I don’t see it in the wild too often.

[1] https://github.com/golang/dep

Goopplesoft··on Telegram Login for Websites
By building a phenomenal chat app and gradually (deliberately) building features around it to create a complete WeChat-like ecosystem, Telegram will probably improve people's uptake of chat-centric utilities in the markets they're targeting.

I think the fundamental component to their success is just how snappy and 'live' their chat conversations feel. Everything including their backend perf, chat bubble animations, etc seems to be finely tuned to make conversations feel alive and active.

Goopplesoft··on Why Create a New Unix Shell?
A while back I wrote a little test snippet[1] to see how good such an interface can get in python.

    _("ls -la") | _(lambda x: x.split()[-1]) | _(lambda x: os.path.splitext(x)[1])
I wonder if there's a complete version of something like this out there. You can probably get pretty far staying in Python-land, plus, everything else is free (data types, standard library, adoption, etc).

[1] https://gist.github.com/pnegahdar/726cf2c65fc561db7831

Goopplesoft··on Amazon announces candidate cities for HQ2
Northern Virgina has quite a few areas including Tysons that would 'fit' (it is HQ to "Intelsat, Gannett, Hilton Worldwide, Freddie Mac, Capital One and Booz Allen Hamilton") [1]. Montgomery County, on the other hand, is definitely a weird choice.

[1] https://en.wikipedia.org/wiki/Tysons,_Virginia

Goopplesoft··on Mailgun Security Incident and Important Customer Information
Foremost, it was written by a human and unintended language contradictions are common. With that said, what you're suggesting isn't necessarily true -- the language can also indicate potential false positives, again because of the nuances of language.
Goopplesoft··on Jsonb: Stories about performance
I can easily think of a few good reasons (it is actually a pretty good database for the right use-cases). Can you actually not find a good reason or are you just continuing the exaggerating echo chamber around mongodb's earlier failures for 'points'? Plus this has very little to do with the article which is a very very well done technical analysis of different solutions with very little opining.
Goopplesoft··on What I Learned from Losing $200M (2015)
This reads like a case study in one of Nassim Taleb's books.

> stress, competition, and choice involved in trading financial instruments naturally give rise to illusions of control

> I’d never really experienced the extreme tail of a probability distribution firsthand. And that experience disabused me of more than one illusion.

> But what’s the alternative to estimating probabilities?

The implied inevitability of another crisis over the new-ish stress tests is very saddening. I wonder what can be done.

> The danger is that the financial system and its regulators are moving to a narrow risk-model gene pool that is highly vulnerable to the next financial virus,” he wrote. “By discouraging innovation in risk models, we risk sowing the seeds of our next systemic crisis.

Goopplesoft··on Streams: a new general purpose data structure in Redis
What sort of compression do the blocks undergo? E.g. does periodicity of the timeseries help reduce the the space of the 64/128bit timestamp? Gorilla[1] style compression would be great, although it'd likely make sub block level range queries tough.

[1]http://www.vldb.org/pvldb/vol8/p1816-teller.pdf

Goopplesoft··on New React website
> requiring you to have a strong JS frontend background in the first place

Is that a high bar for a JS frontend framework? Serious question, as it doesn't seem that way to me. This seems analogous to saying "Django docs require you to know python" or "Postgres docs require you to understand how databases work".

Goopplesoft··on Go: Ten years and climbing
> Russ discovered—that's the right word—that the generality of Go's methods meant that a function could have methods, leading to the http.HandlerFunc idea...more general ideas too, like the the io.Reader and io.Writer interfaces, which informed the structure of all the I/O libraries.

Big testament to great interfaces being hugely impactful. For me, the IO and HTTP interfaces are a big part of why Go is so nice to use; the libraries (including std) that emerged around those interfaces and their subsequent interoperability makes everything so coherent.

Congrats to the Go team and their amazing work!

Goopplesoft··on How to conduct a good programming interview
> Just do some small spot checks to make sure they aren't taking credit for the work of others.

Agreed, asking tough technical questions on this front gives a really solid indicator of a 'bullshitter'. For example, I often ask people to diagram a prior project architecture they worked on, and then ask them very fine details of how things work and try to challenge them with alternative approaches to see how they react. I get to experience working with them during the interview through which I learn if they're smart and capable.

Goopplesoft··on How to conduct a good programming interview
> 5 minutes of resume discussion > 45 minutes of coding

As anyone else found that a good resume discussion is often much better than the coding component? I've concluded that implementation difficulties, decisions made (tradeoffs, technologies, etc.) and the collaborative environment around projects, are much better signals than the code part of my interviews.

If you've dealt with a broad range of tech and can ask the right questions, it's relatively easy to get a strong signal from a candidate by having a deep discussion on their work on prior projects. Both are needed and very useful.

Goopplesoft··on Vagrant 2.0
It is owned by Hashicorp. Hashicorp was a company built around Vagrant initially.
Goopplesoft··on Hy – A Lisp-flavored Python
> equally (un)readable

Means they're the same to them regardless of whether its readable or not (they aren't even opining here).

Goopplesoft··on Zigfrid – A Passive RFID Fuzzer
They include a video of a parking garage being opened after just a few iterations. The code used in commercial applications could often be lower bits given criminal prosecution is a larger deterrent than code security. Although, OP may have set a specific range for that demo.
Goopplesoft··on Zigfrid – A Passive RFID Fuzzer
This made me wonder if iOS 11's CoreNFC API can be used in similar ways. It would be cool to consolidate my tags (building and office) if they speak NFC.
Goopplesoft··on Skylake now GA on GCE
https://github.com/yudai/gotty is a good place to start figuring out how they're implemented (tty streaming server + termjs type thing).
Goopplesoft··on Is the C++ preprocessor still needed?
Thanks. Also, this site also seems to have args from man pages: https://explainshell.com/explain?cmd=gcc+-C+-E+-H+-P+-nostdi...
Goopplesoft··on Asynchronous Programming in Python: Asyncio
There will be interesting community impacts from python's asyncio -- I'd venture its going to create a lot of fragmentation in the realtime application ecosystem. The issue seems to be that there isn't an agreed way to consume derivative apis as the flow control and interfaces around asyncio are super clunky. Further, the all-or-nothing nature of asyncio (don't block the thread) means a significant portion of applications will have to have some rewrite to support asyncio (webframeworks, sqlalchmy and such).

There are already two fairly large ecosystems around asnycio network libs + http frameworks which are large rewrites of existing libraries (https://github.com/klen/muffin and https://github.com/aio-libs). It seems like having a whole framework/ecosystem for loop lifecycle management, async libs, state/comm, etc will unfortunately be needed. I hope we find a way to work around this although I doubt there is a good way.

Goopplesoft··on VPNs are not the solution to a policy problem
Thats an interesting bet. If they isolated to the subnets they sell off to ISPs (i.e exclude datacenters and such) what do you think would contribute to the cost/benefit difference of the two?
Goopplesoft··on VPNs are not the solution to a policy problem
A heads up: theres a really nice project called Streisand[1] which provides a multi-protocol VPN with very little effort. You can launch one on a cheap cloud provider (like DO, if their policy allows).

[1] https://github.com/jlund/streisand

Goopplesoft··on Show HN: A Go Library for Better Access Control
Note: Ladon can be run as a service to use in your main application should you want to avoid learning go.
Goopplesoft··on Git-quick-stats – A simple and efficient way to access various statistics
I have the following aliased to gbl:

    git for-each-ref --sort=-committerdate refs/heads/
With formatting:

    git for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(color:cyan)%(authorname)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset))'
Goopplesoft··on What Could Have Entered the Public Domain on January 1, 2017
Interestingly the Copyright Term Extension Act is also known as the "Mickey Mouse Protection act"

artlawjournal.com/mickey-mouse-keeps-changing-copyright-law/

Goopplesoft··on Uber Freight
While trying to validate your 12k number (its more likely 65k and thats not long-haul, http://www.afdc.energy.gov/data/10309) I found an interesting data sheet:

http://www.trucking.org/ata%20docs/what%20we%20do/image%20an...

Page 1 of 11Next →