Having recently entered the world of freelancing, I realized that I would probably need a portfolio site. While that’s a natural thing for a Creative… via Tumblr Case Study: Dominic Berzins’ Single Page Portfolio Site
0 Comments
We all just love ternaries around here. So much. A powerful form of code golf, they can clarify and they can confound, but usually it’s just confounding. Christopher sends us this example, saying, “This is an accurate indicator of the rest of the code.”
Representative indeed, and there’s a lot packed into this beyond the ternary abuse. First off, our standard for being Of course, the root WTF is trying to set responsive breakpoints in JavaScript, when CSS has a rich set of features to handle that. Then again, they’re apparently using a custom Which brings us back around to the ternary abuse. Maybe the code is just plain bad. //thedailywtf.com/images/highlight/highlight.pack.js
[Advertisement]
Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!
via Tumblr Representative Line: Tern Your View The Hallway Track at DockerCon is an innovative space designed to help facilitate those valuable conversations that come from chance hallway encounters. Instead of leaving it to chance, we’ve partnered with e180 to provide a platform that helps you find like-minded people to meet and learn from, discussing topics you are both interested in. The Hallway Track is open Monday through Thursday, and it’s best to schedule your meetings in advance. Register for DockerCon and then follow these steps to log in and start scheduling your Hallway Tracks today:
The Hallway Track is your opportunity to meet and share knowledge with other attendees, Docker Staff, Speakers, and Docker Captains. Register for DockerCon today and look out for email instructions to log into the Hallway Track platform. Arriving for early registration before the Welcome Reception on Monday? Hallway Track is open from 12:00 – 7:30pm; make the most of your time and plan a full day of meetings! #DockerCon is only 2 weeks away! Schedule your Hallway Tracks today! The post The Hallway Track Is Open For Scheduling appeared first on Docker Blog. The Hallway Track Is Open For Scheduling syndicated from https://koresol.blogspot.com/ via Tumblr The Hallway Track Is Open For Scheduling Today, any sort of data access layer we build is going to be rooted in some sort of object-oriented design. It might be a full ORM, it might be an object-store database, it might be one of any number of kinds of database mapping tool. What we usually don’t do anymore is get a resultset with no type information, where we have to invoke the proper “ I bring this up because once upon a time, this was pretty standard stuff. Result sets and data readers were just how you talked to databases. It’s old fashioned, but not wrong. Russell F recently had to add some new fields to some code written in that style. This was wrong. public WorkOrderCustomer(SqlDataReader dr) { WorkOrderCustomer_Num = Convert.ToInt32(dr["WorkOrderCustomer_Num"].ToString()); WorkOrder_Num = Convert.ToInt32(dr["WorkOrder_Num"].ToString()); CustomerStatusFlag_Num = Convert.ToByte(dr["CustomerStatusFlag_Num"].ToString()); Cust_FirstName = DBNull.Value.Equals(dr["Cust_FirstName"]) ? (string)null : Convert.ToString(dr["Cust_FirstName"].ToString()); Cust_LastName = DBNull.Value.Equals(dr["Cust_LastName"]) ? (string)null : Convert.ToString(dr["Cust_LastName"].ToString()); Cust_Phone = DBNull.Value.Equals(dr["Cust_Phone"]) ? (string)null : Convert.ToString(dr["Cust_Phone"].ToString()); Cust_PhoneCarrier_Num = DBNull.Value.Equals(dr["Cust_PhoneCarrier_Num"]) ? (short?)null : Convert.ToInt16(dr["Cust_PhoneCarrier_Num"].ToString()); Cust_Email = DBNull.Value.Equals(dr["Cust_Email"]) ? (string)null : Convert.ToString(dr["Cust_Email"].ToString()); Account_Num = DBNull.Value.Equals(dr["Account_Num"]) ? (int?)null : Convert.ToInt32(dr["Account_Num"].ToString()); ChargeCode_Num = DBNull.Value.Equals(dr["ChargeCode_Num"]) ? (short?)null : Convert.ToInt16(dr["ChargeCode_Num"].ToString()); CompanyName = DBNull.Value.Equals(dr["CompanyName"]) ? (string)null : Convert.ToString(dr["CompanyName"].ToString()); CompanyAddress = DBNull.Value.Equals(dr["CompanyAddress"]) ? (string)null : Convert.ToString(dr["CompanyAddress"].ToString()); CompanyCity = DBNull.Value.Equals(dr["CompanyCity"]) ? (string)null : Convert.ToString(dr["CompanyCity"].ToString()); CompanyState = DBNull.Value.Equals(dr["CompanyState"]) ? (string)null : Convert.ToString(dr["CompanyState"].ToString()); CompanyZipcode = DBNull.Value.Equals(dr["CompanyZipcode"]) ? (string)null : Convert.ToString(dr["CompanyZipcode"].ToString()); CompanyPhone = DBNull.Value.Equals(dr["CompanyPhone"]) ? (string)null : Convert.ToString(dr["CompanyPhone"].ToString()); DriverName = DBNull.Value.Equals(dr["DriverName"]) ? (string)null : Convert.ToString(dr["DriverName"].ToString()); LeasingCompany = DBNull.Value.Equals(dr["LeasingCompany"]) ? (string)null : Convert.ToString(dr["LeasingCompany"].ToString()); Fleet_Num = DBNull.Value.Equals(dr["Fleet_Num"]) ? (string)null : Convert.ToString(dr["Fleet_Num"].ToString()); Unit_Num = DBNull.Value.Equals(dr["Unit_Num"]) ? (string)null : Convert.ToString(dr["Unit_Num"].ToString()); ShipToDealerAccount_Num = DBNull.Value.Equals(dr["ShipToDealerAccount_Num"]) ? (string)null : Convert.ToString(dr["ShipToDealerAccount_Num"].ToString()); DeliveryReceipt_Num = DBNull.Value.Equals(dr["DeliveryReceipt_Num"]) ? (string)null : Convert.ToString(dr["DeliveryReceipt_Num"].ToString()); CompanyVendor_Num = DBNull.Value.Equals(dr["CompanyVendor_Num"]) ? (int?)null : Convert.ToInt32(dr["CompanyVendor_Num"].ToString()); Is_CDP_Account = DBNull.Value.Equals(dr["Is_CDP_Account"]) ? (bool?)null : Convert.ToBoolean(dr["Is_CDP_Account"].ToString()); IsNationalAccount = DBNull.Value.Equals(dr["IsNationalAccount"]) ? (bool?)null : Convert.ToBoolean(dr["IsNationalAccount"].ToString()); HasZZPermit = DBNull.Value.Equals(dr["HasZZPermit"]) ? (bool?)null : Convert.ToBoolean(dr["HasZZPermit"].ToString()); Cust_Address = dr["Cust_Address"] as string; Cust_City = dr["Cust_City"] as string; Cust_State = dr["Cust_State"] as string; Cust_Zip = dr["Cust_Zip"] as string; CustTempMaster_Num = dr["CustTempMaster_Num"] as int?; }
Of course, since you do know the types of the DB columns, you could also use a more traditional cast syntax, like But that’s not what the original developer did. They grabbed every field, converted it to a string, and then used a That’s the sort of code that makes you sigh and step away from your desk for a few minutes, because it’s just so exhausting to see. //thedailywtf.com/images/highlight/highlight.pack.js
[Advertisement]
ProGet supports your applications, Docker containers, and third-party packages, allowing you to enforce quality standards across all components. Download and see how!
via Tumblr CodeSOD: Typing for Types DockerCon brings industry leaders and experts of the container world to one event where they share their knowledge, experience and guidance. This year is no different. For the next few weeks, we’re going to highlight a few of our amazing speakers and the talks they will be leading. In this third highlight, we have several speakers who will be sharing their real world Docker use cases and learnings. These are the folks who have already put things in place and are here to share and inspire. Interested in transforming legacy applications? Or maybe large scale data analytics is your focus. Maybe you’re a software vendor – or have plans to be – and want to learn about containerizing your application. To learn more, register now to attend the session featuring real Docker users like you. In case you missed them, check out our previous speaker highlights: Transforming a 15+ Year Old Semiconductor Manufacturing EnvironmentMore on Jeanie’s session here.
CMD and Conquer: Containerizing the MonolithMore on Tony and Nelson’s session here.
Towards Reproducible Climate ResearchMore on Aparna’s session here.
Modern Orchestrated IT for Enterprise CMS: A Case Study for Wiley Education ServicesLearn more about Jesse and Blaine’s session here.
Thank you to all our presenters and see you at DockerCon! #DockerCon sneak peek: A chat with real world Docker users creating breakout sessions. Register for @DockerCon 2019 today. @blainehelmick @jcantosz Call to Action
The post From Manufacturing to Climate Analytics: DockerCon speakers on real-world use cases appeared first on Docker Blog. From Manufacturing to Climate Analytics: DockerCon speakers on real-world use cases syndicated from https://koresol.blogspot.com/ via Tumblr From Manufacturing to Climate Analytics: DockerCon speakers on real-world use cases Round of applause to Green Chameleon for winning Site of the Month March with Our 2018: Year in Review, here they share the processes of creating their… via Tumblr 2018: Year in Review by Green Chameleon Wins Site of the Month March “Does this mean that Toyota believes that hybrid owners are fundamentally unhappy with their cars?” writes Thom. Brian K. wrote, “When I clicked on a link on our intranet for a PowerPoint presentation, clearly Microsoft thought that perfectly valid server certificates are suspicious and asked me to confirm.” “Make? Model? Year? Bah…who needs them? ALL FALSE!” Walt S. writes. <pAlex B. wrote, “My friend and I were at a mall in Los Angeles and he happened to use an old parking ticket from 6 months ago proving that the machine never forgets!” “The lesson to learn here is ‘Pick and language and just STICK with it!!’”Job writes. Timothy wrote, “I didn’t catch the name tag, but with a name like $driverName$, you could say he had his career path set from birth.” </p
[Advertisement]
Continuously monitor your servers for configuration changes, and report when there’s configuration drift. Get started with Otter today!
via Tumblr Error’d: Are You Not Satisfied? Hello user , we are delighted to present this article rounding up 2019’s web design trends in a very special way. You can read more about all the… via Tumblr Web Design Trends 2019: Voice Interfaces, Image Search, Fortnite, Alexa and other crazy things that are rocking our world. Kids these days have their flexboxes and their ems and their position absolutes. In the olden days of HTML, we arranged everything with
It certainly gives new meaning to the term “whitespace”. The mix of characters implies that either the person responsible deeply understood how proportional fonts work in terms of sizing, or they absolutely didn’t. They almost certainly didn’t. Then again, this kept all the fields aligned on all the browsers anyone had tested with, so maybe they did? //thedailywtf.com/images/highlight/highlight.pack.js
[Advertisement]
Forget logs. Next time you’re struggling to replicate error, crash and performance issues in your apps – Think Raygun! Installs in minutes. Learn more.
via Tumblr CodeSOD: Oooooooooooooo no Talk: Redefining Reality with Geoffrey Lillemon Creative Director of WKs Department of New Realities4/10/2019 Geoffrey Lillemon – one of the Creative Directors of Wieden+Kennedy Amsterdam’s ‘Department of New Realities joined us at awwwards Amsterdam to discuss… via Tumblr Talk: Redefining Reality with Geoffrey Lillemon, Creative Director of W+K’s Department of New Realities |
About Us:Dive deep into a topic with Appeared, learning both how and why things work. Come and be a part of our group if you are looking for a collection of articles on software development and computer programming. I am an experienced and enthusiastic computer programmer who prefers high-level languages and simple solutions. Other Profiles:
|