Text based pokemon beta

This is a demo of a text based pokemon game i am working on. There may be some glitches or bugs. Save often in case of glitches and bugs. Do not move the .txt file that the game creates, as that is the save file. Click the file named textbasedpokemon.rar, to download the game. Use winrar to open up the file. Please comment if you like it or dislike it. Please comment if you have any suggestions or ideas. Please comment if you find any problems with the game. UPDATE! Beta V1.3: updates: 1.You can now get a potion (go find it). 2.You can now get PokeBalls (pr.oak gives you them). 3.Fixed major glitch that happens when your Pokemon faints in battle and you switch to your next Pokemon. 4.Cleaned up the Pokemon info screen. 5.General fixes and changes. Update History: Beta V1.2: updates: 1.Fixed an imbalance in the way leveling up Pokemon works. 2.Modified save and load function. 3.Fixed error in how pp is calculated. 4.Fixed error caused by being healed by your mom. Beta V1.1: updates: 1.Your Pokemon can now faint in battles. 2.Your mom will heal your Pokemon if you run out of Pokemon in battle. 3.Fixed problem with Pokemon not increasing in level. 4.Increasing in level now increases a Pokemon's max hp, its max pp, its max exp, and the max amount of damage a move does. 5.increased loading speed in battles! 6.General fixes and changes.

Topic by funlunde 4 years ago

Simple Java-based mobile phone text editor.?

Does anyone know where I can get a simple .txt file editor for a Java enabled mobile phone? Nothing fancy, just write text and save it. If I can find one.. Instructable coming soon. Note: this is not for an iPnone or Android, just a bog-standard java mobile phone.

Question by JavaNut13 8 years ago  |  last reply 8 years ago

Analog text clock, help needed

Hi everyone.I'm pretty new to DIY'ing and I want to make my own analog text-based clock.The idea is to make it write "the time is [five minutes past] [three]" in 5 minute intervals. I figured if I made two round plates with text rotated for every 30 degrees and make them rotate under a bigger square, then my only concern would be to make a rotation for every 5 minute on the first wheel, and every hour on the second.That's where I need your help :)If I'm to buy a standard clock movement (http://www.clockworks.com/quartz.html), then how could I make the right corrections to it so my plates/wheels would rotate, so the text would be fixed in a square instead of moving slowly around?I hope I'm explaining myself clearly - the end result would look like this:The time is [five past] [three]The time is [ten past] [three]Drawing attached - in Danish, but I hope you get the picture.And don't mind about "o'clock" in the end for 00 minutes - we don't say that in my language, so that's not a problem.Any suggestions?

Topic by kirkeskov 9 years ago  |  last reply 9 years ago

Batch: How do you search for a variable(text) within another variable(text)? Answered

I want to use a batch file that based on user input, searches for a variable (already set) within the user input. eg. I figured that this would work: @echo off set var=A set /p var2=Choice:  (USER TYPES "A B C") findstr /i /c:"%var%" %var2% OR findstr /i /c:"%var%" ^ if %errorlevel% equ 0 echo.%var% is in %var2% pause >nul Exit

Question by HoeraufPrograms 6 years ago  |  last reply 6 years ago

Simple Computer Based Project Time Log

Recently I've been playing around with BASH and terminal in linux more. I've also been trying to become more organized and use my time more efficiently. Since I'm not studying CS or working with computers for a living these two things usually work against each other. It's winter break for me now though, so I can play around as much as I want, and in doing so I've come up with a basic way to track time spent working on each project for my next semester. How it works: I plug in a 1GB USB drive (smallest I have) which is labeled "Time Card". Time Card has an autorun script on it. Linux prevents this from actually running automatically, but tells me it's there with the option to run it. The autorun script launches a script from my computer which asks me which project I'm working on. The script logs the 'Time In' and, once the "Time Card" USB is removed, logs the 'Time Out' and 'Total Time Spent' in minutes, to a text file with the name of the project. It's nothing special, but I'm a little excited about it and wanted to share. I've attached slightly modified copies as text files for anyone interested. Edit: I've also uploaded a sample output file (project.txt)

Topic by rogers236 6 years ago  |  last reply 6 years ago

A Recipe for D&Disaster

Alt Text pokes a little fun at Dungeons and Dragons language with this cookbook-based parody. Could a mash-up of Iron Man and "Iron Chef" be next?Link

Topic by joshf 10 years ago

bat to .app?

Im making a text based cmd game and i know how to change a .bat to exe, but i was wondering if theres a way to change it to like a .app or .dmg mac extension executable?

Question by royalroachemail 1 year ago  |  last reply 1 year ago

clear instructions that are worth making and looking for.

Hey, any one got any instructions that i can use whish are based around rb guns and aeroplanes, with pictures and clear text please.

Topic by defleppod 10 years ago

Kickstarter - Fos - A hackable, fabric-based Bluetooth LED display

Hey guys, There's a new wearable device on Kickstarter called Fos: http://www.kickstarter.com/projects/erogear/fos-a-truly-wearable-bluetooth-led-display-system It's indistinguishable from fabric yet receives real-time video streams so you can draw text, graphics, 3D objects or whatever on your body or wearable gear via your smartphone. This means you can do GPS-guided turn signalling for cycling, display current real-time athletic stats, wear dynamic fashion designs and more. It's affordable and comes with a free SDK to give you 100% control over every pixel, all the time. I promise to only spam you once, I've got one shot at this. =] -Anders

Topic by ufanders 5 years ago

wants more pictures before i can publish

I am trying to publish an instructable i have created about equations, naturally there are not many pictures to include as much of the stuff is text based. what should i do.

Topic by resistanceisfutileiflessthan1ohm 6 years ago  |  last reply 6 years ago

Batch Randomization Answered

So how do you make randomized scenarios in batch because im making a text based game where i need random scenarios like for example get a random customer for a shop game or random skeleton appearing with a randomized amount of hp that you can set.

Question by royalroachemail 1 year ago  |  last reply 1 year ago

A Story of Mine:

I've been a working on a tale for quite a while now. I've managed to finally write the proluge (like 1 page lol), and I'd appreciate it if you had a looksee and tell me what you thinkee. It's a fantasy/sci-fi story about a guy who gets himself drawn into an alternate universe full of elves, vampires, dragons, and tings that go bump in the night... Please excuse my rather poor story-writing skills, my brain runs on a graphics-based OS, not text-based.

Topic by KentsOkay 11 years ago  |  last reply 7 years ago

Instructable App don't work on Ubuntu

I logged in and went to start an instuctable.  I started with the first line to name the instructable, app won't accept text.  I tried Firefox and chrome, but still doesn't work.  I running on a Linux computer with Ubuntu. If the program is web based, why wont it work on my computer?

Topic by botronics 2 years ago  |  last reply 2 years ago

batch randomization

Ok so im trying to make a text based game in batch, my concept was a batch store game where every time a customer walks in for example they ask for something its not the same thing every time you restart the batch file and if there is a way to put a section on the batch file where you could list a few scenarios and batch would randomize it to be one of those scenarios you had.

Question by RoyalR5 1 year ago  |  last reply 1 year ago

Integrating Math into My Programs?

First off, let me just say I love numbers.  Absolutely love them.  Unfortunately, I don't particularly have the know-how (possibly ingenuity) to integrate it into my programming beyond a few variables for text-based games.  Do you know of any good ways to do this for say, gravity simulations and such?  Links are always welcome. Thank you! 

Question by StarscreamClone 5 years ago  |  last reply 5 years ago

New interface for comments editor

Last night, Rachel rolled out a new version of the comments editor.  It's supposed to be faster and easier to use (no more pull-down formatting for paid users, for example, just buttons). One nice new feature is that you don't have to wait for all the buttons to load if you're just typing plain text.  The back end is still the same HTML-based CKEditor as before.

Topic by kelseymh 8 years ago  |  last reply 8 years ago

Introduction is garbled

Normal0falsefalsefalseEN-USX-NONEX-NONE/* Style Definitions */table.MsoNormalTable{mso-style-   The above is what appears on the main page of Instructables (not in my actual instructable!) as the introduction to my instructable for making a leather kippah. I tried removing my image and uploading it again, removing the intro text and adding it again. Nothing solved it.  It may be related to the images? I uploaded them using the new, Flash-based uploader. My URL is https://www.instructables.com/id/NO-SEW-LEATHER-KIPPAH-Yamulkah/  

Topic by Britex_Fabrics 9 years ago  |  last reply 9 years ago

iPhone 4S popup too small to show close button and zoom deactivated, image upload broken on chrome, text editing broken on edge

Bug1: Instructables.com is not usable on an iPhone4s based on the nasty blocking nag-popup with hidden X/CLOSE. Replicate: - iPhone 4S with Safari iOS 9.2 (13C75) - Wait for the nagging "log in" popup - The close/x button is north of the screen, not visible, because the iPhone screen is not as big as your developers thought. - Zooming is disabled. Scrolling does not work as the nag-popup is using javascript to center. - There is no way to reach the X/close button - Nag-popup will not go away. - Instructables.com not usable on iPhone 4s. This is major PITA. Only way to get rid of nag-screen is ""reload"", but that was a lucky guess. Bug2: uploading Screenshots into this forum using Google Chrome DOES NOT WORK. Click "choose files" does not return anything. Bug3: although uploading screenshots works on EDGE Browser, clicking and entering the forum Text DOES NOT WORK. so- entering text into forum topic does not work on EDGE. so I upload pictures on Edge and enter this text in chrome... Do I reaaaaly need 3 browser to do this bug report? WTF? Only because I truly love instructables.com like a unicorn loves pink, I took the pain to write this report, despite this forum's "choose files" button not working when trying to uploaid screenshot. Damn, even reportig bugs doesnt work - get your s*** together!

Topic by LeoS31 3 years ago  |  last reply 3 years ago

Could Anyone give me some game Ideas? Answered

I have been thinking about designing a game. here are some ideas I've been kicking around: Post-apocalyptic themed RPG: Based loosely on Discovery's new series, The Colony, you would play a character and experience his struggles to survive a cruel and lawless world. Final fantasy styled game. Zelda Platformer: It would incorporate the 'hoppy-jumpy' gameplay of the Mario Bros. Platform games with the dungeon-questing and puzzle-solving of the Legend of Zelda Titles. Mario RTS: Simply combine the gameplay of C&C with the themes of the Mario Brothers. nothing more to say. I am using Game Maker 7 Lite. Thoughts and suggestions are welcome and appreciated!

Question by AlternateLives 9 years ago  |  last reply 9 years ago

Can you piggyback RF communications on cellular transmit/receive frequency bands ?

My question is purely hypothetical and there is no immediate plans for any such application. But I was just curious is it possible to make use of the cellular frequency bands (as set out by a country's regulations and by the cellular providers) for some sort of covert type communication other than for voice, data or text types of cellular communications ? Would it be too difficult and complex to develop such an application that uses cellular radio frequencies or could it be done without too much concern for potential interference or the sharing of channels of nearby normal cellular transmissions ? Could such an application be developed without having to cross over many hurdles ? If this covert communications is possible would the cell frequencies used not reach the base stations of the wireless carriers as noise or can a peer to peer communications be possible by passing the base stations ?

Topic by victor43 3 years ago  |  last reply 3 years ago

how do i make dos ouput an ip only.?

Recently i rewrote a program i've been working on. it's altogether going to be a dos based hacking tool, but at the moment only has one use. so far i've managec to get it to give IPs for getting past site blockers. right now, it outputs a text file, which cntains all the info from the website ping. thanks in advance, and i hope i get some good answers.

Question by MrMystery96 10 years ago  |  last reply 10 years ago

Can you help me find an affordable downstream video keying system?

I have an old Panasonic video switcher which only has a text based graphics system, much like what you would find on some of the digital camcorders.  I am wondering if there is a software or hardware solution that isn't overly expensive (say under roughly $500) that can display graphics such as targa or photoshop files with an alpha layer to display over the video.  This would have to be completely downstream of my board, and not run through it. 

Question by yokozuna 8 years ago  |  last reply 7 years ago

LEGO Mindstorms Competition - Robo Lunch Party

Instructables participated in the LEGO Mindstorms Competition today (August 29th) at SOMA StrEATFood Park.  We went against Pandora, Facebook, and Flickr.  The competition was about using the new LEGO Mindstorms EV3 Kit to create a robot that best represented the city of San Francisco. Our team consisted of Randy, Sherry, Dave, Karen, and myself: Penolopy Bulnick. Instructables:  Robit the texting techie robot that walks around while playing on his phone not paying attention to his surroundings and running into people.  We gave him glasses (it made him look like Wall-E) and then wore LEGO Glasses ourselves. Flickr: San Francisco Icon Emperor Norton. Pandora: Two robots.  Dressed in baseball outfits.  One was the pitcher and one was the hitter. Facebook: This robot was also baseball themed.  They had one that would hit the ball and then follow a track to run the bases home. It was a tough competition, but in the end Pandora came up with the win.  We didn't leave empty handed though.  We managed to snag the coveted "Best Texting While Driving" award!  (Please remember to not actually text and drive, or you will get in an accident like our robot did.  Poor robot, should have known better.  Smashed into so many pieces.) Good job Instructables! Check out the Fast Company and CNET articles about the competition, including more information about the other contestants and images of all the entries.

Topic by Penolopy Bulnick 5 years ago  |  last reply 5 years ago

Need help with web script? Answered

I know a little about scripting web pages, but I'm mostly a hardware guy.  I need to figure out how to make certain text on a web page change based on where the client's location is.  (For instance, I need to say "serving (client town here) and the surrounding area since......." and I also need the phone number to change.  So far the best option I have come up with is creating a different web page for each town.  I know this script is possible, but I just don't know how to make it.  If anybody out there knows how to script this, I would help me a lot.  Thanks!

Question by thegeeke 7 years ago  |  last reply 7 years ago

Anyone know what this resistor is? Answered

I am working on the eye controller board of the hexapod robot and it has some resistors on it. The parts list calls for 12 220 Ohm resistors but, based on the photos, there are more that what it shows in the text. The 12 near the top of the board I know are the 220 Ohm ones, but I do not know what the others are. The 2 vertical ones near the bottom I believe are 20 Ohm and the horizontal one closest to the bottom 220 Ohm. The 2 located underneath the 28-pin sockets are half-covered by the plastic. Does anyone have a suggestion on the value of these resistors? I included a picture of the board from the instructable page and circled the resistors in question.

Question by Arya42 4 years ago  |  last reply 4 years ago

Does anyone from the UK want to go in on an oshchip - the mbed compatable processor board with bluetooth? see link & text for more details.

Https://www.reddit.com/r/ARMmbed/comments/43ulln/does_anyone_from_the_uk_want_to_go_in_on_an/ Text from link: Hi all. I have decided to place an order for the oshchip (as mentioned in the title. But as the shipping is $35 to the uk - I thought I would try and split the shipping among any other UK dwellers. what my plan is: gauge interest on this subreddit and maybe others. Based on the number of people interested get a quote from the oshchip.org shop (we may be able to get a bulk discount - so savings can get back to you.) So that we can all be honest - once I have a quote, my plan is to set up an ebay page with a buy it now option. This gives you protection - as ebay / paypal is very buyer friendly. Orders from Ebay will then allow me to pay oshchip to send me the product - and as soon as I have it - I can send to you via recordered delivery (for my protection). http://www.royalmail.com/sites/default/files/Royal-Mail-UK-and-international-parcel-and-letter-prices-30-March-2015.pdf The prices for that are above. I should be able to fit 1-2 programmer/debug boards in a large evelope plus plenty of the OSHchips. Feel free to ask any questions - but bare in mind I check Reddit more than I check the instructables forum.

Topic by evildoctorbluetooth 3 years ago  |  last reply 3 years ago

Build a device to remotely manipulate news in other people's browsers.

Hi all. We have written a HOWTO for building a small innocuous wall-plug that gives you the ability to remotely manipulate news read by other people on wireless hotspots. Devices affected include laptops, tablet computers (iPads etc) and smartphones. It can be built for under 50 euro. How to Build a Newstweek Device. The device consists of small Atheros based router and wall plug enclosure. We have made OpenWrt based firmware that can be easily flashed onto the router's 4Mb memory. Once plugged into the wall it can be configured using the browser and then remotely controlled using a browser interface. Tweekers can easily add text from a news site they wish to change and provide their substitution. It then sits on the server waiting for retrieval by the Newstweek device. When the device has retrieved the filter it then modifies the LAN, ensuring all wireless packets pass through itself before going to their destination. This is done using a well known 'attack' that rewrites the ARP table on both router and clients. If text in a payload matches the filter, it is changed before being passed onto the client. Sites currently affected include: BBC CNN Le Monde Lenta Ru Le Figaro Der Spiegel Il Tempo El Mundo The Guardian (with many more to come) Here's a video about the project in general: Newstweek: fixing the facts from newstweek on Vimeo . Here is a detailed demonstration of a Newstweek in action. It is intended for the networking enthusiast. Newstweek: The Thorough Demonstration from newstweek on Vimeo. The Newstweek project page is here. I has links to articles, interviews and other information hidden throughout the site: http://newstweek.com Enjoy, The Newstweek Team.

Topic by newstweek 8 years ago

What is this "Radio Engineering Laboratories Wavemeter Cat. 125"? Answered

I do not know the history of this device or where we got it from. The text on top has an "REL" logo (Radio Engineering Laboratories) and "WAVEMETER CAT. 125 SER. NO. 2041". There are three big coils on the compartment with different amounts of turns on them, and they mount to the screw things on the side. The awesomely cool knob goes from 0 to 100, but spins all the way around...it may have come loose inside. The lightbulb-looking thing has a standard Edison base, but isn't connected, just poked into the hole, I think the socket fell out. It looks like a neon lamp of some sort. There was also a laminated card in the box, a scan is attached. What the heck is this thing? All Google came up with was a court case where someone sued REL in 1934.

Question by CameronSS 9 years ago  |  last reply 9 years ago

Question about the full-screen teleprompter?

 I made a quick teleprompter based on yours as a guide, but made mine from black foam core instead of wood, and it's as strong as can be (and acts as it's own blackout device because it reflects very little light. And it works awesomely except for one thing. The glass on mine (just regular picture frame glass like yours) reflects a double image back at me, I presume from both glass surfaces. How did you manage to not get a double image, which on mine makes the text really quite hard to read. I was thinking of going to a glass shop and replacing it with a piece of one way glass, but you used regular glass and apparently have no problem. Just wondering if you know why or have ay explanations for me on this. Thanks,

Question by 9 years ago  |  last reply 9 years ago

Summary of observed/reported bugs or poor features with new editor

(10/16 Updated with overnight fixes) (10/15 Updated with new dropped-spaces/wrapping bug) (10/9 Updated with overnight fixes, and two new bug bullets) (10/8 Updated subsequent to Rachel's very nice response, with discovery of another bug.) I originally posted the following as a comment in Eric's announcement about the new editor, but it seems more likely to assist staff as a separate bug report.  I've tweaked the text a bit from my original comment. It would be helpful to know (by response) whether these issues are being (or cannot be) addressed, either by Instructables staff or by the CKE developers. It seems there are some fairly substantive bugs or obstructive "features" in the newly rolled-out editor. The ones I've collected so far (from reading posts as well as personal experience) are (now grouped separately as "true bugs" vs. "feature changes" or "design issues"): Browser Incompatibility There are serious shortcomings with the new editor on non-Firefox browsers Cannot paste comments at all, mishandling of links, etc. Bugs Additional user-entered spaces left as " " entities, rather than collapsed Pop-up box for hyperlinks is empty (no where to enter/paste a URL) FIXED Inexplicable "invalid formatting" errors FIXED Text pasting interference (hijacking of Ctrl/Cmd-V) FIXED Interference of spell-checker with built-in and configurable facilities FIXED Extra whitespace inserted between HTML markup and adjacent characters FIXED Line wrapping has problems:  spaced between words get dropped FIXED Spell-checker mistakes and application to hidden format codes FIXED Feature/Design Issues Extremely slow loading and processing FIXED! FIXED! FIXED! Inconsistent recognition of typed-in URLs (maybe three separate bugs?) FIXED Text box loses keyboard focus and requires multiple mouse-clicks to recover Editor box, icons, and posting button cut off by sidebar Limited keyboard-based markup (only bold, italic, and underlining), no entities Blank-line separation is not identified/translated into proper HTML paragraph tags Redundant end-of-line tag ("") at end of user's text. I realize that you all have already gone through the conversion of the existing database of comments and everything else, so backing this out is essentially impossible. However, it might be worthwhile rolling out fixes for these problems as soon as they're available, rather than waiting for a regular update cycle.

Topic by kelseymh 9 years ago  |  last reply 9 years ago

Instructable images on another site

I noticed a spike in youtube views the other day.  Based on YouTube analytics, the views were coming from a buzzfil.net site out of France. I went to the site and notice that  the images and new text (love google translate) were pulled off one of my instructables and placed on that site.  There is no credit (or link) given to instructables.  In addition, the adsense revenue was zero since the banner ads don't show up.   Here is the original: Part 1: https://www.instructables.com/id/Planter-Box-from-Pallets/ Part 2: https://www.instructables.com/id/Hanging-Basket-Column/ Buzzfil Version http://buzzfil.net/article/11630/c-mignon,non-classe/il-ne-savait-pas-trop-quoi-faire-avec-ses-palettes-en-bois-mais-son-idee-est-hyper-genial-9.html Is this pretty common?

Topic by mtairymd 3 years ago  |  last reply 2 years ago

Is this a good pcb design practically speaking? Answered

I designed this PCB in Diptrace and now i am going to etch it at home. This is my first PCB design. Can someone please tell me if this is a good and practical design? This is a design of a water level indicator based on a single NOT gate IC (HEF 4049). UPDATE: I redid the layout. Increased the trace width and attached the power to the IC. Please tell me if this is ok? Also please tell me is it must to have a power plane? UPDATE: 1) i went back to original layout and beefed up the tracks 2) Made the IC pads bigger. 3) Was able to reconfigure the layout to connect power without jumpers (this took up most of the time). 4) Did as Verence suggested and put text on the copper layer. Version number, date and name. 5) And finally added the positive for the supply voltage. UPDATE: Moved track from pin 7 of IC away from pin 8.

Question by Shariq92 6 years ago  |  last reply 6 years ago

URLs in newsletter for non-HTML readers

Hi, just thought you would like to know ... I receive the frequent Instructables newsletters.  However, I read mail in "mutt", a terminal-based text-only email program.  If I want to follow a link in a message, I cut-and-paste it from the terminal to a browser. The URLs in the Instructables newsletters are ludicrously long, which makes them a chore to cut-and-paste.  One I wanted to access today was 740 characters.  I don't know of any compelling reasons for a URL to be that long.  (I'm sure there are "reasons", I just suspect the same goals could be accomplished with URLs less than 100 characters long). I'm sure I'm in the extreme minority here, so I don't expect anyone to rush to fix this, but just thought you would like to know at least one newsletter recipient almost never follows the links it contains. Sorry if this was not the appropriate place to post this.  A quick scan of the site did not turn up a "feedback to Instructables" option. Thanks, Mark

Topic by abqcheeks 3 years ago  |  last reply 3 years ago

Display website outside on a large LED/LCD Monitor

I want to be able to display a webpage on to a large monitor. (so people can view the site when they are outside for example) The website would update in real time (ajax based) but is essentially pretty basic just some images and text (no flash)/simple design. I have had a bit of a look around at supplier sites and most seem to have their own system where you can add in images/videos to display, or a program where you can input data yourself. I was looking at was something like Samsung smart TV but I think this is to good for what I need as I want to keep the price down, or Opera TV but I am not sure if I am looking in the right direction. I don't really want to have a lap top connected to this device (and be connecting via a cable) ideally you could talk to the device via a smartphone over wireless/bluetooth. I don't know where to start but I reckon if someone could point me in the right direction here I could make my idea happen?

Topic by ak8500 6 years ago  |  last reply 6 years ago

A advanced Arduino calculator?

So I thought about a new project: make an "advanced" calculator since online there are plenty of tutorials of simple ones. I have done already the circuit and I have only some problems with the code since this is only my third project on Arduino and I don't  know programming in C. So basically: when I switch on the device it shows me a long text which I can scroll using a pair of pushbuttons(when the text can't scroll anymore a led switches on). When I push them contemporanealy the device switches to calculator. And this is the code I made (I know there are plenty of errors): #include #include long num1,num2 ; double total; char operation,button; const byte ROWS = 4; const byte COLS = 4; char keys[ROWS][COLS] = {   {'1','2','3','+'},   {'4','5','6','-'},   {'7','8','9','*'},   {'C','0','=','/'} }; byte rowPins[ROWS] = {A0,A1,A2,A3}; //connect to the row pinouts of the keypad byte colPins[COLS] = {A4,A5,0,1}; //connect to the column pinouts of the keypad Keypad customKeypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS); // === CONSTANTS AND GLOBALS === // -- PINS -- const int PIN_LCD_LED = 6;  // analog const int PIN_ERR_LED = 7;  // digital const int PIN_BUTTON1 = 8;  // digital const int PIN_BUTTON2 = 9;  // digital // -- LCD -- // PIN 12   -> RS // PIN 11   -> Enable // PINS 2-5 -> D4-7 LiquidCrystal lcd(12, 11, 2, 3, 4, 5); // number of columns in the LCD const int LCD_COLS = 16; // LCD brightness [0, 255] const int LCD_BRIGHTNESS = 128; // LCD ON or OFF int state_lcd = LOW; // start position for text int lcd_start = 0; // -- LED -- // LOW -> LED is OFF - HIGH -> LED is ON int state_led = LOW; // stores time when turned LED on unsigned long t0_led; // timeout to turn the LED off const int LED_TIMEOUT = 500; // -- text to print -- // ASSUMPTION: text always longer than LCD_COLS, if not add a check in loop const char TEXT[] = "After trying Helloworld I made this more advanced version..."; const int TEXT_LEN = (sizeof(TEXT) / sizeof(char)) - 1; const int LCD_LIMIT = TEXT_LEN - LCD_COLS; // === CONSTANTS AND GLOBALS END === // === INITIALIZATION === void setup() {   // -- SET DIGITAL PINS --   pinMode(PIN_BUTTON1, INPUT);   pinMode(PIN_BUTTON2, INPUT);   pinMode(PIN_ERR_LED, OUTPUT);   // -- SET UP LCD --   lcd.begin(16,2);   lcd.noDisplay();   digitalWrite(PIN_LCD_LED, state_lcd);   // ERROR LED is off when starting   digitalWrite(PIN_ERR_LED, state_led);   // -- read buttons --   int state_button1 = digitalRead(PIN_BUTTON1);   int state_button2 = digitalRead(PIN_BUTTON2);     // pushed button 1 -> try to scroll left or turn LED on if can't     if(HIGH == state_button1)     {       if(lcd_start > 0)       {         lcd_start--;         state_led = LOW;         digitalWrite(PIN_ERR_LED, state_led);         delay(200);       }       else       {         state_led = HIGH;         digitalWrite(PIN_ERR_LED, state_led);         t0_led = millis();       }     }     // pushed button 2 -> try to scroll right or turn LED on if can't     if(HIGH == state_button2)     {       if(lcd_start < LCD_LIMIT)       {         lcd_start++;         state_led = LOW;         digitalWrite(PIN_ERR_LED, state_led);         delay(200);       }       else       {         state_led = HIGH;         digitalWrite(PIN_ERR_LED, state_led);         t0_led = millis();       }     }     // -- print text on the LCD --     for(int i = 0; i < LCD_COLS; i++)     {       lcd.setCursor(i, 0);       lcd.print(TEXT[lcd_start + i]);     }     // ERROR LED is ON     if(HIGH == state_led)     {       unsigned long td = millis() - t0_led;       // LED has been ON for more than LED_TIMEOUT ms. -> turn it OFF       if(td > LED_TIMEOUT)       {         state_led = LOW;         digitalWrite(PIN_ERR_LED, state_led);       }     }   }   // normally 20FPS   // === INITIALIZATION END === // === MAIN LOOP === void loop() {   // == LCD STILL OFF ==   if(HIGH == state_lcd)   {     // pushing both buttons -> turn LCD on     int state_button1 = digitalRead(PIN_BUTTON1);     int state_button2 = digitalRead(PIN_BUTTON2);         if(HIGH == state_button1 && HIGH == state_button2)     {       analogWrite(PIN_LCD_LED, LCD_BRIGHTNESS);       lcd.display();       state_lcd = HIGH;       delay(250);     }   }     else  // == LCD ON ==   {     // Loops are convenient for reading key press from keypad     while(1) // First loop. Here we read keypad and compose our first number. It does so untill we press operation button and break's out of loop or 'C' and it starts from beginning of this loop     {                 button = customKeypad.getKey(); // Button read         if (button=='C') // If user wants to resset while he is writing first number         {           num1=0;           num2=0;           total=0;           operation=0;           lcd.clear();         }                 if (button >='0' && button <='9') // If user pressed numeric value, 1 character at a time.         {           num1 = num1*10 + (button -'0'); // Our numeric values are 0-9 witch means they are in first decade, when we multiply with 10 we basicaly add zero after number,           // than we add a new number entered to that zero spot. As for (button -'0') this is simple ASCII table "trick" 0...9 in ASCII table are 48 ... 57,           // so by subtracting '0' from any of them we get their value in decade system ex. char '5' = 53 in decade numeric system minus 48 for zero char gives us value of actual 5,           // if our previous number was ex. 25 we get 250 by multiplying it with 10 and then we add 5 and we get 255 witch gets printed on LCD.           lcd.setCursor(0,0); // Select first row on lcd           lcd.print(num1); // Print current number1         }         if (num1 !=0 && (button=='-' || button=='+' || button=='*' || button=='/')) // If user is done inputing numbers         {           operation = button; // operation remembers what mathematical operation user wants on numbers           lcd.setCursor(0,1); // set cursor to row 2           lcd.print(operation); // print our operator           break;         }     }         while(1) // Second while loop, it loops untill user has pressed '=' or 'C'. so it either prints total or ressets program     {         if (button =='C'){break;} // This covers case where user pressed operator and still wants to reset         button = customKeypad.getKey();         if (button=='C') // Making sure user wants to reset at anytime         {           num1=0;           num2=0;           total=0;           operation=0;           lcd.clear();           break;         }         if (button >='0' && button <='9') // Getting chars from keypad for number 2         {           num2 = num2*10 + (button -'0');           lcd.setCursor(1,1);           lcd.print(num2);         }         if (button == '=' && num2 !=0)// If button pressed was '=' its the end of the road. Calls domath() subroutine does calculation and print our results         {           domath();                              break;          }     }     while(1)     {       // After all is done this loop waits for 'C' key to be pressed so it can reset program and start over.       if (button =='C'){break;} // This line is side effect of previous loop since if user pressed 'C' it breaks out of previous loop and continues here.So we need to break this one aswell or user would need to press 'C' 2 times       button = customKeypad.getKey();       if (button =='C')         {            lcd.clear();            lcd.setCursor(0,0);            num1=0;            num2=0;            total=0;            operation=0;            break;         }     } } void domath() // Simple switch case to pick what operation to do, based on button pressed by user. {   switch(operation)     {       case '+': // Addition           total = num1+num2;           break;             case '-': // Subtraction           total = num1-num2;           break;             case '/': // Division. Could add error for division by zero, or change line in second loop where it waits for '=' char to if (button == '=' && num2 != 0) this will halt program untill num2 is not zero and then continue           total = (float)num1/(float)num2;           break;             case '*': // Multiplication           total = num1*num2;           break;               }     // Based on case selected print our total and     lcd.setCursor(0,1);     lcd.print('=');     lcd.setCursor(1,1);     lcd.print(total);       } } // === MAIN LOOP END === Waiting your answers, Cristian

Question by IlirD2 2 years ago  |  last reply 2 years ago

Congratulations Halloween Photo Editing Contest Winners

Congratulations to the winners of the Halloween Photo Editing Contest. We received a ton of great entries, and the 9 judges who evaluated the finalists had their work cut out for them. We pulled our judges from Instructables HQ and several people who had a hand in the creation of Pixlr. They used range voting on a scale of 1-9 judging entries based on clarity, ingenuity, creativity, quality of presentation, and execution of the Instructable. The winner, Hollymann and her Zipperface tutorial, created a project that was both glamorously disgusting and well-documented. The combination of final product and step by step process was a winning combination in the judges’ eyes. We really liked seeing supplemental text on top of the photos themselves, particularly because it was informative without being distracting. The special “Hooray! You used Pixlr!” judge’s prize went to doodlecraft’s Ghosts in a Graveyard project. Wrangling a four year old, taking 300 photos, and the quality of both the photos and the edits all contributed to win the judges over. The results were excellent, and doodlecraft might have snagged the top spot with some more screenshots and meta-explanation of which Pixlr tools she had used and why. The other entries were also excellent, and we at Instructables really appreciate the time and effort it takes to share a great project. The real winners here are all of the people looking to improve their photo-manipulation skills who now have a much larger repository of tutorials for a free and browser-based photo-editing application. Also, Halloween enthusiasts everywhere can now zip their faces and turn their friends and families into ghosts. (Among about 78 other awesome options.) Good work, everyone! Carley Jacobson Contest Manager

Topic by Carleyy 6 years ago  |  last reply 6 years ago


It's crazy that there isn't a "How to make Biodiesel" Instructable on the site, yet. I just created this group, but I'm inviting people to share info and links, here.Luckily, there are plenty resources online on how to brew your own biodiesel. The stub for the Make article on the subject doesn't include the full text, but it does include a number of great links:The Energy Self-Sufficiency Newsletter - This article is partly based on a series of articles by Maria "Mark" Alovert that first appeared here.Gly-Tek - To test for the presence of glycerin, you can use the Gly-Teck test kit, which detects leaked anti-freeze in motor oil. Recycling Sciences - High-volume operations can buy a $31,000 glycerin-purification distiller here, which will convert dirty biodiesel glycerin into nice, clear, commercially valuable glycerin. Mark Alovert's siteveggieavenger.com - Homebrewing forum.biodiesel.infopop.cc - Another homebrewing forum.biodieselnow.com - Biodiesel policy and activism forum.journeytoforever.org - Biodiesel processor designs and other info.nbb.org - Biodiesel stations and industry info.tdiclub.com - VW diesel forum.propelfuels.com - Setting up a commercial biodiesel pump in your town.Alternative Energy Videos - Videos about alternative energy, including biodiesel, available for rent from technicalvideorental.com

Topic by nagutron 12 years ago  |  last reply 11 years ago

Quick-vite idea

*UPDATE 2-15-11* If you are good with cell phone apps and website building and you would like to use my idea please message me. If you do make this all I ask for is a very small cut of the profit, but I really doubt anyone would want to make this anyway. Well, if you do just send me a private message and we can talk about it. Keep in mind you still may NOT TAKE MY IDEA UNLES I LET YOU! IT IS STILL COPYRIGHTED BY ME! Hey everyone, I just wanted to share my idea for a possible website I will be making in the future. I got the idea recently when my mom wanted to invite people over to the superbowl and sent out the emails that day. Many people didnt respont because, lets face it, many people dont check their email more than once a day. My idea would be a website based service that you could sign up for for free or become a member for a monthly fee. How it would work is you could type up your message and then send it to a pre-saved group of all the recipients phone numbers, and from there numbers could be added or removed. The site would then send a text to all of the recipients with instructions on how to respond. It would be something like "I'm having a b-day party at my house. 3:00-6:00 at 52 blah blah road. 'reply the number of people followed by y for yes, n for no, or m for maybe. ex. 3y 2n' " Then the results would be replied back to the website where it would compile a list of who and how many could and could not go to the event. Since sending the texts would cost some money it would have to be made up by advertising space as well as limiting the amount of invites allowed to be sent by the free users. Members benefits could include increased invites per month, more recipient groups allowed to be made, and a feature where you could text your website number from your cell phone and it would update you with how many people could and could not go. Since I'm only 16, I would not know how to create this site or be able to spread the word very well, so I would just like feedback on the idea for now. Please tell me what you think about the idea, and if you think its stupid be honest and tell me. Thanks :) And if you take my idea and start making money off of it, I will press charges. I emailed this to myself to sort of "copyright" it and this forum topic will not be edited ever so this will prove it's my idea as well. So please don't steal my idea.

Topic by Electroinnovation 8 years ago  |  last reply 8 years ago

Technology Category: Artificial Intelligence/ Machine Learning/ Data Science

I would like to see AI/ Machine Learning/ Data Science be a Subcategory in the Technology Category on Instructables. The field of Data Science/ Machine Learning is on the rise. Machine Learning is being integrated into various products & services we use on a daily basis. Below is the Developer Roles chart from the Stack Overflow Developer Survey 2017; It shows that the field of Data Science & Machine Learning combined accounts for approximately 12% of those surveyed, compared to the combined 1.6% in 2016. A large number of Open Source Machine Learning libraries like TensorFlow, SciKit, etc have been made available to developers across the world. These libraries enable developers & engineers to integrate ML models, Computer Vision, Chat Bots, Speech & Text recognition, etc into their projects. The Google Assistant & Amazon Alexa AI both AI Assistants are now compatible with the Raspberry Pi. Android Things - An OS built for connected embedded systems which can run ML & AI programs is now compatible with Hardware Platforms like the Intel Edison/ Joule & the Raspberry Pi. Platforms such as OpenAI conduct fundamental research & provide free software for training, benchmarking & testing AI. Kaggle - a website for hosting Data Science Competitions has a large collection of high-quality public datasets. There are many other platforms & frameworks like these. With the growing number of resources being made available in these fields, it is only natural that a large number of people will be looking for tutorials & instructions to help them integrate these resources into their projects. Instructables could become the repository of ML/AI based projects. E.g: AI-based Security System, a Line following robot which uses ML algorithms to follow the line, etc. I hope we can have a constructive discussion in the comments as to how we the Instructables Community can make Instructables the best repository for AI/ML projects.

Topic by Jonathanrjpereira 1 year ago  |  last reply 11 months ago

Hi3516 Access Root Error

First, I apologize for my english. I have a camera module with hi3516 SoC and have to access to hi3516 as root. But I couldn't that. If I begin to explain from start. I had an IPC, extracted it and now I have 3 modules (camera module, ir cut module and power / api module). I found 3 holes on camera module, these are GND, Rx and Tx. I soldered them with 3 female jumper cables and connect to ftdi module. I used micro USB to USB for ftdi-pc connection. Powered up camera module with 12V. In while, I download a program, what name is coolterm, to my pc. I opened coolterm and set baud rate to 115200 (hi3516 standard). Camera module booted up. I pressed a button when I see "Hit any key to stop autoboot: 1" text. Until here I followed an article and everything is fine. But that article says "You have to press enter after to type "root" to gain shell access" and I can't access shell when type "root". I got an error like "Unknown command 'root' - try 'help'". Hi3516 has embedded linux os. Article Link: https://felipe.astroza.cl/hacking-hi3518-based-ip-camera/ Any ideas to help me?

Topic by Anıl Enis 1 year ago

How do I monitor a security system through the internet?

I am working on a basic security system based on discrete logic and was wondering if there was any way I could monitor the status of the system through the internet and possibly send messages to phones, computers, etc. through the internet when certain inputs went high, which would happen when the system was activated. For example, if a window was broken in the living room, is there a program or way to have my computer be connected to the system so that it would register that the input concerning the living room was at high (or activated) status, and send a text message or email to a phone or computer telling the recipient that a break-in had occurred in the living room? The basic way the system works is that the system will have outputs for each sector monitored, and, when the system is tripped in a sector, that sector's output goes high. I have heard about some microcontrollers marketed as "ethernet/internet appliances" from various places, and was wondering if I could use one of those? I also have an old iPAQ ( see my other pocket PC question for system specifications), and an old Dell computer with a Pentium 3 processor and Windows 98 that I have total free reign over, they are mine; is there any way I could use one of those? Thanks!

Question by mad magoo 10 years ago  |  last reply 5 years ago

Not crazy about the new picture layout.

It's been a few days now & I've viewed quite a few things in that time both on my laptop & mobile and having given it some thought and a few days to get used to it I have to say that the new picture layout really does not tick the boxes for me. I can understand the desire to improve the layout where possible & I can understand wanting to show off the pictures at their best but it has been done at the cost of ease of use of the site. it works fine on 'ibles with only two or three pictures to a step but what seems to have been forgotten is that many 'ibles have a large number of pictures to each step meaning that the viewer has to scroll through all the pictures before getting to any text then scroll all the way back up again to refer to any pictures being described, on some 'ibles this may not be a problem but on many others I predict it will. The reason for the change has been given that "We wanted something that emphasizes your images in a format that is a bit more contemporary." which is all very well but I feel that the end result may well be that many images get overlooked altogether in an effort to get to the actual text of the 'ible & some 'ibles may simply get clicked away from because viewer's get tired of scrolling through image upon image to find out just what the 'ible is really about, I know I have already been guilty of this on at least one occasion in the last few days. I guess if the layout remains members will have to bear this in mind & decide on that basis how many images they will use but I can see 'ibles that have large numbers of images particularly in the introduction getting fewer repeat visits than when we could simply click & choose the images we wanted to view in greater detail. If I were able to choose between the old layout & the new one both to view & create 'ibles  I'm afraid I have to say that based on what I have seen over the last few days I would choose the old layout. i appreciate that HQ is constantly looking for ways to improve the site & a lot of hard work & thought is put into these things but on this occasion for me at least it has had a negative impact.

Topic by Nostalgic Guy 6 years ago  |  last reply 6 years ago

Electrical schematic help/wiring + arduino programming

Hello,first time user here, so i would like to just apologize for the wall of text that's coming up.Im trying to build this little enclosure here https://www.instructables.com/id/Touch-sensitive-... and i have a hard time understanding the basics of the electronic schematic thats invovled, when he shows how to build it. Nor do i truly understand what components are in it, hence why i cannot determine the price of this build (based on electronics). So i was wondering if anyone could lable one component by one for me, aswell as how to connect them all together? so that i could calculate the pricing and see how much it would actually cost. Seccond thing is that i wanted to change it up a bit, and use neopixels, or ws2812b led strips instead with a teensy 3.2 and fastled library code, for that fiery effect. Thought that might look really cool. However im concerned with the power draw of these ws2812b led strips. Getting information from adafruit: 60mah per led at maximum brightness, but thats eye blinding, so a 20mah per led is more logical, as someone with neopixels wouldnt be running full white anyways, and more colorful setup, or patterns. Im able to get 144 led/m quite cheap, but then the power draw of just 1m is a whopping 8.64 A. Which is starting to sound pretty dangerous at 5v. But then again, im not buying neopixels to run at full white brightness, i want the patterns. Im wondering if there is any possibilites to make a admin command or a priority list or something to lower the brightness of the strip entirely without messing up the code? i know regular leds have ir remotes to dim the light. I mainly just want the red flame effect, which is only 20mah at max brightness and a peacefull 2.88 A, but i also want white light + i want the safety of knowing i can supply the strip of the power it needs, just incase. The video with the code is underneath: (code in video desc)and i know 144 leds/m is probably overkill, but then again, im getting them dirt cheap, + it would give off a much better fiery effect than a 60 leds/m or even a 30 leds/m thanks in advance for any replies, and sorry for my wall of text. :)

Topic by karminderb 3 months ago

Multi Touch Pad. Would this design work?

Found this video on how to make a multi-touch table for your PC. http://www.youtube.com/watch?v=pQpr3W-YmcQ&feature;=fvwBut that model have 2 big problems. It's ugly and it's too high. But I really want to build one. 'Cause that is what I've always done, built my own small electronical stuff. Anyway. I've been thinking and I've designed my own model based on a webcam with a microphone. The picture says it all acctually. Do you guys think it would work, or is the cameras angle of view to small to have the height I want? Does my Size and shape seems resonable or do I need to rethink. And about the LED's. It would be cool with red light coming up from inside it. And it would match quite good with the oak frame (have lots of Oak-pieces I can't use for something so I will make a nice frame out of it), and in the dark it would be very cool with light coming up from inside it, but that would disturb the camera by removing the dark spots created by your fingers, or am I wrong? Maybe I could put them discretely in the four corners above the table itself. AnywayWhat do you think. Possible or not?It works with a little height, but I will strip down the camera so that I can put the lens really low and not put in the whole camera.To read the text on the picture you have to view them in full size.

Topic by UltraSquirrel 9 years ago  |  last reply 9 years ago

Musical Junk Physics Project

This project is not for me. It is for someone who inquired on Answers. Here was his original text:It's a project for physics, and it sounds impossible. I also have to play it in front of the class and have a written component with an explanation on what resonance is occurring. No electric instruments.Objectives:1. Construct a musical instrument out of junk and common materials such as plastic pipe, wood, glass, metal scrap, etc.2. Demonstrate and explain physics concepts inherent in your instrument.Rules: 1. The instrument must be able to play an octave in tune to receive a B grade.The A grade is reserved for truly amazing instruments in terms of thought and construction, so my challenge to you is to WOW me.2. The instrument must be able to play a song. Songs such as "Mary had a Little Lamb" or "Twinkle Twinkle Little Star" are not adequate since they do not include all the notes in an octave. 3. No Kazoos, Jew's Harps, Pop bottles filled with water, musical saws, washtub basses etc. When in doubt, ask.4. This is a high school level assignment, so I am expecting high school level (or above) projects at an appropriate level of difficulty. 5. Grading will be based on # of notes playedability to make your instrument resonateappropriate difficulty of the instrument constructionyour song of choice in an auditory presentation to the class and an explanation of the physics behind your instrumentcreativity of course.Stringed instruments must have more than one stringLet's help him out!!!

Topic by BeanGolem 10 years ago  |  last reply 8 years ago

Anyone want to do peer review? Open source product devellopment

I made the pulser pump 20 years ago. (A low tech trompe airlfit pump combination to use low grade water power.It never attracted scientific research funding and never got tested because it is simple and doesn't produce electiricity.I put up an instructable about how to make a model but nobody has made one.Last year I made the "mechanical mathematician" which is a new simple device to allow people to make moulds for parabolic dishes from cob or mud.The same constraints apply and official science will never check it out.This year, there is the tracking solar accumulator, the clock based dripper tracker and the 2 bucket dripper tracker. (Guess I am on a bit of a roll because I needed solutions to make the solar tracking accumulating barbecue a reality.)Official science will not be interested in this either.It is all very low tech stuff. Cheap simple trackers have been identified by solarcooking.org as an important part of getting solar cooking widely introduced. The clock based tracker especially could change things a whole lot for many people. It can be cheap and accurate enough to provide all day semi-automatic solar cooking. I have adapted a few clocks for this but there are probably many models on the market and you might find the ideal one or a better way of adapting one to help make better trackers for solar cookers.It takes years for new (even appropriate technology) to be introduced.Please help these things get introduced much faster by making some of them yourselves.And if you already have made some, please post them! Do not be afraid of doing a bad job. Places like the full belly group would be good to post your stuff or video or text responses to my utube videos.I will happily take down my instructables if someone posts better versions! I have made all these things but my versions were just demo's to show what could be done. There are no patents on any of them.Please join in. http://www.youtube.com/user/gaiatechnicianBrian White

Topic by gaiatechnician 10 years ago  |  last reply 10 years ago

FAQ: How Do I Search Instructables?

20080605. I exchanged a few PMs with Eric and it seems that even the Instructables staff is not sure about what's going on with the search feature. So ... until they can get this all straightened out, Eric recommends that we use the "site:www.instructables.com" option on Google for advanced searches. The Lucene search should work for most simple searches.. From Google's Web Search Help Center: "You can use Google to search only within one specific website by entering the search terms you're looking for, followed by the word "site" and a colon followed by the domain name. For example, here's how you'd find admission information on the Stanford University site: admission site:www.stanford.edu. Eg, "NachoMahma site:www.instructables.com" will search for my username on this site.. Try Kiteman +Law site:www.instructables.com.. . Sorry for any confusion I may have caused. . Instructables uses the Lucene search engine. I'm still trying to figure a lot of this out (can't seem to get +/- to work right, for one). As I gain insights into what is going on, I will share them here.. This is a Work In Progress and may probably contains many errors. Use at your own risk, but I can't imagine any of this causing any harm - the worst it should do is generate an error message.. Some Lucene features may not work at Instructables - I'll erase those as I become aware of them.. If you know of any search tricks or tips, or can provide any insight as to how all this works with Instructables, please PM me (or leave a comment). I'm open to all suggestions.. The following is from Lucene Query Parser Syntax (copyright 2006 by The Apache Software Foundation. Distributed under Apache License, Version 2.0). About all I've done, so far (2008-06-01), is format it for Instructables. Any info I've added is noted in the text.. Note: I can't figure out how to escape a carat (formatting code for superscript), so I've substituted "/\" (slash + back-slash), except in the pre-formatted examples.Table Of ContentsOverviewTermsFieldsTerm Modifiers (Wildcard Searches, Fuzzy Searches, Proximity Searches, Range Searches, Boosting a Term)Boolean Operators (AND, +, NOT, -)Grouping (AKA parentheses - nacho)Field GroupingEscaping Special CharactersTerms. A query is broken up into terms and operators. There are two types of terms: Single Terms and Phrases.. A Single Term is a single word such as "test" or "hello".. A Phrase is a group of words surrounded by double quotes such as "hello dolly".Multiple terms can be combined together with Boolean operators to form a more complex query (see below).Fields. Lucene supports fielded data. When performing a search you can either specify a field, or use the default field. The field names and default field is implementation specific.. You can search any field by typing the field name followed by a colon ":" and then the term you are looking for.. As an example, let's assume a Lucene index contains two fields, title and text and text is the default field. If you want to find the document entitled "The Right Way" which contains the text "don't go this way", you can enter:title:"The Right Way" AND text:goortitle:"Do it right" AND right. Since text is the default field, the field indicator is not required.. Note: The field is only valid for the term that it directly precedes, so the querytitle:Do it rightwill only find "Do" in the title field. It will find "it" and "right" in the default field (in this case the text field).Need to get a list of fields used on Instructables. - nachoWildcard Searches. Lucene supports single and multiple character wildcard searches within single terms (not within phrase queries).. To perform a single character wildcard search use the "?" symbol.. To perform a multiple character wildcard search use the "*" symbol.. The single character wildcard search looks for terms that match that with the single character replaced. For example, to search for "text" or "test" you can use the search:te?t. Multiple character wildcard searches looks for 0 or more characters. For example, to search for test, tests or tester, you can use the search:test*. You can also use the wildcard searches in the middle of a term.te*t. Note: You cannot use a * or ? symbol as the first character of a search.? and * work just like DOS wildcards, except you cannot use them as the first character - nachoFuzzy Searches. Lucene supports fuzzy searches based on the Levenshtein Distance, or Edit Distance algorithm. To do a fuzzy search use the tilde, "~", symbol at the end of a Single word Term. For example to search for a term similar in spelling to "roam" use the fuzzy search:roam~. This search will find terms like foam and roams.. Starting with Lucene 1.9 an additional (optional) parameter can specify the required similarity. The value is between 0 and 1, with a value closer to 1 only terms with a higher similarity will be matched. For example:roam~0.8. The default that is used if the parameter is not given is 0.5.Proximity Searches. Lucene supports finding words are a within a specific distance away. To do a proximity search use the tilde, "~", symbol at the end of a Phrase. For example to search for a "apache" and "jakarta" within 10 words of each other in a document use the search:"jakarta apache"~10Range Searches. Range Queries allow one to match documents whose field(s) values are between the lower and upper bound specified by the Range Query. Range Queries can be inclusive or exclusive of the upper and lower bounds. Sorting is done lexicographically.mod_date:[20020101 TO 20030101]. This will find documents whose mod_date fields have values between 20020101 and 20030101, inclusive. Note that Range Queries are not reserved for date fields. You could also use range queries with non-date fields:title:{Aida TO Carmen}. This will find all documents whose titles are between Aida and Carmen, but not including Aida and Carmen.. Inclusive range queries are denoted by square brackets. Exclusive range queries are denoted by curly brackets.Boosting a Term. Lucene provides the relevance level of matching documents based on the terms found. To boost a term use the caret, "/\", symbol with a boost factor (a number) at the end of the term you are searching. The higher the boost factor, the more relevant the term will be.. Boosting allows you to control the relevance of a document by boosting its term. For example, if you are searching forjakarta apacheand you want the term "jakarta" to be more relevant boost it using the /\ symbol along with the boost factor next to the term. You would type:jakarta^4 apache. This will make documents with the term jakarta appear more relevant. You can also boost Phrase Terms as in the example:"jakarta apache"^4 "Apache Lucene". By default, the boost factor is 1. Although the boost factor must be positive, it can be less than 1 (e.g. 0.2)Boolean Operators. Boolean operators allow terms to be combined through logic operators. Lucene supports AND, "+", OR, NOT and "-" as Boolean operators(Note: Boolean operators must be ALL CAPS).The OR operator is the default conjunction operator. This means that if there is no Boolean operator between two terms, the OR operator is used. The OR operator links two terms and finds a matching document if either of the terms exist in a document. This is equivalent to a union using sets. The symbol || can be used in place of the word OR.. To search for documents that contain either "jakarta apache" or just "jakarta" use the query:"jakarta apache" jakartaor"jakarta apache" OR jakartaAND. The AND operator matches documents where both terms exist anywhere in the text of a single document. This is equivalent to an intersection using sets. The symbol && can be used in place of the word AND.. To search for documents that contain "jakarta apache" and "Apache Lucene" use the query:"jakarta apache" AND "Apache Lucene"+. The "+" or required operator requires that the term after the "+" symbol exist somewhere in a the field of a single document.. To search for documents that must contain "jakarta" and may contain "lucene" use the query:+jakarta luceneNOT. The NOT operator excludes documents that contain the term after NOT. This is equivalent to a difference using sets. The symbol ! can be used in place of the word NOT.. To search for documents that contain "jakarta apache" but not "Apache Lucene" use the query:"jakarta apache" NOT "Apache Lucene". Note: The NOT operator cannot be used with just one term. For example, the following search will return no results:NOT "jakarta apache"-. The "-" or prohibit operator excludes documents that contain the term after the "-" symbol.. To search for documents that contain "jakarta apache" but not "Apache Lucene" use the query:"jakarta apache" -"Apache Lucene"Can anyone compare/contrast AND/+ and NOT/-? - nachoGrouping. Lucene supports using parentheses to group clauses to form sub queries. This can be very useful if you want to control the boolean logic for a query.. To search for either "jakarta" or "apache" and "website" use the query:(jakarta OR apache) AND website. This eliminates any confusion and makes sure you that website must exist and either term jakarta or apache may exist.Field Grouping. Lucene supports using parentheses to group multiple clauses to a single field.. To search for a title that contains both the word "return" and the phrase "pink panther" use the query:title:(+return +"pink panther")Escaping Special Characters. Lucene supports escaping special characters that are part of the query syntax. The current list special characters are+ - && || ! ( ) { } [] /\ " ~ * ? : \. To escape these character use the \ before the character. For example to search for (1+1):2 use the query:\(1\+1\)\:2. That's it. All corrections and/or clarifications are welcomed.

Topic by NachoMahma 10 years ago

Design Changes on Instructables

As you've noticed, we've been making some design changes to Instructables.  We're trying to accomplish a number of things including making it easier to find content you're interested in, creating more compelling products for advertisers, and supporting and growing what we've already built.  Here, I'll share the details around some specific design changes. One of my big goals for 2010 is to increase our direct visitors.  A direct visitor might type our URL into their browser, click on a link in a newsletter, come to the site from one of their bookmarks, or search for a phrase that includes "Instructables".  Other types of visitors include searchers, who come to the site from phrases such as "sweet potato fries" but aren't specifically trying to reach Instructables.com, and visitors from blogs or news portals.  My thesis is that more and more brand advertisers will want to reach our true community, and not people who are just passing by.  A pretty good proxy for our true community is direct visitors, and we've already seen the savviest advertisers try to reach only that community by advertising exclusively on our homepage (the recent Apple campaigns, for example).  To grow our business and ensure that Instructables thrives, it's important that we have great opportunities for advertisers, and a stronger community means more great Instructables and more intelligent people seeing and commenting on your Instructables. To this end, we've been working to increase the likelihood that someone will go deeper into our content, and remember to come back in the future.  Said another way, we want that sweet potato fries Google search to introduce someone to Instructables, and then have them think, "wow this site is amazing, I'll bookmark it, sign up for the newsletter, come back, etc..."  Some of the most dramatic changes are on the homepage and channel homepages.   On the homepage, we've removed the intro text from the links to Instructables.  By making the homepage less cluttered with words, I was hoping to increase the number of people clicking on an Instructable.  Also, I felt that the beginning of the intro text didn't contribute much to my understanding of the Instructable, and often it was no more than a repetition of the title (and at worse a note about how it was someone's first...).  Removing text to increase engagement might seem counter-intuitive, but with too much going on, visitors sometimes just leave rather than decide what to click on.  So far, clicks from the homepage are flat or slightly up, so this change hasn't had a negative effect on deepening visits, and may over time move us in a positive direction.  On the channel homepages, we've drastically changed the layout to be more blog-like.  My theory here was to give people a format they were more familiar with from elsewhere on the web, and results have been dramatic.  The exit-rates (the percentage of visitors that leave Instructables from a particular page) on our channel homepages have been cut in half.  For example, the exit-rate on the home channel homepage has dropped from 12% to 4.5%.  This is really good!  To me, this indicates that on the channel homepages we're giving visitors more compelling content, and they are more likely to dig into that content. In support of our efforts to deepen visits, we've been doing similar smaller changes all over the site. Most of these are based on our traffic and click analysis, and if my theories are wrong, we change back or try something else.  One particular change that has generated concern is the removal of the Answers link from the header.  This has nothing to do with our support of Answers in general -- it's based on data.  That link was almost completely unused.  Coming again from the perspective of making a slightly cleaner look, we removed it.  As the link wasn't generating any clicks, traffic to Answers has been unaffected.  In fact, as we're highlighting specific answers on the channel homepages, traffic to the Answers section is actually up 7% since we removed the link:  from Feb. 1 - 18 answers did an average of 11.1 K pageviews per day; from Feb. 19 - 28 it's done 11.9 K pageviews per day.  Perhaps that's noise in the data, but removing the link certainly hasn't been the end of answers, and the trend since the change is positive. So, we do rearrange the furniture from time to time, but it's never without reason.  We're always trying to make Instructables better.  We've messed up in the past, and we'll surely mess up in the future; but I think this is good, because if we're not reaching and striving a little bit beyond our comfort zone, we're not learning and improving. 

Topic by ewilhelm 9 years ago  |  last reply 9 years ago

Option to Add Images to Video Instructables

I would like to see images enabled on video instructables, as well as having the option to place the video anywhere in the text rather than being locked at the top of the page. An image or screenshot from the video can really highlight an article or video description and make it look much nicer. The only option currently to have both video and images in the same article is to make it a step by step Instructable. Doing so is awkward when all the instructions are provided in a video, but then you're required to somehow add multiple steps to the article which is really just a video description. As an example of how an image can really add to the attractiveness of an article based around a video, first look at this instructable: https://www.instructables.com/id/Make-an-Airsoft-Machine-Gun-from-a-Soda-Bottle/ Then at this article built around the same video on a different website that allows both image and video embedding: http://nighthawkinlight.wonderhowto.com/blog/make-bb-machine-gun-from-soda-bottle-0133352/ In the second article I am able to instantly draw interest to the video with a series of some of the better screen grabs. Even more importantly, while a video is able to provide all the necessary instruction for most things, an image is still the best format to provide a good long look at a mechanism or detailed area, rather than having to pause a video. Even if we were only allowed one still image to be embedded in a video instructable that would be good enough for me. It would at least allow a nice high resolution picture of the finished item to be displayed near the video so that as the viewer is watching each step they can glance over and get a crystal clear look of what the process is building up to. When you're five or ten minutes into instructions it's easy to forget exactly what the finished product is supposed to look like.

Topic by NightHawkInLight 7 years ago  |  last reply 7 years ago

Pirate Bay Legal Responses

I love the Pirate Bay's responses to threats of legal action.Since they're based in Sweden, home of the Pirate Party1, their responses can get pretty entertaining. Here's part of their response to a takedown notice from EA:Hello and thank you for contacting us. We have shut down the website in question.Oh wait, just kidding. We haven't, since the site in question is fully legal. Unlike certain other countries, such as the one you're in, we have sane copyright laws here. But we also have polar bears roaming the streets and attacking people :-(.And selection from the response to Warner Bros. et al:We are well aware of the fact that The Pirate Bay falls outside the scope of the DMCA - after all, the DMCA is a US-specific legislation, and TPB is hosted in the land of vikings, reindeers, Aurora Borealis and cute blonde girls.> I make this declaration conscientiously, believing it to be true and> correct, and in accordance with the laws of each of the countries> listed> above. I am aware and agree that the contents of this statement may> be relied upon against me in any court or arbitration proceeding.So it's OK with you if we bring legal action against you for a) claiming that we host any infringing files, which we don't,b) claiming that DMCA has any relation what so ever to the activites of the site, andc) making my eyes bleed by writing in UPPERCASE, underlined, and red text?Good stuff. Read and enjoy.1 I heard Rickhard Falkvinge speak at OSCON this past year- the talk was clear and eloquent, and he's quite engaging. I could barely suppress the urge to immediately hand him a donation for the Piratpartiet.

Topic by canida 11 years ago  |  last reply 11 years ago