HNHacker News
TopNewBestAskShowJobs

lpsz

1,371 karma · joined February 3, 2014

Lurking.
submissionscomments
lpsz··on AWS Certificate Manager: Deploy SSL/TLS-Based Apps on AWS
It's always possible to get the public key, e.g. see the accepted answer here:

http://security.stackexchange.com/questions/16085/how-to-get...

lpsz··on Ad Tech Is the Worst Thing That Ever Happened to Advertising
The very insightful chart mentioned above: http://www.lumapartners.com/wordpress/wp-content/uploads/201...
lpsz··on App Developers on Swift Evolution
I'm an app developer. This change will absolutely break some of my stuff, and it's going to suck. Even with that, I do feel OP is taking an overtly political stance (even using the word "banned".) This change is perfectly reasonable within the already-strict mindset of Swift. Having a less-strict language just to work around potentially buggy Apple frameworks would be setting a bad precedent.

Using "final" also has some performance wins by reducing dynamic dispatch. [1]

[1] https://developer.apple.com/swift/blog/?id=27

lpsz··on Keyboard Bacterial Culture
Always thought people eating sandwiches, burgers, etc. with their hands while also typing is gross.

Keeping things clean, though: buy a box of 70% isopropyl pads (about 1"x1" squares) at your CVS/Walgreens and use them to clean your keyboard, mouse, door handle, kitchen counter, etc. Works great and leaves no residue. Don't use on wall paint and other alcohol-soluble surfaces.

lpsz··on We dissent
I can't tell if you're trolling, but "check your privilege" is one heck of a way to derail any argument.

There is no virtue in being less privileged, and more privileged aren't necessarily morally bankrupt.

lpsz··on Star of “Startup.com” Charged with Accounting Fraud
ECM is still very much functional, fortunately, this seemed like some kind of a restructuring move.

Disclaimer: customer for many years

lpsz··on A decade into a project to digitize U.S. immigration forms, just one is online
I've always found the biggest joke in these forms, among other federal forms, to be the OMB "paperwork reduction" statements. [1] Even airport landing customs cards have these.

Why these make no sense:

- They take up a good chunk of a page and consume both paper and the reader's time.

- These forms aren't exactly optional, so I am going to spend time filling them out anyway. They would be easier to fill out if they were electronic, and if I wasn't repeating the same entries for the Nth time. The long disclosure adds nothing to usability and is only taunting.

"Paperwork Reduction Act Statement: A federal agency may not conduct or sponsor, and a person is not required to respond to, nor shall a person be subject to a penalty for failure to comply with a collection of information subject to the requirements of the Paperwork Reduction Act unless that collection of information displays a current valid OMB Control Number. The OMB Control Number for this information collection is <number> Public reporting for this collection of information is estimated to be approximately <n> minutes per response, including the time for reviewing instructions, completing and reviewing the collection of information. All responses to this collection of information are mandated by <statute>. Comments concerning the accuracy of this burden and suggestions for reducing the burden should be directed to the <agency> at: <addr>."

[1] https://en.wikipedia.org/wiki/Paperwork_Reduction_Act

lpsz··on What The New York Times Didn’t Say About Amazon
One can like or hate Amazon, and it may or may not be a crappy place to work.

That said, it sounds like NYT (a newspaper of record, btw) did more than reasonable selective reporting, to evoke certain feelings in the readers, to get clicks, to start a conversation, or what the reason may be. And it's lousy to see this in modern news reporting. Even the respectable publications err on the side of sensationalism, and it's notoriously hard to get unbiased information as a reader.

Where can someone go to read unbiased, well-researched, both-sides-of-the-story news?

lpsz··on Why the yakuza are not illegal
I'm disappointed that this poster was downvoted instead of constructive discussion, especially with the reply about "the freedoms we have to give up."
lpsz··on iOS 9 space-saving “app slicing” disabled for now, will return in future update
Updating iOS via iTunes (for beta installs, restores, etc.) has the quirk of syncing apps to iTunes, and then syncing them back to the phone. This seems like a legacy annoying thing to me: why can't it just transparently re-download them? In fact, the new iOS 9 upgrade has the "delete and then re-download apps" feature for those with insufficient space for upgrade. Not to mention, there's the "purchased" tab on your device. So, this is possible!

Going further, even the prompt to "delete and then re-download apps due to insufficient space for OS upgrade" seems unnecessary, as if revealing an unimportant implementation detail. Why can't it just automatically do the right thing? I won't mind if the app is missing from my iPhone for a couple of minutes. If the reason is bandwidth, perhaps it could say "we'll do this on wi-fi only."

Similarly, I wish purchased iTunes media started working the "streaming" way, too. I don't want the TV show to take up Gbs of disk space, don't particularly care for the physical file present on my disk. Could still have an opt-in "use offline" option for those who need it.

Or are these all issues to appease people who want to feel like they "own" content (apps, media, etc.)?

lpsz··on How Playing the Long Game Made Elizabeth Holmes a Billionaire
The point is that we've grown to mentally associate the word "work" with "doing chores for my boss because I have to." It's a dirty word, the way we use it.

What about redefining this word to mean, for some individuals at least, "I'm pursuing my dream"?

lpsz··on How Playing the Long Game Made Elizabeth Holmes a Billionaire
Surprised to see such a non-imaginative viewpoint on HN.

Over what I feel like the last couple of decades, we've been taught that work == bad, life == good. You work because you have to, you trade time for money, you suffer from 9 to 5, you anxiously watch the clock, and then you go home and enjoy "life."

I think this is sad. There's nothing wrong at all with productive work, and putting best years of your life into doing something creative like building your life's business.

lpsz··on Phoenix 1.0
Yes, and the standard Go workspace layout (and therefore not even needing a makefile) is great.
lpsz··on Phoenix 1.0
Thanks, I actually read!

"The Go devs have since stated that they were surprised to see that a lot of Go converts were from dynamic languages like Python and not C or C++. Go still makes sense for a lot of apps ... somewhere, however, that has been extrapolated to the idea that Go is a good language for writing web apps."

I think this is the crux of the question. And heck, it's very easy to spin up a web server in Go, and so many intro examples focus on that.

lpsz··on Phoenix 1.0
I use upstart to respawn if crashes, but there's definitely more than one way to solve this one :) Hot code reloads is the more interesting issue.
lpsz··on Phoenix 1.0
Re: gin, thanks for the tip. I feel like this one makes more sense in development than in production, would like to avoid side effects (first HTTP request restarts the server), also an extra proxy layer.

Re: web framework. Absolutely, no intention to reinvent the wheel. Just informative to rewrite various pieces in the initial stages to get a better grasp on the language/patterns.

lpsz··on Phoenix 1.0
Hmm, still in the exploratory-hacking phase. Rewrote various parts of what Gorilla provides for learning purposes, plan to switch to Gorilla.

Using "lib/pq" (Postgres) for the db.

Also: need to cache some computed data in memory, and reload using a REPL or other means, haven't figured out the most "batteries included" way to do so yet.

Also: need to figure out the most production-friendly way to redeploy code (sounds like Erlang/Elixir can do really well in this regard.)

lpsz··on Phoenix 1.0
If you were choosing today, would you recommend choosing Elixir over Go for web/back-end development? Would you say Go is more suited for high-performance command-line tools, and Elixir for long-term running stuff?

I'm an indie developer building such a back-end (social networking/chat space), have full choice of language. Started using Go earlier this year and mostly happy with it.

Should I switch to Elixir in my next iteration? Would it make me more productive, or save me from various deployment hurdles in long-term?

(Please don't take this as one of those mostly aimless "Hey, is Ruby or Python better?" type of questions. I hate those myself. I'm going to be investing thousands of hours into Go at this point. Hoping for some serious pro-vs-con discussion, hoping people who have architected something big in either language could chime in -- such is the major plus of asking on HN.)

I tried Googling, and the best/most recent I found was this thread. [1]

[1] https://www.reddit.com/r/elixir/comments/3c8yfz/how_does_go_...

lpsz··on The Gracie jiu-jitsu story
Was able to find a video of the fight discussed in the article:

https://www.youtube.com/watch?v=iXgE2SZBaUE

lpsz··on Facebook ‘Spam King’ Guilty for Sending 27M Messages
For those who don't know, this fellow was famous as early as the 90s [1].

If he returns to spamming again and again, doesn't it mean that the punishment is lesser than the gains to be had? And too bad.

[1] https://en.wikipedia.org/wiki/Sanford_Wallace

lpsz··on Cross-Platform UI in GitHub Desktop
I use this on Mac, it looks like there's a Windows version as well: https://www.sourcetreeapp.com/
lpsz··on Cross-Platform UI in GitHub Desktop
Yep. They could also use some shared C/C++ bits to generate various drawing metadata ("the model") and delegate the rendering/input handling to whatever platform-specific APIs.

It may be more work, but if you're not going to build an actual native app, why bother? These apps are built as a sales point ("look, we have a Mac app!"), without the customer in mind.

lpsz··on Cross-Platform UI in GitHub Desktop
I have to say, I miss the age of native apps. I understand that it's awesome cakes for Spotify, GitHub, etc. engineers to share JavaScript bits between devices. But it sucks for me as the user! The Spotify app (on my Mac) has become a resource hog over the years.

Same with Slack's Mac app. As beautiful as it is, there's just something that doesn't feel 100% responsive/right with a web-based app.

    "With separate code bases for OS X & Windows
    converging on a single design, we knew that
    sharing code would be essential going forward. 
    Sophisticated as the graph is, implementing
    it twice would have been a significant burden."
How is it ever reasonable to prioritize coding convenience over the end users' experience? This team set out to solve a cool engineering problem (code reuse) and forgot altogether that people are actually going to be using this stuff.
lpsz··on The Mac App Store Still Needs Paid Upgrades
I'm with you on the sandboxing issues and lack of means to contact users.

FWIW, Fastspring is fairly customizable! The value over Stripe is that you don't have to deal with PCI details or worrying about fraud. Also, taxes/VAT in various jurisdictions. (Disclaimer: current customer)

One minor con is that until your store is "vetted" (something like a few months of successful transactions), your checkout form will include mailing address and phone number fields for additional fraud screening.

It's great to have more options of course. I figure I will "graduate" to Stripe if my operation gets to the point where I want even more control.

lpsz··on The Mac App Store Still Needs Paid Upgrades
IAP doesn't work too well for trials. You have to label it a free app, and then users get angry that you're charging for features.

   2.6 Apps that are "beta", "demo", "trial", or "test" versions will be rejected [1]
[1] https://developer.apple.com/app-store/review/guidelines/mac/
lpsz··on The Mac App Store Still Needs Paid Upgrades
And it's not all that bad.

* For updates, use Sparkle framework. [1]

* For licensing, use CocoaFob [2] or write your own.

* For payments, use FastSpring like most other indie shops. [3]

Only other detail is having to write a EULA yourself.

[1] http://sparkle-project.org/

[2] https://github.com/glebd/cocoafob

[3] http://fastspring.com/

lpsz··on The Mac App Store Still Needs Paid Upgrades
I think most serious Mac developers simply don't use the MAS (notable exceptions being Fantastical and 1Password, but they offer the ability to purchase directly as well).

It also seems like few users browse there. Being in "Top 100 Paid" takes only 20-30 downloads, which underscores how low the traffic is. Source: personal experience.

lpsz··on Intel’s Skylake Core i7-6700K reviewed: Modest gains from a full Tick-Tock cycle
At the risk of being off-topic, an honest stupid EE question:

What physical innovations actually drive the processor releases, or even flash storage sizes? I understand that each generation shrinks the transistors. But what tangible things were invented in 2015 to make the transistors smaller? Is it that in order to make them smaller, Intel has to run some kind of circuit optimization calculations that weren't possible the year before? Or are there advances in manufacturing (e.g. physical inventions of new molding processes, new chemical processes, something else?) Or is it simply market forces driving the prices and the specs?

lpsz··on A little Golang way
Anecdotes like this makes me wonder how much funding money and electricity could be saved if people migrated en masse from Ruby/Python/Something else to Go.

(Edit: not meant to be a political statement, more of a practical observation. I only recently started using Go.)

lpsz··on Two years after LASIK eye surgery
And for anyone wearing contacts, I can't highly enough recommend trying daily ones. They are thinner, more breathable, and don't need cleaning.

After suffering for years with monthly contacts (dry eyes, discomfort), I'd only wish I'd learned this sooner.

← PreviousPage 2 of 5Next →