1. 3

    I, like many fellow engineers, wrote my own called muda. Why “Muda”? Because productivity is waste. It’s web-based and completely written in C++. Unfortunately, it doesn’t compile with the latest version of Wt

    1. 2

      a screenshot in the readme would be helpful.

      1. 2

        Thanks, good idea. Will do that when i get it runnig with the new version of Wt.

    1. 6

      “promotion decisions come from small committees of upper-level software engineers and managers who have never heard of you until the day they decide on your promotion”

      While that has been true until now, it just changed, at least for Sr. Software Engineer and below.

      1. 1

        Whats the new method?

        1. 2

          Now it’s a set of sr. engineers who work in the same product area and will know what every candidate worked on.

          1. 1

            Both the procedures are eerily similar to my current company. I guess people take cultures with them to their new workplaces.

      1. 3

        Yes, my work enables me to achieve my non-work life goals (or that’s what I tell myself when doing boring tasks). I work at one of the humongous tech companies sometime the work is interesting and sometimes it frustrating to deal with the politics but this is my first full time job.

        I used to be a very regular contributor to OSS and my day-job isn’t nowhere close to that rewarding.

        1. 4

          Really want this to happen, i used to write and maintain lots of apps for elementary OS and all are written in Vala. Most new contributors were turned off due to so few resources available.

          Do reach out to @elementary on twitter, they would be more than happy to help/support the effort.

          1. 2

            I was at Poor till a couple of week ago and started getting burnt out so i am trying to progress to Average.

            1. 2

              Pony is a pretty interesting language, i really enjoyed reading the paper. Definitely on the “to learn next” list.

              1. 1

                If you run into trouble, you can ping us on IRC, mailing list or twitter. I think you’ll find it a very welcoming community.

                1. 1

                  Thanks!

                  I have been bugging you on irc for a couple of weeks now :)

                  1. 1

                    I’m good with faces. Not so good with nicks and names.

              1. 3

                So I can either copy-paste or run git submodule, or.. install Java to install Facebook Buck (whatever that is) to ‘manage’ my C++ projects?!

                The cottage industry of single-header libraries is actually a good thing; it keeps us C++ programmers from adding too many dependencies.

                1. 3

                  Neither git submodule nor copy paste saves you from transitive dependencies on same library but different versions.

                  I tried buck, it’s actually quite fast. I’ll experiment more with it and buckaroo and report back in the ‘what are you working on’ thread.

                1. 3

                  I am working on a small C++ cli application that will basically act as a download manager front end. curl/wget/aria2 already handle downloads quite smoothly the only thing that i miss is launching them and let them intelligently handle retrys, failures, etc. Right now i have a bash script that creates a .down file in the current folder and download <url> appends the url to the file along with the flags, then i run download do which does for url in .down; wget -c url this is single threaded and to continue a partial download i have to run the command again.

                  This application will create all the download processes (limited by max-concurrent-downloads) and manage them, and when i call the –progress flag, display the current progresses/failures/pending etc.

                  There isn’t much code there right now but i am adding it and also learning how to do other stuff in C++ along the way.

                  1. 2

                    I am Akshay, just graduated from college last month, after attending a 6 month internship at amazon i’ll be joining fulltime next month.

                    I used to participate in national level karate competitions, i learn in my free time (from throwing shurikens to oragami) and travel whenever i can (preferably alone), listen to a ton of podcasts and make straw man arguments for fun.

                    I am interested in building programs that are smart, so i don’t have to do the bulk of the work :) languages are another passion of mine, right now i’ve settled on C++, Go, Python and Kotlin. I use them whereever they make sense.

                    1. 3

                      qfind & qselect: fast, flagfree find . -iname foo with steroids and fuzzy-finder/filter to find exactly what I need interactively.

                      1. 2

                        looks neat, doesn’t it bother you that you’ll only see the list of files when the search is complete?

                        1. 2

                          Not really, qfind is lot faster (or it feels so at least!) than find. On my first generation SSDs it gives subsecond filters for Linux kernel and mozilla-central repos, so it hasn’t been bother. It also feels very intuitive when combining with qselect for extra filtering, especially when using it inside other programs. For example my open file in vim.

                          1. 2

                            hmm, weird. it isn’t as fast on my mac book air so i created a pull request that prints the file as soon as it’s found.

                            do you mind trying my temporary fork?

                      1. 2

                        I am playing with various algorithms to figure out the similarity between two strings, turns out it’s a pretty complex problem but fun nonetheless.

                        1. 1

                          Nice to see this posted here, thansk /u/Snocrash

                          1. 3

                            @work: using pdfium which is pretty nice for rendering PDF’s as images, text is a bit tricky but i think i have found a way to make it work, trying to finish that.

                            @home: learning rust, evaluating using gn for my c++ projects which is pretty nice and i love that fact that i can generate Xcode and qtcreator projects from it to use with my ide, even though cmake provides similar functionality but i am trying to experiment with monorepos.

                            1. 7

                              Learning rust by watching live coding sessions, writing a small GUI for pngquant

                              Turns out libpng isn’t very straight forward if you don’t want to use malloc or new in your c++ code, once that was figured out, libquant just removed 50% of my image. Need to get a better understanding of how images are represented.

                              1. 2

                                I too am currently learning rust, the rust book is pretty good also there is a person who is also learning rust and does live screencasts of him writing rust code and learning, and the viewers send pull requests live too.

                                Here is his livecoding page and github (https://github.com/tsoding)

                                1. 2

                                  Been working on evaluating a few libraries for work and stuck in a rut at home.

                                  I haven’t been writing code at home at all, i don’t feel motivated to do so which is weird since that is all what i used to do earlier. Need some interesting problem to solve.

                                  Basically i want to create or contribute to something, just don’t know what. this is a weird problem to have. :/

                                  1. 6

                                    Going to package Firestr in the new Ubuntu snap package format. See what that is all about.

                                    1. 2

                                      please write about it somewhere, i am really interested!

                                    1. 3

                                      This week I’m learning Go with help from the book Introduction in Programming with Go.

                                      1. 1

                                        how are you finding it so far? i kinda like Go, have been using it for all my bots and stuff.

                                        1. 1

                                          i love it. it’s compiled and it has some really nice features. i like how variables are declared, name first, type second.

                                      1. 12

                                        On Android I’ve tried many different apps that provide terminal and/or ssh access. And while some are pretty decent, they didn’t get me beyond thinking ‘ok, this will have to do.’

                                        But then I found Termux. It’s the best - sorry, I had to say it, because it provides even more than I wished for: a full blown terminal with its own package manager (apt!), a good number of packages that are kept up to date, and as such it gives you pretty much the terminal environment you prefer. I use zsh plus my own set of zsh config files, .ssh/config actually works, and it even has a (passwordless, key based) openssh server that runs under user privileges.

                                        Another thing that makes Termux so nice is the intuitive key binding system: for ctrl use the volume down button, and use the volume up key as a meta key for numerous useful other keys, e.g. vol-up+e is escape, vol-up+t is tab, vol-up+p is PgUp, +n is PgDn.

                                        It has multiple session support, various color schemes, fonts, you name it. It’s portable, so with another tool like TitaniumBackup, duplicating your whole setup becomes a breeze. And it’s incredibly fast as well.

                                        1. 5

                                          Another great thing is the source is available: https://github.com/termux which may lessen concerns around ssh access into certain servers.

                                          1. 3

                                            I recently discovered this too when a user of my Python package asked if it works in Termux. I was really surprised that installing Python packages worked most of the time (some C-based packages didn’t work).

                                            1. 2

                                              I really agree. It works really great, and is the only one that works reliably for me. The bulit-in terminal is great, and the software repo has a great selection.

                                              One thing I regret, is that a shell script that has the shebang #!/bin/sh does not work, but this is due to Android not following the standards, not to termux.

                                              It was really a good surprise :)

                                              1. 2

                                                Definitely agree, i found it a couple of moths ago by total accident and was amazed to see that i could not only install ssh but the latest version of GCC, go, node.js, python, ruby, emacs, vim, etc.

                                                Typing on an phone is not the most convenient but plenty useful when you need it.

                                                1. 2

                                                  And even if it doesnt use your sd card as home. You can still access your termux files from the file discovery dialog. I’ve been using it to manage my ssh key on my phone.

                                                1. 3

                                                  bash everywhere, started using Linux a long time ago (not as long as other people here though) and with time accumulated few scripts, utility functions, custom prompt, etc. now i am used to the work flow and can easily git clone my dotfiles.

                                                  When i recently got a mac, first step was install homebrew second was bash. Surprisingly bash is still case sensitive on the mac which is good.

                                                  1. 1

                                                    Surprisingly bash is still case sensitive on the mac which is good.

                                                    Can you explain what you mean?

                                                    1. 1

                                                      I believe the default filesystem on OS X is case insensitive and zsh uses that i.e. you can cd abc when the folder name was Abc but with bash you have to type cd Abc.

                                                      caveat i haven’t used zsh on the mac but i am pretty sure the filesystem doesn’t differentiate on the bases of character case.

                                                      1. 1

                                                        There doesn’t seem to be any difference in behaviour between zsh and bash on OS X (Yosemite, zsh and bash from Homebrew):

                                                        » cd /tmp
                                                        » mkdir Foo
                                                        » zsh -d -f
                                                        Curtiss-MBP% cd foo
                                                        Curtiss-MBP% pwd
                                                        /tmp/foo
                                                        Curtiss-MBP%
                                                        » /usr/local/bin/bash --noprofile --norc
                                                        bash-4.3$ cd foo
                                                        bash-4.3$ pwd
                                                        /tmp/foo
                                                        
                                                        1. 1

                                                          By default, the OS X filesystem is case-preserving, but not case-sensitive. It has the option to be case-sensitive if you want, though.

                                                          1. 1

                                                            i stand corrected, it’s only for autocomplete then.