LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

New Years Data to DB - The Idea

Posted 02-28-2019 at 02:33 AM by astrogeek

The initial efforts of all participants in the newyears thread, and comparison and validation of the results produced by the three different approaches to the problem, have led us to agreement that we have indeed found a complete set of solutions. At least complete within the bounds of our combined ability to imagine and test generating expressions to this point!

Knowing what a complete solution set looks like, we have each shifted emphasis from the generating code, to a more critical...
Moderator
Views 1352 Comments 0 astrogeek is offline
Old

New Years Puzzle, Fractional Math and More...

Posted 02-08-2019 at 02:10 AM by astrogeek
Updated 02-22-2019 at 04:43 PM by astrogeek (Reorganizing categories)

Updated 2/17: New code now available, minimal expression set, see below...

The continuing saga fo the New Years Puzzle and Programming Challenge.

Member Beryllos who originally opened the thread discovered that some solutions were missed (and possibly other invalid solutions included) as a result of math errors intrinsic to floating point math. They very correctly identified integer math, math using only integer fractions, as the necessary solution. In the face of some...
Attached Images
File Type: png ast1.png (25.5 KB, 11 views)
File Type: png ast2.png (19.5 KB, 13 views)
File Type: png years_vs_solns_complete_v1.0.2.png (21.2 KB, 6 views)
Attached Files
File Type: txt years_minimal_v1.0.2.tar.gz.txt (71.9 KB, 4 views)
Moderator
Views 1891 Comments 0 astrogeek is offline
Old

New Year Puzzle

Posted 01-04-2019 at 07:43 PM by astrogeek
Updated 02-22-2019 at 04:41 PM by astrogeek (Reorganizing categories)

NOTE: See updates at bottom of this post - last 1/5/19

Way back around new year's day during the winter of '19 (remember that kiddies?), LQ member Beryllos posted a New Year Puzzle and programming challenge in the Programming forum.

The goal of the puzzle is to generate as many whole numbers as possible between 0 and 100 using only the digits of the year, 2,0,1 and 9 in simple constant arithmetic expressions such as 9 * (10 - 2).

The rules are simple,...
Moderator
Views 1466 Comments 0 astrogeek is offline
Old

A Simple Flex/Bison Project Template

Posted 08-19-2017 at 03:18 AM by astrogeek
Updated 08-19-2017 at 03:46 AM by astrogeek (typos)

For most of the past year I have encouraged others to make use of their LQ blog space as a place to post and manage code for their personal projects and interests which they wish to share with others.

Posting to our LQ blog space allows us to share our code and ideas without the posting constraints that apply within the question oriented fora, and also allows us to update, alter and extend that information over time without corrupting the logical development, or train of thought so...
Moderator
Views 1246 Comments 0 astrogeek is offline
Old

Flex / Bison Project Template README

Posted 08-19-2017 at 03:17 AM by astrogeek

Flex / Bison Project Template README file.

This file provides a description of the source files and of the major features and purpose of the template project.

Code:
Flex/Bison project skeleton template

This set of files consists of:

README - This file

Makefile        Simple makefile for building project files
                Defines multiple targets, see file for details

fbproject.l     Flex scanner
...
Moderator
Views 959 Comments 0 astrogeek is offline

  



All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration