HNHacker News
TopNewBestAskShowJobs

davej

2,298 karma · joined September 7, 2010

https://twitter.com/DaveJ

Founder of ToDesktop: https://www.todesktop.com

dave[@]todesktop.com

[ my public key: https://keybase.io/davej; my proof: https://keybase.io/davej/sigs/FM5YHbUxtgUBcbAxTsHEUoJ99YV2rd9JbFNBjoZ3JBw ]

submissionscomments
davej··on Show HN: Pingy CLI – The Simple Front End Build Tool
Thanks, great to hear. I also remember seeing keygen.sh on bootstrapped.fm. Great minds! ;-)
davej··on Show HN: Pingy CLI – The Simple Front End Build Tool
Ah, thanks, I spend a lot of time trying to get those little elements correct. It makes it worthwhile when people appreciate those touches!
davej··on Show HN: Pingy CLI – The Simple Front End Build Tool
Possibly but I'm focusing on simple websites first. I hope to expand to more use-cases over time.

Of course, Babel and the JSX transform will work just fine with Pingy. I'm just not optimizing the project in that direction right now.

davej··on Show HN: Pingy CLI – The Simple Front End Build Tool
Hey Dave here, I built Pingy CLI. :)

I decided to extract the build tool stuff from the Pingy Desktop App [1] and make it open source and available as a stand-alone CLI.

It's not designed for complicated web apps (use gulp/grunt/webpack instead), but for less complicated stuff it's a good fit. Hope you all like it. I'm happy to answer any questions and take feedback. :)

[1] https://pin.gy/

davej··on Ask HN: Do you have a side project you want to sell?
Last I heard FB Messenger had ~1 billion monthly users.
davej··on Idx: Easily access deeply nested nullable fields in JavaScript
Relevant discussion of the existential operator on ESDiscuss: https://esdiscuss.org/topic/existential-operator-null-propag...
davej··on Philadelphia Poised to Ban Employers from Asking Hires About Salary History
I'll either politely refuse to answer or if I have thought about it beforehand then I'll give a number that guides them towards the salary I am looking for this time around.

I don't really mind the question. It's a little rude and it's only asked to get a gauge of salary expectations so why not ask what the current salary expectations are directly.

davej··on iPhone at ten: the revolution continues
> His bet hasn't paid off though.

Hasn't it? They still sell nearly twice as many iPads as all Macs combined. Relative to units sold I think Apple invests heavily in the Mac platform you may (dis)like the new MacBooks and MBPs but clearly a lot of time and effort has been invested into their design.

davej··on The Signal protocol for Node and browsers
> At the end of the day, window.crypto can be absolutely anything.

Would it be possible to toString() the function and check if it is a native function before execution? Seems like a simple solution but perhaps I'm missing something? I guess in theory the toString() method could also be hijacked. :-/

davej··on Waymo: Google's self-driving car company
And feed the energy back into the motor. Or even directly power the wheels. It could work if you make the car more lightweight and use a pedal system on gears instead of treadmill. Let's call it a... "Bicycle". :)
davej··on Show HN: Simplifying http requests using ES decorators
I'm having trouble figuring out how this would look in code and how it would be more graceful than async/await. Can you share an example?
davej··on Dear JavaScript
I think the main issue with the transition of Babel 5 -> Babel 6 was a cognitive one. A few CLI one-liners don't really address this. Babel was zero-config and now it's not. I now need to understand what presets and plugins do and how to order them to get desired results when transpiling.

Ultimately, it was inevitable and I think it was a very good thing! I'm really happy that Babel 6 exists. But figuring out your Babel presets and plugins is undoubtedly another thing that we have to think about when we start a project. Similarly with JSLint/JSHint -> ESlint.

Thank you for your great work, I use Babel daily and Flow sometimes (less often than I should).

davej··on Connect 2016 [video]
Yes, it's included. Remember Microsoft has VSCode, Typescript, .Net, Cognitive Toolkit and more on Github. Google would be #1 if Angular was hosted under the Google org.

I remember first seeing these stats in Github's infographic which they released a month or two ago: https://octoverse.github.com/

davej··on Show HN: Embed HN comments in your website
Something around $20/year sounds about right to me. I'd prefer a subscription model to be honest, seems more sustainable and I don't want the service to be gone in a year.
davej··on Show HN: Embed HN comments in your website
Awesome, you should also charge a nominal amount for the same service but without branding.
davej··on An Update to Our Supercharging Program
> EDIT: Ah, there's still a cable plugged in the side!

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

davej··on An Update to Our Supercharging Program
No. They ran a trial but Musk said the demand wasn't where it needed to be for the economics to make sense.
davej··on Powerwall 2 and Integrated Solar
It's not just a battery box. There's some pretty advanced liquid cooling and an inverter in there.
davej··on New MacBook Pro Is Not a Laptop for Developers Anymore
My understanding is that the escape key is there by default but the active application can choose to override it. I don't need the escape while I'm using Spotify.

I quite like the new Macbooks. Would have been nice to have a 32GB RAM option but I can survive with 16GB to be honest.

davej··on It Costs $30 to Make a DIY EpiPen
This is presumably a large part of the reason for health insurance and public health cover (medicaid in the US).

This causes a principal-agent relationship where the decisions are made by health insurance companies (the 'agent') rather than the person who needs them (the 'principal'). This, of course, has it's own set of issues.

davej··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
>> > HTML/CSS/JS is considered 'hackable' because it's widely understood by today's semi-power-user audience

> I think that's related to the high fault-tolerance in Javascript.

Also, in Electron apps you can access the Chromium Dev Tools directly in the app (unless the app author has disabled it). Chromium's Dev Tools are pretty much the gold-standard for hacking during runtime.

davej··on You Suck at Excel with Joel Spolsky (2015) [video]
I'm an excel noob but doesn't table mode fix all this.
davej··on Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A
Second time that this has happened to Transmission this year. Last time a ransomware got included. If you're a Transmission user then be very cautious when installing new versions.
davej··on SpaceX successfully lands its sixth Falcon 9 rocket after launch
Most of those are once-off costs though. They may be expensive but I doubt they're all that expensive relative to the cost of the rocket.
davej··on SpaceX successfully lands its sixth Falcon 9 rocket after launch
Perhaps I misunderstood what Gwynne was saying. I thought that "launch costs" would be the cost of launching a rocket for SpaceX, rather than the price that they set for customers.

Perhaps your correct though, the quote is a bit ambiguous.

davej··on Neuron – Electron, ES6, React, PouchDB, Sass, Webpack
I have to give a shout-out to this Electron + React + Redux boilerplate: https://github.com/chentsulin/electron-react-boilerplate

I've been using it for about 8 months and it's very well maintained. Neuron looks like a nice lightweight alternative though.

davej··on SpaceX successfully lands its sixth Falcon 9 rocket after launch
> SpaceX’s president, Gwynne Shotwell, estimates that reusing these landed Falcon 9 vehicles will lead to a 30 percent reduction in launch costs, according to Space News.

Surely it will be more than a 30% reduction once they make the rocket refactoring process more efficient? I've heard Elon say that the savings would be an order of magnitude given how low the cost of fuel is relative to everything else on the rocket.

I know Elon is famously optimistic and Gwynne is probably dampening expectations on purpose but 30% doesn't seem very impressive. Is Gwynne just playing down the cost savings or is she likely to be accurate, even in the medium term (3-5 years)?

davej··on Ask HN: Location-independent entrepreneurs, where do you live and why?
> low COL

It's been a few years since I've been there but is that really the case? I've heard the rent is close to SF level and buying a car is supposed to cost a small fortune in taxes alone.

Just from walking around and eating out there, it seemed more expensive than any European city I've been to.

davej··on Ask HN: What was your “why didn't I start doing this sooner” moment?
> Do you have any scientific backing to support those claims?

Not OP but this is a good summary: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3946160/

> Then I see the claim that it cures cancer and forgive me if all my alarm bells go off.

I think OP was implying that it may decrease your chances of getting cancer not cure it. Everyone will get cancer if they live long enough (based on the current state of medicine, that may change in the future).

edit: I should say that personally I don't really practice intermittent fasting (at least not consciously). But I don't eat after 8pm either, so I tend to do at least a 12 hour fast every day because of that. Sometimes I also skip breakfast which makes it a 16-18 hour fast. My biggest meal of the day is usually lunch not dinner.

davej··on Misfortune
Couple this with the fact that most people are still concentrating on the road while autopilot is in action. So in effect you still have a human driver, they are just not fully engaged with the cars controls.

I know when I tried my friend's auto-pilot that I was concentrating 10x more on the road than I would be normally. Obviously if I got more comfortable with the tech then I would be concentrating less but I can't imagine that I would ever stop paying attention unless I knew the system was fool-proof.

← PreviousPage 5 of 17Next →