Setting up a new MacBook Pro and heavily debating running a Windows Server VM instead of installing my full stack in OS X.
Posts made by creayt
-
RE: What Are You Doing Right Now
-
RE: What does your desk look like?
@tonyshowoff @thecreativeone91
Good to know, thanks.
I actually use that box as a local web/app/database server atop a Raid 0 of SSDs, so if it dies it dies anyway.
-
RE: Unitrends Why are you still using flash?
@thecreativeone91 said:
As the topic says. I love Unitrends But come on, why are you still using flash for your interface? We need it gone. Make a new interface that is not flash based and doesn't need any browser plugins. Are there any plans for this? This is my only major grip with Unitrends.
Flash is baked into Chrome, so it might "just work" in it if you have that installed.
-
RE: What does your desk look like?
I suppose this counts as part of my desk too, even though it's in a closet.
-
RE: What does your desk look like?
Found a pic of my previous desk setup! It's a NextDesk automated sit/stand Terra ( later converted into an Air ).
Before:
After:
-
RE: What does your desk look like?
@thecreativeone91 said:
Shouldn't all this programing stuff be split off into a topic in the developer discussions? @Minion-Queen Can this be done?
Don't worry, I think it's pretty much over.
-
RE: What does your desk look like?
@tonyshowoff said:
Well, yes, I mean having to defend the use of an IDE is sort of unusual and I can only presume that someone who needed justification for standardised and IDE enforced code organisation hadn't dealt with a large project.
By almost all definitions Sublime Text, when writing code for the WEB, qualifies as an IDE. The only real deficit someone that was less-informed could argue is that it doesn't have integrated debugging but guess what? You wouldn't want it to. The debugging of cutting edge web apps is actually best done, you guessed it, on the clients they run on: Web browsers ( and their heavily-integrated debugging toolsets, this is extremely important because different things happen in different browsers ). So in my opinion it's the perfect IDE, functionally at least.
And you edit that only in Sublime Text know what ever file does, and where every class is, etc?
Yes. Unlike some other options ( PHP ), with ColdFusion you don't have to hunt down, scavenger through a ton of libraries and third party classes and plug them into your app, it can do a gigantor quantity of those things out of the box, because they're architected into the product itself and dead simple to utilize.
That's part of it, yes. But the organisation is important because it helps with refactoring, naming, maintenance, etc. Your perspective seems to be based on much smaller projects, even if you seem to be dealing with an obscenely large one. Our ERP is up to about 2 million lines and it's only 4,500 files, including HTML templates.
Just flat out inaccurate. "The organization" is something that you determine as an author or team, independent of any IDE or editor. You can and will achieve an IDENTICAL CODE ORGANIZATION whether in Sublime or Web Storm because ultimately you decide how to organize each code asset and what to name it. This is a silly argument because you keep misusing "organization" to mean "navigation".
I doubt that, I can ctrl + click any class or anything and find it's origin, or right click and find all usages of it anywhere, and the context, or do the same with alt + b if I don't want to leave my keyboard, and since all the code is indexed, it barely takes a second despite 2 million lines of code in this ERP.
Yeah, and in the time it takes you to execute your mouse travel to the spot you have to click on I've already fired up the file I want with the keyboard, so if that's your primary mode of code navigation then I probably navigate substantially faster than you depending on where your mouse cursor was at any point in time. The laundry list of competitive advantages of using Sublime over your favorite "IDE" are stacking up pretty quickly here
I never said it wasn't a great editor, I said it was better than Notepad++ earlier.
My point was you're trying to polarize Sublime and WebStorm based on the classification of editor versus IDE, but functionally they do almost all of the same things, and from your comments it just sounds like you don't comprehend that, and see it as some kind of simple text editor that colorizes your code, which is wildly misinformed.
This is from the perspective of someone who hasn't worked on a team with probably more than two people and really doesn't know what a large project is, at least that's my perception. This is sort of silly, honestly, the idea you could know hundreds or thousands of classes, especially if you work on multiple large projects. Not only that, why spend the extra effort to do that in the first place if you don't have to?
I've worked on a team of 7, but you'll rarely find a ColdFusion team bigger than 4 or so because of how productive it makes you. 1 highly-skilled and experienced CF developer can often do the work of multiple highly-skilled and experienced PHP developers, that's just a byproduct of the nature of the language, its feature set, and the methodologies and workflows necessary to achieve identical end results with each option. I'm sorry you had to find out like this.
IRL enterprise doesn't work this way, sorry, it just doesn't, and it can't, otherwise large projects would never get done if everyone on the team had to create a special bond with all of the code. Personal projects that does happen though.
It can and does, depending on the diversity of experience and skill within any given team, and the cumulative need of any given team to rely on 3rd party code and libraries, and the nature of the team's management and coordination, best practice enforcement, and a host of other factors. It sounds like large-scale PHP products are a lot more convoluted and unwieldy ( Java ones definitely are, but I didn't imagine the problem being as extreme w/ PHP, sounds like it is ), which in turn makes relying on some of the code-navigation features of a tool like JetBrains' a necessary evil. With 3rd party ColdFusion resources, you're not having to hop in and work with internal classes, you throw the library into your project, and work with it like a black box, using its documentation as an instruction manual and leveraging its formal functionality according to plan instead of sogging through the swamp of its internals manually, which is the experience you semi-describe in your stories about code navigation ( referred to as "code organization" in your posts ). In summary, the better the synchronicity and coordination of any given team the less necessary stuff like you're referring to will be, and the less difficult it'll be to find what you're looking for even in large projects.
You seem to believe that structure and names are meaningless beyond what you feel like
Ok, you're definitely miscomprehending my posts, that's the exact opposite of what I said. Structure and naming are EVERYTHING and are what, when done correctly and with uniform and standardized convention, can TOTALLY EXEMPT YOU from the having to rely on your IDE indexing and babysitting your finding of where any given chunk of code originates from. So no, it's not "what you feel like", it's "what is a solid naming and structural strategy that'll let me know where any given piece of code I may need to work with or edit is at any given time. I promise, once you learn about and adopt proper conventions it'll make your projects so, so much quicker to author and not to mention maintain. You can thank me later
It's just sort of weird to defend using an IDE and have it called training wheels, that's certainly not a professional perspective on development, and is basically out of line with probably much of the professional programming world; especially in team environments.
Again mischaracterizing my posts. I was asking you what you personally felt like your chosen IDE offered you over what I stated was my preferred code authoring platform, Sublime. I didn't say "why are IDEs, generally speaking, better for certain types of coding tasks than basic text editors" ( even though Sublime Text isn't one ), which is how it seems like you keep trying to paint my question. The training wheels comment was SPECIFICALLY ABOUT RELYING ON YOUR CHOSEN IDE'S ABILITY TO LET YOU NAVIGATE TO OTHER FILES BY CLICKING SMALL NODES OF CODE IN A CURRENT FILE. Please read the posts again if you still disagree.
You can probably create a short cut for that, you can for damn near everything else. I suggest using it longer than a day, the problem is it takes time to really understand how to use it properly to get everything out of it, because you can approach it like a regular text editor and get no benefits at all; I've seen this happen.
Maybe so, but at this point, because I'm already at a point where my team's projects adhere to well-enforced conventions and best practices, I don't find myself struggling in a pool of code to figure out where some cryptic function or class came from, and you, as an experienced champion of your favorite IDE, still haven't really listed one compelling reason to use it over Sublime, at least for people that aren't working on big, klugdy, PHP monsters.
That's really weird, my specs are almost the same and I don't experience that sort of latency. Sometimes on larger files, first view, there's a lag as it renders in the background, but that's substantially large files, and that's why the single responsibility principle is your friend.
I bet you're seeing it you just aren't as sensitive to it as I am. It's not huge it's just perceptible. With Sublime, within 30 milliseconds of your second click to open a file it's colorized with an active cursor. In WebStorm, you've got at least a few hundred milliseconds before the file is ready to go. Probably another byproduct of the Java as-an-interface mistake, but who knows. I'm kind of ADD about computers and performance tends to bug me way more than most people, even if not especially other developers. It's not a good or bad thing, just how my brain works.
-
RE: What does your desk look like?
@tonyshowoff said:
I used to use mostly plain text editors, I didn't even like highlighting before I started using PhpStorm. After I got into the groove it's pretty crazy how much time I save and I don't have to take the same sort of short cuts which lead to bad practices/breaking standards.
Like your big long post, this just reinforces to me that you don't really know what you're talking about, and have no idea what Sublime can actually do.
I actually had to remap a few of the preset short cut keys as well, some of the more useful features had some of the most obscure ones, but they're easy to change in the settings.
Right, so it's a struggle that you have to bandaid to serve its purpose, :D. Just moderni"s"e dude, find a legit IDE like Sublime Text
-
RE: What does your desk look like?
Ok I lied. It'd be too detrimental to productivity to hop in and try to wield WebStorm for a real day's work, so I'll play around with it more after hours. At this point it's looking like it might be helpful for big, legacy, unwieldy PHP or Java projects, but can't really handle what I'd need it to do as a code authoring platform. I hope I'm wrong, but even things like my additioanl mouse button mapping shortcuts aren't working, and those are standardized across most modern apps ( like Ctrl + W to close a file, I mean yikes JetBrains, get with the times ). I'll write more when I have a chance to really dig in.
-
RE: What does your desk look like?
Wow, there's a tangible delay between when you open a file and when the colorization and text-modification renders. That feels gross! And I'm on a 2015 3.9 Ghz quad w/ a PCIe SSD and 16GB. I'm not sure I could live with performance like this, it's slowing me down within a few minutes of firing it up.
Also can't very obviously spot any way to repartition your editor space across multiple files and configurations, which you can do instantly w/ Sublime in order to go from using your full width for 1-2 files to splitting it across up to 4 horizontally, or gridding them, all w/ keyboard shortcuts. So far I've had to right click the file tabs and chose split vert/horizontally, which feels cumbersome and costs more time, especially when you want to go from looking at a few, to looking at some extra related code for a few moments, and then back to your original position. Time is money!
-
RE: What does your desk look like?
Is WebStorm written in Java? The choppy and awkward interface kind of feels like it was. If so that's very unfortunate. I can definitely feel a usability difference already ( even palpable in things like the clumsiness of the file explorer panel ). Also missing the granular font-rendering and aliasing controls off the bat, and it's sad that you can't shrink and magnify the font size w/ Ctrl +/- like in a browser.
I'll use it for a day, maybe it'll redeem itself. Initial impression is "missing very important features, awkward to use, and unattractive."
-
RE: What does your desk look like?
@tonyshowoff said:
I think you're missing having worked on extremely large projects, for example a large enterprise project can be thousands of files. Being able to ctrl + click a class, function, method and it take me to exactly where it is, or easily search for part of a file name, class name, or something else, is a powerful thing that allows me to better and more easily organise my code is functionality products like PhpStorm offer that text editors don't, aside from obvious things like proper hinting, type recognition, etc.
Well isn't that presumptuous. The project I'm working on right now is massive, and doing a quick check it shows that it has 15,737 code files, not including front-end resources like images or video. From what you were saying I was right, and you were talking about something totally different, code navigation.
But in reality I probably navigate my code as quickly or more quickly than you do. Sublime text lets you search through file, class, and function names with a simple keystroke and open other files right up to where you want them. It sounds like you're making these giant assumptions about Sublime Text based on your perception of its class of application, throwing it into a lump with "text editors" in your mind, when in reality it can be extended to do endless things in the same way that any "formal IDE" ( like Eclipse ) can. It has version control integration, code insight and analysis, and a host of other empowering features.
I personally see having to rely on your IDE to help you figure out where other code lives as the digital equivalent of a training wheel. It's better to deeply understand your code, strategize its organization in a way that that problem is automatically solved and that you know the exact location of every piece of code by convention, and could see it being useful when you take over a large project from someone else and have to learn it quickly by exploration using that method, although in all honesty that'd be just as easy to do using Sublime's keystroke navigation features.
The organisation of the code itself depends on what, if any, standard you're following, and so on, and it's obviously still easy to also badly organise your projects with something like PhpStorm, but being able to find things in a second (or less) in an indexed system and also properly name and organise them (things like PhpStorm will warn you if the naming and/or directory structure is off scheme) are vastly superior to having to search all files for my class, method, etc or go manually find the file with the class I'm looking for, and also cull results which are similar matches, and do it all manually.
So yes, it's organised depending on how you organise it, but that doesn't mean you did a good job. In the same way just because one writes code doesn't make it good, just because one wrote it.
Right, which is why your IDE has nothing to do with your code organization, which was my point.
-
RE: What does your desk look like?
@tonyshowoff said:
@creayt Oh, no I wasn't, cfScript is vastly better. Admittedly my experience with CF is about 8 or so years out of date, but due to licensing, availability, and other issues I never consider it really. Full disclosure, I've always hated XML as well, and we use JSON or BSON for all of our transport/storage stuff in house where possible over XML. You may love ColdFusion, but I certainly do not, and I think that's fine.
I don't think anyone uses XML for almost anything in 2015. JSON won for most intents and purposes.
-
RE: What does your desk look like?
@tonyshowoff said:
@creayt said:
Ummmm, what? Better organization of code? What does that sentence mean to you?
Easier, rather, it puts you in a position to more easily organise things, because things are easier to follow and find. Proper organisation of larger projects is highly important, especially when you consider things like separation of concerns and so forth. Text editors like Sublime or Notepad++ don't really help with that at all.
How your code is organized depends on how you organize it, into files and folders. What am I missing here?
-
RE: What does your desk look like?
@tonyshowoff said:
This isn't the worst thing I've ever seen, but again feels too XML-like for my taste, and in fact aside from return x, this whole thing is XML parse-able; though I imagine less strict XML engines would allow an argument without value.
Right, I think most people would probably opt for the script-based syntax for a class, but the point was it doesn't encourage one thing or another, you can do everything you want to in either of the two ways, the art becomes prudently judging when to use which:
class { function doSomething( a ){ return x; } }
-
RE: What does your desk look like?
@tonyshowoff said:
You can format code by doing five ~ before and after the text. Anyway, this isn't the worst thing I've ever seen, but again feels too XML-like for my taste, and in fact aside from return x, this whole thing is XML parse-able; though I imagine less strict XML engines would allow an argument without value.
That'll come in handy, thanks!
-
RE: What does your desk look like?
@tonyshowoff said:
Better flying machines. When it comes to flying there's speed, height, manoeuvrability, fuel economy, and what you can carry, and planes are better at all those things except manoeuvrability.
See, I just don't think you can defend that. They have higher top speed at high altitudes, but for the "speed" of getting you from point A to point B where the distance between them is less than say half of the average width of any state in America, helicopters are way better. With an airplane you have to board, take off, find somewhere to land, travel probably by car to wherever you're going, often taking a lot longer to get you to the same spot. They're better at long-distance travel, for sure, but who cares? That's something you want to do some of the time. We can stop talking about it, but it's my entire point w/ the script versus tag based syntax. For generating dynamic HTML and integrating w/ HTML, which is, you know, only the most important and ubiquitous markup language in the world and responsible for the greatest innovation of our time, the tag-based language is much, much, much, much, much better.
My point was it seems like it encourages you not to though.
Probably just because you haven't worked with it. It doesn't encourage one thing or another. You can easily, fluidly write full classes, inheritance and all, w/ the tag option. And it works extremely well, and can be written about as quickly as script version thanks to the beauty of code insight and completion.
It's hard to visualise what that'd look like.
Dead simple ( pseudo
<class extends="parentClass"> <properties /> <method name="doSomething"> <argument name="a" type="b" default="c" /> <return x /> </method> </class>
-
RE: What does your desk look like?
@tonyshowoff said:
Yes, PHP has a lot of poorly named internal functions and in many cases parameter order that doesn't match logically with similar functions. This issue isn't ignored, and there are plans to fix it and primarily replace things with internal classes, but it's not an easy road. I certainly find it really irritating, but IDEs help, and I know what you mean about having to check the docs a lot or google things, but I rarely do anymore thanks to PhpStorm.
Sounds awesome and like PHP is about to get a lot better. I bet you're excited.
-
RE: What does your desk look like?
@tonyshowoff said:
Unfortunately I don't have the tools to run any sort of tests, but I based on it on the fact that CF is interpreted on top of Java, and it's part of the same reason that Ruby is slower than PHP. Also I wasn't aware of any op or byte code caching. I tried to find some done online, but they were all either way too old or seemed biased either toward PHP or CF..
ColdFusion COMPILES into Java, and is extreeeeeeeeemely fast. You learn something every day
-
RE: What does your desk look like?
@tonyshowoff said:
@creayt said:
No, they're not. Airplanes are fantastic for transporting mass quantities of people across the globe, but they're terrible for maneuvering into tight spots and shuttling someone that's dying to a hospital, for example. Different problems, I promise.
Of course, and that's what I said, if you want to measure them differently, but as far as flying machines go, if we measure based on overall qualities planes are better. If we break it down into "which is better for this specific task" then things change, and there are situations where not even helicopters can get in, due to powerlines, close buildings, etc.
Better for what? Some things, not others, do you get what I mean?
You can do separation of concerns either way. The tag-based version fully supports OO programming. You can use one or the other for specific use cases for the advantages and/or weaknesses of each option specific to that particular problem. I fundamentally disagree with you that airplanes are better than helicopters. I think helicopters are better and full of more individual utility overall, but airplanes are better at some things, and extremely easy to pilot. I've never driven a helicopter, so I can't speak to that, but I imagine it's much more difficult.