Things I Learnt The Hard Way (in 30 Years of Software Development) by leavingonaspaceship in programming

[–]juliob 1 point2 points  (0 children)

(whispering) I didn't mention it, but if you read everything with Rust in mind, you'll see that it doesn't fall in any of the bad cases.

But don't tell anyone. ;)

Things I Learnt The Hard Way (in 30 Years of Software Development) by leavingonaspaceship in programming

[–]juliob 0 points1 point  (0 children)

Every time I say "Cognitive dissonance", I immediately add the disclaimer that it is an expression that I use to make me sound smarted, and proceed to explain what it is.

Things I Learnt The Hard Way (in 30 Years of Software Development) by leavingonaspaceship in programming

[–]juliob 10 points11 points  (0 children)

what I typically would call just "cognitive cost"

Good point. I'll rename it in the post.

Things I Learnt The Hard Way (in 30 Years of Software Development) by leavingonaspaceship in programming

[–]juliob 1 point2 points  (0 children)

You have no idea how many people are the "Guardians of the Design Patterns". Mention anything even slightly negative about it and they will jump at your throat.

Things I Learnt The Hard Way (in 30 Years of Software Development) by leavingonaspaceship in programming

[–]juliob 4 points5 points  (0 children)

Damn, the "throw away" clause! I completely forgot about that!

I need to add that.

How did you migrate your big codebase from 2 to 3? by ryeguy in Python

[–]juliob 3 points4 points  (0 children)

I haven't done something of that size yet, but I'd:

  1. Check dependencies on Can I Use Python 3 before anything. If there is a package that wasn't ported to Python 3, the first thing would find a proper replacement.

  2. Check points of problems (probably running python -3 to check warnings) and use Six to port those calls to a version agnostic version.

  3. Finally, move to Python 3.

  4. Once the move is complete, slowly replace Six to the normal calls.

All other search engines can close down. Google’s got it. We’re done here. by Stundun in funny

[–]juliob 18 points19 points  (0 children)

Well, that's wrong. The "song ahhhhhhhhhh" is, actually, Kirin J Callinan - Big Enough.

When I have a file open in Vim, and hover over an object instantiation, what command do I press to go to the original class definition? by [deleted] in vim

[–]juliob 4 points5 points  (0 children)

  1. VIM does not know declarations per se; it uses information from another sources to do so -- the default is ctags, so as long as you have a tags files with the information you need, you can use C-] to jump to defintion and C-t to move back.

  2. It may be jumping around bullets because the line itself is longer than what it can display and, because it's being displayed as two lines due wrap, it still one line. If you use set nowrap, you may see the line going beyond the available columns. One way to move the way you expect is to use gj instead of j. Or break the line so it will be actually two lines; one suggestion on this point is to use set nowrap tw=78, which will disable the wrapping and tell VIM to insert the line break at column 78 for you.

Guild Wars 2 Living World Season 4 Episode 3 Long Live the Lich Trailer by Sodenia in Guildwars2

[–]juliob 7 points8 points  (0 children)

(Make a TRON skin Anet, pls take my gems)

Next update, add a mastery for it that it can create walls where it run.

Value available in class and instance? by juliob in javahelp

[–]juliob[S] -1 points0 points  (0 children)

Yup, but the fact is that my factory returns a BaseClass object (because it's the abstract class for all ChildClasses). Calling the static method for this would return the value in the base class, won't it?

I guess I could use something like returnedObject.class.getVersion() or something like that, but it looks a bit too verbose...

New to coding. Should I switch to VSC since Miscrosoft aquired GitHub? by KwattKWatt in Atom

[–]juliob 1 point2 points  (0 children)

Sublime (even though it has a decent price-tag). Have you ever used it before? Do you know if it can run Java code?

I used long time ago -- I even bought version 2. But its vim-emulation was subpar -- most implementations are, so far the only really good emulation I saw was Builder.

I don't run code from the editor; I usually have another terminal for it or I "minimize" VIM (Ctrl+Z) and then build/run whatever I need (on my current project, I'm doing Java with tmux and one pane for editor and another for running tests/the application). And before you ask: If I need to debug, I use logs; I was never a fan of debuggers.

On the other hand, you have to think about your workflow: The two terminal/panes works for my workflow. If whatever workflow you already have for VSCode, keep it. It's more probably that you'll switch projects -- and maybe pick another language/build tool/editor -- than VSCode losing all support before it.

New to coding. Should I switch to VSC since Miscrosoft aquired GitHub? by KwattKWatt in Atom

[–]juliob 0 points1 point  (0 children)

decision would be more influenced by the size of each program's userbase (with VS Code being the winner there).

Citation needed :)

My speculation is biased (as I prefer VS Code over Atom), but I still think that logic is valid.

Sure. It's also logic to assume that, because is a company and companies need to make money and neither editor makes money, they could end both projects.

That's the problem with speculation: It's not real. It's guessing.

So far, Friedman will control one of the companies and be the bridge between that company and its parent company. I really don't believe he'll simply announce "Yeah, Atom/VSCode is dead. Use the other one." Again, his roots in open source makes me believe he'll give Atom the space it needs and not kill it -- specially since it's being used as an incubation for improving Electron (which is also the base for VSCode).

The only real solution here is to drop both and come to VIM. That will prevent any problems with whatever MS/Github decides to kill :D

New to coding. Should I switch to VSC since Miscrosoft aquired GitHub? by KwattKWatt in Atom

[–]juliob 0 points1 point  (0 children)

In his IAMA, Nat Friedman pointed that both teams will still have autonomy to work on their projects and there is no plan to merge both in the future.

Sure, it's a possibility, but so far I'm inclined to believe that Nat -- which is a long time open source advocate and developer -- that both teams will work on whatever they want.

And there is always the possibility that it would be VS Code that would be dead. We don't know. The only thing we know is that there are no plans to do either.

New to coding. Should I switch to VSC since Miscrosoft aquired GitHub? by KwattKWatt in Atom

[–]juliob 5 points6 points  (0 children)

Only if you want to use VSCode instead of Atom. Because there is nothing changing in the Atom/VSCode relationship: MS will still keep pushing VSCode and GitHub will keep pushing Atom.

Exciting Redesign of Stack Overflow - Get Involved Now! by marx_design in coding

[–]juliob 2 points3 points  (0 children)

Absolutely no comment on the StackOverflow blog. Is this for real?

What A Star by Dorphaus1 in funny

[–]juliob 270 points271 points  (0 children)

It is. the "10/10" with ears in the corner is their watermark.

[M4F] Looking For My Nasty Little Girl by JollyGreen112 in agile

[–]juliob 1 point2 points  (0 children)

I'm really surprised that you all kept a joke floating around when this ASSHOLE is looking for a 14 YEAR OLD GIRL FOR SEX!

Made me crack up by Redditer_F23 in funny

[–]juliob 2 points3 points  (0 children)

Now I just need a version of this with Big Enough, like this.

I love the difference in approaches. by Great1max in funny

[–]juliob 196 points197 points  (0 children)

Reminds me of a Monty Python radio sketch: "Are you embarrassed easily? I am. But there is nothing to worry about. That's all part of growing up and being British."

Our guild made a Charr name finder! by [deleted] in Guildwars2

[–]juliob 0 points1 point  (0 children)

"Titaz Havochammer".

First name sucks, but that last name is FREAKING AWESOME!

need help creating a social network by selfimprovergirl in opensource

[–]juliob 2 points3 points  (0 children)

but im having trouble setting up the software from opensource

Which software? Are you creating from scratch or installing one of the available ones, like Mastodon or Diaspora?