Search Results

Search found 37274 results on 1491 pages for 'text parsing'.

Page 6/1491 | < Previous Page | 2 3 4 5 6 7 8 9 10 11 12 13  | Next Page >

  • How to color HTML elements based on parsing a user command string

    - by Anonymous the Great
    I'm working on a little parsing thing to color objects. For an example, you could type red:Hi!: and "Hi!" would be red. This is my not working code: <script type="text/javascript"> function post() { var preview = document.getElementById("preview"); var submit = document.getElementById("post"); var text = submit.value; <?php str_replace("red:*:",'<i class="red">*</i>',text); ?> preview.value = text; } </script>

    Read the article

  • "Parsing" I think is the word.

    - by Anonymous the Great
    I'm working on a little parsing thing to color objects. For an example, you could type red:Hi!: and "Hi!" would be red. This is my not working code: <script type="text/javascript"> function post() { var preview = document.getElementById("preview"); var submit = document.getElementById("post"); var text = submit.value; <?php str_replace("red:*:",'<i class="red">*</i>',text); ?> preview.value = text; } </script>

    Read the article

  • Alternatives to FastDateFormat for efficient date parsing?

    - by Tom Tucker
    Well aware of performance and thread issues with SimpleDateFormat, I decided to go with FastDateFormat, until I realized that FastDateFormat is for formatting only, no parsing! Is there an alternative to FastDateFormat, that is ready to use out of the box and much faster than SimpleDateFormat? I believe FastDateFormat is one of the faster ones, so anything that is about as fast would do. Just curious , any idea why FastDateFormat does not support parsing? Doesn't it seriously limit its use? Thanks! EDIT Holy crap, I just left a comment and that literally REMOVED a good answer! This appears a serious bug on stackoverflow!

    Read the article

  • How to Modify a Signature for Use in Plain Text Emails in Outlook 2013

    - by Lori Kaufman
    If you’ve created a signature with an image, links, text formatting, or special characters, the signature will not look the same in plain text formatted emails as it does in HTML format. As the name suggests, Plain Text does not support any type of formatting. For example, if you include an image in your signature, as shown below, the plain text version will be blank. Active links in HTML signatures will be converted to just the text of the link in plain text emails. The How-To Geek link in the image below will become simply How-To Geek and will look like the rest of the text in the signature. The same thing is true in the following example. The active links are stripped from the text. The picture of the envelope that was inserted using the Wingdings font will only display as the plain text character associated with it. There are times you may need to send email in Plain Text format, but still include your signature. You can edit the plain text version of your signature to make it look good in plain text emails by manually editing the text file. To do this, click the File tab. Click Options in the menu list on the left side of the Account Information screen. On the Outlook Options dialog box, click Mail in the list of options on the left side of the dialog box. In the Compose messages section, press and hold the Ctrl key and click the Signatures button. This opens the Signatures folder containing the files used to insert signatures into emails. The .txt file version of each signature is used when inserting a signature into a plain text email. Double-click on a .txt file for the signature you want to edit to open it in Notepad, or your default text editor. Notice that the links on “How-To Geek” and “Email me” are gone and the envelope typed using the Wingdings font was converted to an “H.” Edit the text file to remove extra characters, replace images, and provide full web and email links. Save the text file. Create a new mail message and select the edited signature, if it’s not the default signature for the current email account. To convert the email to plain text, click the Format Text tab and click Plain Text in the Format section. The Microsoft Outlook Compatibility Checker displays telling you that Formatted text will become plain text. Click Continue. The HTML version of your signature is converted to the plain text version. NOTE: You should make a backup of the .txt signature file you edited, as this file will change again when you change your signature in the Signature Editor.     

    Read the article

  • Importance of Keywords in Anchor Text or Title Text

    Keywords are indisputably, the single most important element of an anchor text. Keywords or keyphrases placed properly on the webpage can make all the difference when it comes to search engine positioning of any website. It has been seen that mere tweaking of keywords or keyphrases has made a remarkable difference in the ranking of the website in major search engines.

    Read the article

  • How to create full-text catalog as default catalog?

    - by Bill Paetzke
    This would save me the redundant ON MyCatalog phrase when I create full-text indices. For example, CREATE FULLTEXT INDEX ON MyTable ( MyField1, MyField2, MyField3 ) KEY INDEX PK_MyKey ON MyCatalog WITH CHANGE_TRACKING AUTO With MyCatalog set as default catalog, I wouldn't have to specify ON MyCatalog every time I want to create a full-text index. So how can I make MyCatalog default on this database?

    Read the article

  • How to get permission to create full-text index?

    - by Bill Paetzke
    I tried to create a full-text index and got this error: Msg 9967, Level 16, State 1, Line 1 A default full-text catalog does not exist in database 'foo' or user does not have permission to perform this action. FYI--I connected to the target sql server with Windows Authentication. What do I need to do in Sql Server 2005 and/or in Windows Server 2003 to get permissions? Please be thorough (assume I am a n00b). Thank you.

    Read the article

  • Is parsing JSON faster than parsing XML

    - by geme_hendrix
    I'm creating a sophisticated JavaScript library for working with my company's server side framework. The server side framework encodes its data to a simple XML format. There's no fancy namespacing or anything like that. Ideally I'd like to parse all of the data in the browser as JSON. However, if I do this I need to rewrite some of the server side code to also spit out JSON. This is a pain because we have public APIs that I can't easily change. What I'm really concerned about here is performance in the browser of parsing JSON versus XML. Is there really a big difference to be concerned about? Or should I exclusively go for JSON? Does anyone have any experience or benchmarks in the performance difference between the two? I realize that most modern web developers would probably opt for JSON and I can see why. However, I really am just interested in performance. If there's a proven massive difference then I'm prepared to spend the extra effort in generating JSON server side for the client.

    Read the article

  • nomachine NX: Text missing on all gtk interface (Unity and Gnome Classic)

    - by hansioux
    [Edit] I later realized my issue only occurs when I am using NX to remote access my machine. Therefore I edited the title and description. I have also found the temp solution, which is to "disable render extension" in the custom display settings. But doing so makes the NX experience very slow laggy, and not that nice to look at. [/EDIT] I did a fresh install on a new computer, and was trying to setup my fonts. When I log in remotely via NX, my the text are missing on all gtk based interfaces. That means most menues (except for unity), right click menues, applications themselves, terminal, and so on. About the only thing unaffected is firefox. all the texts are showing just fine for firefox. So that probably already says something about text permissions. I went to check if my fonts have the correct permissions and they do. I removed my custom settings from /etc/fonts/config.d, and still the texts are missing. There is a work around by using "disable render extension" in the custom display settings. How do I fix this issue permanently?

    Read the article

  • XAML Parsing Exception

    - by e28Makaveli
    I have a simple XAML page that load fine when it is loaded as part of any application within Visual Studio. However, when I deploy this application using ClickOnce, I get the following exception: Type : System.Windows.Markup.XamlParseException, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Message : Unable to cast object of type 'System.Windows.Controls.Grid' to type 'EMS.Controls.Dictionary.StatusBarControl'. Error at object 'System.Windows.Controls.Grid' in markup file 'EMS.Controls.Dictionary;component/views/statusbarcontrol.xaml'. Source : PresentationFramework Help link : LineNumber : 0 LinePosition : 0 KeyContext : UidContext : NameContext : BaseUri : pack://application:,,,/EMS.Controls.Dictionary;component/views/statusbarcontrol.xaml Data : System.Collections.ListDictionaryInternal TargetSite : Void ThrowException(System.String, System.Exception, Int32, Int32, System.Uri, System.Windows.Markup.XamlObjectIds, System.Windows.Markup.XamlObjectIds, System.Type) Stack Trace : at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at EMS.Controls.Dictionary.StatusBarControl.InitializeComponent() at EMS.Controls.Dictionary.StatusBarControl..ctor(IDataView content) at OCC600.ReportManager.ReportPresenter.ShowQueryView(Object arg, Boolean bringForward, Type selectedDataType) at OCC600.ReportManager.ReportPresenter..ctor(IUnityContainer container) at OCC600.ReportManager.Module.Initialize() at Microsoft.Practices.Composite.Modularity.ModuleLoader.Initialize(ModuleInfo[] moduleInfos) Inner Exception --------------- Type : System.InvalidCastException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Unable to cast object of type 'System.Windows.Controls.Grid' to type 'EMS.Controls.Dictionary.StatusBarControl'. Source : EMS.Controls.Dictionary Help link : Data : System.Collections.ListDictionaryInternal TargetSite : Void System.Windows.Markup.IComponentConnector.Connect(Int32, System.Object) Stack Trace : at EMS.Controls.Dictionary.StatusBarControl.System.Windows.Markup.IComponentConnector.Connect(Int32 connectionId, Object target) at System.Windows.Markup.BamlRecordReader.ReadConnectionId(BamlConnectionIdRecord bamlConnectionIdRecord) at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) The XAML page is given below: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cdic="clr-namespace:EMS.Controls.Dictionary.Primitives" xmlns:dicutil="clr-namespace:OCC600.Infrastructure.Dictionary.Utility;assembly=EMS.Infrastructure.Dictionary" Loaded="ResultSetControl_Loaded" <StatusBarItem Margin="10,0, 10, 0"> <TextBlock Text="{Binding CountText}" Padding="5,0"/> </StatusBarItem> <StatusBarItem Margin="10,0"> <TextBlock Text="{Binding MemoryUsageText}" Padding="5,0"/> </StatusBarItem> <StatusBarItem Margin="10,0" MaxWidth="400"> <TextBlock Text="{Binding StatusReport.Summary}" Padding="5,0" /> </StatusBarItem> <ProgressBar Margin="20,0" Name="progBar" Width="150" Height="13" Visibility="Collapsed" > <ProgressBar.ContextMenu> <ContextMenu Name="ctxMenu" ItemsSource="{Binding ActiveWorkItems}" Visibility="{Binding Path=ActiveWorkItems.HasItems, Converter={StaticResource BooToVisConv}}"> <ContextMenu.ItemContainerStyle> <Style TargetType="{x:Type MenuItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type MenuItem}"> <StackPanel Height="20" Margin="10,0" Orientation="Horizontal" HorizontalAlignment="Left"> <TextBlock Text="{Binding Path=Name, Mode=OneTime}" Foreground="Black" VerticalAlignment="Center" HorizontalAlignment="Left" /> <ToggleButton Style="{StaticResource vistaGoldenToggleButtonStyle}" Padding="5,0" Content="Cancel" IsChecked="{Binding Cancel}" Margin="10,0,0,0" > </ToggleButton> </StackPanel> </ControlTemplate> </Setter.Value> </Setter> </Style> </ContextMenu.ItemContainerStyle> </ContextMenu> </ProgressBar.ContextMenu> </ProgressBar> <StatusBarItem Margin="10,0" MaxWidth="400" HorizontalAlignment="Right"> <StackPanel Orientation="Horizontal"> <TextBlock Text="Last Update:" Padding="5,0" /> <TextBlock Text="{Binding TimeStamp}" Padding="5,0" /> </StackPanel> </StatusBarItem> <!-- TODO: Put checkmark if all is well, or error if connection failed--> <StatusBarItem Style="{DynamicResource {ComponentResourceKey TypeInTargetAssembly=dc:Ribbon, ResourceId=StatusBarItemAlt}}" DockPanel.Dock="Right" Padding="6,0,32,0" > <cdic:SplitButton Margin="5,0" Padding="5,2" Style="{DynamicResource {ComponentResourceKey TypeInTargetAssembly={x:Type cdic:SplitButtonResources}, ResourceId=vistaSplitButtonStyle}}" Mode="Split"> <cdic:SplitButton.ContextMenu> <ContextMenu > <MenuItem Header="Refresh Now" Command="{Binding ToggleConnectivityCmd}" CommandParameter="false"/> <MenuItem IsCheckable="True" IsChecked="{Binding ConnectState, Converter={StaticResource isFailedConverter}}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}, Path=IsChecked}" Header="Work Offline" Command="{Binding ToggleConnectivityCmd}"/> </ContextMenu> </cdic:SplitButton.ContextMenu> <cdic:SplitButton.Content> <StackPanel Orientation="Horizontal"> <Image x:Name="img" Source="{Binding ConnectState, Converter={StaticResource imageConverter}}" Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center"/> <TextBlock Text="{Binding ConnectState}" Padding="3,0,0,0"/> </StackPanel> </cdic:SplitButton.Content> </cdic:SplitButton> </StatusBarItem> </StatusBar> </Grid> The error just seems to have come out of no where. Any ideas? TIA.

    Read the article

  • Parsec Haskell to HTML

    - by Martin
    I'm using Text.ParserCombinators.Parsec and Text.XHtml to parse an input like this: hello 123 --this is an emphasized text-- bye\n And my output should be: <p>hello 123 <em>this is an emphasized text</em> bye\n</p> Any ideas? Thanks!!

    Read the article

  • PDF parsing file trailer

    - by Ralph
    It is not clear from the PDF ISO standard document (PDF32000-2008) whether a comment may follow the startxref keyword: startxref Byte_offset_of_last_cross-reference_section %%EOF The standard does seem to imply that comments may appear anywhere: 7.2.3 Comments Any occurrence of the PERCENT SIGN (25h) outside a string or stream introduces a comment. The comment consists of all characters after the PERCENT SIGN and up to but not including the end of the line, including regular, delimiter, SPACE (20h), and HORZONTAL TAB characters (09h). A conforming reader shall ignore comments, and treat them as single white-space characters. That is, a comment separates the token preceding it from the one following it. EXAMPLE The PDF fragment in this example is syntactically equivalent to just the tokens abc and 123. abc% comment ( /%) blah blah blah 123 Comments (other than the %PDF–n.m and %%EOF comments described in 7.5, "File Structure") have no semantics. They are not necessarily preserved by applications that edit PDF files. If they are allowed to appear after the startxref, parsing the file becomes more difficult because you do not know how far to back up from the %%EOF comment to start parsing to find the byte offset. Any ideas?

    Read the article

  • Parsing basic math equations for children's educational software?

    - by Simucal
    Inspired by a recent TED talk, I want to write a small piece of educational software. The researcher created little miniature computers in the shape of blocks called "Siftables". [David Merril, inventor - with Siftables in the background.] There were many applications he used the blocks in but my favorite was when each block was a number or basic operation symbol. You could then re-arrange the blocks of numbers or operation symbols in a line, and it would display an answer on another siftable block. So, I've decided I wanted to implemented a software version of "Math Siftables" on a limited scale as my final project for a CS course I'm taking. What is the generally accepted way for parsing and interpreting a string of math expressions, and if they are valid, perform the operation? Is this a case where I should implement a full parser/lexer? I would imagine interpreting basic math expressions would be a semi-common problem in computer science so I'm looking for the right way to approach this. For example, if my Math Siftable blocks where arranged like: [1] [+] [2] This would be a valid sequence and I would perform the necessary operation to arrive at "3". However, if the child were to drag several operation blocks together such as: [2] [\] [\] [5] It would obviously be invalid. Ultimately, I want to be able to parse and interpret any number of chains of operations with the blocks that the user can drag together. Can anyone explain to me or point me to resources for parsing basic math expressions? I'd prefer as much of a language agnostic answer as possible.

    Read the article

  • Parsing HTTP - Bytes.length != String.length

    - by hotzen
    Hello, I consume HTTP via nio.SocketChannel, so I get chunks of data as Array[Byte]. I want to put these chunks into a parser and continue parsing after each chunk has been put. HTTP itself seems to use an ISO8859-Charset but the Payload/Body itself may be arbitrarily encoded: If the HTTP Content-Length specifies X bytes, the UTF8-decoded Body may have much less Characters (1 Character may be represented in UTF8 by 2 bytes, etc). So what is a good parsing strategy to honor an explicitly specified Content-Length and/or a Transfer-Encoding: Chunked which specifies a chunk-length to be honored. append each data-chunk to an mutable.ArrayBuffer[Byte], search for CRLF in the bytes, decode everything from 0 until CRLF to String and match with Regular-Expressions like StatusRegex, HeaderRegex, etc? decode each data-chunk with the proper charset (e.g. iso8859, utf8, etc) and add to StringBuilder. With this solution I am not able to honor any Content-Length or Chunk-Size, but.. do I have to care for it? any other solution... ?

    Read the article

  • Need some ideas on how to acomplish this in Java (parsing strings)

    - by Matt
    Sorry I couldn't think of a better title, but thanks for reading! My ultimate goal is to read a .java file, parse it, and pull out every identifier. Then store them all in a list. Two preconditions are there are no comments in the file, and all identifiers are composed of letters only. Right now I can read the file, parse it by spaces, and store everything in a list. If anything in the list is a java reserved word, it is removed. Also, I remove any loose symbols that are not attached to anything (brackets and arithmetic symbols). Now I am left with a bunch of weird strings, but at least they have no spaces in them. I know I am going to have to re-parse everything with a . delimiter in order to pull out identifiers like System.out.print, but what about strings like this example: Logger.getLogger(MyHash.class.getName()).log(Level.SEVERE, After re-parsing by . I will be left with more crazy strings like: getLogger(MyHash getName()) log(Level SEVERE, How am I going to be able to pull out all the identifiers while leaving out all the trash? Just keep re-parsing by every symbol that could exist in java code? That seems rather lame and time consuming. I am not even sure if it would work completely. So, can you suggest a better way of doing this?

    Read the article

  • Unable to start sublime text

    - by Pramod
    I had been using Sublime Text 2 with no issues. I installed IDLE and now I'm unable to start Sublime Text. I tried uninstalling IDLE, but Sublime Text is still not starting. Here's the error: Unable to load libgdk-x11-2.0.so Unable to load gdk_cairo_create from libgdk-x11-2.0.so Unable to load gdk_cursor_new_for_display from libgdk-x11-2.0.so Unable to load gdk_cursor_unref from libgdk-x11-2.0.so Unable to load gdk_error_trap_pop from libgdk-x11-2.0.so Unable to load gdk_error_trap_push from libgdk-x11-2.0.so Unable to load gdk_input_add from libgdk-x11-2.0.so Unable to load gdk_input_remove from libgdk-x11-2.0.so Unable to load gdk_keymap_translate_keyboard_state from libgdk-x11-2.0.so Unable to load gdk_keyval_to_unicode from libgdk-x11-2.0.so Unable to load gdk_pixbuf_new_from_file from libgdk-x11-2.0.so Unable to load gdk_region_get_rectangles from libgdk-x11-2.0.so Unable to load gdk_screen_get_default from libgdk-x11-2.0.so Unable to load gdk_screen_get_display from libgdk-x11-2.0.so Unable to load gdk_screen_get_height from libgdk-x11-2.0.so Unable to load gdk_screen_get_rgb_colormap from libgdk-x11-2.0.so Unable to load gdk_screen_get_rgba_colormap from libgdk-x11-2.0.so Unable to load gdk_screen_get_root_window from libgdk-x11-2.0.so Unable to load gdk_screen_get_width from libgdk-x11-2.0.so Unable to load gdk_screen_get_n_monitors from libgdk-x11-2.0.so Unable to load gdk_screen_get_monitor_geometry from libgdk-x11-2.0.so Unable to load gdk_unicode_to_keyval from libgdk-x11-2.0.so Unable to load gdk_window_get_frame_extents from libgdk-x11-2.0.so Unable to load gdk_window_get_origin from libgdk-x11-2.0.so Unable to load gdk_window_get_state from libgdk-x11-2.0.so Unable to load gdk_window_invalidate_rect from libgdk-x11-2.0.so Unable to load gdk_window_set_cursor from libgdk-x11-2.0.so Unable to load gdk_window_move_resize from libgdk-x11-2.0.so Unable to load gdk_x11_display_get_xdisplay from libgdk-x11-2.0.so Unable to load gdk_x11_drawable_get_xid from libgdk-x11-2.0.so Unable to load gdk_x11_get_server_time from libgdk-x11-2.0.so Unable to load gdk_x11_get_xatom_by_name_for_display from libgdk-x11-2.0.so Unable to load gdk_x11_window_set_user_time from libgdk-x11-2.0.so Unable to load libgtk-x11-2.0.so Unable to load gtk_accel_group_new from libgtk-x11-2.0.so Unable to load gtk_accelerator_get_default_mod_mask from libgtk-x11-2.0.so Unable to load gtk_box_get_type from libgtk-x11-2.0.so Unable to load gtk_box_pack_start from libgtk-x11-2.0.so Unable to load gtk_check_menu_item_get_type from libgtk-x11-2.0.so Unable to load gtk_check_menu_item_new_with_label from libgtk-x11-2.0.so Unable to load gtk_check_menu_item_set_active from libgtk-x11-2.0.so Unable to load gtk_clipboard_clear from libgtk-x11-2.0.so Unable to load gtk_clipboard_get from libgtk-x11-2.0.so Unable to load gtk_clipboard_set_text from libgtk-x11-2.0.so Unable to load gtk_clipboard_set_with_data from libgtk-x11-2.0.so Unable to load gtk_clipboard_store from libgtk-x11-2.0.so Unable to load gtk_clipboard_wait_for_text from libgtk-x11-2.0.so Unable to load gtk_container_add from libgtk-x11-2.0.so Unable to load gtk_container_get_children from libgtk-x11-2.0.so Unable to load gtk_container_get_type from libgtk-x11-2.0.so Unable to load gtk_container_remove from libgtk-x11-2.0.so Unable to load gtk_dialog_add_button from libgtk-x11-2.0.so Unable to load gtk_dialog_get_type from libgtk-x11-2.0.so Unable to load gtk_dialog_run from libgtk-x11-2.0.so Unable to load gtk_dialog_set_default_response from libgtk-x11-2.0.so Unable to load gtk_drag_dest_set from libgtk-x11-2.0.so Unable to load gtk_drag_finish from libgtk-x11-2.0.so Unable to load gtk_file_chooser_add_filter from libgtk-x11-2.0.so Unable to load gtk_file_chooser_dialog_new from libgtk-x11-2.0.so Unable to load gtk_file_chooser_get_filename from libgtk-x11-2.0.so Unable to load gtk_file_chooser_get_files from libgtk-x11-2.0.so Unable to load gtk_file_chooser_get_type from libgtk-x11-2.0.so Unable to load gtk_file_chooser_set_current_folder from libgtk-x11-2.0.so Unable to load gtk_file_chooser_set_current_name from libgtk-x11-2.0.so Unable to load gtk_file_chooser_set_do_overwrite_confirmation from libgtk-x11-2.0.so Unable to load gtk_file_chooser_set_local_only from libgtk-x11-2.0.so Unable to load gtk_file_chooser_set_select_multiple from libgtk-x11-2.0.so Unable to load gtk_file_filter_add_pattern from libgtk-x11-2.0.so Unable to load gtk_file_filter_new from libgtk-x11-2.0.so Unable to load gtk_file_filter_set_name from libgtk-x11-2.0.so Unable to load gtk_get_current_event_time from libgtk-x11-2.0.so Unable to load gtk_im_context_filter_keypress from libgtk-x11-2.0.so Unable to load gtk_im_context_set_client_window from libgtk-x11-2.0.so Unable to load gtk_im_multicontext_new from libgtk-x11-2.0.so Unable to load gtk_init from libgtk-x11-2.0.so Unable to load gtk_main from libgtk-x11-2.0.so Unable to load gtk_main_quit from libgtk-x11-2.0.so Unable to load gtk_menu_attach_to_widget from libgtk-x11-2.0.so Unable to load gtk_menu_bar_new from libgtk-x11-2.0.so Unable to load gtk_menu_get_type from libgtk-x11-2.0.so Unable to load gtk_menu_item_get_label from libgtk-x11-2.0.so Unable to load gtk_menu_item_get_submenu from libgtk-x11-2.0.so Unable to load gtk_menu_item_get_type from libgtk-x11-2.0.so Unable to load gtk_menu_item_new_with_label from libgtk-x11-2.0.so Unable to load gtk_menu_item_set_label from libgtk-x11-2.0.so Unable to load gtk_menu_item_set_submenu from libgtk-x11-2.0.so Unable to load gtk_menu_item_set_use_underline from libgtk-x11-2.0.so Unable to load gtk_menu_new from libgtk-x11-2.0.so Unable to load gtk_menu_popup from libgtk-x11-2.0.so Unable to load gtk_menu_shell_append from libgtk-x11-2.0.so Unable to load gtk_menu_shell_get_type from libgtk-x11-2.0.so Unable to load gtk_message_dialog_new from libgtk-x11-2.0.so Unable to load gtk_message_dialog_new_with_markup from libgtk-x11-2.0.so Unable to load gtk_selection_data_get_uris from libgtk-x11-2.0.so Unable to load gtk_selection_data_set_text from libgtk-x11-2.0.so Unable to load gtk_separator_menu_item_new from libgtk-x11-2.0.so Unable to load gtk_settings_get_default from libgtk-x11-2.0.so Unable to load gtk_show_uri from libgtk-x11-2.0.so Unable to load gtk_vbox_new from libgtk-x11-2.0.so Unable to load gtk_widget_add_accelerator from libgtk-x11-2.0.so Unable to load gtk_widget_add_events from libgtk-x11-2.0.so Unable to load gtk_widget_destroy from libgtk-x11-2.0.so Unable to load gtk_widget_get_display from libgtk-x11-2.0.so Unable to load gtk_widget_get_parent from libgtk-x11-2.0.so Unable to load gtk_widget_get_screen from libgtk-x11-2.0.so Unable to load gtk_widget_get_type from libgtk-x11-2.0.so Unable to load gtk_widget_get_window from libgtk-x11-2.0.so Unable to load gtk_widget_grab_focus from libgtk-x11-2.0.so Unable to load gtk_widget_hide from libgtk-x11-2.0.so Unable to load gtk_widget_remove_accelerator from libgtk-x11-2.0.so Unable to load gtk_widget_set_app_paintable from libgtk-x11-2.0.so Unable to load gtk_widget_set_colormap from libgtk-x11-2.0.so Unable to load gtk_widget_set_double_buffered from libgtk-x11-2.0.so Unable to load gtk_widget_set_sensitive from libgtk-x11-2.0.so Unable to load gtk_widget_show from libgtk-x11-2.0.so Unable to load gtk_widget_show_all from libgtk-x11-2.0.so Unable to load gtk_window_add_accel_group from libgtk-x11-2.0.so Unable to load gtk_window_fullscreen from libgtk-x11-2.0.so Unable to load gtk_window_get_type from libgtk-x11-2.0.so Unable to load gtk_window_iconify from libgtk-x11-2.0.so Unable to load gtk_window_maximize from libgtk-x11-2.0.so Unable to load gtk_window_move from libgtk-x11-2.0.so Unable to load gtk_window_new from libgtk-x11-2.0.so Unable to load gtk_window_present_with_time from libgtk-x11-2.0.so Unable to load gtk_window_remove_accel_group from libgtk-x11-2.0.so Unable to load gtk_window_resize from libgtk-x11-2.0.so Unable to load gtk_window_set_default_icon_list from libgtk-x11-2.0.so Unable to load gtk_window_set_default_size from libgtk-x11-2.0.so Unable to load gtk_window_set_keep_above from libgtk-x11-2.0.so Unable to load gtk_window_set_modal from libgtk-x11-2.0.so Unable to load gtk_window_set_position from libgtk-x11-2.0.so Unable to load gtk_window_set_title from libgtk-x11-2.0.so Unable to load gtk_window_set_transient_for from libgtk-x11-2.0.so Unable to load gtk_window_set_type_hint from libgtk-x11-2.0.so Unable to load gtk_window_stick from libgtk-x11-2.0.so Unable to load gtk_window_unfullscreen from libgtk-x11-2.0.so Unable to load cairo_clip from libcairo.so Unable to load cairo_create from libcairo.so Unable to load cairo_destroy from libcairo.so Unable to load cairo_fill from libcairo.so Unable to load cairo_font_options_create from libcairo.so Unable to load cairo_font_options_destroy from libcairo.so Unable to load cairo_font_options_set_antialias from libcairo.so Unable to load cairo_get_source from libcairo.so Unable to load cairo_image_surface_create from libcairo.so Unable to load cairo_image_surface_create_for_data from libcairo.so Unable to load cairo_image_surface_get_data from libcairo.so Unable to load cairo_image_surface_get_format from libcairo.so Unable to load cairo_image_surface_get_height from libcairo.so Unable to load cairo_image_surface_get_stride from libcairo.so Unable to load cairo_image_surface_get_width from libcairo.so Unable to load cairo_line_to from libcairo.so Unable to load cairo_matrix_init_scale from libcairo.so Unable to load cairo_matrix_init_translate from libcairo.so Unable to load cairo_matrix_translate from libcairo.so Unable to load cairo_move_to from libcairo.so Unable to load cairo_paint_with_alpha from libcairo.so Unable to load cairo_pattern_set_extend from libcairo.so Unable to load cairo_pattern_set_matrix from libcairo.so Unable to load cairo_rectangle from libcairo.so Unable to load cairo_reset_clip from libcairo.so Unable to load cairo_restore from libcairo.so Unable to load cairo_save from libcairo.so Unable to load cairo_set_line_width from libcairo.so Unable to load cairo_set_operator from libcairo.so Unable to load cairo_set_source_rgb from libcairo.so Unable to load cairo_set_source_rgba from libcairo.so Unable to load cairo_set_source_surface from libcairo.so Unable to load cairo_stroke from libcairo.so Unable to load cairo_surface_destroy from libcairo.so Unable to load cairo_surface_flush from libcairo.so Unable to load cairo_translate from libcairo.so Unable to load cairo_scale from libcairo.so Unable to load pango_font_description_free from libpango-1.0.so Unable to load pango_font_description_new from libpango-1.0.so Unable to load pango_font_description_set_family from libpango-1.0.so Unable to load pango_font_description_set_size from libpango-1.0.so Unable to load pango_font_description_set_style from libpango-1.0.so Unable to load pango_font_description_set_weight from libpango-1.0.so Unable to load pango_font_get_metrics from libpango-1.0.so Unable to load pango_font_map_load_font from libpango-1.0.so Unable to load pango_font_metrics_get_ascent from libpango-1.0.so Unable to load pango_font_metrics_get_descent from libpango-1.0.so Unable to load pango_font_metrics_unref from libpango-1.0.so Unable to load pango_language_get_default from libpango-1.0.so Unable to load pango_layout_get_context from libpango-1.0.so Unable to load pango_layout_get_pixel_extents from libpango-1.0.so Unable to load pango_layout_set_font_description from libpango-1.0.so Unable to load pango_layout_set_text from libpango-1.0.so Unable to load pango_cairo_context_set_font_options from libpangocairo-1.0.so Unable to load pango_cairo_create_layout from libpangocairo-1.0.so Unable to load pango_font_map_create_context from libpangocairo-1.0.so Unable to load pango_cairo_font_map_get_default from libpangocairo-1.0.so Unable to load pango_cairo_show_layout from libpangocairo-1.0.so Unable to load pango_cairo_update_layout from libpangocairo-1.0.so Unable to load all required GTK functions Unable to init px Any solutions? Thanks!

    Read the article

  • Adding interactive graphical elements to text-based browser game with HTML5

    - by st9
    I'm re-writing an old virtual world/browser based game. It is text and HTML form based with some static graphics. The client is HTML and JS. I want to introduce some interactive graphical elements to certain parts of the game, for example a 'customise character' page, with hooks to server side and local data storage. I want to use HTML5/JS, what is the best approach to designing the web-site? For example could I use Boilerplate and then embed these interactive elements in the page? Thanks

    Read the article

  • Problems Rendering Text in OpenGL Using FreeType

    - by Sean M.
    I've been following both the FreeType2 tutorial and the WikiBooks tuorial, trying to combine things from them both in order to load and render fonts using the FreeType library. I used the font loading code from the FreeType2 tutorial and tried to implement the rendering code from the wikibooks tutorial (tried being the keyword as I'm still trying to learn model OpenGL, I'm using 3.2). Everything loads correctly and I have the shader program to render the text with working, but I can't get the text to render. I'm 99% sure that it has something to do with how I cam passing data to the shader, or how I set up the screen. These are the code segments that handle OpenGL initialization, as well as Font initialization and rendering: //Init glfw if (!glfwInit()) { fprintf(stderr, "GLFW Initialization has failed!\n"); exit(EXIT_FAILURE); } printf("GLFW Initialized.\n"); //Process the command line arguments processCmdArgs(argc, argv); //Create the window glfwWindowHint(GLFW_SAMPLES, g_aaSamples); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); g_mainWindow = glfwCreateWindow(g_screenWidth, g_screenHeight, "Voxel Shipyard", g_fullScreen ? glfwGetPrimaryMonitor() : nullptr, nullptr); if (!g_mainWindow) { fprintf(stderr, "Could not create GLFW window!\n"); closeOGL(); exit(EXIT_FAILURE); } glfwMakeContextCurrent(g_mainWindow); printf("Window and OpenGL rendering context created.\n"); glClearColor(0.2f, 0.2f, 0.2f, 1.0f); //Are these necessary for Modern OpenGL (3.0+)? glViewport(0, 0, g_screenWidth, g_screenHeight); glOrtho(0, g_screenWidth, g_screenHeight, 0, -1, 1); //Init glew int err = glewInit(); if (err != GLEW_OK) { fprintf(stderr, "GLEW initialization failed!\n"); fprintf(stderr, "%s\n", glewGetErrorString(err)); closeOGL(); exit(EXIT_FAILURE); } printf("GLEW initialized.\n"); Here is the font file (it's slightly too big to post): CFont.h/CFont.cpp Here is the solution zipped up: [solution] (https://dl.dropboxusercontent.com/u/36062916/VoxelShipyard.zip), if anyone feels they need the entire solution. If anyone could take a look at the code, it would be greatly appreciated. Also if someone has a tutorial that is a little more user friendly, that would also be appreciated. Thanks.

    Read the article

  • Text editor capable of running complex Regular Expressions?

    - by Mashimom
    I want to find a text editor capable of running and mainly storing regular expressions for later re-use. It should also be able to run them across multiple files. I know I can get all that with grep, but there is not much for re-use on it. I was able to get some regular expression functionality on Gedit with plugins, but not nearly close to my needs. There is EditPad Pro for Windows (runs on wine) but native is always better :)

    Read the article

  • Entity framework support for table valued functions and thus full text

    - by simonsabin
    One of my most popular posts with over 10, 000 hits is how to enable full text when using LINQ to SQL http://sqlblogcasts.com/blogs/simons/archive/2008/12/18/LINQ-to-SQL---Enabling-Fulltext-searching.aspx , core to this is the use of a table valued function. I’m therefore interested to see that Entity Framework will support table valued functions in the next release for more details have a read of the efdesign blog http://blogs.msdn.com/b/efdesign/archive/2011/01/21/table-valued-function-support...(read more)

    Read the article

  • Synchronizing audio with scrolling text

    - by mr yoshida
    I am trying to have a website that vertically scrolls about 5 paragraphs of text with a matching audio file that reads along with it. It doesn't need to be synchronized word for word such as highlighting each spoken word but an accurate start and stop time. I've searched for quite a bit on the most efficient way of doing this but can't seem to find any answers. I tried Flash but really don't want to use it. Thanks in advance.

    Read the article

  • (SOLVED) Problems Rendering Text in OpenGL Using FreeType

    - by Sean M.
    I've been following both the FreeType2 tutorial and the WikiBooks tuorial, trying to combine things from them both in order to load and render fonts using the FreeType library. I used the font loading code from the FreeType2 tutorial and tried to implement the rendering code from the wikibooks tutorial (tried being the keyword as I'm still trying to learn model OpenGL, I'm using 3.2). Everything loads correctly and I have the shader program to render the text with working, but I can't get the text to render. I'm 99% sure that it has something to do with how I cam passing data to the shader, or how I set up the screen. These are the code segments that handle OpenGL initialization, as well as Font initialization and rendering: //Init glfw if (!glfwInit()) { fprintf(stderr, "GLFW Initialization has failed!\n"); exit(EXIT_FAILURE); } printf("GLFW Initialized.\n"); //Process the command line arguments processCmdArgs(argc, argv); //Create the window glfwWindowHint(GLFW_SAMPLES, g_aaSamples); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); g_mainWindow = glfwCreateWindow(g_screenWidth, g_screenHeight, "Voxel Shipyard", g_fullScreen ? glfwGetPrimaryMonitor() : nullptr, nullptr); if (!g_mainWindow) { fprintf(stderr, "Could not create GLFW window!\n"); closeOGL(); exit(EXIT_FAILURE); } glfwMakeContextCurrent(g_mainWindow); printf("Window and OpenGL rendering context created.\n"); glClearColor(0.2f, 0.2f, 0.2f, 1.0f); //Are these necessary for Modern OpenGL (3.0+)? glViewport(0, 0, g_screenWidth, g_screenHeight); glOrtho(0, g_screenWidth, g_screenHeight, 0, -1, 1); //Init glew int err = glewInit(); if (err != GLEW_OK) { fprintf(stderr, "GLEW initialization failed!\n"); fprintf(stderr, "%s\n", glewGetErrorString(err)); closeOGL(); exit(EXIT_FAILURE); } printf("GLEW initialized.\n"); Here is the font file (it's slightly too big to post): CFont.h/CFont.cpp Here is the solution zipped up: [solution] (https://dl.dropboxusercontent.com/u/36062916/VoxelShipyard.zip), if anyone feels they need the entire solution. If anyone could take a look at the code, it would be greatly appreciated. Also if someone has a tutorial that is a little more user friendly, that would also be appreciated. Thanks.

    Read the article

< Previous Page | 2 3 4 5 6 7 8 9 10 11 12 13  | Next Page >