• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~comp with the tag "ask.survey". Back to normal view / Search all groups
    1. What git commands do you use frequently that you think more people should use?

      Some of my favorites are: git add -p * This will go through your unstaged changes in chunks and allow you to stage each chunk individually in an interactive shell. git checkout -p * Similar to the...

      Some of my favorites are:


      git add -p *

      This will go through your unstaged changes in chunks and allow you to stage each chunk individually in an interactive shell.


      git checkout -p *

      Similar to the above, this will go through your unstaged changes and allow you to undo each chunk. I almost never use Ctrl+Z anymore and go straight for this. Want to remove all of those print-debugging statements? Use this command to pluck them out one-by-one.


      git commit -a --amend --no-edit && git push --force-with-lease

      I alias this one to whoops in my bash profile. It will add all unstaged changes, add them to your last commit and then (safely) force-push the local branch to the tracked remote branch. This is especially useful when working with CI and you need to make constant configuration changes to get it to work. Yes, you could squash those commits afterwards as an alternative. But this is easier.


      git rebase -i HEAD~5

      (Change 5 to the number of previous commits you want to see)

      Interactive rebases are a core part of my git flow when working on feature branches. If a co-worker gives me feedback on a code review that requires a change to a previous commit I'll go back and edit that commit using this command. You can remove individual commits, squash commits, reorder commits, and so much more.

      25 votes
    2. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      17 votes
    3. Do you use Github Actions for continuous integration?

      I recently came across an article about setting up automated builds (installation, code quality check, running tests) using Github Actions. I've since found a few more articles excitedly promoting...

      I recently came across an article about setting up automated builds (installation, code quality check, running tests) using Github Actions. I've since found a few more articles excitedly promoting the feature and, from my personal testing, it seems to work quite well.

      I was wondering if others had begun using this feature for their own projects, or had tried it and disliked it and used something else. Is there any broader community consensus towards which tasks it's best-suited for and when to use something more robust?

      10 votes
    4. Which are your top five computer programs?

      In terms of Utility: It is useful! Reliability: It will always work when you need it to! Uniqueness: It gives you the option of doing things that would never have been necessary before it came...

      In terms of

      1. Utility: It is useful!
      2. Reliability: It will always work when you need it to!
      3. Uniqueness: It gives you the option of doing things that would never have been necessary before it came along.
      4. Aesthetic: It satisfies your sense of beauty: It gives you the same kind of feeling a painting or a poem would.
      5. Transcendence: It transcends the zeitgeist and is the simplest it can and thus ought to be.

      Mine are:

      1. Vim
      2. mutt
      3. The Lucas Arts point and click adventure games
      4. A Lisp interpreter
      5. grep
      32 votes
    5. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      4 votes
    6. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes
    7. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    8. Exotic threats in mobile testing...

      I'm currently in the process of reading the excellent "Lessons Learned in Software Testing: A Context-Driven Approach". Early on the following is mentioned. Test common threats before exotic...

      I'm currently in the process of reading the excellent "Lessons Learned in Software Testing: A Context-Driven Approach". Early on the following is mentioned.

      Test common threats before exotic threats.

      Seems reasonable enough. That said, it got me thinking It'd be cool to generate a list of such threats for future devs/testers to draw on. So...I'm calling on the collective experience of any Tilders involved in iOS or Android development to lend a hand.

      In your time working on mobile, what issues have you encountered that you would you classify as exotic? I.e those issues that infrequently arise but when they do can cause major damage. Any and all help is appreciated.

      4 votes
    9. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    10. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      11 votes
    11. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    12. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      17 votes
    13. Do people like CSS or just grow to tolerate it?

      I've been trying to learn CSS. I went through the relevant sections of Colt Steele's Web Bootcamp. It is mostly focused on Bootstrap, which disappointed me a bit. So I went through MDN to learn...

      I've been trying to learn CSS. I went through the relevant sections of Colt Steele's Web Bootcamp. It is mostly focused on Bootstrap, which disappointed me a bit. So I went through MDN to learn Flexbox and CSS Grid, which seemed like a better alternative. The fundamentals are easy enough, but when I try to make a layout everything gets mixed in my head (even though I have the documentation open at all times). The impression I get is that modern CSS is not one thing, but a bunch of little things that resemble each other in a confusing way. It's hard to infer stuff and there are gotchas everywhere. I know this is not a programming language, but it is at least programming-related. Learning CSS feels more like learning English than a technology: you must accept that it's not a cohesive system, but rather the culmination of a long historical process full of random developments.

      I tried getting back to Bootstrap, but then I have to override a bunch of stuff I don't even know is there.

      I'm having a lot of trouble trying to put something very simple together. I just wanna leave that behind and go back to my beloved Python.

      I did not want this to be a rant, but it is now a rant. So be it :P

      This post has now a soundtrack.

      23 votes
    14. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    15. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      11 votes
    16. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      11 votes
    17. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      5 votes
    18. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      11 votes
    19. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      18 votes
    20. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      22 votes
    21. How do you power your personal site/blog? What should I use?

      I currently have a personal "portfolio" site that I haven't updated in close to a year. I'm planning now on revamping it, and I am using this opportunity to reconsider the static site generator I...

      I currently have a personal "portfolio" site that I haven't updated in close to a year. I'm planning now on revamping it, and I am using this opportunity to reconsider the static site generator I am using.

      I host my site on Github pages, which means that Jekyll was originally very appealing due to its nice integration with Github. However, I have found it difficult to greatly customize the themes I find, and I'm the type of person that likes to get everything "just right". It seems like Hugo might be more extensible in this regard, but I'm not sure if that alone makes it worth the switch from my current setup. Anecdotally, a lot of the blogs I find whose layouts I really like tend to use Hugo.

      Pure HTML/CSS is an option but that seems like a big overhead for what I want. I'm no web developer and I don't plan on becoming one.

      15 votes
    22. What's your dream laptop for running *nix?

      What's your dream laptop for running *nix? I'm currently using a Lenovo Thinkpad T410s, and it's getting ready to die. I think it's a great machine, but every computer eventually dies. It runs...

      What's your dream laptop for running *nix?

      I'm currently using a Lenovo Thinkpad T410s, and it's getting ready to die. I think it's a great machine, but every computer eventually dies. It runs Debian 8 (Jessie), but it can't handle 9 (Stretch) without overheating. On top of that, I need to use the proprietary drivers! My computer got dropped on the floor today (not my fault!), and it got me thinking that maybe it's time to start shopping for a new laptop.

      What are your ideas about what a good laptop for *nix OS's? Any recommendations? What should I look for? What should I avoid?

      I love having a SSD HDD, and playing with different distros, but I'd like to avoid the headache I've had with the propitiatory Intel drivers. I like to have control of my hardware, but still use the latest software. If a Raspberry Pi or BeagleBone could match the performance of a laptop then I'd seriously consider using one.

      26 votes
    23. Which language would you pick to completely rewrite BSD, Linux, etc.?

      It'd my understanding that C has stuck around in the UNIX world for so long, nearly half a century, mostly due to the inertia of legacy code. If you could snap your fingers and magically port/fork...

      It'd my understanding that C has stuck around in the UNIX world for so long, nearly half a century, mostly due to the inertia of legacy code.

      If you could snap your fingers and magically port/fork the entire stack of open source codebases to the language of your choice, which would you pick and why?

      20 votes
    24. What are you coding today?

      What are you coding? Or are you reading a CS paper? and of course, have you read SICP today? ___-------___ _-~~ ~~-_ _-~ /~-_ /^\__/^\ /~ \ / \ /| O|| O| / \_______________/ \ | |___||__| / / \ \...

      What are you coding? Or are you reading a CS paper?

      and of course, have you read SICP today?
      
                                   ___-------___
                               _-~~             ~~-_
                            _-~                    /~-_
         /^\__/^\         /~  \                   /    \
       /|  O|| O|        /      \_______________/        \
      | |___||__|      /       /                \          \
      |          \    /      /                    \          \
      |   (_______) /______/                        \_________ \
      |         / /         \                      /            \
       \         \^\\         \                  /               \     /
         \         ||           \______________/      _-_       //\__//
           \       ||------_-~~-_ ------------- \ --/~   ~\    || __/
             ~-----||====/~     |==================|       |/~~~~~
              (_(__/  ./     /                    \_\      \.
                     (_(___/                         \_____)_)
      
      29 votes
    25. What is your least favourite window manager or desktop environment and why?

      Can be something current or ancient, and if you've really got an axe to grind feel free to drag in Windows or macOS or other proprietary operating systems. Personally after using i3 for around...

      Can be something current or ancient, and if you've really got an axe to grind feel free to drag in Windows or macOS or other proprietary operating systems.

      Personally after using i3 for around half a decade now (though I switched to sway about a year ago) everything else I try just seems to add friction.

      25 votes
    26. Do you have a personal website/blog?

      I've been thinking for a while about making my own little personal website/blog, and I was wondering what other people here on Tildes might have set up. I feel like having one could be a cool...

      I've been thinking for a while about making my own little personal website/blog, and I was wondering what other people here on Tildes might have set up. I feel like having one could be a cool little way to get myself to write more often and hopefully improve my writing, especially when it comes to technical subjects.

      34 votes
    27. Which technical/technological issues or needs do you think should have been sorted out by now?

      20 years ago I saw a computer scientist on TV saying that operating systems should come up with a better way to organize and present files, something that took into consideration the files we used...

      20 years ago I saw a computer scientist on TV saying that operating systems should come up with a better way to organize and present files, something that took into consideration the files we used the most and the ones we were likely to use again. Not just a recent files menu, but some form of AI prediction that would prepare our desktops with little intervention. This, of course, didn't happen, but I think about it from time to time. I would love to have an AI that would understand my workflow and do a bunch of things for me.

      This is obviously way too advanced as an answer to this thread, but I'm curious: what did you expect to already exist in the field of computer science, but simply didn't pan out?

      19 votes
    28. What is your favourite programming language?

      What is the programming language you enjoy the most, or otherwise define as your favourite? Why is that particular language your favourite? Bonus: add just a little bit of code in it that you...

      What is the programming language you enjoy the most, or otherwise define as your favourite? Why is that particular language your favourite?

      Bonus: add just a little bit of code in it that you think exposes its beauty.

      37 votes
    29. What is your personal preference and why: vim or emacs?

      This is of course the age old debate, which on other sites has been known to quickly devolve (one of the Internet ‘holy wars’ of yore). Nonetheless, I am curious. I personally use vim. Part of the...

      This is of course the age old debate, which on other sites has been known to quickly devolve (one of the Internet ‘holy wars’ of yore). Nonetheless, I am curious.

      I personally use vim. Part of the reason is surely that it is just the first one of the two that I happened to use, and thus by the time I tried emacs I was used to vim. But more broadly, I enjoy using vim because once you get over the hump of ‘weird’ commands and modes, I feel that vim most closely emulates the feelings and thought process that you have when building something with your hands. You can pick up different tools, yank pieces out and rearrange them, turn the object around in your hands to see different parts, etc etc. Once you internalize the movement and editing you really start flying around. At that point the interface seems less like a barrier between you and the text and more like a way to ‘hold’ it.

      Of course, people have different preferences.

      15 votes
    30. 100s of tabs: what is there?

      Those of you who keep hundreds of tabs open: I'm curious how and why you use them. I'd hoard tabs in the past, but in a sad incident a browser (Firefox) restart caused the loss of all my 10s of...

      Those of you who keep hundreds of tabs open: I'm curious how and why you use them. I'd hoard tabs in the past, but in a sad incident a browser (Firefox) restart caused the loss of all my 10s of open tabs that was accumulated over weeks long research about a topic, I decided to never trust tabs again. Now I'm making use of my bookmars toolbar, Org mode and Instapaper for most of the stuff having many tabs open was the method before. So, for me, tabs were for keeping stuff handy during research, read-it-later lists, and temporary bookmarks. What are the use cases for you?

      19 votes
    31. What OS do you use and what are your favourite programs?

      I saw back in January that a lot of you were on Linux, I guess I should've expected that considering it's ~comp but I'm curious how the trend is going. But to spice things up a little bit more,...

      I saw back in January that a lot of you were on Linux, I guess I should've expected that considering it's ~comp but I'm curious how the trend is going. But to spice things up a little bit more, tell us about you favourite programs, any hidden gems?

      I personally run a fairly standard Fedora 30 install running gnome and some flatpaks. I'd say my favourite programs are

      Gnome Builder :

      Well, I've been trying to fight the electron uprising while still using a modern and open source IDE and well, I think it works great and looks pretty good too.

      Dino.im (Using the Flatpak PR) :

      It's light, supports XMPP and looks relatively modern, what more could you ask?

      Firefox gnome theme :

      It's not really a program and just really a skin for Firefox but I really like it. It integrates pretty neatly with the rest of the desktop. Can't wait for the Gnome 3.32 changes to come in though since it kinda clashes with the new theme.

      26 votes
    32. Do you enjoy programming outside of work?

      I have found this to be a semi controversial topic. Its almost becoming a required point for getting a new job to have open source work that you can show. Some people just enjoy working on...

      I have found this to be a semi controversial topic. Its almost becoming a required point for getting a new job to have open source work that you can show. Some people just enjoy working on programming side projects and others don't want to do any more after they leave the office.

      Whats your opinion on this? Do you work on any side projects? Do you think its reasonable for interviewers to look for open source work when hiring?

      16 votes
    33. How much testing do you guys do?

      Pretty straight forward question, but basically I was watching a discussion panel the other day talking about the ethics of Self-Driving cars. A topic came up about people writing crappy code, and...

      Pretty straight forward question, but basically I was watching a discussion panel the other day talking about the ethics of Self-Driving cars. A topic came up about people writing crappy code, and more than that, people not testing their code. And if they do, they do point testing. I am in my last semester of uni and I am working with some companies where we are doing pretty extensive testing, happy flows and a lot of alternate flows, as well as UI/UX testing. I wanted to extend this question to you, do you guys do testing, what type? How much do you focus on it? And if u love it/hate it?

      12 votes
    34. Which OS do you use and how does it look?

      Previous threads: What DE and distro do you use and why? What's your OS and how does it look? What does your desktop look like? What tools do you swear by? I've recently switched to Arch and...

      Previous threads:

      What DE and distro do you use and why?

      What's your OS and how does it look?

      What does your desktop look like? What tools do you swear by?


      I've recently switched to Arch and today, it's finally done! You have no idea how hard it was to even turn it off. So I wanted to make another OS/screenshot thread, especially since it's been quite a long time since the last one, and Tildes population increased inbetween, so we might find something interesting again :-)

      What's your OS, what do you love about it and how does it look?

      26 votes
    35. What programming language do you think deserves more credit?

      My pick is Perl5. Even though a lot people (mostly those who’ve never touched Perl) say it’s a “write only” language, I think it does a lot right. It’s easy to prototype with, and it gives you a...

      My pick is Perl5. Even though a lot people (mostly those who’ve never touched Perl) say it’s a “write only” language, I think it does a lot right. It’s easy to prototype with, and it gives you a lot of freedom in how you want to solve a problem; which I think is one of the most important features of a programming language.

      I’d like to know what your picks are!

      33 votes
    36. Web developers - What is your stack?

      As someone who is not mainly a web developer, I can barely grasp the immensity of options when it comes to writing a web application. So far everything I've written has been using PHP and the Slim...

      As someone who is not mainly a web developer, I can barely grasp the immensity of options when it comes to writing a web application.

      So far everything I've written has been using PHP and the Slim microframework. PHP because I don't use languages like Python/Ruby/JS that much so I didn't have any prior knowledge of those, and I've found myself to be fairly productive with it. Slim because I didn't want a full-blown framework with 200 files to configure.

      I've tried Go because I've used it in the past but I don't see it to be very fit when it comes to websites, I think it's fine for small microservices but doing MVC was a chore, maybe there's a framework out there that solves this.

      As for the frontend I've been trying to use as little JavaScript as possible, always vanilla. As of HTML and CSS I'm no designer so I kind of get by copying code and tweaking things here and there.

      However I've started a slightly bigger project and I don't fancy myself writing everything from scratch (specially security) besides, ORMs can be useful. Symfony4 is what I've been using for a couple of days, but I've had trouble setting up debugging, and the community/docs don't seem that great since this version is fairly new; so I'm considering trying out something more popular like Django.

      So this is why I created the post, I know this will differ greatly depending on the use-case. But I would like to do a quick survey and hear some of your recommendations, both on the backend and frontend. Besides I think it's a good topic for discussion.

      Cheers!

      20 votes
    37. Does anyone here work in infosec? If so, which laptops are you allowed to use?

      I’ve recently gotten to speak with a few folks who work at an enterprise security company. I asked what their security researchers set as company rules for allowed laptops. My one datapoint so far...

      I’ve recently gotten to speak with a few folks who work at an enterprise security company. I asked what their security researchers set as company rules for allowed laptops. My one datapoint so far is “Dell or Apple.” So for example, no Thinkpad X1 Carbon, which is arguably the best work laptop.

      I am curious what other large security companies (or any of you security minded folks) set as rules for trusted laptops. Can anyone share their lists and theories as to why I heard Dell and Apple? BIOS is more trustworthy?

      10 votes
    38. What do you think is one thing every sysadmin should know how to do?

      Blatantly stealing from the excellent post by /u/judah, I figured I'd make a sysadmin version because sysadmins tend to be underrepresented in tech discussions. Please keep your answers as...

      Blatantly stealing from the excellent post by /u/judah, I figured I'd make a sysadmin version because sysadmins tend to be underrepresented in tech discussions. Please keep your answers as cross-platform as possible without being uselessly generic.

      I'll start. Realize that the system is going to go down, and accept that reality. Accept failure. How you respond to failure is how people who aren't sysadmins will see and value you.

      8 votes
    39. What's your OS and how does it look?

      Just a bit curious. Currently, mine looks like this. It runs Elementary OS, however considering hijacking it to Bedrock Linux, mainly to get cutting edge software from the AUR (for stuff like...

      Just a bit curious. Currently, mine looks like this. It runs Elementary OS, however considering hijacking it to Bedrock Linux, mainly to get cutting edge software from the AUR (for stuff like Firefox and GIMP) without losing all my data. I think I'll wait for Bedrock to go stable first, though.

      It uses the ePapirus icon theme, which is just Papirus with better support for Elementary's UI. GTK theme is (if I remember correctly) Qogir and the Plank theme is the GTK one. What do yours look like?

      23 votes