HNHacker News
TopNewBestAskShowJobs

tvaughan

370 karma · joined March 4, 2009

[ my public key: https://keybase.io/tvaughan; my proof: https://keybase.io/tvaughan/sigs/BF7pcypN8iX9W3QPM7GJ3kiTLQXcl7COdDuONg3MAwU ]

https://www.linkedin.com/in/tvaughan https://github.com/carrete (née https://github.com/tvaughan) https://gitlab.com/tvaughan

submissionscomments
tvaughan··on Against Testing
> Imagine some incubating startup where you have an initial 4-week runway for development

Who have been asked to build something that does X, Y, and Z. Without tests how do they know when they're done? How do they convince other people that they've done what they were asked?

tvaughan··on House cancels vote to renew surveillance powers after Trump threatened veto
> the wiretapping happened in Trump's offices in Trump Tower

No, Trump was never wiretapped.

tvaughan··on House cancels vote to renew surveillance powers after Trump threatened veto
> someone from his campaign was subject to wiretapping

This isn't quite right. One or more people on Trump's campaign and/or transition team were heard on wiretapped calls that included Russian diplomats and other people who were already under surveillance.

tvaughan··on HBO Max taking on Netflix with human curation instead of relying on algorithms
This is what sold me on an Apple Music subscription. Apple Music's human curated playlists introduced me to a lot of new music that I liked, and hadn't come across by any machine generated recommendation, e.g. Genius.
tvaughan··on Removing old, obsolete dams restores life to creeks and streams
This https://www.outsideonline.com/2413366/steelhead-fish-return-... was posted yesterday about dam removals in the Pacific Northwest, and the subsequent return of steelhead trout to the rivers.
tvaughan··on Don't set the language of your website based on user location
Could you please post it to https://www.reddit.com/r/iamverysmart/?
tvaughan··on Don't set the language of your website based on user location
As someone who has traveled and lived abroad the past 10 years, please, never ever use physical location to set the language. Yes, never ever. Why assume everyone at an internet cafe speaks the same language as determined by its physical location? Why assume either person involved in this borrowed tablet situation speaks the predominant language of wherever they happen to be physically at that moment, like a business trip, or vacation? What about VPN's? Use a cookie and Accept-Language, and provide a menu of language choices where each choice is in that language, e.g. Español not Spanish.
tvaughan··on Have the record number of investors in the stock market lost their minds?
Why seven percent is considered a good rate of return, I don’t know. The answer is partially in the question itself, because that’s been the rate of return of the stock market. That though isn’t exactly satisfactory
tvaughan··on Have the record number of investors in the stock market lost their minds?
Oh, and generally accepted as in one could cherry pick certain, short time periods and show that, say for three years in the early 80’s, the average return wasn’t seven percent. So, it’s generally accepted that “over some sufficiently long time period” one should reasonably expect to make seven percent when invested in a sufficiently diverse portfolio of stocks because that’s been the case historically
tvaughan··on Have the record number of investors in the stock market lost their minds?
Sorry I wasn’t clear. Generally accepted as in “a good return,” or “the best anyone should expect.” There’s no doubt that seven percent is the historical average.
tvaughan··on Have the record number of investors in the stock market lost their minds?
Add to which, to be clear, I'm not defending an economic system that depends on continued growth, nor would I. GDP is and has always been a terrible metric by which to measure economic prosperity. I also do not believe that past performance is a sufficient guarantee of future performance. That said, all of this is orthongal to what has been the historical rate of return of the US stock market.
tvaughan··on Have the record number of investors in the stock market lost their minds?
Seven percent is the historical return of the US stock market. Other markets have different historical returns. This "comes from" the historical data of US stock prices. Comparison to GDP or inflation rates don't apply.
tvaughan··on Have the record number of investors in the stock market lost their minds?
> "historic returns of 7% in s&p"

Seven percent is generally accepted as the expected market return over a period of time sufficiently long enough to mitigate systemic risk, not that seven percent is the highest return in market history. Or said another way, if there's ever a chance to buy a treasury bill with a seven percent or better return, take it, because that's the best you'll earn in the market but with much much much less risk.

tvaughan··on Have the record number of investors in the stock market lost their minds?
> is that the stock price reflects global demand for ROI

Says who? For which stock? I understand a company's stock price to represent the net present value of the expected future performance of that company alone. I don't see how there can be one expected return on investment that applies equally to all companies, as expected return on investment will be determined heavily by risk which will vary considerably company by company.

tvaughan··on Luminus – A Clojure Web Framework
Yes, we considered both reagent and re-frame together. Around the time om.next was announced myself and a handful of others built a commercial product based on reagent, re-frame, and om.next. I only have good things to say about them, but there's a lot that they don't do and Fulcro's client-side solution is equally pleasant.
tvaughan··on Luminus – A Clojure Web Framework
We just re-evaluated our choices and selected Fulcro. Below is a slightly edited version of how we came to this conclusion.

As a business building an extremely ambitious product on a tight budget, we want to be able to:

* Focus as much time and thought on building features that bring value to our customers, rather than, for example, building a bespoke protocol between the browser and back-end if a better alternative is available.

* Share early iterations of our application with everyone in our organization easily. Capture feedback and push out new iterations quickly.

* Be able to support new customers immediately. Our feature road-map will always be in constant flux, but at no point should our ability to make changes with confidence be compromised. In addition to feature development, tests and automation must be priorities. Our development and production environments must match.

* Be ready to onboard new team members. "Works on my laptop" is never acceptable. Enough of our application must be documented and automated so that anyone with a technical background "reasonably proficient" in our work can contribute without requiring hand-holding. Or course, we'd never turn down a request for help.

Our requirements are:

* Clojure, Clojurescript, and Datomic are immutable choices. We love these solutions for their simplicity and expressiveness. We believe these are the best choices available for achieving our long-term business goals.

* Be measurable. Our work should be guided by data not guesswork.

* Be testable. The entire application should have 100% test coverage as measured by its acceptance or integration tests (not unit tests). Changes should be made with confidence.

* Be performant. As builders of both the front-end and back-end components, we should encourage cooperation between them, not purposefully isolate them. Our customers and the end-user experience should be our priorities, not artificial divisions between software components or technical teams. Each component of the application should cooperate to support progressive enhancement where every URL is a real URL that, when requested, returns a server-side rendered page view. Further actions by the user result in browser-side changes through API calls and minimal component updates.

* Be pragmatic. We should be eager to innovate when the need arises. However, we should be humble enough to understand that sometimes, as software developers, we can become enamored with new toys that are entertaining, and possibly educational, but offer little business value. We should choose existing solutions to our problems that are acceptable enough over building our own solutions simply because we want to. For example, a standards-based protocol, like https://github.com/edn-query-language/eql, that allows clients to craft their own queries with little to no server-side updates is preferable to our current bespoke solution.

* Be documented and supported. Our choices should have active, helpful, and inclusive development communities built around them.

Our choices are:

* Rum, https://github.com/tonsky/rum

  Rum is a solid piece of software, created and maintained by @tonsky, that
  provides a minimal wrapper around react for creating client-side components,
  and supports server-side rendering. Although rum does not provide a protocol
  between client and server, nor a client component state-management solution.
* Reagent, https://github.com/reagent-project/reagent

  Together with Re-frame, https://github.com/Day8/re-frame, this is by far the
  most popular choice for building reactive client components in
  Clojurescript. These do not include the server-side solutions we need.
* Hoplon, http://hoplon.io

  Hoplon was created in-house at AdZerk, and later spun-out as an open source
  project. Hoplon is a complete solution although it uses a less intuitive
  spreadsheet-like method for building applications with little obvious
  advantage, and would not be compatible with Datomic without considerable
  effort.
* Luminus, https://luminusweb.com

  Luminus is a complete solution like Ruby-on-Rails, and is tightly coupled to
  SQL. Like Hoplon, Luminus would not be compatible with Datomic without
  considerable effort.
* Pedestal, http://pedestal.io

  Pedestal is supported by Cognitect, the custodians of Clojure and the
  creators of Datomic. Except Pedestal is best suited for building server-side
  APIs, and applications that need to stream data in "near real-time" to large
  numbers of concurrently connected clients.
* Fulcro, https://fulcro.fulcrologic.com/

  Fulcro is based on Om.Next, provides both front-end and back-end components
  that work well together, includes tools for building and debugging both,
  supports server-side rendering, and is supported by a diverse
  community. Paid commercial support is provided by the core developer team at
  Fulcro Logic.
* Datomic Cloud, https://www.datomic.com

  Datomic Cloud is a special version of the Datomic database that is tightly
  integrated with AWS. Datomic Cloud includes a set of Cloud Formation
  templates for running Datomic in AWS, and taking advantage of AWS specific
  features, such as auto-scaling groups and load-balancers for distributing
  traffic across a cluster of Datomic peers. Datomic Cloud also includes Ions,
  https://docs.datomic.com/cloud/ions/ions.html, to help run Clojure functions
  as AWS Lambdas. Cognitech claims Datomic Cloud is a suitable framework for
  building complete applications. Unfortunately Datomic Cloud alone is
  insufficient. Datomic Cloud lacks a framework for building and testing
  client-side applications, and a protocol for interacting with Ions.
tvaughan··on Slack's core flaws require topic modeling to fix
Flowdock did threads really well. It also did crashing several times a day really well too. Today, Twist https://twist.com seems to do everything right.
tvaughan··on Ask HN: What niche blogs are worthwhile to follow?
https://www.emptywheel.net/, though just the posts written by Marcy Wheeler, a.k.a. emptywheel, herself.

> Marcy Wheeler is an independent journalist writing about national security and civil liberties. She writes as emptywheel at her eponymous blog, publishes at outlets including Vice, Motherboard, the Nation, the Atlantic, Al Jazeera, and appears frequently on television and radio. She is the author of Anatomy of Deceit, a primer on the CIA leak investigation, and liveblogged the Scooter Libby trial.

> Marcy has a PhD from the University of Michigan, where she researched the “feuilleton,” a short conversational newspaper form that has proven important in times of heightened censorship. Before and after her time in academics, Marcy provided documentation consulting for corporations in the auto, tech, and energy industries. She lives with her spouse in Grand Rapids, MI.

tvaughan··on Ask HN: What are your news sources other than HN?
Cualquier recomendación para Chile?
tvaughan··on Cops are making fewer arrests since N.J. got rid of cash bail
Chesa Boudin, San Francisco's new District Attorney and son of two former members of the Weather Underground, ran on a progressive platform that included ending cash bail. This is part of a broader movement of judicial reform advocates who advance their policies by taking the District Attorney's office. https://youtu.be/GbILs4N4bLE
tvaughan··on Draw.io: Online Diagramming Website
http://asciiflow.com
tvaughan··on Larry Wall has approved renaming Perl 6 to Raku
And back when we had to read books to learn a language, the definitive guide on Perl was called "the camel book." https://en.wikipedia.org/wiki/Programming_Perl
tvaughan··on Clojure and Deps.edn: A basic guide
Another working example: https://gitlab.com/tvaughan/kibit-runner and https://clojars.org/tvaughan/kibit-runner (with publish to Clojars)
tvaughan··on Does being bored make us more creative? (2014)
See also: https://en.wikipedia.org/wiki/The_Idler_(1993)
tvaughan··on HTTPS-Portal: Automated HTTPS server powered by Nginx, Let’s Encrypt and Docker
https://gitlab.com/tvaughan/docker-flask-starterkit
tvaughan··on Show HN: Jumprock.co – HTML Forms for Static Sites
See also: https://www.sumar.io
tvaughan··on American Equity
The GDP is a poor measure of economic health. Even the IMF has its doubts https://www.imf.org/external/pubs/ft/fandd/2017/03/coyle.htm. The GDP doesn't consider natural resources like clean air and water as assets but pollution clean-up efforts (successful or not) are seen as positive economic activities, for example. A proper alternative would measure quality of life and sustainability, not "growth."
tvaughan··on Why ProtonMail is more secure than Gmail
This.
tvaughan··on Israel Hacked Kaspersky, Then Tipped NSA Its Tools Had Been Breached
I can't recommend Empty Wheel enough for in-depth analysis on these stories. For example: https://www.emptywheel.net/2017/10/11/on-the-kaspersky-hack/

These stories still are almost certainly revealing just a fraction of the story. All ignore Kaspersky’s reports laying out US and allies’ spying tools (explaining why Israel might hack Kaspersky and share the details, if not the work). And the most logical explanation for the FSB démarche is that Kaspersky — as they said at the time — reported the hack to their relevant law enforcement agency, which is the FSB, who in turn yelled at the CIA.

See also: https://news.ycombinator.com/item?id=15441516

tvaughan··on PureVPN Logs Helped FBI Net Alleged Cyberstalker
"Rather, I think the account matching described in the affidavit says the FBI could have identified which VPNs Lin used via orders to Google, Facebook, and other tech companies, and using that, obtained a pen register on PureVPN collecting prospective traffic. I don’t think what is shown proves that FBI obtained historic logs (though it doesn’t disprove it either)."

Source: https://www.emptywheel.net/2017/10/09/purevpn-doesnt-need-to...

← PreviousPage 3 of 5Next →