HNHacker News
TopNewBestAskShowJobs

87

25 karma · joined June 17, 2018

[ my public key: https://keybase.io/sethrunk; my proof: https://keybase.io/sethrunk/sigs/lhOn6ehjXuqHq4epE5KAckY0tGMq2K40Aw7P_uaykEk ]
submissionscomments
87··on Ask HN: Which abandoned proprietary software would you resurrect?
While we're at Windows Phone I must say I miss Windows Mobile. Always found the decision to kill it and replace with Windows Phone a total disaster. At the time it still had a very dedicated user base built over many years. It got replaced with a half-baked copycat OS. I doubt many WM users had any reason to switch to WP instead of Android. It was a completely different product. Microsoft basically threw away a dedicated niche audience for a different niche audience. And I don't have any data on this but I suspect WM users were a much more affluent, valuable and "Microsoft'y" group of users.
87··on Ask HN: What to do when there isn't fluidity in coding?
For me it always depended on the language. LISPs help me a lot because it's easy to iterate on real code in the repl. I'm not too great at just writing out a large program before running it. I have this need to test out every little bit of code. With verbose OO languages sometimes it's faster to google than to actually run the relevant code so that kills my fluidity.
87··on Why Sleep Apnea Patients Rely on a CPAP Machine Hacker
That actually something I find interesting. I kind of assumed you were supposed to sleep on the back and felt bad about just not being able to. It's just so uncomfortable. Makes me happy to know there isn't anything wrong with me? I hope!
87··on Ask HN: How much money would you need to feel comfortable never working again?
To genuinely never-ever do any kind of work I'd want at least $20M. As a European I'd be pretty worried about seizure, future taxation and the likes.

If we're talking not working for others, I guess that's more of a mindset thing. I never have and would rather not. Have enough to last ~10 years and wife is okay supporting me so I'm not particularly worried.

87··on The Emacs Widget Library
I think you shouldn't concern yourself too much with the editor. Negative productivity gains are a possibility too. Emacs can be the ultimate productivity trap if you love customizing stuff. Using Emacs often feels like working on a buggy, never-ending project.
87··on Ask HN: How would you build a website that runs long background jobs?
Sound good if you're already familiar with RabbitMQ. If not I'd question how much it makes sense for low-frequency long-running jobs. Given the learning and complexity overhead that is.
87··on What tech stacks are indie hackers using for their apps, and why?
Recently I've seen a friend collaborate with teammate by sending each other zips. Using Skype! And as far as I can tell they're pretty productive. Dedication and hard work generally tends to produce results regardless.

When you use git you still need to use it right. How many times have you cloned a repo just to find out it won't build/run/compile without help? Personally, with small projects - more often than not. And I have a habit of asking if they do know for a fact it's going to build without assistance. It doesn't help.

I like git as a glorified change-log, slack commit messages especially. I try to keep everything tidy and build-able as much as anybody. But I'll still give people an archive (with .git included). And ironically this keeps git tidier as you don't obsess over whether or not to commit certain things.

87··on Command-line apps with Clojure and GraalVM: 300x better startup times
If you really want to script in Clojure you should probably use Lumo https://github.com/anmonteiro/lumo . Starts up almost instantly (including a repl!). Still wouldn't recommend. But it's workable.
87··on Ask HN: Why no hardware virtualisation of a dual OS boot?
Yes, your desire to not use virtualization is pretty fringe. Modern hypervisors easily achieve performance almost equivalent to bare-metal. And virtualization comes with numerous benefits making it outright preferable to bare-metal for many use cases.

I think you'd be perfectly happy using something like KVM if you have the right hardware and are willing to figure a few things out.

87··on East German Doping Victims Die 10 to 12 Years Earlier – psychologist
How is the last point relevant? Many people take a different sex hormone so this one might be okay too?
87··on Ask HN: Prepaid long-term web hosting
I'd use ipfs as the authoritative storage. Some scripts triggering archiving on the major internet archives.

You could, say, buy 3 tlds for the same name and have different strategies for each.

If money really isn't a problem you could put the data on the bitcoin blockchain.

87··on Reverse-Engineering WebAssembly [pdf]
I think it's quite the opposite in terms of languages. Javascript will have the best WASM interop story for quite a while.

As WASM gets adopted we'll see it get used in all sorts of places outside the browser. Many projects need a high-level scripting language and JavaScript will be the obvious choice.

87··on Booze, Sex, and the Dark Art of Dealmaking in China (2015)
Your description is very accurate. But to me it's exactly why Europe is more racist or inegalitarian.

> differentiate between natives, people with immigration background and immigrants

Yes, in a racist/othering manner. Sure, in the US you might hear about someone being an immigrant or being born to an immigrant family. But this is almost universally mentioned as a positive reflecting ones Americanness. With illegal immigrants being the only notable exception. In Europe it's often the other way around.

This "it's not about race, it's about nationality/whatever" gambit is exactly how Europeans fool themselves into believing there isn't a problem. It's not about the word, it's about treating people badly for who they are.

87··on Against privacy defeatism: why browsers can still stop fingerprinting
An IP is pretty useless nowadays with so many sites behind cloudflare.
87··on Ask HN: Real-time log viewing
Oh I put the newlines on HN for readability, the actual logs don't have that. There are numerous tools that handle json logs on the cli, for example there's jq so you could

  tail -F my.log | jq <filter>
This is okay, but changing filters isn't trivial, running the commands and displaying side-by-side isn't trivial etc etc.

So say you can develop a decent emacs workflow using that, but once you get a new dev you cannot really pass it on. And if they're not much of a cli person then yea...

Thanks for gistia/json-log-viewer I'll check it out, though it doesn't seem to solve that much it's still interesting.

There's some nice Kibana stuff out there, but it seems single-view-at-a-time focused too

87··on Ask HN: Any tips on landing sponsorships for a conference?
How many people are going to attend it? The prospect doesn't mention that. Or who the organizer is. What's the track record?

Judging by the prospectus it's the first conference you've ever organized and you cannot make any predictions about the turnout (or know it's going to be lackluster).

If that's not the case then you haven't communicated it[0].

Otherwise 500$ as the cheapest entry point is unreasonable. Quite frankly at this stage, as an unknown brand - they're the ones doing you a favor.

I'd lower the prices AND make it clear they can participate without paying a dime. You can charge $$$ next year/iteration.

[0] you mention some luminaries - well I don't know who these people are. a simple byline like "who created <library x> used by <y> people around the world" would go a long way.

87··on Ask HN: Real-time log viewing
They're local, the logging logic is completely under my control, I'm fine with piping it to wherever as long as it does what I want.

For example the simplest JSON message would be:

  {"timestamp":"2018-06- 29T17:25:47.857Z",
  "module":"main",
  "msg":"[\"trying to reconnect\"]",
  "level":5}
while the human-readable representation for the same message is:

  global 17:06:067 trying to reconnect
So I'll have one main log file that gets everything in JSON, but that's only useful for post-hoc analysis. I can control what makes it to stdout at runtime but that's just a single view. So right now I've hard-coded the logging to spit out human-readable messages to different files based on the module and level properties. I open the files in auto-revert-tail-mode (emacs).

Not sure what you mean do I need tail? If you mean the tail program then yea that's what I effectively do at the moment. If you mean always seeing the latest logs as they come in - yes.

So the ideal software would just read that one file (or db) that has everything in JSON (or machine readable format) and let you have different "views" over the same data. Packaged in a nice (web?) GUI.

It shouldn't be too hard to implement but I'm hoping there's something out there already.