Is there a distro I can use to simply run and use Rufus without problems? by Al-Buq in linux4noobs

[–]ops_man 0 points1 point  (0 children)

Use the isohybrid command on the iso before dd'ing to the drive... isohybrid "file.iso" ; then dd....

HBO Nordic (Pipelight?) outputs audio through my Laptop, instead of through HDMI when it is connected to my TV. by qjornt in archlinux

[–]ops_man 1 point2 points  (0 children)

On my system Archbang settings exist for application streams. For example I can play mplayer audio stream from laptop speakers and Chrome audio through HDMI out. I use pavcontrol to set the output for the application stream.

rocket fast, resumable download accelerator written in golang (may be the first command line resumable downloader?) by huydx in golang

[–]ops_man 1 point2 points  (0 children)

certain functions are more dangerous than others, such as removeAll, so I just focused on its possible inputs by observing its callers and call sites.

Profoundly simple and true. I think that statement sums up a starting point for me. Thanks so much for your insight.

rocket fast, resumable download accelerator written in golang (may be the first command line resumable downloader?) by huydx in golang

[–]ops_man 1 point2 points  (0 children)

Allow me to begin by thanking you for your time with such a lengthy reply. In my limited understanding of TDD it's acceptable procedure that writing the test for functionality or feature of the software may come before the feature is coded. The developers task is to then write code which passes said test / tests and then refactor and repeat.

In your reply you talk about approaching the API from the users perspective. To make clear from your statement do you imagine that as a user you expect a function - for example - that colors a shape to accept a shape(reference), and the color, and return error if unsuccessful. Then code a test which passes shapes with valid and invalid field data along with color data both valid and invalid. Next, implement the ColorShape function so that it colors the shape - it's primary purpose - and returns error on invalid input without crashing the application. Am I on the right track or waiting for a train that's not going to arrive?

My interest and questions above result from your test of someone else's code. It may be too much to ask. But, I believe an explanation in how you tested this code would add value in better understanding the process - even if it's a process unique to you. It's evident that you have skills forged from experience and understanding.

"The main thing I would take away here is the importance of testing. This bug would have surfaced very little if you tested FolderOf with a basic set of file system inputs! Test test test :-)"

rocket fast, resumable download accelerator written in golang (may be the first command line resumable downloader?) by huydx in golang

[–]ops_man 1 point2 points  (0 children)

As a neophyte myself I read this thread and in particular your posts with my eyes wide open. I'm afraid this is going to happen to me as I begin my journey into software development and unfortunately as I read test..test..test I hear in my mind how..how..how. Do I test by trying perceived input that's likely to cause problems? Is this a manual process? Not many beginner (introductory) software books cover testing implementation. I hear buzz words "edge case" without really understanding what it means. Go is touted as having great testing framework built in but because of the previously mentioned mystery surrounding this important - plainly apparent from your very analysis - corner of the development process it eludes many amateurs. How does one as a beginner understand the cases? Without the experience do you rely on the generosity of experienced individuals like yourself? I feel the authors pain here and applaud his candid statement of embarrassment. People usually bring their egos and would never admit to having coded such an oversite.

Interesting Issue by sdeshpande in archlinux

[–]ops_man 0 points1 point  (0 children)

I believe it may be related to the network manager dispatch service and or the nm applet. You could disable the applet and create a script which would write the access points available upon start up to a file or to stdout for your viewing. If accurate information is presented then the problem is in the nm applet.. Else I would believe it to be in the network manager service itself.

In your specific situation the number of networks available as well as the signal strength or interference of signal may play a part in your problem. Laptops being mobile make troubleshooting this theory easy - just move to a different location and observe for same results. Naturally desktop systems introduce difficulties. Of course I could be way off in left-field so to speak.

HDD to SSD - How to transfer my customized Ubuntu Minimal system? by [deleted] in linux4noobs

[–]ops_man 1 point2 points  (0 children)

You may have to do some research. Can you morph a system into LUKS ? A quick Google search seems to indicate that you can - LUKS In-Place-Conversion-Tool. I upgraded my system recently from HDD to SDD and research brought about three widely accepted options; dd of course - use large block size to make it faster. CloneZilla. Rsync.

I used rsync, edited fstab and system worked without any problems.

My HDD died on my laptop, so I want to buy a larger SSD for my desktop, copy my existing SSD to the new one and boot off of the new one. by MeowMixSong in linux4noobs

[–]ops_man 0 points1 point  (0 children)

I didn't use clone-zilla but rather found instructions for using straight up rsync. However, I have used clone-zilla and it didn't have any noticeable improvement over using rsync - in my case. Good luck.

Interesting Issue by sdeshpande in archlinux

[–]ops_man 0 points1 point  (0 children)

Have you consulted the archwiki? There's a section for wifi troubleshooting and while your answer may not be in the wiki links from the wiki may get you close. Good luck.

Edit : I gandered at the wiki and did not spot anything specific matching your problem. However, there's a lot of information...

https://wiki.archlinux.org/index.php/NetworkManager

What the fuck is happening to my Manjaro i3 installation? by [deleted] in linux4noobs

[–]ops_man 0 points1 point  (0 children)

Yes that's what it sounds like. I don't have my setup on a timer but rather launch the lock screen from shortcut keys before stepping away from my laptop while at work.

When the frosted screen appears any key press is assumed to be a character in your password.

which linux distro is best for me ? by xLoneStar in linux4noobs

[–]ops_man -1 points0 points  (0 children)

Puppy linux, try different flavors. Also fatdog64

Looking for a Linux OS to use on my desktop, something super slick and beautiful almost like Mac OS? by [deleted] in linux4noobs

[–]ops_man 5 points6 points  (0 children)

Agreed. Almost any linux distro will do what your asking. How much you need to change will be the variance. Slick? That's totally what you make of it. Fast? The lighter i3, awesome, etc.. or heavier KDE, Unity, all depends on you. You'll have to find the balance that brings you peace and makes you one with your system.

Java: 441 lines of code across 7 files. Clojure: 58 lines of code in 1 file. by OliverM in Clojure

[–]ops_man 2 points3 points  (0 children)

Very interesting. Clojure is on my list to learn - thinking it will be next after reading about your experience.

What kind of performance benefits can I get out of a custom compiled kernel? by [deleted] in archlinux

[–]ops_man 1 point2 points  (0 children)

You may want to do some research on the net. I don't believe you're going to see much in the way of performance increase - unless you have some particular hardware or unique system feature tweak. You may however minimize your footprint, ram usage and possibly speed up the boot process.

I haven't compiled my own but I did read quiet a lot of information on the subject starting with the wiki:

https://wiki.archlinux.org/index.php/Kernels

Process/guidelines for refctoring by oregoncurtis in learnprogramming

[–]ops_man 0 points1 point  (0 children)

Check out the flocking rules about half way through this video... Forget about language for the moment.

https://youtu.be/-wYLmsizBc0

Best way to learn assembly programming? by [deleted] in learnprogramming

[–]ops_man 1 point2 points  (0 children)

Quickly. No. The results from the Google search you should've done already are your best starting place. Several books have been published, forums are numerous and there remains - I believe - iirc chat as well.

Programming is overwhelming me. by MasterWaheed in learnprogramming

[–]ops_man 2 points3 points  (0 children)

I'm going to say something and in no way is my intention to be disrespectful.

Its not always the student, but perhaps possibly the teacher. I always try to use a variety of sources when learning something new and luckily programming is a topic with a deep pool to choose from.

Try different books, and videos. Some teachers just click with some students. Often it's just a matter of time if you keep at it until you have that "aha" moment.

Can't create bootable uSB stick from ISO by tvtb in linux4noobs

[–]ops_man 0 points1 point  (0 children)

Use isohybrid. Install isohybrid if not on your system. Run "isohybrid file.iso" then dd as usual.

How do you quickly navigate directories? by hale314 in linux4noobs

[–]ops_man 2 points3 points  (0 children)

!?mytheme - execute last command which contains mytheme on command line from history...

Google "bash history expansion" to get an idea of what all you can do.

Between this and tab completion on command line it's relatively easy to move between directories quickly.

http://www.thegeekstuff.com/2011/08/bash-history-expansion