u/Xyc0 - 15 Archived Voat Posts in v/programming
u/Xyc0
  • home
  • search

u/Xyc0

1 post · 14 comments · 15 total

Active in: v/programming (15)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: How to design APIs that dont suck

serif makes my eyes twitch.

0 23 Oct 2016 23:57 u/Xyc0 in v/programming
Comment on: How to design APIs that dont suck

i agree that i use documentation over function names but sometimes i need a reminder to check. writing a string and returning count of bytes written is not really useful with unicode. describing inputs and output types are right there in the function definition but describing how the types are used in the function name can provide useful reminders.

ascii_write() and utf8_write() will cause me to pause and actually read the documentation if I have edge cases I need to be concerned about when handling both encodings. if write returns size with either ascii or unicode I can easily mistake size for length.

0 23 Oct 2016 23:50 u/Xyc0 in v/programming
Comment on: Computer program fixes old code faster than expert engineers

Static binary analysis is interesting, I wish they had provided some specifics though.

1 10 Jul 2015 22:06 u/Xyc0 in v/programming
Comment on: Is it worth spending the time to learn Emacs today?

I settled on an editor for the past couple of years but I recommend that you look for functionality first. That is, figure out what you want your tools to do for you then find the tool that does it. If you want to create the functionality or tailor it to your workflow you should find an editor that can be extended in the way you are most comfortable.

1 10 Jul 2015 21:46 u/Xyc0 in v/programming
Comment on: Does Voat not unit test or is it just not included in the GitHub repo?

If you have the tests before you have the code you can make incremental changes and catch the errors without deploying the whole fucking system. If you never have the tests and you only have code then you always have to deploy the whole system to test. While every developer should know the build chain and the operational scenario not everyone should be setting up and deploying complex system tests. If your continuous integration/deployment does this then you are a rare gem.

0 09 Jul 2015 06:58 u/Xyc0 in v/programming
Comment on: Online IDEs.. do they work for you?

I've yet to find one that had a privacy policy that suited me--no guarantees my code wasn't being ripped off.

1 08 Jul 2015 18:24 u/Xyc0 in v/programming
Comment on: Online IDEs.. do they work for you?

What do you mean by "online"?

3 08 Jul 2015 16:17 u/Xyc0 in v/programming
Comment on: When was the point you said to yourself: "I am a Senior Programmer" or "Expert at X language?"

After I started interviewing candidates with 3x my experience I began to feel comfortable with the progress I was making in my career. Most of my challenges are language agnostic and generally focus on problem solving. Sometimes they are based on concepts like asymmetric encryption but never at the implementation level. There are no right answers just less wrong ones. Most candidates don't even bother taking a shot at a solution despite my urgent pleading to do so. I have never turned down a candidate that has tried to answer all of the questions so far, even if they are just borrowing with popular solutions.

0 07 Jul 2015 19:13 u/Xyc0 in v/programming
Comment on: Microsoft bringing SSH to Windows and PowerShell

Haha, yah windows users are in desperate need of decent command line tools.

Get-Random -Count 32 -InputObject (65..90) | % -begin {$aa=$null} -process {$aa += [char]$_} -end {$aa}

0 04 Jun 2015 05:51 u/Xyc0 in v/programming
Comment on: Microsoft bringing SSH to Windows and PowerShell

So only use it to give you 32 random characters? Pretty much any 32 characters will be a better password than you have now.

0 04 Jun 2015 01:17 u/Xyc0 in v/programming
Comment on: Microsoft bringing SSH to Windows and PowerShell

openssl rand -base64 32

0 03 Jun 2015 23:32 u/Xyc0 in v/programming
Comment on: Microsoft bringing SSH to Windows and PowerShell

ipython? honestly, parsing ascii pipes for data types gets annoying after the first hop

0 03 Jun 2015 23:26 u/Xyc0 in v/programming
Comment on: What do you think is the best programming style?

Whatever I can automate with clang-format or autopep8. Style is mostly a distraction when it's inconsistent. With modern editors and autoformatters that can do a better job than I can, I can focus on meaningful edits.

1 01 Jun 2015 02:44 u/Xyc0 in v/programming
[Ask] Teaching remotely, hurdles and accomplishments
3 0 comments 24 May 2015 20:19 u/Xyc0 (self.programming) in v/programming
Comment on: Learning C with gdb

I had a coworker once show me a Emacs feature where it would go to the source code in once buffer at the symbol break in the gdb view. Sounds pretty awesome, would love to see that in Sublime.

1 19 May 2015 04:12 u/Xyc0 in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.