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.
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.
I was at Poor till a couple of week ago and started getting burnt out so i am trying to progress to Average.
Pony is a pretty interesting language, i really enjoyed reading the paper. Definitely on the “to learn next” list.
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.
I have been bugging you on irc for a couple of weeks now :)
I’m good with faces. Not so good with nicks and names.
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.
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.
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.
for url in .down; wget -c url
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.
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.
qfind & qselect: fast, flagfree find . -iname foo with steroids and fuzzy-finder/filter to find exactly what I need interactively.
find . -iname foo
looks neat, doesn’t it bother you that you’ll only see the list of files when the search is complete?
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.
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?
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.
Nice to see this posted here, thansk /u/Snocrash
@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.
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.
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)
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. :/
Going to package Firestr in the new Ubuntu snap package format. See what that is all about.
please write about it somewhere, i am really interested!
This week I’m learning Go with help from the book Introduction in Programming with Go.
how are you finding it so far? i kinda like Go, have been using it for all my bots and stuff.
i love it. it’s compiled and it has some really nice features. i like how variables are declared, name first, type second.
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.
Another great thing is the source is available: https://github.com/termux which may lessen concerns around ssh access into certain servers.
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).
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 :)
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.
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.
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.
Surprisingly bash is still case sensitive on the mac which is good.
Can you explain what you mean?
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.
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
» /usr/local/bin/bash --noprofile --norc
bash-4.3$ cd foo
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.
i stand corrected, it’s only for autocomplete then.
Started working on a mood tracker android app for my friend, he has some health issues that need him to keep a log of his mood continuously and was using a spreadsheet for it. I am using Kotlin instead of Java and SnappyDB for the datastore.
The android dev environment is pretty great these days even if you are not using Java. Kotlin feels great and is less verbose than java.
Studying for exams, first one in a months time.
Also trying to get a decent mail setup working, freelancing, and playing
with an MQTT<->IRC bridge so that hopefully IRC can be used nicely on
mobile. I haven’t managed to find a FOSS solution for this yet.
Why MQTT? why not web sockets? a good IRC client on mobile is very appealing :)
I read a bit about MQTT, seemed like a good idea for lightweight mobile
networking, having been designed for the IoT. Also has something already
a bit like channels.
But… honestly? Now that you mention it, websockets hadn’t even crossed
my mind. I guess because when you say websockets I just think web
browser. Good idea though, would make browser clients easy too! I’ll
have a look.
I was originally thinking about using XMPP as mobile -> server, then a
program there to connect to ZNC. Didn’t know much about it at the time,
then realised that XMPP really is not what I wanted for that.
I’m planning on writing the server side part, then finding an open
source Android messaging app (I really quite dislike UI, and if there is
already a solution…) to modify to connect to my server. Hopefully
it’ll work out!