News for hackers. Stuff that matters.

abaldwin7302

Re:Streaming video from live insects and tiny robots on Sunday July 19, 2020 @11:06AM (#23889838)
Would miniature spurs and reins work on a beetle?
Re:RuboCop 0.80: Ruby static code analyzer and code formatter on Tuesday February 18, 2020 @01:55PM (#22359008)
One option that's worked well for us was using rubocop's `--auto-gen-config`. This creates a specific ignore/TODO list on a per file basis.
Add a soda tax that covers the healthcare burden
Banning outright vs removing ads is an entirely different ballpark. Adults should have autonomy over their body so long as it does not infringe on others. It's not up to authorities to decide whether individuals trade long term health for short term enjoyment.
Re:Text Editor Plugins Belong in a Lock File on Tuesday June 11, 2019 @09:03AM (#20155000)
I was surprised to find out that VS code auto updates extensions by default. I suppose that beats never updating but I'd much prefer the tighter control as documented in the post.
Re:PySnooper: Never use print for debugging again on Monday April 22, 2019 @08:08AM (#19718233)
I appreciated the README as written. I immediately understood what kind of environment the author intended this to be used in. A more formal explanation would have degraded the message. Vulgarity doesn't have to taken as judgemental, it can also be a good way to express empathy. The way I read it, the author's intent was the latter.
It's an important distinction though. It's possible to consume sugary foods and not be obese. See twinkie diet.
Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @05:07PM (#17157989)
Agreed auto-correct is a big plus. Maybe a better way to phrase my question is this: Can auto-correct be implemented in pylint? Or does allowing configurations create too much of an obstacle?

In the ruby world for example, rubocop has an auto-correct feature. However it is only implemented for a subset of the style checks.

Re:Black: An uncompromising Python code formatter on Friday May 25, 2018 @03:02PM (#17156880)
Is this conceptually different from using pylint, failing the build for any warnings and saying anyone who modifies the `pylintrc` file gets fired?
I know very little about stock trading. I shouldn't get in a world of financial pain if I don't trade on margin (Robinhood Gold Buying Power) and only transfer money I can afford to lose right?

That is treating Robinhood like a casino. I recognize I don't know what I'm doing at the casino. Therefore I don't use a credit card to buy casino chips and I have a hard stop-loss of a couple hundred bucks that's budgeted as entertainment money.