25 Jul 04:01

Diddlin’

by David M Willis
25 Jul 10:57

Sounds like a bargain



Sounds like a bargain

25 Jul 00:00

Snapchat

For obvious reasons, the prize is awarded at a different time of year from the others, while it's still fresh in the committee's memory.
25 Jul 03:20

Hunger Pains

Inevitably, any Fire Emblem food that I cooked would either go to characters that didn't benefit from the stat boost or, even more likely, to the 2/3 of my army that I wasn't even planning to bring to the next battle at all.
25 Jul 19:09

292

by extrafabulouscomics@gmail.com

ted

24 Jul 19:30

#921 – he’s gonna do it

by meredith

Did you see I put up some new original art in the store? Come see, it is all here.

25 Jul 22:00

Learn How to Master Google Forms With This Handy Visual Guide

by Patrick Allan

Google Forms is one of the easiest ways to gather data for your spreadsheets in Google Sheets. If you’re not familiar with its ins and outs, this visual guide shows you what you need to know to get started.

Read more...

25 Jul 13:00

Windows 10's Anniversary Update makes a great OS better

by Devindra Hardawar
"It's nice, for once, to be able to recommend a new version of Windows without any hesitation." That's how I summarized my review of Windows 10 last year, and for the most part, it's lived up to my expectations. Other than Microsoft's bafflingly forc...
26 Jul 01:51

Immediate Plans

25 Jul 17:26

15 Surprising Things About Parenting in Jordan

by Megan Cahn

15 Things About Living In Jordan

15 Things About Living In Jordan

For this week’s Motherhood Around The World interview, we talked to Kelly, who lives in Northern Jordan with her husband, Jeremy, and their two sons, Caleb, 5, and Evan, 3.… Read more

The post 15 Surprising Things About Parenting in Jordan appeared first on A Cup of Jo.

25 Jul 06:44

Short Notice

25 Jul 08:04

Comic: Illiterati

by Tycho@penny-arcade.com (Tycho)
New Comic: Illiterati
24 Jul 14:58

Saturday Morning Breakfast Cereal - Last Meal

by tech@thehiveworks.com


Hovertext:
I dare anyone to try this.

New comic!
Today's News:
25 Jul 05:53

Ctrl+Alt+Del: From Above

by tim@cad-comic.com (Tim Buckley)
25 Jul 21:12

Which Board Games Do You Like For Kids?

by Joanna Goddard

Board Games for Kids

This summer, Toby, Anton and I have been getting really into playing games together. We’ve always liked Zingo and Perfection (makes your heart race). And when Toby and I visited my mom this weekend, we played Memory on her coffee table every evening.… Read more

The post Which Board Games Do You Like For Kids? appeared first on A Cup of Jo.

26 Jul 15:40

Every Vote Counts

by A Cup of Jo

Michelle Obama's DNC Speech

Michelle Obama's DNC Speech

Michelle Obama brought down the house with her speech last night at the Democratic National Convention. Twelve hours later, it’s still giving us goosebumps. Did you watch?… Read more

The post Every Vote Counts appeared first on A Cup of Jo.

25 Jul 19:36

Stop judging me. I’m already judging myself enough. And I’m fine. Except that I’m surrounded by rats. The usual.

by thebloggess
This is not a real post.  It’s a tiny bit of advice for people like me who have anxiety and depression and sometimes get trapped in their own homes because their brains are being assholes and it’s too people-y outside. … Continue reading →
25 Jul 10:30

The Missing Source

by Jane Bailey

Source code project 1171

The year was 2006. Nelly Furtado was getting promiscuous, the Winter Olympics were in Italy, and Domino was an application developer for Rocketware, a company that produced multimedia applications. Back then, applications were still commonly distributed on CD-ROMs: small round disks of plastic that contained grooves that could be read by a specialized laser and interpreted as data. This was handy in a period when only 30% of Americans had broadband Internet.

Rocketware had done some software for a government agency, which of course had been bundled with a support contract for updates, paid in advance. Maintenance for this application fell into Domino's lap, and he was soon asked to do a small update.

Unfortunately, the software had been written by an infamous pair of numbskulls. Jessie and James had both been fired over a year previously for sheer incompetence, but they'd worked on this project together, meaning it was a ball of spaghetti held together by twine. Or at least, it probably was. Problem number one on Domino's plate: finding the source code.

The application wasn't in any of the source code repositories; Jessie and James hadn't "believed in" version control. They would've been forced to use it during their tenure, but James had also done network support, and therefore had had access to the bare repositories when he'd been fired. Domino suspected that, in retaliation for being forced to use source control, James had deleted his projects before being escorted from the building.

Thankfully, the pair had lacked access to the backup facility. Domino took the latest backup, added a new database, and implemented the fix: 5 hours of work, after about 3 hours of combing through backups to find the right version. Done and dusted. Right?

Wrong. The agency quickly complained of features missing, of old bugs re-introduced. Clearly that wasn't the version that'd been burned onto the CD and mailed to them, but the source code for that version was nowhere to be found.

Domino's boss, Giovanni, asked him to just go ahead and re-implement the missing features, see if he couldn't get things working to the agency's liking.

Now, this application wasn't any old application. The source code consisted of about 10k lines of Lingo code, entirely undocumented of course, and another 10k lines of ActionScript 1.0. There were 20 files, hundreds of frames and clips, a handful of data conversion tools written in Pascal, an Access database, a V12 database, and even some Excel spreadsheets. It was the Wild West: a little of everything, held together with duct tape and prayers. Still, Giovanni insisted that Domino clean up this mess as best he could:


deXML = deXML & "<voornaamste txt=" & QUOTE
  --put thelist
  aantal = thelist.count
  if aantal > 4 then
    aantal = 4
  end if
  the floatPrecision = 0
  repeat with teller = 1 to aantal
    blubber = thelist[teller].getProp(#AANTAL)
    if blubber < 1000 then -- 999
      stringblubber = string(blubber)
    else
      if blubber < 10000 then  -- 9999
        stringblubber2 = string(blubber)
        stringblubber = chars(stringblubber2, 1, 1) & "." & chars(stringblubber2, 2, 4)
      else
        if blubber < 100000 then -- 99999
          stringblubber2 = string(blubber)
          stringblubber = chars(stringblubber2, 1, 2) & "." & chars(stringblubber2, 3, 5)
        else
          if blubber < 1000000 then -- 999999
            stringblubber2 = string(blubber)
            stringblubber = chars(stringblubber2, 1, 3) & "." & chars(stringblubber2, 4, 6)
          else
            if blubber "

He couldn't do it. Three days into the project, he was back in Giovanni's office, ready to throw in the towel. "Nobody can work with this mess," he insisted. "Only James would know why he did the things he did, or where to even start."

"So get James to come in and explain himself," Giovanni replied.

Domino was incredulous, but somehow, Giovanni got the guy on the phone and convinced him to come in and sit with Domino.

The first question Domino had was easy: "Where's the latest source code?"

"Dunno." James seemed more interested in Domino's bobblehead collection than the code in front of them.

"Was it in source control? Look, I won't tell, but if you deleted it ...?"

"I didn't. Must've been a glitch or something." The George Bush bobblehead jiggled under James' finger.

"Okay, well, what about this?" Domino tapped at his monitor. "What's up with this code? Why is it like this?"


//find next value that can be divided by "value"
value +=1
while(value % steps 0){
value +=1
}

"If it doesn't work, you just have to debug it," replied James, lifting up the Barry Bonds bobblehead next.

After an hour of pulling metaphorical teeth, Domino gave up, sarcastically thanked James for his time, and had him escorted out again. There was no help to be had from this quarter. He'd have to go it solo.


// check if value is negative
value=value.toString();
if(value.substr(0,1)=="-"){
//Value is negative
...
}

150 hours later, Domino was on the verge of quitting himself. Three builds in, and nothing was working right. If he fixed one issue, ten more things would break. The work was spiraling out of control, bugs being introduced exponentially.

Finally, finally, Giovanni agreed to let Domino just rewrite the entire application ... after he finihed his other projects.

200 man-hours later, they had something they could deliver, this time in source control and infinitely more maintainable.

Of course, that's when the agency really started complaining about all the "features" Domino had "removed" when he fixed obvious bugs. But that's a tale for another website.

[Advertisement] Release! is a light card game about software and the people who make it. Play with 2-5 people, or up to 10 with two copies - only $9.95 shipped!
25 Jul 05:06

Comic for July 25, 2016

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.
26 Jul 13:03

Lamb of God

Lamb of God
26 Jul 07:30

Continuous-Flow Synthesis of Biaryls by Negishi Cross-Coupling of Fluoro- and Trifluoromethyl-Substituted (Hetero)arenes

by Stefan Roesner, Stephen L. Buchwald

Abstract

A continuous-flow method for the regioselective arylation of fluoroarenes and fluoropyridines has been developed. The telescoped procedure reported here consists of a three-step metalation, zincation, and Negishi cross-coupling sequence, providing efficient access to a variety of functionalized 2-fluorobiaryl products. Precise temperature control of the metalation step, made possible by continuous-flow technology, allowed for the efficient preparation of the arylated products in high yields and short residence times. Additionally, several examples of the regioselective arylation of benzotrifluoride derivatives are also provided.

Thumbnail image of graphical abstract

Hey! Ho! Let's flow! A highly regioselective functionalization of fluoro- and trifluoromethyl-substituted arenes and pyridines under continuous-flow conditions is described. This method telescopes a directed lithiation, a zincation, and a Negishi cross-coupling into a single process to provide diversely functionalized, pharmaceutically relevant biaryls.

26 Jul 03:15

Girls With Slingshots - GWS Chaser #361

by tech@thehiveworks.com
New comic!
Today's News:

I'm not sure where this saying came from but ALL my friends in college knew what it meant, so I'm pretty sure I didn't make it up?

http://www.girlswithslingshots.com//comic/gws361">Here's the old strip OH YEAH!!

25 Jul 22:00

Learn How to Master Google Forms With This Handy Visual Guide

by Patrick Allan

Google Forms is one of the easiest ways to gather data for your spreadsheets in Google Sheets. If you’re not familiar with its ins and outs, this visual guide shows you what you need to know to get started.

http://lifehacker.com/how-to-make-go…

The graphic, from Matthew Guay and the folks at Zapier, does everything from walking you through making your first form to showing how to change the visual elements of your form. You’ll learn how to edit your form, adjust field options based on data type, share your form with others, and even turn your form into a quiz. You’ll also learn about all the third party apps you can integrate with Google Forms. You can view the complete graphic below, and learn more about mastering Google Forms with the guide linked below.

Google Forms Guide: Everything You Need to Make Great Forms for Free | Zapier

Learn How to Master Google Forms With This Handy Visual Guide
25 Jul 14:40

Book 3 - Page 180

by balder

A prophet motive

25 Jul 04:00

33p77

by Christopher Hastings

33p77

33p77 is a post from: The Adventures of Dr. McNinja Ads by Project Wonderful! Your ad could be here, right now.

33p77 is a post from: The Adventures of Dr. McNinja

Ads by Project Wonderful! Your ad could be here, right now.