Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
irahul
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
irahul
14y ago
> Wouldn't you expect people posting Show HN posts to know what happens in the comment threads of all of them? It happens all the time and posters are well aware of the behavior. Neither of these mean it's desirable to put down everyone
242.
▲
by
irahul
14y ago
> These are well worth tuning into. If I do a "Show HN", I will read each and every comment and think about it. But that's not the point of contention here. The point is you can be honest, unfiltered, upset and can still not be an assho
243.
▲
by
irahul
14y ago
> But saying that people don't have the right to do otherwise I should have worded it differently - I didn't mean right as in legal definition of rights(which isn't applicable here anyway) Let's just rephrase it as someone asking for
244.
▲
by
irahul
14y ago
> the right definitely exists What right? If you are talking about free speech, that isn't applicable here. Owners of site can allow or disallow expressions on their discretion. When I said right , I meant the typical defense - "They p
245.
▲
by
irahul
14y ago
Some of them have been thought out - "how I mapped caps lock" by yakshaver, "derailed by a pedantic comment" by wellactually(I suffer from this; working on it), "apple's downfall" by armchairceo; the comment puns(stylish, worn-out, nebolous
246.
▲
by
irahul
14y ago
And as Go lacks both exceptions and Maybe/Option type, chaining or computation expressions will look more clumsy. I am still a Go beginner and am wondering if idiomatic Go designs programs in a different way to make up for this.
247.
▲
by
irahul
14y ago
> NullPointerExceptions are not checked exceptions in most languages, and therefore, you do not see people surrounding chained method calls with potentially nullable intermediate results with try/catch blocks, it's exceedingly rare. I w
248.
▲
by
irahul
14y ago
Agreed on both points. I was mostly pointing out that Maybe functionality will need some work from developer side, but can be easily done if you want it that way. > The compiler ensures that you don't forget to check the null case when
249.
▲
by
irahul
14y ago
> "Maybe Monad" approach of functional languages and Scala, combined with pattern matching in the language tends to look cleaner, e.g. It looks the same to me. case maybeValue of Just value -> ... Nothing ->
250.
▲
by
irahul
14y ago
> A large amount of perl code contains shorcuts - like $^p or %#p (not real perl patterns but I hope you get the point). These patterns are ungooglable and hard to remember. Assuming this is a real problem for you, and you aren't just l
251.
▲
by
irahul
14y ago
> The prompt style I use was invented, IIRC, by one of the Bell Labs Unix guys in the early days of windowing terminals. : text; My prompt is two lines. The first line is info line followed by $ prompt on the next line. If I were so inc
252.
▲
by
irahul
14y ago
> tmux turns scrollback from "pretty simple" on a stock xterm or other terminal, to "absolute goddamn bullshit" tmux(and screen) scrollback is absolutely fantastic. Navigate with keyboard(and not just page-up page-down), have vim or ema
253.
▲
by
irahul
14y ago
> I am not saying that it is impossible. And I am saying far from impossible, it's quite convenient. If I am using rails, I will plugin devise, couple it with can-can and be done with authorization and authentication. Django makes enoug
254.
▲
by
irahul
14y ago
> I use page-up / page-down with I use ctrl-r because it is easier to type. > experience becomes crappy when there is no readline support, e.g. everything on Windows, sqlplus, db2, etc. If you have rlwrap, you can generally do `rlw
255.
▲
by
irahul
14y ago
> because you are going to rewrite most the framework functionality anyways. What part of Rails or Django do you have to rewrite because you are building a CMS?
256.
▲
by
irahul
14y ago
> My prompt is usually the system default, because I work across multiple systems, Unless you get new systems everyday, multiple systems just mean copying ssh keys followed by scp of dotfiles. > some of which don't even have bash (l
257.
▲
by
irahul
14y ago
> So much junk in a prompt... I clicked on the link to Steve Losh's page and had a heck of a time figuring out what commands he had actually typed The point of configuring your prompt is it has to be easy for you to read. Whether someon
258.
▲
by
irahul
14y ago
> You don't do much work in large corporations I guess. I used to work for one. I still do but now I use my own laptop. But that's not the point. The point is if you have a machine, you don't need special privileges to write to your own
259.
▲
by
irahul
14y ago
> Its not so much about others as I don't want to spend 3 hours setting up e very machine I touch, Most of the configurations just need to be copied. Just copy your .vim folder and you are setup with everything. Copy your .screenrc and
260.
▲
by
irahul
14y ago
> If I combine tmux with urxvt, I can have 3 tmux tabs in a urxvt tab, and another 3 tmux tabs in second urxvt tab, and I can switch context just by pressit shift+left/right, I can also easily realign context with ctrl+left/right. I see
261.
▲
by
irahul
14y ago
Whatever the terminal you are using, configure it so that it doesn't eat your alt/ctrl key and then learn readline bindings.
262.
▲
by
irahul
14y ago
> use tmux for multiple screens and ditch that xorg garbage. tmux for multiple screens instead of Xorg garbage? I think you don't know what Xorg is. That doesn't make any sense. If you are referring to the screenshot, that's gnome-termi
263.
▲
by
irahul
14y ago
> using only tmux to manage them is painful and ugly: How is using tmux to manage them is painful?
264.
▲
by
irahul
14y ago
Say I am working on a rails project. I need vim open with root; I need rails server, console, dbconsole; I need one window at project root for misc task; and I prefer not to navigate with the mouse to different tabs. Personally, I vastly pr
265.
▲
by
irahul
14y ago
> losing my config's was too painful. How do you lose your configs? Store them in github/dropbox and sync. > It also makes me more portable and productive when I am using a new or someone else's machine. With dedicated work and per
266.
▲
by
irahul
14y ago
> Dude when I install Fedora it comes with less power management options because of the _WINDOW MANAGER_!!! What do you mean by "power management" here? I am having a hard time figuring out what has window manager got to do with power m
267.
▲
by
irahul
14y ago
> I just yank the power and reboot. :) I was using Ubuntu with docking station about 2 years back and it was having troubles getting in and out of the docking station. My solution was to manually xrandr it. This should be helpful if you
268.
▲
by
irahul
14y ago
It's provided by bsdmailutils. $ dpkg -S /usr/share/calendar/calendar.lotr bsdmainutils: /usr/share/calendar/calendar.lotr https://launchpad.net/ubuntu/quantal/i386/bsdmainutils
269.
▲
by
irahul
14y ago
> Some things (particularly components like trackpads and Wi-Fi chips) take some fiddling to get working. Trackpads and wi-fi has been working for me for a long time(not implying this isn't a problem for many people), but what drives me
270.
▲
by
irahul
14y ago
You should submit that to HN. I already know typing, but had I not, I would have definitely used it.
More ›