HNHacker News
TopNewBestAskShowJobs

gnufied

2,557 karma · joined March 2, 2007

submissionscomments
gnufied··on China's Man-On-the-Side Attack on GitHub
Wondering if Github has reported this to law enforcement agencies and knowing origin of attack - how will FBI etc proceed? Will we get a statement from administration itself on the lines of Sony hacking or trade relations are too big to endanger?
gnufied··on Amazon Goes After Dropbox, Google, Microsoft with Unlimited Cloud Drive Storage
Try https://www.insynchq.com/ . I am not affiliated with them whatsoever, but for work I am sorta forced to use Google Drive. And to my surprise I have found insync client to be far superior than google's own. Among many things, insync works beautifully on Linux.

One can easily argue though that, Google Drive may make a change which breaks insync - but for past year and half, I have had zero problems.

gnufied··on India students caught 'cheating' in exams in Bihar
Bihar like few other north indian states have heavy male dominance. About 90% of relatives I know, want their daughters to finish Matriculation and get married.

The point is - parents put such little emphasis on education of their daughters that girls learn very little in terms of real knowledge by the time - they have to write board exams. Now it is very important to be at least class 10th pass for getting married, so parents put all resources they can to get them to pass (which includes cheating).

Having said that, both boys and girls cheat of course. But from my experience - the society makes it damn hard for girls to excel academically. They have to help with house chores - cooking, cleaning and often are encouraged by parents to skip classes for doing stuff at home.

gnufied··on India students caught 'cheating' in exams in Bihar
As someone from Bihar, there is a pattern to this cheating. Certain years, the Govt. decides to clamp down hard and exams happen under Election like security and certain years you have free for all cheating.

Also Bihar has a very small number of engineering colleges (like 9-10 compared to almost 300 in Tamilnadu), so in my experience people who cheat; tend to filter out themselves, because people have to compete hard for engineering entrance examinations (like IIT-JEE/AIEEE). My point is - by and large, it wouldn't be fair to paint a average engineer from Bihar by same brushstroke (of course, this is bit self-serving because I happen to have same background).

gnufied··on ReadMe (YC W15) Creates Crisp Documentation for Developers Using Your APIs
Readme has been incredible for hosting documentation of our open source project (rbkit.readme.io). Very responsive to support requests, even though we weren't really a paying a customer.
gnufied··on Google Memorial: the small museum of projects abandoned by Google
My primary use of Google Code search was, searching for this rare function (like a POSIX one) whose man page I can't understand and is largely undocumented elsewhere. I would often try to understand how other projects are using this function via internet-wide code search. :D

While Github is great, I think it still hosts only a small fraction of all the code that is public.

gnufied··on Unreal Engine 4 is now available to everyone for free
> For developing with UE4, we recommend a desktop PC with Windows 7 64-bit or a Mac with Mac OS X 10.9.2 or later, 8 GB RAM and a quad-core Intel or AMD processor, and a DX11 compatible video card. UE4 will run on desktops and laptops below these recommendations, but performance may be limited.
gnufied··on Has modern Linux lost its way? Some thoughts on Jessie
Chrome stopped being a GTK+ app long time ago. They switched to their own internal toolkit(http://www.omgubuntu.co.uk/2014/05/google-chrome-35-linux-ar...).

Also, I am not sure why you say Firefox looks ugly in KDE - http://album.gnufied.org/firefox.png . I have made 0 modifications in KDE/GTK theming and firefox looks just fine under KDE.

gnufied··on Show HN: Rbkit – a low-pause profiler for ruby
Sorry for replying here again. So yeah - we plan to report RSS memory as well, but we obviously don't want to shell out.

But - we can do this in C though via the rbkit library. A quick google search returns something like - http://nadeausoftware.com/articles/2012/07/c_c_tip_how_get_p...

Happy to merge a PR that reports this data to the desktop app (from then on it is trivial to actually display or plot it on desktop app).

gnufied··on Show HN: Rbkit – a low-pause profiler for ruby
I think, we have some work to document what those values mean. RES in graph - is not total RSS memory usage, it is memory ruby has allocated on C heap via `malloc` calls.

If you are familiar with Ruby internals, ruby heap can store small sized objects (such as smaller strings, smaller arrays etc) in its own heap, but for larger objects ruby uses `malloc` and the ruby heap itself just keeps a pointer to memory allocated. The RES size in graph is approximately that value.

Total RSS size of ruby process is lot bigger, it is combination of C heap, Ruby heap and other allocations which ruby is not even aware of (such as a C extension using `malloc` calls).

gnufied··on Show HN: Rbkit – a low-pause profiler for ruby
I think support for Ruby 1.8.7 has ended, so it is very unlikely you will see anything like this written for that version of Ruby. You should seriously consider migrating from that version.

Having said that - As one of the authors of Rbkit - it does not even work on 1.9.x - because instrumentation support we require from Ruby isn't simply there.

gnufied··on Show HN: Rbkit – a low-pause profiler for ruby
This is something we have been working in our free time for last several months. The instrumentation support in Ruby seems to be coming together at last and ko1 (Koichi Sasada) has done lot of work in that regard.

For those interested in quickly finding out, what rbkit can do , check http://rbkit.codemancers.com/v0.1.10/docs/using-rbkit-deskto...

gnufied··on Open Sourcing Our Go Libraries (2014)
This is one the cases where I wouldn't mind reverting the original title to what OP linked and let readers draw their own conclusions.
gnufied··on Let the Other 95% of Great Programmers In
I wonder where do you get your data for "hire someone from India for half the cost". Of all the facts thrown around - this is easily verifiable - http://www.h1bwage.com/index.php

If you ignore those employed on hourly basis, a majority of people on H1B are paid quite well. Apart from salary and benefits - add Visa processing fees for their Kids and Spouse as well (which can easily amount to > 30k+)

I think people underestimate how fortunate US is for being top destination of good programmers (and engg. in general). US has tons of companies founded by immigrants - Tesla, Bose, Sun Microsystems, Hotmail, Yahoo to just name a few.

I agree that, something ought to be done so as Services companies (Infosys, Cognizant) have limited access to H1B visa pool and process is fairer to smaller companies.

gnufied··on Atom Shell: Cross-platform desktop application shell
Not sure if you will see my message, but we ended up using chart.js via Qtwebkit bridge. We got rid of bunch of fluff like labels etc though (and reduced how often charts are refreshed). Even though chart.js is canvas based, its performance is not optimal if you let it run for > 40 mins or so.
gnufied··on Atom Shell: Cross-platform desktop application shell
So, in our preliminary analysis we found out bunch of things:

1. Some charting libraries do not discard a infinitely growing time series data. For example, if you are only displaying 20 data points in graph, holding older data points do not make sense. Obviously this had nothing to do limitation of webkit platform but library under question being sloppy.

2. In few cases, we noticed all those charting tool tips and popovers in case of time series data cause bunch of leaks. Disabling tooltips etc helped reducing memory growth, but did not completely eliminate it.

3. There are indeed some browser bugs, it could be what `/u/wbkang ` is saying or something else. I didn't spend lot of time investigating. Here is a sample app I put together that reproduces the leak in Chrome - https://github.com/gnufied/tryc3 you got to let it run for awhile though (like > 20 mins) .

gnufied··on Atom Shell: Cross-platform desktop application shell
At my workplace we evaluated atom-shell for couple of desktop apps we were building but we found various shortcomings:

1. Limited integration with desktop environment. Have a look at System tray integration for example, https://github.com/atom/atom-shell/blob/master/docs/api/tray... in many cases it is just too simplistic.

2. Another thing we learnt the hard way is, a lot of JS charting libraries are not meant for plotting streaming data for long period of time. We for example found that, most d3js based charting libraries start to balloon in memory usage if left running for > 1 hour or so.

3. Large executables.

It is still a nice platform to develop on! But if you are stuck with performance problems or something, coding your way out of it is way harder (unless you are willing to get your hands dirty with atom-shell code itself).

EDIT: So we ended up using Qt. in fact, a lot of JS libraries can be used in Qt via QML, for example - https://github.com/jwintz/qchart.js/tree/master.

gnufied··on Samsung Comes Out With App To Help Children With Autism
Hmm, looks interesting. Eye contact indeed is a big problem with children who has autism and while they seem efficient academically, inability to recognise people (as in, treat people as people) is major problem.

I wonder why they can't make the app available just on Google Play store though. 200 is a very small number and appears to be Canada only for now.

gnufied··on Immigration is about talent, not costs
I think by and large most engineers understand what the game is and where most H1Bs are going.

What author seems to be saying is - status-quo is not a solution. Is there a shortage of good engineering talent(I am not talking about bottom 50%), but top 20%? I think answer is emphatically yes - worldwide.

Has US benefited from those top 20% who have managed to migrate to US? It would be foolish to say no.

Lastly, this is on official company blog. It is not politically correct to publicly lambast companies which are abusing visa system. But that does not make Author's argument weaker.

gnufied··on Show HN: Taskulu, Next-gen role based project management platform
How about - https://waffle.io/ ? I am not affliated with waffle.io but I have used them in bunch of projects and works well enough.
gnufied··on Systemd redux: The end of Linux
from same article:

"Apparently GDM 3.8 assumes that an init system will also clean up any processes it started. This is what systemd does, but OpenRC didn’t support that. Which means that GDM under OpenRC would leave lingering processes around, making it impossible to restart/shutdown GDM properly. The Gentoo GNOME packagers had to add this ability to OpenRC themselves. Then there were various other small little bugs, details which I already forgot and cannot be bothered to read the IRC logs. "

So apparently there are bugs when using OpenRC with Gnome. That is not to say, Gnome requires systemd (I did not make that claim).

gnufied··on Systemd redux: The end of Linux
If you read over Wikipedia page of systemd, you will find out - it just does not replace `init` system, but whole lot more. Systemd is a collection of 64 binaries which manage login daemon, networking (DHCP) etc.

In other words to some it seems like lot of not-so-tested software replacing software that was well tested. from an outsider perspective two things seem problematic:

1. A lot of Linux software worked on principle of, don't break userland. Systemd appears to break userland here and there.

2. From any such large software replacing a well tested infrastructure, bugs are expected. The problem appears to be, in many cases systemd developers push the blame of breakage to other subsystem devs (sometimes it could be Kernel dev, sometimes it could be end user apps written on top of KDE/GNOME). This is the part which makes lot of people angry apparently.

gnufied··on Systemd redux: The end of Linux
I am no expert on this but apparently when Gentoo developers tried integrating OpenRC they ran into too many bugs.

http://blogs.gnome.org/ovitters/2013/09/25/gnome-and-loginds...

gnufied··on Libuv 1.0.0 released
btw, http://libuv.org/ is what it is on purpose or the team never got around to putting together a web page?
gnufied··on Swift and Go: Building a Fast Future
I have been playing a lot with QML lately and I am loving what I see there. Their approach of animations or graphics seems simple and very approachable - http://qmlbook.org/ch05/index.html .

The reason I bring this up is, while I like swift (and own more than one macbook pro), I can't bring myself to code for a platform which ties myself further with Apple eco system.

If you are looking to build a cross platform 2D game for Android/iOS/OSX/Linux - QML seems like a very good choice.

gnufied··on Give me back my sanity: How I had to install Pandoc in a CentOS Docker container
I am not claiming this is going to be less painful than what author experienced but on Debian/Ubuntu - `apt-get build-dep` can be sometimes very useful for installing source dependencies of packages when you are compiling something more latest by hand (Such as, Compiling emacs 24.4 by hand? `apt-get build-dep emacs` and then compile emacs).

On another note - I like that additional ppas some more popular open source projects provide. Such as - nodejs. mongo etc. These def. help in installing _the latest_ version of required software. However maintaining ppas for lone developer project can be chore (although much of that can be automtated via launchpad).

gnufied··on Is Faster-Than-Light Travel or Communication Possible? (1997)
It is mentioned in the linked article. Since speed is always relative (to a frame of reference), Special relativity by definition proposes that, nothing can go faster than C. The article gives an example, if a spaceship is traveling at 0.6c, and another spaceship is traveling at 0.6c - away from first first ship. Their relative velocities are not 1.2c, but 0.8c (http://math.ucr.edu/home/baez/physics/Relativity/SR/velocity...)
gnufied··on Bringing SSD Performance to the DIMM form factor
Answer is there in FAQ. Written data is not lost on reboot, so basically you can mount it as a `ramdisk` partition and use that as data directory for your database. I have used this approach in past to speed up large test suite of a web application, except it required restoring from some sort of backup on reboot. Which won't be necessary in this case.
gnufied··on Bringing SSD Performance to the DIMM form factor
I suppose the main usage will be a RAMDISK mounted partition which will not lose its data on Server reboot, power loss or when program is not running.

I don't think this SSD can be accessed through regular SCSI, IDE, AHCI controllers. http://www.sandisk.com.br/enterprise/ulltradimm-ssd/

gnufied··on How we’ve made Raptor fast
Just some glaring inconsistencies that I found:

1.

> It’s less work for the user. You don’t have to setup Nginx. If you’re not familiar with Nginx, then using Raptor means you’ll have one tool less to worry about.

>For example, our builtin HTTP server doesn’t handle static file serving at all, nor gzip compression.

Sounds like I would need nginx(or another frontend server) anyways?

2. > By default, Raptor uses the multi-process blocking I/O model, just like Unicorn.

> When we said that Raptor’s builtin HTTP server is evented, we were not telling the entire truth. It is actually hybrid multithreaded and evented.

So, which it is? I assume by default is multi-process + events, but a paid version offers multithreaded + events? If so, isn't unicorn's model of multi-process+blocking IO is pretty good as well because OS becomes load balancer in that case.

Overall it seems they wrote a very fast web server. Kudos to that! But I don't think the web server was ever the problem for Rack/Ruby apps? Still on fence with this one until more details emerge. :-)

← PreviousPage 8 of 16Next →