Better HN
topnewbestaskshowjobs
Log inSign up

samhunta

47 karma · joined Jun 11, 2016 (10y ago) · 25 submissions

hnchat:GFKv9baN11j39cBDDCMk Meet: af9bb36f1b99029ca9c30c5b35ca831665ed200681d1609989a46ae0b68a8497
Submissions

comment 8y ago · link · parent

This is a great start. Some lightweight features that would make this even more ideal (for me) would be:

- retina/3x support - support for styled components extend feature (if can be made a lightweight implementation) - maybe default max width of 100% on mobile? - optional ability to overlay an empty full size block so the image cant easily be right clicked and saved

comment 8y ago · link · parent

Possible deterrents -

1. Use cgroups to limit cpu usage on a process.

2. Block coinhive

3. Implement captchas

4. Cloudflare

5. Adblock

6. API throttling and 1 minute cache per URL

7. Disallow 1 IP from creating more than X accounts at a certain speed per day

comment 8y ago · link · parent

The whitepaper works for me. What browser are you using?

comment 8y ago · link · parent

Yes this is a much better alternative in my opinion.

comment 8y ago · link · parent

Please add the OnePlus brand :)

comment 8y ago · link · parent

We started using Prettier as a pre-commit git hook and the results have been amazing. There are developers in PRs who will not be comfortable with the eslint settings, have linting turned off or will otherwise ignore linting. Prettier just streamlines so much and you can disable the warnings in eslint that prettier handles automatically. It's insanely useful.

comment 8y ago · link · parent

Yes but why represent data this way when HTTP can already handle binary? Does base64 actually compress binary data enough to make these optimized requests? I'm genuinely asking because I have not googled it yet.

comment 8y ago · link · parent

An MBA does not guarantee a good job.

comment 9y ago · link · parent

I would love to learn more about machine learning as a web developer, but simply put it's a different industry with entirely different constructs.

I found a great article[1] that at least helped me build a simplistic understanding as a modern developer.

[1]. https://simpleprogrammer.com/2017/10/02/machine-learning-mod...

comment 9y ago · link · parent

Also, an actual video of the Roadster in all of it's glory.

https://twitter.com/DavidHodge/status/931391188065705984

comment 9y ago · link · parent

Looks nothing like a Nissan Z in my opinion.

comment 9y ago · link · parent

Fair enough, but how will they ever achieve that without first trying to compete in this outrageously competitive industry?

comment 9y ago · link · parent

Toyota owns Lexus, Ford had Jaguar and Land Rover, Hyundai owns Genesis, Volkswagon has Bentley, Fiat owns Ferrari. Just like other car manufacturers, Tesla does it all.

edit: Ford didn't start Jaguar.

comment 10y ago · link · parent

This is awful for things like screencasts, I agree with jhasse that it should be implemented by the browser if implemented at all. We shouldn't fix what really isn't broken.

15.

Am I structuring my React application correctly?(github.com ↗)

3 points · by samhunta · 10y ago · discuss

comment 10y ago · link · parent

IMO "9 simple steps" looks better than "9 steps"

comment 10y ago · link · parent

My only complaint is it is written in Haxe instead of ES6. It would make sense to code it in Haxe if it were to be ported to PHP, C++ and the likes but it appears to be strictly for web audio

comment 10y ago · link · parent

I've used Kratom and it truly does stop opiate and alcohol withdrawals in it's tracks.

There is a problem though; These addicts with little knowledge of Kratom will attempt to get high and overdose. This is definitely a problem and Kratom should require some license or warning, but to ban the chemicals is crazy counter-productive when we have a real epidemic

comment 10y ago · link · parent

This reminds me of React state. Sagas, selectors, constants, components, containers, routes, reducers, actions, connectors, shoot me.

comment 10y ago · link · parent

Betwixt is a great tool that works on all operating systems and allows you to use Chrome Dev Tools to debug web requests

https://github.com/kdzwinel/betwixt

comment 10y ago · link · parent

Betwixt is amazing, you can use the familiar Chrome Dev Tools interface for debugging web requests.

https://github.com/kdzwinel/betwixt