nameiscubanpete
nameiscubanpete on Hacker News
Re:iTerm2 3.3
on Thursday August 01, 2019 @02:55PM (#20587093)
ConEmu is the best solution on Windows. Hopefully the new Windows Terminal brings console API changes that ConEmu can take advantage of; there is a lot of black magic going on under the hood.
Re:Malicious code in the purescript NPM installer
on Sunday July 28, 2019 @10:57PM (#20551196)
That was my first thought. But then I realized some guy basically broke something so his stuff would work and someone else's wouldn't. He didn't destroy files, but that was malicious as hell.
Re:The Cost of JavaScript in 2019
on Monday July 01, 2019 @02:24AM (#20322900)
It's better that "Hello, world" take 5 seconds to print than 1 second to crash and print nothing.
Re:Why I prefer objects over switch statements
on Friday February 22, 2019 @04:10PM (#19229140)
Speaking of code readability, the article uses a function in the example called "isNotOpenSource()". If you have a function that returns a boolean, it's best not to put another boolean in the function name i.e. "isOpenSource()" is cleaner and more readable.
Honestly, it's a code smell that makes me trust my initial reaction that the switch statement is indeed more readable than the authors solution.
Re:Lerna relicences to protest ICE
on Thursday August 30, 2018 @03:38AM (#17874732)
Check out Stallmans argument. He ends up at the same place as Theo, but goes into the why's:
https://www.gnu.org/philosophy/programs-must-not-limit-freed...
Re:How an Ex-Cop Rigged McDonald’s Monopoly Game and Stole Millions
on Sunday July 29, 2018 @10:18PM (#17641596)
It's harder to be moral when you know you can do the wrong thing and get away with it.
Re:Office 365 is being completely rewritten in JavaScript
on Thursday June 14, 2018 @06:14PM (#17315913)
I see your point and not necessarily disagreeing, but noting the creators of typescript refer to it as a superset.
Re:Office 365 is being completely rewritten in JavaScript
on Thursday June 14, 2018 @06:01PM (#17315814)
It's really kinda both, but context sensitive.
Re:Office 365 is being completely rewritten in JavaScript
on Wednesday June 13, 2018 @04:06PM (#17306473)
I'd almost guarantee that it's Typescript. But being a superset of Javascript, it's still correct to call it Javascript.
Re:How I Automated My Job
on Saturday June 09, 2018 @11:00AM (#17273338)
> The Bash scripts were good, but if someone was working on a Windows machine, they couldn’t be run
Git Bash. The only requirement is installing Git For Windows, which is an easy install.
Re:Retguard: An improved stack protector for OpenBSD
on Thursday June 07, 2018 @03:13PM (#17259168)
It's a PITA for any reasonably large/old CVS repo. Partly because CVS is fundamentally broke.
Re:GitLab Ultimate and Gold now free for education and open source
on Tuesday June 05, 2018 @09:10PM (#17243622)
Just to note, you can indeed browse build artifacts on GitLab, but finding it is a PITA. You have to drill into your CI Job and there's a button link on the right. It'd be nice to have a "Browse artifacts" option in the Download widget.
Re:The real power of Linux executables
on Thursday May 31, 2018 @03:19PM (#17199222)
I come to this site for articles like this.
Re:PatternFly – a web UI framework by RedHat
on Sunday May 27, 2018 @10:37AM (#17167017)
It could be. I got into this mode of thinking many years ago and Debian may be just as suitable nowadays.
Re:Making the Case for Slackware in 2018
on Sunday May 27, 2018 @09:29AM (#17166804)
Trying to install Slackware on a laptop with 4MB of RAM is my Linux coming of age story.
Re:The Awk Programming Language (1988) [pdf]
on Sunday May 27, 2018 @08:30AM (#17166643)
I think perls niche is sort of it's downfall. For example, I used to work at a company with 70% C, 25% shell script, and 5% perl. Any time I ran into a perl script I had to switch my brain into Perl mode, with the understanding that what I was working on would be just as good or better in C or shell. I had nothing against Perl as a language, but always enjoyed exorcising a perl script from the codebase.
Re:PatternFly – a web UI framework by RedHat
on Sunday May 27, 2018 @06:01AM (#17166272)
I use debian for my own stuff, but always push for RHEL/CentOS at work. Why? Because it's easy to persuade people into keeping the damn systems updated. As long as you stay within the same major version, updates don't break builds or require new rounds of QA.
Re:ls | grep “echo ${data}” – Why/how does this work?
on Tuesday May 08, 2018 @06:57PM (#17026077)
Under what shell? If this works as described, then it's broke.