Jump to content

David Jondreau

Members
  • Content count

    2,085
  • Joined

  • Last visited

  • Days Won

    24

David Jondreau last won the day on June 5 2015

David Jondreau had the most liked content!

Community Reputation

75 Excellent

1 Follower

About David Jondreau

  • Rank
    Huzzah!

Profile Information

  • Gender
    Male

Contact Methods

  • Website URL
    http://www.wingforward.net

Recent Profile Visitors

15,256 profile views
  1. We've got SuperContainer running on FMS 14 and have run into a weird problem. We're storing mostly pdfs, but also some jpgs and pngs. For the jpgs and pngs, we've been experiencing an occasional oddity that I finally tracked down. These are image files that, for the most part, users take photos with their phones then upload via CWP. Image sizes range from 500 KB to 2 MB. The issue arose because we resize the image files and convert them to pdf, eventually collating them into a single multi-page pdf that needs to be email-able. Sometimes the resize would fail, giving the full image. The same files always failed. We were resizing using height and width tags and tried both SCGetContainer() and the regular Web Viewer. Using the 'resolution' tag in SCGetContainer() would fail to resize. Using the resolution tag in the Web Viewer would cause a complete failure to display the image, giving a 500 error from the server. After digging in deep, it appears the root cause is SCGetInfo can't see the height, width, or dimension tags in the file itself. Not all jpgs have this problem, maybe 10%. And it appears always the same users but *not* always that user (50% of the time). For those specific files, when calling SCGetInfo without additionalFields parameters gives the correct result. But adding height, width, or dimension arguments breaks SCGetInfo, giving a 500 error. Presumably, this rolls downhill breaking the 'dimension' tags in the Web Viewer. SCGetContainer(), and SCDownload(). So, in short, some image files are breaking SuperContainer around the 'dimension' tags.
  2. SCGetContainer & Orientation

    I've established that it's *not* orientation that's the problem. It's *resolution". I'll post a new thread.
  3. I'm seeing weird results using SCGetContainer() and I think it has to do with image orientation. I'm working with jpgs and it appears when an image is rotated. If GetContainerAttribute() "orientation" is applied to a file and the result is "6 (Rotated 90 degrees counterclockwise), not applied" then when I access that file using SCGetContainer() any width and height constraints are not applied. It will always return the full file. I have not tested it with other orientations. This is on FMPA 16.02 using SC plugin 2.9504. Any ideas? Have you seen this before?
  4. Protected: How to avoid collisions using UUIDs

    Hi Doug, I didn't realize my site was feeding FM Forums. That article is unlocked now. Thanks, David
  5. 7 cool tools for better nerd living

    Hey, I didn't know my website was feeding this page! Cool, but I wish the formatting was better....
  6. 7 cool tools for better nerd living

    If you’re a dev, you are a power user. Below are 7 digital tools that are indispensable, and not necessarily for coding. I don’t know if they share any common characteristics, except that when I don’t have access to them, I grunt in frustration. Nanny / LeechBlock / WasteNoTime Distraction is a huge productivity killer. For me, it’s the #1 issue in ‘getting things done’. I’m an info junkie and I have low self control. Me, making a living at a computer, is like being a recovering alcoholic and working at a bar. Except I’m not Sam Malone. I’m not even close. Buying a box of cookies and just ‘not eating’ them doesn’t work. What does work is not buying those cookies in the first place. That’s harder to do when working in a cookies factory. I love to read about a wide range of topics…current events, personal finance, urban planning. So, I’ve got to lock myself away from Facebook, reddit, twitter, washingtonpost.com, wsj, vox, 538, slatestarcodex, Mr Money Mustache, Bogleheads…well, you get the idea. But having access to those during work hours is majorly counterproductive. The solution? Browser add ons. I use one on each of my three browsers (Chrome, Firefox, Safari). These little utilities block access to sites of my choosing during certain hours. Very configurable, they lock away the liquor until it’s after hours. JumpCut JumpCut is handy little utility keeps track of your clipboard history. It ‘buffers’ your clips, keeping a history of up to 99 items that you can access and paste. Say I want to copy and paste four separate items, pieces of code, from a website to a Data Viewer. By default, that process is: copy, navigate to the Data Viewer, paste, navigate back to the website, repeat 3 more times. With JumpCut, it’s copy, copy, copy, copy, navigate to the Data Viewer, paste, paste, paste, paste. It’s one of those things you *have* to try. I’ve configured JumpCut so cmd-shift-V brings up the clipboard popover, then arrow keys move through my history. I use this shortcut at least 10 times every hour, every single day. Boomerang Boomerang is an app that integrates with Gmail and does two very cool and very different things: schedule emails and bounce emails back. Scheduling e-mails is great. I use it in two situations. If I’m emailing at 2 in the morning and I want to reply to client, but I don’t want to look like an workaholic nutjob. I use Boomerang to actually send the e-mail at 7:30am instead, looking like an industrious, early rising professional. The other situation deals with that feeling when as you hit ‘send’ and you think ‘Oh, crud, that wasn’t right’. Gmail has a great ‘Undo’ feature. Start with that. But the max time is 30 seconds. If I’m sending an email and I’m not sure if my choices around tone or content are the best, but I need to move on, I will schedule to send it in 30 minutes, allowing me to ‘let go’ but leaving open the option of revisiting it if I realize I should have rewritten. Your smile when you use boomerang Bouncing e-mails back is super helpful. I’m a fan of Merlin Mann’s Inbox Zero. I use my inbox as a To Do list. If it’s in there, I need to deal with it. *For the record, at the moment my inbox has 12 emails, and I never let it get above 50. Some tasks, however, need to come back on my to do list. For example, I’ve got to get credentials from a client in order to work on their solution. I’ve emailed them but got an autoresponse that they’re away for 3 days. I don’t want that task sitting on my to do list, because I’m waiting on someone else. So I set the email to “Boomerang” in 4 days. The email will leave my inbox and pop up again in 4 days if I don’t already receive a response from the client. Brilliant! MonkeyBread Solutions MBS has produced the Amazonian rainforest of FileMaker plug-ins. With over 4,500 different functions, it’s an entire ecosystem, packed to the brim with medicinal plants. It’s well worth the $149 price. More awesomely, there’s two incredibly useful developer tools built into the free demo version: The ability to search scripts and the ability to search the relationship graph. Install it, you won’t know how you lived without it. LastPass or any password manager If you’re not using a password manager, you’re being unprofessional. LastPass is the one I use. I haven’t tried KeePass or OnePass or any of the others, I’m sure they’re fine. Pick one and use it. Use a super secure master password (try the Correct Battery Horse Staple method with some of your own modifications), then let your encrypted password store of choice do the rest. I’ve got about 600 entries in my LastPass account, so “the rest” covers a lot ground. I don’t use the un-encrypted EverNote, no I use LastPass. With it I: Generate random 16+ character passwords. Updated all my sites so I’m not using the same P455w0rD on each. Create random 6 letter pronounceable passwords to use as the answers to security questions. Store credit card numbers, including the CVV code. Store configuration details for FM Servers. Attach a copy of SSL files to my client’s ‘note’. Store the VIN of my car. Store the make and model of my lawnmower. Mint.com Like most of humanity, financial security is important to me. One of the cornerstones to financial understanding is creating a budget. Whether you think budgets are prescriptive or descriptive, you should see where your money is going. Mint collates all your financial data in one place and allows you to assign income and expenses to categories you define. I have been using Mint since 2007. I check it at least twice a week, sometimes more. f.lux The human brain is a complex organ. There’s growing evidence that using a screen before bed can interfere with sleep, in large part because the screen emits blue light. f.lux adjusts the color temperature of your screen based on the time of day so that at night, your screen shifts red, encouraging better sleep. Now, you shouldn’t be using a screen in bed, but if you’re using it at night, use f.lux. I recommend all of these tools without reservation. Not that they’re perfect by any means, but they are indispensable. View the full article
  7. This content is password protected. To view it please enter your password below: Password: View the full article
  8. This content is password protected. To view it please enter your password below: Password: View the full article
  9. Two SC servers, one database

    Thanks for the reply. What is the downside to calling SCSetBaseURL()? Is there any way to determine what the current base URL is? (I'm aware I could capture it in a $$var, sure.) And would that method have fewer downsides that just calling SCSet? Is there a way to use a fully path, rather than calling SCSet? I am referencing files using as records in a table. Each record may have a different host. Therefore, when I want to reference a file, I have to know the existing base path to compare. Or just change it on the fly.
  10. I've got a couple SC licenses running on different servers. I've got one database and I want to store files on both servers. (why? well, I'm migrating from one server to another, but it's go to be done over a couple months due to bandwidth limitations). I'm storing each image's filepath as a record in a standalone table. That full filepath will be different depending on the host for that file. When calling any of the plugin functions by script, I believe got to also call SCSetBaseURL, right? That base host is either taken from the record (if downloading) or given based on business logic (if uploading). I want a calculated FM Container field using SCGetContainer(). I think I have to call SCSetBaseURL() in the calculation field as well. I've never used SCSetBaseURL() in a field definition, so I'm a little wary. I've tested it and it works. There's a slight performance hit. Is calling SCSetBaseURL() every time I call a SC plugin the best way to do what I'm trying to do? Is there a way to use a full filepath to SC rather than a local filepath for these plugin functions? Thanks and I love the product!
  11. When you make a new window, the current layout is reloaded and the OnLayoutEnter script trigger fires. The Orders List layout's triggered script ends in Halt Script[]. The Halt Script[] script step ends all running scripts, such as the new window script, so you never get to the Go to Layout[]. Use Exit Script[] in place of Halt Script[] in the Order List OnLayoutEnter triggered script.
  12. Renaming SC files

    Is there a good way to rename files? And did the behavior of SCMove() change recently. A few months ago, I was testing using SCMove() to rename a file SCMove by using the same filepath for the old and new paths, but adding a filename parameter SCMove ( filepath ; filepath ; new.filename ). I thought I had it working ok. I let the project sit for a couple months and just came back to it and now it's not working. I'm second guessing myself that I ever had it working in the first place. But it looks like SCMove() may have changed, now accepting key/value pairs rather than just a filename. I've tried it both the old way and with filename= and neither works. My goal is to rename the file. Is there a better approach? Related for my purposes...does SCMove() delete the old filepath's folders? Or are they still there in the filesystem? Thanks!
  13. Hard Gradation

    Could you clarify the use for this? Maybe post an example? I like where you're going, but I'm not sure what you're doing? Is this basically adding a "graphic" to a popover?
  14. Restricting access to "Modify Table View"

    I believe if a user without layout modification privileges modifies a table view, that view will neither persist past that session nor change for other users. It seems like a reasonable accomodation.
  15. Information on FLT

    Filemaker is really moving away from this. They don't want you running your own business where you control the licenses for your customers. They want the customer to be buying the licenses.
×

Important Information

By using this site, you agree to our Terms of Use.