HNHacker News
TopNewBestAskShowJobs

aksx

140 karma · joined November 3, 2011

submissionscomments
aksx··on How to use Let's Encrypt with multiple domains on Nginx on Ubuntu
There is a typo in the title, can the mods please rename it to fix `Ubuntu`?
aksx··on My Most Important C++ Aha Moments (2006)
some people would argue that pointers themselves are a type of iterator
aksx··on AI, Apple and Google
Not exactly what you are looking for but https://mycroft.ai/
aksx··on Program your next server in Go
I have been running multiple programs on my DO vps, my uptime is 305 days. 1 program was updated in Feb to accommodate an API change another was updated in Dec 2014.

It's amazing how good they perform with minimal memory usage.

aksx··on JavaFX: Call to ARMs
disclaimer: I am not a java developer

a few months ago I wanted to write a small desktop app which i wanted to distribute for Linux, mac & window in that order of priority. My first implementation was in Qt but faced significant problems with building for different platforms, providing binary files that would just work, etc.

JavaFx was the next choice and damn the development experience was amazing, it was fun to write even when i had no prior experience with either Java or JavaFx but distribution became a problem again, the JavaFx classes weren't found on other peoples systems, people in the javafx irc told me that it should be available for everyone on jre 1.8 but alas no solution was found.

I finally shipped a electron app (shudders)

p.s. i found the javafxpackager but it didn't work, i am doing something wrong definitely but there aren't enough people talking/writing about this that i could refer too.

aksx··on Libui: GUI library in C
Juce is a great library but it doesn't target the native feel (last time i checked) which libui does.
aksx··on We asked 15,000 people how they're learning to program
> Half the cats I've worked with

what does `cats` mean in this context? maybe a cultural thing.

aksx··on “C++ is a horrible language” – Linus Torvalds
Looks like it's that time of the year again.

Yes Linus said that and he was probably [in 2007] C++11 and C++14 have come a long way.

also since no one has posted this till now [2014] Gtk to Qt a strange journey https://www.youtube.com/watch?v=ON0A1dsQOV0

aksx··on Xi editor: A modern editor with a backend written in Rust
If you want to experiment with Gtk, trying using Vala instead of C. Vala is to (GObject C) what Swift is to Objective-C.
aksx··on Ask HN: Best linux laptop right now?
which distro do you use? i see KDE in the picture.
aksx··on Visual Studio Code 1.0
I remember them announcing that they'll get rid of the coreclr dependency for debugging C++, does anyone know if that is the case?
aksx··on Show HN: Online C/C++ Code Browser
I believe sourcegraph[0] is doing something similar, they don't have support for c++ yet though.

[0]https://sourcegraph.com/

aksx··on C++ basics for competitive programming
You think this is bad? try reading the code submitted during coding competitions (hackerrank, google's code jam).

lots of macros to do operations quickly, the code is not even readable.

aksx··on AppImage: Linux apps that run anywhere
I too love package management like the rest of the people on this thread but the existence of this project confirms that we have a problem, distribution is pretty hard.
aksx··on Python to OCaml: Retrospective
Is it just me or is there a mistake here http://i.imgur.com/65GPWq6.png

He says the color of the UI part is orange but i see yellow

aksx··on Things I wish they told you about Emacs
Like apple does with the angles of the laptop screen? makes sense

http://www.forbes.com/sites/carminegallo/2012/06/14/why-the-...

aksx··on Facebook '2G Tuesdays' to better understand markets like India
What facebook needs to realize is that 2G is not the only factor because of which people don't use the facebook app.

First of all the app takes too much resources and makes the phone sluggish, especially on low end phones which are very common here. (Messenger is big offender here)

I believe one of the reasons why whatsapp became so popular was that it was faster to use than facebook's messenger and you could easily delete media to save storage.

People prefer using facebook on Opera Mini on their iPhones and android phones than using it from the app.

aksx··on Facebook '2G Tuesdays' to better understand markets like India
and let's not forget "Candy Crush Invitations Saturdays"
aksx··on Kala: A Modern Job Scheduler (written in Go)
depends on how you say it, if pronounced kla then it's art if pronounced kala then it means black. (Hindi)
aksx··on Ask HN: What tech blogs, podcasts do you follow outside of HN?
I like to listen to Marco's point of view of the tech world, being a successful independent developer his (conservative) opinions on languages and platforms are always insightful.
aksx··on Go: A Surprising Edge Case Concerning Append and Slice Aliasing
This is not an edge case.

effective go[0] clearly states "Slices hold references to an underlying array, and if you assign one slice to another, both refer to the same array."

[0] https://golang.org/doc/effective_go.html#slices

aksx··on Programmers: Before you turn 40, get a plan B (2009)
This is exactly why I enjoy reading HN. As a 21 year old software developer, I do not understand how can someone be arrogant, just opening github makes me acknowledge what I still need to learn.
aksx··on India Orders 32 Websites Blocked, Including GitHub, Archive.Org, Pastebin
i tried to push some code and was getting DNS resolution errors so i started using google DNS, now everything works.
aksx··on India Orders 32 Websites Blocked, Including GitHub, Archive.Org, Pastebin
I also started having problems with github which reminded me to update my DNS settings setting to Google's, now everything works.

Didn't even know till a few hours ago that thses sites were being blocked since they display a blank page.

aksx··on Show HN: ssh chat.shazow.net
Its because of the memory usage, I'll try fixing it tomorrow
aksx··on Show HN: ssh chat.shazow.net
Some people are spamming the chat room which increases the memory usage and causes the 'hanging'

The server is restarted every hour so you should be able to access it in a while.

The flood control feature has been added, we are waiting for shazow to wake up and update the binary.

aksx··on How I Start: Elixir
maybe write a twitter -> rss feed converter :)
aksx··on How Does One Create A Gtk+ Application?
I've been using Gtk+ with Vala for almost 3 years now and i love it.

I tried Qt and liked the fact that it had good libraries built in (using the provided networking library v/s using libsoup with Gtk+)

In my opinion Gtk+ with C is a big pain but Vala feels natural and should've been pushed instead of JavaScript by the gnome guys.

aksx··on Show HN: Easily consume REST APIs with Go
>api.Res("users", resp).Id(1).Get()

>What happens if the argument passed to api.Res is not "users"? Or "users" is incorrect? Or if Id 1 doesnt exist? Or you cant use the HTTP method Get on the selected resource? Or if I want to use a HTTP method you haven't got a function for?

It is places like this where i would love to use railway oriented programming[1] or monads.

I love chaining function calls but can't do them without worrying about errors as you said, Someday i'll sit and try to implement Monads in Go

[1]http://fsharpforfunandprofit.com/posts/recipe-part2/

aksx··on Ask HN: Best OSS Projects for Beginning Contributors
elementary OS, an Ubuntu based GNU/Linux distribution. We use bala for the programming language which is very similar to C# but compiles to C.

Most of the contributers are students including me and we have a very welcoming environment.

Just drop I'm #elementary-Dev introduce yourself and join the effort.

← PreviousPage 2 of 3Next →