Information Technology

Recipe App. How to store recipe information?

Learn Programming - 5 hours 26 min ago

Hi all,

I'm thinking about creating a recipe/grocery list mobile app (maybe even something to just run on the desktop) that will:

  • Gather recipes and ingredients from some file/data store/etc.
  • Pick n amount of recipes
  • Create a grocery list based on those recipes
  • Email that list to me
  • Repeat once a week

My big question is, how should I store that recipe information? I guess I could do some sort of data store on mobile (new to mobile, forgive me if I'm wrong there) or maybe a JSON file for the desktop app?

What would you peeps recommend?

submitted by /u/OleBroseph
[link] [comments]

Gaming laptop recently went kapoot; looking for a replacement (Canada)

My MSI GE72 2QF, which I've had for a couple of years now, has finally given up the ghost and will no longer boot. After tons of troubleshooting, I've decided it's time to find a replacement.

I've been browsing this subreddit and a few other sites, but have not found something that really stands out for me yet - lots of great options don't hold up for the Canadian dollar/don't ship to Canada. I would very much appreciate some help :)

  • Total budget and country of purchase: I'm in Canada, and ideally would like to find something below $1600 CAD. With uni done for the summer though, it's possible for me to save up more, if needed.

  • Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply. This is basically a desktop replacement, so best specs are my personal priority.

  • How important is weight and thinness to you? As long as I can tote it around in a backpack, size and weight are no issue at all.

  • Which OS do you require? Windows, Mac, Chrome OS, Linux. I would very much prefer Windows for familiarity.

  • Do you have a preferred screen size? If indifferent, put N/A. 15 or 17 inches are always wonderful.

  • Are you doing any CAD/video editing/photo editing/gaming? List which programs/games you desire to run. I'm very much a gamer, so being able to run Battlefield, Europa Universalis 4, Destiny 2, Shadow of War, and decently modded Skyrim would be awesome.

  • If you're gaming, do you have certain games you want to play? At what settings and FPS do you want? For the games mentioned above, I would love to at least have high settings at a minimum of 60fps.

  • Any specific requirements such as good keyboard, reliable build quality, touch-screen, finger-print reader, optical drive or good input devices (keyboard/touchpad)? Some of the things that have turned me off from some great deals were reviews of hit-or-miss quality. Keyboard failures, screen fading, etc. So, reliability is key for me.

  • Leave any finishing thoughts here that you may feel are necessary and beneficial to the discussion. I really enjoy having an SSD for the OS, and then something high capacity to keep my programs on. I don't always have internet access, so having lots of games saved is a benefit.

submitted by /u/Supervacaneous
[link] [comments]

phpMyAdmin 4.8.2 - Manage MySQL databases via the Web.

MacUpdate - Mac OS X - 5 hours 27 min ago


phpMyAdmin is intended to handle the administration of MySQL over the Web. Currently it can:

  • Create and drop databases
  • Create, copy, drop, and alter tables
  • Delete, edit, and add fields
  • Execute any SQL-statement, even batch-queries
  • Manage keys on fields
  • Load text files into tables
  • Create and read dumps of tables
  • Export data to CSV values
  • Administer multiple servers and single databases

Note: While the software is classified as free, it is actually donationware. Please consider making a donation to help support development.



Version 4.8.2:
  • The phpMyAdmin team is pleased to announce the release of phpMyAdmin version 4.8.2. Among other bug fixes, this contains an important security update and it is highly recommended that all users upgrade immediately.
  • The urgent vulnerability allows an authenticated attacker to exploit a phpMyAdmin feature to show and potentially execute files on the server. PHP open_basedir restrictions mitigate the effect of this flaw. For further details, see the PMASA announcement .
  • A second flaw was also fixed allowing an attacker to use a specially crafted database name to trick a user in to executing a cross-site scripting (XSS) attack in the Designer feature .In addition to the security fixes, this release also includes these bug fixes as part of our regular release cycle:
  • WHERE 0 clause causes a fatal error
  • Fix missing "INDEX" icon


  • OS X 10.1 or later
  • MySQL 5.5 or later
  • PHP 5.3 to 7.0


Download Now]]>

IP Camera Recorder 6.39 - Video surveillance for IP cameras.

MacUpdate - Mac OS X - 5 hours 32 min ago


IP Camera Recorder 6 is a video surveillance solution for Mac, PC and iPhone.

It lets you keep an eye on your home and business. Monitor one IP Camera or dozens installed at different sites, seamlessly. Review recorded video and incidents effortlessly using one-click replay. Use companion iPhone app or a Web Browser to monitor your place from anywhere. Download free trial to see why users say "extremely easy to use" and "no other Mac program in camera management comes close".

Features
  • Monitor IP cameras from many manufacturers (Axis, Foscam, Panasonic and many more).
  • Record video on your Mac from up to 20 IP cameras simultaneously.
  • Watch multiple cameras on the same screen.
  • Visually create camera groups and different layouts to quickly switch between your home/office cam groups, etc.
  • Auto-detection for many camera models, so you do not even need to know the address of your camera to add it.
  • Records video always or on schedule or only when motion is detected.
  • Records video on internal hard drive, or any attached or network hard drives.
  • Visually shows when video was recorded. You can see all motion events in the time line.
  • Advanced iPhone/iPad app lets you control the recorder, receive motion events, and more.
  • You can connect to the Recorder from another Mac, from a PC, or from iPhone/iPad. HTTPS is available for secure connections.
  • Advanced HTML5 Web client allows you to connect to your recorder remotely without installing any software/plugins.


Version 6.39:
  • Added support for ONVIF2 cameras




Download Now]]>

Weekly Drupal beginner questions thread

Ask your newbie questions here! No judgement!

(Check out the weekly post schedule in the sidebar)

submitted by /u/AutoModerator
[link] [comments]

Independent Research Firm Names VMware a Leader in 2018 Report for Hybrid Cloud Management Solutions

VMware, Inc., a leading innovator in enterprise software, today announced that VMware is positioned as a Leader in "The Forrester Wave: Hybrid Cloud Management, Q2 2018." According to Forrester's report, VMware achieved the highest possible score in the cloud monitoring, product vision, market approach and partner ecosystem criteria....(read more)

Critical Updates 1.60 - Notification of background updates.

MacUpdate - Mac OS X - 5 hours 35 min ago

Critical Updates keeps you informed of when a background update of the listed components occurs. These are controlled by the command-line softwareupdate tool and by App Store preference settings in System Preferences.

Critical Updates refreshes the Components table on launch, and about once every 60 minutes, if left running; it polls the App Store for security updates on launch, and about once every 10 seconds while running. Critical Updates has a very low energy and resource footprint, and can be left running with virtually no impact on system resources.

Features
  • Newly-updated components are colored red in the table
  • An alert appears in the window when a security update needs to be installed manually
  • Click the yellow warning triangle next to the alert message text to open the App Store
  • Click the ‘x’ button to hide the alert message
  • Double-click any component’s name to reveal it in the Finder
  • Click the App Store icon in the window to immediately open the App Store preference settings


Version 1.60: Improved:
  • Replaced some old code that could trigger an authorisation request when running on versions of macOS greater than 10.13.


  • OS X 10.11 or later


Download Now

Perl Version 5.28.0 Now Available, Linus Torvalds' "Small Rant" on rc2 Release Statement, Ubuntu's First User Data Report and More

Linux Journal - 5 hours 36 min ago

News briefs for June 25, 2018.

Perl version 5.28.0 has been released. According to LWN.net, highlights of this release, which was 13 months in the making with approximately 730,000 lines of changes, include "Unicode 10.0 support, string- and number-specific bitwise operators, a change to more secure hash functions, and safer in-place editing." See the full list of changes here.

Linus Torvalds took issue with kernel developers this weekend regarding "fixes" in his rc2 release statement: "So please, people, the 'fixes' during the rc series really should be things that are _regressions_. If it used to work, and it no longer does, then fixing that is a good and proper fix. Or if something oopses or has a security implication, then the fix for that is a real fix." He went on to say, "But if it's something that has never worked, even if it 'fixes' some behavior, then it's new development, and that should come in during the merge window. Just because you think it's a 'fix' doesn't mean that it really is one, at least in the 'during the rc series' sense." Other than that, regarding the rc2 release, he said "Things look fairly sane, it's not really all that scary."

Systemdv239 was released last week. LWN reports that "A new system.conf setting NoNewPrivileges= is now available which may be used to turn off acquisition of new privileges system-wide (i.e. set Linux' PR_SET_NO_NEW_PRIVS for PID 1 itself, and thus also for all its children). Note that turning this option on means setuid binaries and file system capabilities lose their special powers. While turning on this option is a big step towards a more secure system, doing so is likely to break numerous pre-existing UNIX tools, in particular su and sudo."

Ubuntu started collecting user data with version 18.04 (users can opt out during the install), and the first report is now available. According to the report, 67% of users opt in, installation takes 18 minutes, most people are installing from scratch instead of upgrading and having a single CPU is most common. In addition, the report reveals that although the US has the highest concentration of users, Brazil, India, China and Russia also are big Ubuntu users.

Oracle has started charging for Java SE and support. According to The Register, the cost for the "Java subscription" is "$25 per processor per month, and $2.50 per user per month on the desktop, or less if you buy lots for a long time." The article notes that "If you like your current Java licences, Oracle will let you keep them." But also that "come January 2019 Java SE 8 on the desktop won't be updated any more...unless you buy a sub."

News Perl kernel Linus Torvalds systemd Ubuntu Oracle Java

Automatically log into L2TP VPN?

Is there a way to create a task to automatically log into (or at least seelect) an L2TP VPN?

submitted by /u/PhobicCarrot
[link] [comments]

ExifTool 11.03 - Manipulate image, audio, and video metadata.

MacUpdate - Mac OS X - 5 hours 37 min ago

ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files. ExifTool supports many different metadata formats including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital cameras by Canon, Casio, FLIR, FujiFilm, GE, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.

Note: While the software is classified as free, it is actually donationware. Please consider making a donation to help support development.



Version 11.03:
  • Added support for new Exif 2.31 for XMP tags
  • Added support for another FujiFilm X-T1 firmware version
  • Decode more Panasonic tags


  • OS X 10.6 or later
  • Perl 5.004 or later


Download Now

Lost in Space Gets 3D Printing Right

Hack a Day - 5 hours 40 min ago

When it has become so common for movies and television to hyper-sensationalize engineering, and to just plain get things wrong, here’s a breathe of fresh air. There’s a Sci-Fi show out right now that wove 3D printing into the story line in a way that is correct, unforced, and a fitting complement to that fictional world.

With the amount of original content Netflix is pumping out anymore, you may have missed the fact that they’ve recently released a reboot of the classic Lost in Space series from the 1960’s. Sorry LeBlanc fans, this new take on the space traveling Robinson family pretends the 1998 movie never happened, as have most people. It follows the family from their days on Earth until they get properly lost in space as the title would indicate, and is probably most notable for the exceptional art direction and special effects work that’s closer to Interstellar than the campy effects of yesteryear.

But fear not, Dear Reader. This is not a review of the show. To that end, I’ll come right out and say that Lost in Space is overall a rather mediocre show. It’s certainly gorgeous, but the story lines and dialog are like something out of a fan film. It’s overly drawn out, and in the end doesn’t progress the overarching story nearly as much as you’d expect. The robot is pretty sick, though.

No, this article is not about the show as a whole. It’s about one very specific element of the show that was so well done I’m still thinking about it a month later: its use of 3D printing. In Lost in Space, the 3D printer aboard the Jupiter 2 is almost a character itself. Nearly every member of the main cast has some kind of interaction with it, and it’s directly involved in several major plot developments during the season’s rather brisk ten episode run.

I’ve never seen a show or movie that not only featured 3D printing as such a major theme, but that also did it so well. It’s perhaps the most realistic portrayal of 3D printing to date, but it’s also a plausible depiction of what 3D printing could look like in the relatively near future. It’s not perfect by any means, but I’d be exceptionally interested to hear if anyone can point out anything better.

The Normalization of 3D Printing

In the world of Lost in Space, 3D printing is simply a part of life. In much the same way nobody on Star Trek is surprised when a cup of hot Earl Grey materializes on the pad, the crew of the Jupiter 2 never act like the 3D printer is some exotic piece of equipment. When they need tools or replacement parts, somebody goes down below, queues up the file from the ship’s library of 3D models, and goes on about their business.

Characters simply remark that they are going to go print some parts, or else ask another character to print something for them. No one ever asks for clarification or needs an explanation on how to do it; it’s a technology so ingrained in their life that even the children in the show are familiar with it.

Which of course makes perfect sense. Even today, NASA is acknowledging how important 3D printing is for long duration spaceflight and off-world missions. Storing every conceivable tool or part the crew may need, in duplicate to be safe, is simply not an option. So if your spacecraft or station is too far out for a timely resupply mission, 3D printing may well mean the difference between life and death. It follows that a crew of explorers sent out to an uncharted planet would make extensive use of 3D printing, and Lost in Space does an excellent job of selling that idea to the viewer.

Contemporary Limitations

Despite taking place on an alien planet in 2048, the Robinson’s 3D printer seems to be afflicted by many of the same limitations as today’s machines.

For one, 3D printing is still very slow in the world of Lost in Space. While the writers are careful never to date themselves by giving a hard figure on how long it takes to print a particular tool or piece, it’s made clear that the printer is not something you sit around waiting on. You never see a character start a print and take the completed object off the bed in the same scene; in fact in some cases the story progresses considerably before we see somebody finally show up with the printed piece.

A particularly impressive detail is shown early on, when a leg brace is printed for an injured crew member. Due to the shape of the brace, a substantial amount of support material was necessary. The support is a different color than the printed piece, and sure enough, the printer is shown with dual extruders. Even the positioning and shape of the support columns properly corresponds with the overhang on the object.

These are details that such a small minority of the viewing audience would recognize and understand that frankly I was amazed to see they put so much thought into it. That said, this level of detail isn’t always adhered to. Some complex prints on the show have no support material at all, or are otherwise being printed at orientations that simply don’t make sense for what’s clearly a FDM printer.

Curiously Realistic

Ironically, the 3D printing shown in Lost in Space might actually be a bit too realistic. Here we have a family flying around the galaxy in a spaceship, and yet the 3D printer they have aboard doesn’t look much more advanced than what you could buy today. Of course the casual observer wouldn’t pick up on this, so it works as far as the show’s target audience is concerned. But for those of us who can differentiate PLA or ABS by smell alone, it’s almost jarring to see.

This is perhaps best shown when the camera zooms in and gives the viewer a glimpse at the printer’s control panel. Not only does it look very reminiscent of the TouchUI theme running on OctoPrint, but the values shown for temperature and layer height would be perfectly valid for a contemporary 3D printer. If anything, the layer height is too high: even today’s entry level printers should be able to get down to 100 micron resolution.

A Vision of Printer DRM

The 3D printer on the Jupiter 2 does have a few tricks that your Monoprice Mini lacks, but even here, what’s shown isn’t completely out of the realm of possibility in the relatively near future. Adding DRM to 3D printers has been a hot topic since the first Makerbot Cupcake made its first extrusion, and apparently it’s no different in the world of Lost in Space.

At one point, a crew member attempts to print a gun, and the system stops him saying it’s a prohibited object. This is exactly the type of functionality that lawmakers have been asking for since the viability of 3D printed firearms was proven. Those of us experienced in the technology understand that building a 3D printer that will intelligently refuse to print weapons is effectively impossible, but when has that ever stopped government regualtion?

In another scene, an object is tracked back to the machine that produced it by a serial number embossed into a single layer of the print. While never explained, we can presume that these printers have the ability to laser etch details onto the surface of the objects they produce; as the nozzle obviously can’t create details smaller than the layer height. The concept of using steganography, that is, hiding identifying marks in a CAD file to prove who originally created it, is often proposed as a way to combat intellectual property theft of 3D designs.

Celebrating a Job Well Done

Whoever the 3D printing technical adviser was on Lost in Space, they should seriously get some kind of award from the RepRap community. It’s so common for the media to get technology (and especially hacking) so laughably wrong that seeing something done so well is absolutely refreshing. This is the kind of portrayal of technology in TV and movies that we need and should be supporting.

What say you, readers of Hackaday? Its been awhile since we called attention to particularly well executed portrayals of technology in film; have things been getting better or worse? Is Lost in Space a fluke, or does it represent a shift in the modern viewer’s expectations?

where to start when creating a timetabling app using graph coloring

Learn Programming - 5 hours 41 min ago

in graph theory class we did a project using graph coloring to make timetables for students(year1, year2..) and professors. Taking into consideration constraints like number of classrooms, professors that teach same courses, etc..

i would like to build an app that takes all the conditions and constraints and gives a global timetable of the school.

what are the best technologies i can use?

i have a fair experience with JavaScript , Node.js and java.

submitted by /u/Faith-jd
[link] [comments]

First space, then auto—now Elon Musk quietly tinkers with education

Ars Technica - 5 hours 41 min ago

Enlarge / A glimpse of a SpaceX worker in Hawthorne: young, wearing a hat, possibly listening to music! (credit: SpaceX)

In a corner of SpaceX’s headquarters in Hawthorne, California, a small, secretive group called Ad Astra is hard at work. These are not the company’s usual rocket scientists. At the direction of Elon Musk, they are tackling ambitious projects involving flamethrowers, robots, nuclear politics, and defeating evil AIs.

Those at Ad Astra still find time for a quick game of dodgeball at lunch, however, because the average age within this group is just 10 years old.

Ad Astra encompasses students, not employees. For the past four years, this experimental non-profit school school has been quietly educating Musk’s sons, the children of select SpaceX employees, and a few high-achievers from nearby Los Angeles. It started back in 2014, when Musk pulled his five young sons out of one of Los Angeles’ most prestigious private schools for gifted children. Hiring one of his sons’ teachers, the CEO founded Ad Astra to “exceed traditional school metrics on all relevant subject matter through unique project-based learning experiences,” according to a previously unreported document filed with the US Internal Revenue Service (IRS).

Read 35 remaining paragraphs | Comments

With iOS apps that track who has unfollowed/followed you on social media platforms like Instagram, how do they go about getting this info?

iOS Programming - 5 hours 42 min ago

On apps that track your followers/unfollowers, who's following you back/not following you back, etc, do they get all this info from the Instagram API? or is there different stuff going on underneath the hood? thanks

submitted by /u/blackiechan99
[link] [comments]

Vade Secure Launches the First Native, AI-Based Email Security Add-On for Office 365

Vade Secure, the global leader in predictive email defense, announced a new offering for Office 365 customers looking to enhance protection against advanced phishing, spear phishing, and malware attacks. Vade Secure for Office 365 is the only email security solution that's fully integrated into Office 365, offering a native user experience and best-in-class filtering accuracy powered by artificial intelligence. ...(read more)

WebKit 233124 - Open-Source Web-browser engine.

MacUpdate - Mac OS X - 5 hours 45 min ago


WebKit is an Open-Source Web-browser engine. WebKit is also the name of the OS X system framework version of the engine that's used by Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE.



Version 233124:
  • Release notes were unavailable when this listing was updated.


  • macOS 10.13 or later


Download Now]]>

Why aren't startups working? They're not great at creating jobs... or disrupting big biz

The Register - 5 hours 47 min ago
We've been living a lie!

If you think we're living in the Golden Age of the Entrepreneur, think again.…

Pages