trungaczne's comments

trungaczne | 9 years ago | on: Choose Firefox Now, or Later You Won't Get a Choice (2014)

I found it impossible to debug very large scripts on Firefox. Searching for a string in the script is next to impossible, it would hang the interface for minutes. In Chrome it take seconds to do something similar, you can tell that the script is too big but at least it's debuggable.

Also as a user I cannot bear to use Firefox. I recently retried it (can't recall the version, IIRC it's the first version they introduced multiprocessing) and it still underperforms: I experienced (sub second) lag on UI interactions whereas I wouldn't using Chrome.

trungaczne | 9 years ago | on: Linux Signals – Internals

Well, from what I know, sometimes you just have to have out of band communication, check the discussion in the comment here: http://250bpm.com/blog:70

It sounds like a necessary use case to me. While most people would probably not use it, that doesn't invalidate its existence. Most people would probably not touch any low level code either way.

trungaczne | 9 years ago | on: Reasons not to use (i.e., be used by) Facebook

I don't think he dismissed the original argument ("Facebook is bad for you") at all, he's just commenting on the use of bad rhetoric and how it detracts from Stallman's goal of convincing people not to use Facebook.

I don't think everyone would listen to a person flinging insult, even if their argument has some basis. I wouldn't listen to a person who rely on bad rhetoric either.

trungaczne | 9 years ago | on: Apple Pay on the Web

Sorry if this is off-topic, but I've been wondering this for a long time now: is it just me or does it seem like a lot more risky to type out your credit card info on every site that supports Stripe?

trungaczne | 9 years ago | on: Typosquatting programming language package managers

I was thinking something along the line of a mandatory hash/checksum along with the name of the software you are trying to install from a package manager. It does not have to be very long, just enough to avoid common collisions.

trungaczne | 9 years ago | on: Things Unix can do atomically (2010)

The business logic of your web application should resolve around database calls. Popular databases should already guarantee these atomicity properties for you through transactions.

trungaczne | 10 years ago | on: They Have to Be Monsters

Addiction doesn't happen by choice but rehabilitation does.

Not all ailments are the same. There's room for human intervention in addiction, both from oneself and their family. We can't always be blaming God for our misery.

trungaczne | 10 years ago | on: Ditching tmux

Thanks for the explanation. I actually just downloaded neovim to try out this feature, and I must say that with neovim-remote this is incredible. I think i3 and neovim's terminal mode is about as close as I can get to an ideal desktop setup. Having a terminal that can send arbitrary keystrokes to your editor open up endless possibilities.

trungaczne | 10 years ago | on: Ditching tmux

I have been using i3, tmux, vim's conque, ... haven't used neovim's conque yet so I can't comment on it, but here's my experience:

* i3 is fantastic for 90% of your tiling window activities: stacking a LOT of windows on the same screen without any problem, its different modes (stacked, windowed, tabbed) are ingenious, it makes it possible to use minimal number of keystrokes to navigate between any arbitrary windows. The ugly side is that once you've set up your screen with the windows you want, you probably want to keep them like that, while i3 allows you to shift your windows around it gets a bit messy (how do I group these windows together under a different layout?). Also, on Ubuntu, i3 doesn't have the nice "stuff" of other DE, the worst part is that windows don't carry over gnome themes properly and there are bugs with some applications (chrome). Also integrating an "Open another terminal in the current directory" is a headache.

* tmux is great for everything terminal related, it's not as good as i3, but it does its job well (splitting, windowing, saving sessions). It has a few interesting features that makes the move to i3 difficult, such as 1) opening another terminal in the same directory 2) scrollback with vim keys (so that you can run a command, do a reverse search on the output, and copy part of it out) and finally 3) sending the same keystroke to multiple terminals (handy when ssh'ing to multiple hosts for testing). The downsides is that tmux doesn't seem to handle the console all that well (editing in the middle of a bash command kind of breaks on my machine) and it can be annoying to make a script that works with tmux (since it breaks the process parent/child tree, this probably won't affect anyone though)

* I have tried vim's conque plugin, but the terminal freezes from time to time. I'm not sure if neovim's plugin is gonna have the same issue.

Overall I don't think there's a single piece of software that handles everything completely satisfactory yet. i've been satisfied with tmux for a long time, now making the move to i3 (it's everything I never knew I wanted), despite its several issues I think I'm gonna stick with it for a long time.

trungaczne | 10 years ago | on: On the Madness of Optimizing Compilers

Not all software need to be speed critical but all softwares benefit from being faster. Part of the reason why we can afford to be less optimal when writing software is because many libraries have already been optimised for us (and it's not uncommon for these libraries to map to C or assembly code to utilise the hardware more efficiently), ranging from serialisation libraries to crytography libraries. This is not to mention the OS that we run the software on and other tools that the software depend on (such as databases). A small compiler optimisation improvement across the entire ecosystem can have a dramatic effect.

trungaczne | 10 years ago | on: On the Madness of Optimizing Compilers

To add to this, performance is very important in certain domains.

Take game development for instance, if your code runs a bit faster that's more frames you're rendering per second. This can mean the difference between a laggy, unplayable mess and a good gaming experience on an average machine (a laptop, or a non-gaming rig).

trungaczne | 10 years ago | on: 4chan founder Chris Poole will try to fix social at Google

The title is misleading, there hasn't been any statement about what he's going to be working on.

The way I see it Poole is just a good programmer who has experience working with a large user base. I think if you ignore the controversy over his user base, he's a good addition to any engineering team.

trungaczne | 10 years ago | on: Why privacy is important, and having “nothing to hide” is irrelevant

The issue here is more or less. A kitchen knife is bound to cause less casualty than a machine gun in the hand of a psycho, hence we require licenses for gun. It's not to eliminate death through violence, it's to reduce and deter it. We don't want people to reach for the nearest machine gun whenever they have a domestic quarrel (obviously we don't want people to reach for a knife either, but I hope you get my point) or when their neighbor's dog poops in their yard.
page 2