See commits at GitHub.
This fixed problem when closing TM2 with zoomed window, then unzooming window after restart caused invalid window placement.
Previously when constructing a scm URL from a path, if scm was not enabled we returned a file URL. This could result in some unexpected behavior. For instance, when a directory was selected in the file browser, activating "SCM Status" would just open the untracked directory. This patch, insteads, adds a query to the scm URL that can be parsed to determine how to handle the scm status request later on.
Accessibility visual bounds for a range of a single softline should always be also visually restricted to the softline. This is in order to be consistent with implementation in Apple's apps (e.g. TextEdit).
Fixes #1149. VoiceOver expects AXLineForIndex and AXRangeForLine to be consistent with the movement by line using arrow up/down. That means it expects "line" to mean softline. VoiceOver also distinguishes commands to move by: * paragraph (hardline): VO-Shift-PgUp/PgDown * line (softline): VO-up/down These are available when interacting with the text area (VO-Shift-down). This commit therefore fixes the AXLineForIndex and AXRangeForLine to make "line" mean "softline" instead of "hardline" as was the case until now.
Now links in text (e.g. links to RFCs after installing the Hyperlink Helper bundle) are announced as such with VoiceOver and it is possible to search for them with VO-Cmd-L. TODO: * launching links with VO-Space is not supported yet, but Enter (Fn-Return) does the same thing and is even more reliable. * link URL is not supported, so it is not possible to learn the URL with VO-Shift-U.
This is a document with information I found most useful as a new contributor to TextMate - basic stuff a new contributor is likely to get in contact with. It's of course incomplete, sparse, can be not well worded and even contain mistakes. But someone had to make the first shot :-)
This should allow Quick Look generators to function when they target a more specific UTI. Discussed in #1141 and #1168.
TextMate's, not TextMates.
This setting allows changing which invisibles are shown and what glyph is used for them. Invisibles are '\t', '\n', and ' ', to turn one off, add ~[\t \n] to the settings string. To set the glyph used for the invisible, add [\t \n][glyph_to_use].
This allow configuring which characters should be used to render tabs, spaces, and newlines (when “show invisibles” is enabled).
Works around a bug where icons are not inherited from the UTI definitions.
VoiceOver can announce text formatting, such as bold font, italics, underline, font, etc., as well as whether text is misspelled. For this, it needs the AXAttributedStringForRange attribute supported. This commit does exactly that. Testing can be done in this way (VO stands for Ctrl-Option): * first interact with the text (VO-Shift-down arrow when standing on the text element) * to announce text attributes for character after cursor, press VO-T * to seek for next: * misspelled text: VO-Cmd-E * color change: VO-Cmd-K * underlined text: VO-Cmd-U * many more (see VO-H-H, "Find", close help with Esc) * to seek for previous *: just add Shift to the shortcut Some attributes remain to be supported (full list of attributes is available at: https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/Protocols/NSAccessibility_Protocol/Reference/Reference.html#//apple_ref/doc/uid/20000945-SW53). The misspelled text VoiceOver support can be used nicely with TextMate's spelling support: 1. the user finds next mistake with VO-Cmd-E, hears the misspelled word, perhaps reads it on a braille display 2. the user then presses Cmd-; to show the spelling menu for that word and chooses the desired resolution (apply suggested correction etc.) 3. go back to step 1. :-)
This removes the need to create and manage a separate menu item as a placeholder for the title of the color swatch in the file browser action menu.
Otherwise just select next spelling error on Check Spelling, which is called by spelling panel as well.
We invalidate the entire buffer since the word can appear in multiple locations. This could be optimized to only invalidate misspelled instances of the ignored or learned word. Likewise, we redraw entire buffer since the refresh macro is not able to handle changes in spelling meta data and calculate minimal refresh region.
Also add key equivalents to spell popup menu.
Now using Edit -> Spelling -> Check Spelling selects next spelling error or one at caret if it was not yet selected, then shows context menu with correction suggestions. This makes checking spelling as easy as tapping Cmd+; Closes #1103
UTIs are taken from both the Apple supplied list and newly created for those that didn't exist. For those languages where no clear 'owner' existed to provide the reverse-DNS notation we use a com.macromates.* stand-in.
The behavior is based on Safari where last visible tab is swapped with the selected tab, if selected tab itself would not be visible. Commit edited by Allan Odgaard, original version used document icons in overflow menu and would make the effective last tab sticky. Closes #1060
Closes #1062
@executable_path is the originally-executed program, whereas @loader_path is the program that caused the load to occur (e.g. a Quick Look generator). @rpath can be changed at link time — a QL generator can specify a value that points to the enclosing app bundle’s Frameworks directory.
The fallback encoding is taken from .tm_properties (attr.unknown-encoding).
When this setting is enabled it will render the file browser with the source list style, that is, the same style as the sidebar in Finder. To enable run: defaults write com.macromates.TextMate.preview fileBrowserStyle SourceList
Shrinking the file browser width so that the folder drop-down text is compressed would cause the layout to break if the width was then increased.
Previously wasn't possible to stop a search in progress (even when closing the Find window).
This is useful when including a grammar and its injections needs to be applied.
This allows overriding “native” rules via injecting. This commit drops support for using ‘.’ as (injection) scope selector to match everywhere. Instead use ‘*’.
Added `scopeAsString` method to retrieve current scope as NSString
Leiningen is a build automation and dependency management tool mainly used for Clojure projects. https://github.com/technomancy/leiningen
If this is on, then VoiceOver reads the name of the new tab being switched to, enabling easier navigation between open tabs.
Make available to accessibility the following information that file browser displays visual indication for: * file type (whether the file is a file, folder etc.) * SCM status (whether the file is modified etc.) * close button (whether the file is open) Also, while we are at it, make available to accessibility the tooltip, filename and URL.
This notifies the user the choice is exclusive to only one button. Also including these buttons in an AXRadioGroup adds positional indication to the radio buttons (like "2 of 3") which gives sense of how many values there are to choose from, where in the list of those the user currently is, and, if there are more sequential AXRadioGroups (which is not the case here), it distinguishes in which one the user is making a choice.
The content scope is the portion of the scope created while parsing the document content, unlike scope attributes, document, project, SCM, and dynamic scopes (appended to the content scope).
This treats the label as a small size control.
Before labelFontSize was used for all controls, as the label size should match the control size we need to have different functions for each control size.
Closes #131
This will work properly with very long lines and soft wrap Fixes #869.
This enables VoiceOver user to see the document view as a single element and interact with it (i.e. inspect its subelements) only when needed by using the VO-Shift-down shortcut (and stop interacting with it using VO-Shift-up shortcut). This makes the element structure more hierarchical where at the top level are only major user interface components, so that it's easier for orientation. It also prevents unrelated UI elements to be sequential as VoiceOver by default orders elements by the visual order (top-down, left-right) rather then the order in the AXChildren array. For example in this case, the bottom status bar of the document window gets separated from the bottom toolbar of the file browser, unlike the situation before grouping when both bars were adjacent to the VoiceOver user.
This fixes semantics of the button and thus also its accessibility. The macro recording button represents state - more specifically a boolean state, so it has to be a NSToggleButton (or its specialization). Then the button is presented to the VoiceOver user as an AXCheckbox - that is a checkbox with on and off value - which is exactly what the button's function is. Examples of this in system apps is e.g. the "Play" button in QuickTime Player, which is also an AXCheckbox ("Pause" is then simply an unchecked "Play" checkbox).
VoiceOver reads an AXValue for a pop-up button - that is the selected item. But button's title does not set an AXValue, as it probably is not a menu item. So change the code set to the title by setting a single menu item with that title. This fixes accessibility of the pop-up when accessing its value before it is first popped up. It makes the code consistent with setGrammarName: which works fine (that's how I discovered how to fix it).
When enabled the height of the document is increased by the height of the view port, which means the last lines of the document are not anchored to the bottom of the view port but can e.g. be centered. Closes #513.
Before using the 'Open…' dialog caused the discreet graphics chip to be enabled until TextMate exited. Setting this flag tells the OS that we want and are able to use the integrated graphics to conserve the battery. Detailed in Apple Technical Q&A QA1734: http://developer.apple.com/library/mac/#qa/qa1734/
Previously this appeared correct because once you clicked the minimum height of the pop-up menu set it to the correct height. Corrects an issue noted by @fatiotus in #728.
- Set compression priorities to collapse fields in a desirable order. - Increase default width of selection string to fit 8888:88 - Set grammar popup to the width of the active grammar and give is sensible minimum/maximum widths. - Set a maximum width for the tab size menu.
This is required now that they are set as opaque.
This is to match the minimum allowed size for the sidebar header when the tabs above document is enabled, also matches the height of the forthcoming tab redesign.
Added .less files to the OakAppKit .plist bindings file as another grid icon, to go along with the existing .css, .sass and .scss definitions. Signed-off-by: Bob Rockefeller<EMAIL_ADDRESS>This code is public domain. Closes #166.
Since a document cannot send notifications, this will allow the SymbolChooser to monitor and respond to notifications from the DocumentView.
This would mainly happen when creating new windows with a file browser. Described at: http://stackoverflow.com/questions/5812593/nswindow-textured-gradient-fill-weirdness http://stackoverflow.com/questions/7795505/nswindow-textured-background-with-nstextfield/11482772#11482772
NSShadowAttributeName has no effect when using CTFrame. Use CGContextSetShadowWithColor instead.
This change adds new option for showing tab bar only above document, so the file browser header lines up with tab bar. File browser header height reduced by 1 pixel to match tab bar height. It also draws optional top divider when in same line as tab bar
Any file should be able to be opened within TextMate, so Option-DblClick will always do that. I first noticed this with .xib files. Because of the order of the if statements, opening an alias to a package or binary file (or .xib) would not have the previous if statements applied to it.
For aesthetic reasons the focus ring is disabled as there is no other control that can be active, however this is not the case with full keyboard access enabled as you can tab through the scope bar as well.
- Remove focus ring from search field as there is no second target. - Set top and bottom border widths for the textured window. - Remove miniaturize and zoom buttons for lack of utility. - Match name of window to menu command. - Various color and spacing tweaks.
Font name and font size was being used in the cache key as a way to avoid having to do cache invalidation. This comes at a price of a 3X slow down. Instead clear the cache when font size/name changes. Excessive font name/size switching should be deterred IMO, why not with slowdowns? so no real downside. This does not affect themes setting font name/size, as they are handled by another mechanism.
- The shading is a combination of the scope bar and textured button used in Lion/Mountain Lion. - Add an inactive state. - Increase click area of the forward/back buttons while decreasing the image size. - Switch popup menu cell to NSBackgroundStyleLight, previously the text would go to gray when inactive this prevents that though it does lose the drop shadow. - Various tweaks to alignment and spacing.
Issues remaining: * VoiceOver for some reason cannot track keyboard focus (i.e. moving down the list with just down arrow does not move VoiceOver cursor). User has to move the VO cursor instead using VO-down (and keyboard cursor follows in this case) * the pasteboard window isn't focused automatically for VoiceOver, user has to switch manually to it using VO-F2-F2
When you control-click the empty part of the file browser and select “Show in Finder” a Finder window will open showing the currently selected folder. You can go about this other ways, but I find that this feature complements the already existing "New Folder" menu item in the no-items-selected context menu of the file browser. This patch is public domain.
This reveals the current document in the file browser, by expanding directories to reach it, rather than changing the root directory of the browser.
Do some checks to see if there is more to parse on the following line, before invoking the (layout) callback.
Zoom is an OS X accessibility feature that lets sighted visually impaired users magnify screen content. This commit notifies Zoom of changes of TextMate’s caret position on screen so that Zoom can automatically follow the caret when the user moves it.
This commit adds support for most common accessibility methods/attributes to the OakTextView component. In user's language, VoiceOver users (i.e. blind and visually impaired users) can now use TextMate to read and write text. A few less used accessibility attributes remain to be supported - especially AttributedStringForRange and StyleRangeForIndex which should allow blind users to e.g. see and seek for spelling errors in text.
Backwards compatibility for commands that expect the variable to always exist or match the NO state, this matches the behavior of 1.x.
If changes are limited to visible rows, we only reload these.
This is when generating HTML for the release notes, manual, and, where we actually need this, list of contributions. Long-term we should probably switch to template tags as we are effectively adding code to the (otherwise declarative) build graph, which means we don’t have any way to tell if the generated HTML is up-to-date or not (as that would require analyzing the embedded ruby code).
Disabling this is achieved by setting `fileBrowserDocumentStatus` to `false` in `.tm_properties`. Disabling it should remove potential delays after opening, closing, and saving files when file browser is showing a lot of files. It is meant as a temporary workaround until the performance issues are addressed.
A user may read the text and use GitHub’s download button, thinking this is what the README refers to.
Re-layout input & output fields, so they don't enlarge whole drawer too much.
Previously, if no themes were active, the gutter colors would not be set. This would, effectively, give you random gutter colors on TextMate startup. (or, sometimes, a completely transparent gutter).
This includes bundle changes.
Fixes #445.
Fixes issue #77.
You can now use CTRL+S and CTRL+SHIFT+S to jump forwards/backwards in the incremental search results
A courtesy to anyone with images and illustrator files in their project!
1. Removed the alpha channels from all images. 2. Deleted unnecessary double images. (@sorbits: You might want to rename them to more accurately display what they do.) 3. Slight adjustments to improve the visibility of the bookmark icons at lower font sizes.
The following four new keys have been added: - gutterIconsHover - gutterIconsPressed - gutterSelectionIconsHover - gutterSelectionIconsPressed
__attribute__((format(...))) was added to NSAlert's class-based initializer in 10.7, and due to using string objects instead of literals as informative text, Clang is unable to guarantee the safety of the formatter, and, as such, issues a warning.
* Note: Column delimiter is back to four spaces due to XML/XSL not allowing control characters
Implemented proper alignment of the icons with the line number font.
* Changed the Subversion status command to output XML * Updated the status parsing to handle new XML output
This can be used together with `TM_SCM_BRANCH` to customize `windowTitle`.
Variables customizing `windowTitle` such as `$TM_SCM_BRANCH` can change while TM is inactive, while user is working in command line or different app. So it is better to refresh `windowTitle` once we get back to TM.
Unfortunately a printf precision specifier (‘%.*s’) can not come with a width specifier so we have to cast to int. The width specifier ‘t’ is used for ptrdiff_t. The int → NSInteger change fixed a bug with popup menu positioning, but there was no associated warning or error. It's possible there are more such bugs that we haven't found yet!
- Property using superclass ivar - Multiple methods matching selector
As we are no longer using Carbon functions to set menu key equivalents, this means that bundle menu items which have the same key equivalents as main menu items will unfortunately not display their key equivalents in the menu.
Only attempt to show the item in Finder if it is a file
After dragging the HTML Output window down below the bottom of the main window it cannot be dragged back and negative height of HTML Output is saved to file.
* Rewrote the Subversion SCM driver to use the svn executable * Badges work just like Mercurial * TM_SCM_BRANCH is set to the full repository URL for the working copy See issue #273.
New theme setting: gutterSelectionForeground
This closes issue #5.
New theme setting: gutterSelectionBackground
The left and right borders are no longer visible, so the results are flush with the edges of the find window.
As all the icons have been remade some of them should look better on non-retina also. This closes issue #42.
Theme setting keys gutterForeground, gutterBackground, and gutterDivider
This allows the border to appear properly when scrolling (with a multitouch device) bounces past the end of the content.
Previously disabled items could not be selected, and hence not be re-enabled.
On a ^Q text reformat, trailing whitespaces were not removed. Typically whitespace is typically considered undesirable.
This applies to scoped font size settings and should be faster than the previous std::string based approach.
This should be faster (and probably more precise) than the previous std::string based color manipulations.
This is using NSAttributedString’s NSTextTableBlocks: * Font is determined from current menu rather than hardcoded * Fixed: Invalid font size on bundle-item popup * Fixed: Both tab triggers and key equivalents can co exists on single menu item * No relayout calculations are needed after menu update (this is done automatically by NSLayoutManager when using NSTextTables) * Uses 10.5 compatible API
Do not specify selected index explicitely, popup menu item with NSOnState gets selected by default.
fixup! Draw tab triggers and key equivalents in menu Fix memory leak
The old techniques used to set key equivalents no longer work. Unfortunately, this technique is only a workaround and is not pixel-for-pixel identical due to the way NSMenuItem lays itself out when rendering a key equivalent; but I think it's the best that can be done for now.
This allows the project to build with the system default framework/include/library paths.
Using this allows other software to check whether configure was successful. This patch is public domain.
git commit fails when user.name and user.email aren't set. Unfortunately using git commit --author='Test Test<EMAIL_ADDRESS>doesn't work. This could happen in environments where pristine users are used to build software. This patch is public domain.
Only one octothorpe now.
It's a good looking editor, let's see a picture.
"Full Screen Menu Item" template from Object Library in Interface Builder, with key binding removed
In Interface Builder: Attributes Inspector -> Full Screen -> Primary Window
When the last tab is closed the window will be kept open if the file browser is shown. It will close the existing document and replace it with a scratch document.
If another user (on the same system) builds TextMate then he blocks everyone else, as other users would be unable to overwrite /tmp/dummy.
This is mainly for calling ‘mate «directory»’. Reference http://lists.macromates.com/textmate/2012-August/035164.html
Brings TM2 in line with the promises in http://manual.macromates.com/en/using_textmate_from_terminal.html Could probably be written nicer, I just don't get C++!
Example: previously it was not possible to open a URL like txmt://open?url=file:///Library/Keyboard%20Layouts/
This enables SCM badges for disk images. The check is done using the new (10.7) kCFURLVolumeIsLocalKey.
GlimmerBlocker (http://GlimmerBlocker.org) and other proxies may intercept the web data and replace the HTTP/1.0 response with a HTTP/1.1 response. Modified test to accept either.
https://github.com/mxcl/homebrew/commit/ff13af6fb37b378c9edb3a91fe3d6016c36661b5
This way it can be installed anywhere as long as the C compiler can find it.
In order to build from TextMate you also need to set the PATH variable.
Markdown syntax is not case sensitive for hyperlink tags, so use different tags for ninja, the build system, and Ninja, the TextMate Bundle.


PERLBUG(1) Perl Programmers Reference Guide PERLBUG(1) NAME perlbug - how to submit bug reports on Perl SYNOPSIS perlbug perlbug [ -v ] [ -a address ] [ -s subject ] [ -b body | -f inputfile ] [ -F outputfile ] [ -r returnaddress ] [ -e editor ] [ -c adminaddress | -C ] [ -S ] [ -t ] [ -d ] [ -A ] [ -h ] [ -T ] perlbug [ -v ] [ -r returnaddress ] [ -A ] [ -ok | -okay | -nok | -nokay ] perlthanks DESCRIPTION This program is designed to help you generate and send bug reports (and thank-you notes) about perl5 and the modules which ship with it. In most cases, you can just run it interactively from a command line without any special arguments and follow the prompts. If you have found a bug with a non-standard port (one that was not part of the standard distribution), a binary distribution, or a non-core module (such as Tk, DBI, etc), then please see the documentation that came with that distribution to determine the correct place to report bugs. If you are unable to send your report using perlbug (most likely because your system doesn't have a way to send mail that perlbug recognizes), you may be able to use this tool to compose your report and save it to a file which you can then send to<EMAIL_ADDRESS>using your regular mail client. In extreme cases, perlbug may not work well enough on your system to guide you through composing a bug report. In those cases, you may be able to use perlbug -d to get system configuration information to include in a manually composed bug report to<EMAIL_ADDRESS>When reporting a bug, please run through this checklist: What version of Perl you are running? Type "perl -v" at the command line to find out. Are you running the latest released version of perl? Look at http://www.perl.org/ to find out. If you are not using the latest released version, please try to replicate your bug on the latest stable release. Note that reports about bugs in old versions of Perl, especially those which indicate you haven't also tested the current stable release of Perl, are likely to receive less attention from the volunteers who build and maintain Perl than reports about bugs in the current release. This tool isn't appropriate for reporting bugs in any version prior to Perl 5.0. Are you sure what you have is a bug? A significant number of the bug reports we get turn out to be documented features in Perl. Make sure the issue you've run into isn't intentional by glancing through the documentation that comes with the Perl distribution. Given the sheer volume of Perl documentation, this isn't a trivial undertaking, but if you can point to documentation that suggests the behaviour you're seeing is wrong, your issue is likely to receive more attention. You may want to start with perldoc perltrap for pointers to common traps that new (and experienced) Perl programmers run into. If you're unsure of the meaning of an error message you've run across, perldoc perldiag for an explanation. If the message isn't in perldiag, it probably isn't generated by Perl. You may have luck consulting your operating system documentation instead. If you are on a non-UNIX platform perldoc perlport, as some features may be unimplemented or work differently. You may be able to figure out what's going wrong using the Perl debugger. For information about how to use the debugger perldoc perldebug. Do you have a proper test case? The easier it is to reproduce your bug, the more likely it will be fixed -- if nobody can duplicate your problem, it probably won't be addressed. A good test case has most of these attributes: short, simple code; few dependencies on external commands, modules, or libraries; no platform-dependent code (unless it's a platform-specific bug); clear, simple documentation. A good test case is almost always a good candidate to be included in Perl's test suite. If you have the time, consider writing your test case so that it can be easily included into the standard test suite. Have you included all relevant information? Be sure to include the exact error messages, if any. "Perl gave an error" is not an exact error message. If you get a core dump (or equivalent), you may use a debugger (dbx, gdb, etc) to produce a stack trace to include in the bug report. NOTE: unless your Perl has been compiled with debug info (often -g), the stack trace is likely to be somewhat hard to use because it will most probably contain only the function names and not their arguments. If possible, recompile your Perl with debug info and reproduce the crash and the stack trace. Can you describe the bug in plain English? The easier it is to understand a reproducible bug, the more likely it will be fixed. Any insight you can provide into the problem will help a great deal. In other words, try to analyze the problem (to the extent you can) and report your discoveries. Can you fix the bug yourself? A bug report which includes a patch to fix it will almost definitely be fixed. When sending a patch, please use the "diff" program with the "-u" option to generate "unified" diff files. Bug reports with patches are likely to receive significantly more attention and interest than those without patches. Your patch may be returned with requests for changes, or requests for more detailed explanations about your fix. Here are a few hints for creating high-quality patches: Make sure the patch is not reversed (the first argument to diff is typically the original file, the second argument your changed file). Make sure you test your patch by applying it with the "patch" program before you send it on its way. Try to follow the same style as the code you are trying to patch. Make sure your patch really does work ("make test", if the thing you're patching is covered by Perl's test suite). Can you use "perlbug" to submit the report? perlbug will, amongst other things, ensure your report includes crucial information about your version of perl. If "perlbug" is unable to mail your report after you have typed it in, you may have to compose the message yourself, add the output produced by "perlbug -d" and email it to<EMAIL_ADDRESS>If, for some reason, you cannot run "perlbug" at all on your system, be sure to include the entire output produced by running "perl -V" (note the uppercase V). Whether you use "perlbug" or send the email manually, please make your Subject line informative. "a bug" is not informative. Neither is "perl crashes" nor is "HELP!!!". These don't help. A compact description of what's wrong is fine. Can you use "perlbug" to submit a thank-you note? Yes, you can do this by either using the "-T" option, or by invoking the program as "perlthanks". Thank-you notes are good. It makes people smile. Having done your bit, please be prepared to wait, to be told the bug is in your code, or possibly to get no reply at all. The volunteers who maintain Perl are busy folks, so if your problem is an obvious bug in your own code, is difficult to understand or is a duplicate of an existing report, you may not receive a personal reply. If it is important to you that your bug be fixed, do monitor the<EMAIL_ADDRESS>mailing list and the commit logs to development versions of Perl, and encourage the maintainers with kind words or offers of frosty beverages. (Please do be kind to the maintainers. Harassing or flaming them is likely to have the opposite effect of the one you want.) Feel free to update the ticket about your bug on http://rt.perl.org if a new version of Perl is released and your bug is still present. OPTIONS -a Address to send the report to. Defaults to<EMAIL_ADDRESS>-A Don't send a bug received acknowledgement to the reply address. Generally it is only a sensible to use this option if you are a perl maintainer actively watching perl porters for your message to arrive. -b Body of the report. If not included on the command line, or in a file with -f, you will get a chance to edit the message. -C Don't send copy to administrator. -c Address to send copy of report to. Defaults to the address of the local perl administrator (recorded when perl was built). -d Data mode (the default if you redirect or pipe output). This prints out your configuration data, without mailing anything. You can use this with -v to get more complete data. -e Editor to use. -f File containing the body of the report. Use this to quickly send a prepared message. -F File to output the results to instead of sending as an email. Useful particularly when running perlbug on a machine with no direct internet connection. -h Prints a brief summary of the options. -ok Report successful build on this system to perl porters. Forces -S and -C. Forces and supplies values for -s and -b. Only prompts for a return address if it cannot guess it (for use with make). Honors return address specified with -r. You can use this with -v to get more complete data. Only makes a report if this system is less than 60 days old. -okay As -ok except it will report on older systems. -nok Report unsuccessful build on this system. Forces -C. Forces and supplies a value for -s, then requires you to edit the report and say what went wrong. Alternatively, a prepared report may be supplied using -f. Only prompts for a return address if it cannot guess it (for use with make). Honors return address specified with -r. You can use this with -v to get more complete data. Only makes a report if this system is less than 60 days old. -nokay As -nok except it will report on older systems. -r Your return address. The program will ask you to confirm its default if you don't use this option. -S Send without asking for confirmation. -s Subject to include with the message. You will be prompted if you don't supply one on the command line. -t Test mode. The target address defaults to<EMAIL_ADDRESS>-T Send a thank-you note instead of a bug report. -v Include verbose configuration data in the report. AUTHORS Kenneth Albanowski (<kjahds@kjahds.com>), subsequently doctored by Gurusamy Sarathy (<gsar@activestate.com>), Tom Christiansen (<tchrist@perl.com>), Nathan Torkington (<gnat@frii.com>), Charles F. Randall (<cfr@pobox.com>), Mike Guy (<mjtg@cam.a.uk>), Dominic Dunlop (<domo@computer.org>), Hugo van der Sanden (<hv@crypt.org<gt>), Jarkko Hietaniemi (<jhi@iki.fi>), Chris Nandor (<pudge@pobox.com>), Jon Orwant<EMAIL_ADDRESS>Richard Foley (<richard.foley@rfi.net>), and Jesse Vincent (<jesse@bestpractical.com<gt>). SEE ALSO perl(1), perldebug(1), perldiag(1), perlport(1), perltrap(1), diff(1), patch(1), dbx(1), gdb(1) BUGS None known (guess what must have been used to report them?) perl v5.14.2 2014-09-30 PERLBUG(1)


About Me
Humblebrag green juice enamel pin polaroid DIY, reprehen why is this so damn hard help me belly thundercats, master cleanse wolf velit iceland wtwee.
 Af fam brunch, crucifix man braid kitsch pork belly tote bag poke. Thundercats tofu


About the authors
Make a Scrap
Start half an idea for someone to finish.
Finish someone's scrapped idea.
Finish a Scrap


Hi! Welcome to my journey to discovering web development. My name is Chriscelle (pronounced as Krisel - to make it easier for you) and I have been on quite an adventure with my career. My intent for pursuing this path is satisfy my hunger for solving puzzles while contributing to a commune success.
To give you some background, I graduated with an HR degree and I am still very much proud of not only what I have learned but also the people I met, skills I have earned, and opportunities that came out of it. My interest for development came to sprout when I attended this 3-day intensive tech conference called FITC. I got to experience the immense pleasure of dreaming big and the ability to claim responsibility in bringing impact. I was mind-blown by most if not all sessions and from then onwards, I knew that I want to be in the tech space.
Currently, I am a Talent Coordinator in a up-and-coming Mar/Tech start-up while balancing that with part-time fast-track programming certificate at University of Toronto. My end goal is to become a software/web developer (Front-end, Back-end, or Full-stack) by the end of 2018. My long-term goal is to have the ability to merge my knoweldge in HR/People and Technology, where this would lead towards building a more human approach to recruitment + training and development for both the organizational and job seeker's point of view. How? I still have yet to discover. But now I am determined as my Why stands strong.


This wasn't a personal project, but more of a thing a couple of YouTube colleagues and I built outside of work.
An easter egg we wrote and put on the YouTube video page when Gangnam Style reached 2 billion views.
Ziling Zhao and I worked on integrating the code into the page, did the canvas and custom JS, and added character
animations provided by Taeho Ko.


THE LAST SEDUCTION A film review by Mark R. Leeper Copyright 1994 Mark R. Leeper
Capsule: Even without a good story, this film would be fascinating if only for the characterization of Bridget Gregory. Linda Fiorentino plays a brilliant, calculating, manipulative woman. Steve Barancik has written a taut, steamy murder thriller that has already played on cable and is now getting only a tiny theatrical release. THE LAST SEDUCTION is worth seeking out. Rating: +2 (-4 to +4)
Last year RED ROCK WEST, directed by John Dahl, went directly to video, then got a small theatrical release based on very good word of mouth. It fact, it was a nice little thriller that deserved much better treatment. That was unfortunate. But when Dahl's THE LAST SEDUCTION got the same treatment this year it was nearly criminal. I am sorry I missed it on HBO, but it was worth paying to see in a theater. This steamy crime thriller with tight and fascinating script by Steve Barancik is far better than the average run of theatrical films.
Bridget Gregory (played by Linda Fiorentino) is as cold and calculating a woman as has ever has been shown on the screen. She is as quick-thinking and amoral as a computer. Gregory instantly sizes up situations and subtly manipulates people and events to her own advantage. She works for insurance companies as a "lead generator," someone who is able to find potential customers for her company. And she must be good at her job based on the sampling we see. Just as a demonstration of her abilities she takes a credit history database and in a chillingly logical manner generates a list of women who would be anxious to have their husbands murdered. The method makes sufficient sense that one almost worries that some viewer will copy the method in real life. This is a female Hannibal Lecter whose fixation is making money rather than on cannibalism and mutilation, And because her desires are so normal, she is much harder to catch.
As the film opens Bridget does her thing for a New York City insurance company while her physician husband, Clay (Bill Pullman) pulls off a dangerous but lucrative drug deal that Bridget has master- minded. Hubby comes home with lots of cash, only to have his loving wife take the money and run.  She picks up one of the locals, Mike Swale (Peter Berg) as a bedmate to use with approximately the same consideration she would give a vibrator. Under Dahl's direction the sex scenes are often explicit and erotic. Some of the violence scenes are also fairly graphic.
Fiorentino plays Bridget like a breed of spider. She is purely cold and calculating, the epitome of sang froid. Peter Berg seems sufficiently young and naive to fall into her web. And Bill Pullman, who was pushed around by the woman in his life in RUTHLESS PEOPLE, here plays someone a lot smarter but still totally out-classed. J. T. Walsh, who has becoming a very familiar screen heavy, plays a crooked lawyer who can only look on with envy at what Bridget can do.
Fiorentino makes this film as exciting a thriller as we have seen this year. This is film noir with a vengeance with a femme fatale who could give lessons to Stanwick in DOUBLE INDEMNITY and Turner in BODY HEAT. Watch for it. I give this film a +2 on the -4 to +4 scale.
Mark R. Leeper<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


If analysis can't be done when a template is compiled, this module provides a file-like object that provides two methods:
write_safe(**strings) # Called with strings that appear in template write(**values) # Called with values supplied by caller at runtime
so that the sequence of calls generated by a template
{{ x }} <button onclick=foo({{ y }})>produce
w.write_safe('') w.write('I <3 Ponies!') w.write_safe('\n<button onclick=foo(') w.write({'foo': 'bar', '"baz"': 42}) w.write_safe(')>')
results in the output
I <3 Ponies! <button onclick="foo({"foo":"\x22bar\x22":42})">
The safe parts are treated as literal chunks of HTML/CSS/JS, and the unsafe parts are escaped to preserve security and least-surprise. For a more comprehensive example, a template like

  {{helper(user)}}
 {{template helper}} Hello, {{user.world}} {{/template}}
might correspond to the sequence of calls
# Dummy input values. user = { "world": "<Cincinatti>", "color": "blue" } color = user["color"] world = user["world"] # Alternating safe and unsafe writes that implement the template. w.write_safe("
\n\n ") helper (w, user) # Helper called in a different context w.write_safe("\n \n \n
")
which result in the output

  Hello, <Cincinatti>!

If a template system's call-graph is readily statically analyzable, the escape module can be used to propagate context and pick an escaper for each interpolation of an untrusted value into the template output.
Semantic Personal Publishing Platform
Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I’m proud to be a part of. Thousands of hours have gone into WordPress, and we’re dedicated to making it better every day. Thank you for making it part of your world.
— Matt Mullenweg
wp-config.php
file with your database connection details.
wp-config-sample.php
with a text editor like WordPad or similar and fill in your database connection details.wp-config.php
and upload it.wp-config.php
file, and try again. If it fails again, please go to the support forums with as much data as you can gather.admin
.If you are updating from version 2.7 or higher, you can use the automatic updater:
index.php
.WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.
If you have any questions that aren’t addressed in this document, please take advantage of WordPress’ numerous online resources:
WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.
WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.


Created by Saksham Agarwal / Piyush Bhopalka
That's implementing the ArrayAdapter.
Here's the code for reference. Link
ListView listView = new ListView(this);
listView.setAdapter(new MyContactsArrayAdapter(MainActivity.this, contacts_list));
setContentView(listView);
That's implementing the CursorAdapter.
Here's the code for reference. Link
- That's it for Week 2
- We finished off with Views, Custom Views.
- This knowledge is sufficient for building apps that don't use databases or internet
- For deeper understanding, go through the Udacity Course or the Android Developer Website.
- Next session we will learn to use internet and connect apps to cloud


I am currently a Graduate Research Assistant working on Explainable Artificial Intelligence under Dr. Prasad Tadepalli at Oregon State University. I have hands-on research and industry experience on several facets of AI and Machine Learning. My works span across:
Humans can look at different occluded versions of an object and still identify the object. This project shows that even convolutional neural networks can confidently identify the image class from minimal regions of the image. The key finding is that there exist multiple sets of such minimal regions for an image. We present these regions as directed acyclic graphs (termed as SAG for "Structured Attention Graph") that provide insights into the network's classification scheme.
Project on optimizing an industrial processes by converting it to an approximate MDP and applying model-free reinforcement learning algorithms on a discrete event simulator. Implemented in TensorFlow. Published in Winter Simulation Conference 2019.
This project studies the robustness and adaptability of pretrained policy of an embodied RL agent (Arnold) on modified versions of the training environment (VizDoom). These modifications include changes in agent’s state space and action space such as changes in agent’s speed and height, variations in environment lighting, ablations of objects in the environment and swapping of environment textures. Implemented in PyTorch.
This project involves building computer vision applications for object tracking, object counting, object tampering, intrusion detection and surveillance by performing transfer learning over object localization networks such as Darknet YOLO, Faster-RCNN and MobileNet-SSD. Kalman filter based SOR Tracker was used for tracking. Developed using C++ and Caffe.
This work derives the Trust Region Policy Optimization (TRPO) algorithm and develops a novel online variant of TRPO using Conjugate Gradient Descent. The online variant of the algorithm is shown to optimize an Earthmoving operation as a proof-of-concept. Implemented in TensorFlow.
This work explores deep autoregressive models for density estimation such as Neural Autoregressive Density Estimator (NADE) and Masked Autoregressive Density Estimation (MADE). The hypothesis is that deep autoregressive models such as MADE generate richer samples than those generated by mixture models such as GMM, verified by the samples generated for the Anime Faces dataset. Implemented in PyTorch.
XNN is a novel neural network architecture designed to yeild saliency maps that can be disentangled to represent visual concepts. Hence the generated saliency maps can be used to attribute explanations to the Neural Net's classifications. The XNN architecture uses stacked Sparse Reconstruction Autoencoders (SRAE) with a novel "concept loss", a "pull away term" and Integrated-Gradient based visualization to generate explainable saliency maps. Implemented in PyTorch.
This is a toolkit developed to perform Visual Data Subset Selection and Visual Data Summarization Using Submodular Functions. The toolkit employs several summarization models that perform Feature Subset Selection based on Diversity Functions, Coverage Functions and Representation Functions. One of the following three summarization algorithms can be used: Budgeted Greedy, Stream Greedy and Coverage Greedy. Developed in C++.
Vivswan Shitole, Li Fuxin, Minsuk Kahng, Prasad Tadepalli, Alan Fern
arxiv:2011.06733
◾ Worked on developing several computer vision applications for video analytics and surveillance. This involved customizing the following computer vision algorithms and deep learning models for our specific usecases:
◾ Created an ”object tracker” using Kalman filter based SOR tracking to estimate traffic and detect intrusions through surveillance videos at crowded public places in Mumbai.
◾ Created a ”classroom monitor” used to mark attendance and detect anomalous events in classrooms through surveillance cameras deployed in some rural schools of Mumbai with the help of NCETIS. This involved training custom Mobilenet-SSD and Darknet-Yolo models for face and apparel recognition using Caffe and building a software around it.
◾ Developed SafeTI Diagnostic Library for functional safety of TI’s safety critical microcontrollers deployed in ASIL B applications.
◾ Developed API for GAP, GATT and Security Manager layers of Bluetooth Low Energy software stack for TI’s ultra low power microcontrollers
◾ Worked on Camera Synchronization for ADAS Automobile Camera Systems connected to host using FPD link based on LVDS standard, used in various application scenarios like surround view, stereo vision and multi-camera fusion for redundancy.
Computer Science - Artificial Intelligence Track
GPA: 3.85
Relevant Courses:
Electrical and Electronics
GPA: 3.3


Our Wines
Zinfandel
Our medium weight Zin has a nose of fruit and baking spices, with wonderful fruit on the palatte. It is impeccably smooth and has a rich, beautiful color.
We age our Zin’s for twelve months in French Oak, medium toast barrels and six months in neutral barrels.


Noncontinuous
Groups
by Steven H. Cullinane
A group of geometric transformations, all of which are continuous, may
be called a discrete group or discontinuous
group when
the group is finite.
(Do web searches for "discrete group" and "discontinuous group" for
finer shades of meaning.)
What, then, should a finite group of geometric transformations, some of
which are discontinuous, be called?
The phrase "noncontinous group" seems apt.
Examples of noncontinuous groups:
Groups of discrete versions of chaotic maps (cf. Wikipedia
articles).
The diamond theorem
Finite
geometry of
the square and cube
Pattern
groups
Ivars Peterson on "Scrambled
Grids" (Aug. 28, 2000)
The Mathieu group M24 acting on the Miracle Octad Generator of R. T. Curtis. This is on the cover of Griess's Twelve Sporadic
Groups—
Page created October 16,
2009


Download The SL Social App And Starting Earning This Festive Season!
by Soccer LadumaFrom Kaizer Chiefs making light work of Stellenbosch FC in midweek, Arsenal sacking Unai Emery, to Bidvest Wits and Mamelodi Sundowns starting well in their group stages in the CAF continental competitions, football locally and internationally has thrown up great surprises.
And since it’s the festive time of the year, we want you to get an avalanche of surprises, by using the Soccer Laduma app.
We at Soccer Laduma created the SL App for you to earn points, engage with other soccer lovers, and win simply by taking selfies and sharing your favourite football moments.
Scroll hrough the gallery to view images of the SL social app
All you need to do is this...
Download the app, register your profile and then start posting.
Once you’ve posted and shared your moments, you can start EARNING POINTS.
By redeeming your points, you can earn rewards which include:
Airtime
Data
Soccer Laduma newspapers
KickOff magazine
and more!
Download it NOW and start posting and earning. Let your football passion do the talking.


Creating your Ovo Trading account is 100% free and will allow you to access our suite of financial trading solutions.
Fill out the quick registration form and receive:
Immediate Access to your Registered Account
Dedicated Account Manager
100% Free Set Up
Create your OVOTrading account.
I accept the
Terms and Conditions
Register


Hello!
My name is Kenia.
UCSD Computer Engineering undergrad.
I create and design with people in mind.
Helping create interactive e-books for elementary and middle schools to promote STEM education. Responsible for the front-end engineering and user experience.
Board member in student design organization. Design.UCSD holds meetings, workshops, and socials to promote collaboration between students and industry.
Member of Triton Wash, a mobile app design for the laundry facilities on the UCSD campus. Triton Wash was a finalist for the 2014 UXSD Design Competition.
I use the Kitaboo and Kno publishing platforms to create interactive children's textbooks centered around STEM research. These come in the form of e-books specialized for iPads and school websites. The goal is to attract and retain students to STEM.
Adobe InDesign is used to create the images and graphics of the book while HTML animations are inputted throughout for a deeper user interaction.
I am currently working on the page widgets: embedded video/audio, interactive games, and educational tasks such as flashcards which you can see to the right.
As the Design Competition Chair, I am responsible for planning the annual UCSD design competition during Spring Quarter of the academic year.
In addition, I also assist the org with logistics: leading meetings, workshops, and connecting our alumni and current students to industry.
In a team of 5, we designed a mobile app to improve an on-campus student's experience when using the UCSD laundry facilites.
After many interviews, and paper prototypes, we tackled these problems: how many and which machines are available, how much time does my machine have left, and paying for the service through the app
The actual iOS prototype is still being implemented but the design itself placed at the UXSD Design Competition Spring 2014.


wait()
, notify()
, and notifyAll()
that are not made inside a corresponding synchronized statement or synchronized method.
Calling these methods on an object
without holding a lock on that object causes IllegalMonitorStateException
.
Such a construct is not necessarily an error, as the necessary lock may be acquired before
the containing method is called, but it's worth looking at.
Example:
class Sync {
private final Object lock = new Object();
void test() throws InterruptedException {
synchronized (this) {
lock.wait(); // 'lock.wait()' is not synchronized on 'lock'
}
}
}


$98/152: Bit counter for Transmission ROM-Reference: DEC $98 : $E983 $EA24 STA $98 : $E95A $E9CB Previous Page / Next Page


Atletico Madrid defender Stefan Savic suffers injury setback
by FSA EditorAtletico Madrid are no closer to having Stefan Savic back in action after he suffered a relapse of his hamstring problem.
Stefan Savic has suffered a setback as he bids to return from a hamstring injury.
The Atletico Madrid centre-back has been out of action since Montenegro’s 0-0 draw against Bulgaria in Euro 2020 qualifying on October 11.
Atleti announced Savic, who was substituted after 39 minutes of that match, had suffered a hamstring issue but did not offer an estimated recovery time.
And the club revealed in an update on Wednesday the defender has “suffered a relapse of the grade II injury”.
Savic has undergone tests and, according to Atleti’s short statement, “is pending response to treatment”.


THE INTELLIGENT
Double click on "Ready" to
read the info about the game
Ready
Email
Password
Sign in
Who is the founder of Facebook?
Who is the richest man in the world?
Who has the most followers on twitter?
Who has the most followers on facebook?
Who holds the record for most grand slams won in women's tennis?
Who won the most UEFA best player award?
Who is the best player in the world in the year 2002?
Jimmy’s mother had three children. The first was called April, the second was called May.
What was the name of the third?
begins with T, ends with T, and has T in it?
What has a head and a tail but no body?
You can hold it without using your hands or your arms. What is it?
What building has the most stories?
Who has the most followers on youtube?


|
Spring Social Yammer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupOperations
Sub-API for all Group related methods
| Field Summary | |
|---|---|
static java.lang.String |
SORT_BY_CREATED_AT
Convenience constant for sorting by created at |
static java.lang.String |
SORT_BY_CREATOR
Convenience constant for sorting by creator |
static java.lang.String |
SORT_BY_MEMBERS
Convenience constant for sorting by members |
static java.lang.String |
SORT_BY_MESSAGES
Convenience constant for sorting by messages |
static java.lang.String |
SORT_BY_PRIVACY
Convenience constant for sorting by privacy |
| Method Summary | |
|---|---|
void |
createGroup(java.lang.String name,
boolean isPrivate)
Create a new group |
Group |
getGroup(long groupId)
Returns the group with the given id |
java.util.List<Group> |
getGroups(int page,
java.lang.Character letter,
java.lang.String sortBy,
boolean reverse)
Retrieves a list of groups as specified by the parameters. |
void |
joinGroup(long groupId)
Join a group with given group id |
void |
leaveGroup(long groupId)
Join group with given group id |
| Field Detail |
|---|
static final java.lang.String SORT_BY_PRIVACY
static final java.lang.String SORT_BY_CREATED_AT
static final java.lang.String SORT_BY_MESSAGES
static final java.lang.String SORT_BY_CREATOR
static final java.lang.String SORT_BY_MEMBERS
| Method Detail |
|---|
java.util.List<Group> getGroups(int page, java.lang.Character letter, java.lang.String sortBy, boolean reverse)
page
- number. First page = 1letter
- return groups beginning with the given lettersortBy
- sort key. Valid values are "creator" | "members" | "privacy" |
"created_at" | "messages".
Use convenience constantsreverse
- indicating whether sort should be reversed
List
of Group
sGroup getGroup(long groupId)
groupId
-
org.springframework.social.ResourceNotFoundException
- if there is no group with the given id in the networkvoid createGroup(java.lang.String name, boolean isPrivate)
name
- of groupisPrivate
- whether the group is public (anyone can join) or privatevoid leaveGroup(long groupId)
groupId
-
org.springframework.social.ResourceNotFoundException
- if you are not a member of that group or group does not existvoid joinGroup(long groupId)
groupId
-
org.springframework.social.ResourceNotFoundException
- if that group does not exist in your network
|
Spring Social Yammer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


{% extends 'base.html' %} {% block content %}
Math Contest Sample Problems
You have an $n \times n$ square grid of lightbulbs, where $n = 10^{10}$. Initially, each lightbulb is either on or off, chosen at random. On any move, you may select $3$ lightbulbs which form an isosceles right triangle of minimal size on the grid (i.e. an L-shaped tromino), and flip the state of all $3$ lightbulbs (so if they were on before, they will now be off, and vice versa).
Find (with proof) an algorithm that will turn all lightbulb off in $k \cdot 10^{19}$ moves, regardless of the initial configuration.
An algorithm that completes in at most $k \cdot 10^{19}$ moves will be awarded:
You are allowed to prove multiple bounds, and will receive points for the best bound that is correctly proven. Please state which bound you are trying to prove above any proof, or you may not be awarded points for that bound.
Partial points may be awarded for progress towards the next bound, and partial points may be deducted for logical flaws or lack of rigor in proofs. To get full points, you must demonstrate that your algorithm always produces a correct result, and always runs in at most the stated number of moves.
10 points — $40 \cdot 10^{19}$ moves
Note that performing a move on the same triangle twice is equivalent to doing nothing, hence any possible solution can be reduced to a solution where each triangle is used at most once. In total, there are $(n-1)^2$ squares of minimal size, and each square contains $4$ possible triangles, so the total number of triangles, and hence the maximum possible necessary number of moves, is $4(n-1)^2 < 40 \cdot 10^{19}$.
However, note that the above proof only gives an upper bound on the number of moves if a solution exists, and does not prove the existence of a solution for any starting state. To prove existence, we can verify that all $16$ possible $2 \times 2$ boards are attainable using the $4$ triangles within that $2 \times 2$ square, and this inductively shows that any board of size $2k$ by $2k$ is attainable using some number of moves.
Hence we can now define our algorithm as computing the results of all $2^{4(n-1)^2}$ subsets of moves by hand, and picking a subset that solves our board, and since we have shown existence and an upper bound, we can safely say that this algorithm will always produce a solution requiring at most $4(n-1)^2$ moves.
30 points — $30 \cdot 10^{19}$ moves
We claim we can turn off any lightbulb in exactly $3$ moves. WLOG let the lightbulb be in the bottom left corner $(C)$ of some $2 \times 2$ square: $$\begin{matrix} A & B \\ C & D \end{matrix}$$ Then it is clear that the moves $ACD$, $BCD$, $ABC$ will in total flip only square $C$. Hence the total number of moves to turn off every bulb is at most $3n^2 = 30 \cdot 10^{19}$.
60 points — $11 \cdot 10^{19}$ moves
View the grid of lightbulbs as $\frac{n}{2}$ concentric square layers. Given any lit lightbulb in the $k^\text{th}$ inner layer, for $k < \frac{n}{2}$, we can flip the triangle that contains this lightbulb and two other lightbulbs in the $(k+1)^\text{st}$ layer. Thus, after at most $(n-2)^2$ moves, we have cleared all layers except the outermost layer. Now, we can clear the outermost layer one at a time using the method in the 30-point solution, adding at most $3(4n-4)$ moves, so the total number of moves is at most $$n^2+8n-8 = 10^{20}+ 8 \cdot 10^{10} - 8 < 11 \cdot 10^{19}.$$
70 points — $10 \cdot 10^{19}$ moves
We can re-use our existence result from the 10-point solution, but with the additional observation that any $2 \times 2$ square can be generated in at most $4$ moves. This allows us to partition our board into $\frac{n^2}{4}$ different $2 \times 2$ squares and resolve each in at most $4$ moves, giving a total of at most $n^2 = 10 \cdot 10^{19}$ moves.
100 points — $6 \cdot 10^{19}$ moves
We will use the concentric square layers setup from the 60-point solution; however, we can partition every layer into $1 \times 2$ rectangles, and if a $1 \times 2$ rectangle in the $k^\text{th}$ layer has both lightbulbs on, we can instead perform the move containing both lightbulbs and a third lightbulb in the $(k+1)^\text{st}$ layer. Thus we can turn off any $1 \times 2$ rectangle of an inner layer in at most one move, so in total we can turn off the innermost $(n-2)^2$ lightbulbs in at most $\frac{(n-2)^2}{2}$ moves. Now, each of the $4(n-1)$ squares in the outer layer can be individually turned off in $3$ moves (see the 30-point solution), so the total number of moves is at most $$\frac{n^2}{2} + 3 \cdot 4(n-1) = 5 \cdot 10^{19} + 12 \cdot 10^{10} - 12 < 6 \cdot 10^{19}.$$
Team Round and Individual Round problems can be found in previous CMIMC contests.
{% endblock %}


WITNESS LIST Criminal Jurisprudence Committee February 13, 2001-2:00P HB 157 For: Charlton, Mike (Self) Holt, Charles (Common Cause - Texas) On: Baird, Judge Charlie (Self and Formerly of Court of Criminal Appeals) Rios, Irma (Texas DPS, Crime Lab) Urbanovsky, Ron (Texas DPS) HB 312 For: Holt, Charles (Common Cause - Texas) On: Urbanovsky, Roy (Texas DPS) HB 366 For: Holt, Charles (Common Cause - Texas) On: Johnson, Pat (Department of Public Safety, Crime Lab) HB 656 For: Barnard, Jeffrey, MD (Dallas County Chief Medical Examiner) Boyles, Sherry (Texas Association Against Sexual Assault) Brown, Fowler (Austin Police Department) Clark, Michele (Self and SafePlace) Lawrence, Kevin (Texas Municipal Police Association) Watson, Christopher (Self and Hays - Caldwell Women's Center) Williams, Lyn (Texas Association Against Sexual Assault) Zumwalt, Gary (Austin Police Department) Registering, but not testifying: For: Buchanan, Bree (Texas Council on Family Violence) Burbhus, Annette (Self and Texas Association Against Sexual Assault) Jones, James (San Antonio Police Officers' Association) HB 864 For: Holt, Charles (Common Cause - Texas) Reeves, Linda (Info, Inc (Inmates' Families Organization)) On: Johnson, Pat (Department of Public Safety) HB 1474 For: Allison, Bill (Self) Bernard, Michael (Bexas County District Attorney) Charlton, Mike (Self) Hampton, Keith (Texas Criminal Defense Lawyers' Association) Harrell, William (ACLU of Texas) Holt, Charles (Common Cause - Texas) Strange, Clay (Travis County District Attorney Ronnie Earle) On: Johnson, Pat (Department of Public Safety, Crime Lab) Judge Charlie, Baird (Self and Formerly of the Court of Criminal Appeals)


Store your Web Bookmarks where they can be searched and retrieved with ease — Saved to a secure Mongo database. Where descriptive tag(s) can be added to each bookmark to make them easily searched for. Why not register and give it a try...
Store your Web Bookmarks where they can be searched and retrieved with ease — Saved to a secure Mongo database. Where descriptive tag(s) can be added to each bookmark to make them easily searched for. You are logged on so go ahead and use the App...


Know your AI
Ethical Issues in AI
Data Privacy
Weaponization
Influence the crowd
Accountability
What is AI ?
Build your AI
Build your AI
Ethical problems in AI
Will AI take over the world?


The graphs in this tab give insight into the subclass distribution of IGG and IGA transcripts. Human Cµ, Cα, Cγ and Cε constant genes are assigned using a custom script specifically designed for human (sub)class assignment in repertoire data as described in van Schouwenburg and IJspeert et al, submitted for publication. In this script the reference sequences for the subclasses are divided in 8 nucleotide chunks which overlap by 4 nucleotides. These overlapping chunks are then individually aligned in the right order to each input sequence. The percentage of the chunks identified in each rearrangement is calculated in the ‘chunk hit percentage’. Cα and Cγ subclasses are very homologous and only differ in a few nucleotides. To assign subclasses the ‘nt hit percentage’ is calculated. This percentage indicates how well the chunks covering the subclass specific nucleotide match with the different subclasses. Information on normal distribution of subclasses in healthy individuals of different ages can be found in IJspeert and van Schouwenburg et al, PMID: 27799928.
Pie chart showing the relative distribution of IGA1 and IGA2 transcripts in the sample.
IGG subclass distribution
Pie chart showing the relative distribution of IGG1, IGG2, IGG3 and IGG4 transcripts in the sample.


Biographical Sketch of Karl
Edward Dougherty
Karl Edward Ed Dougherty
Source: THE MONROE COUNTY DOUGHERTY CLAN, by James
McKitrick, 1989, p 174
Karl Edward, called Ed, was born on 7 February 1928 in
Parkersburg, West Virginia. Ed attended
Jefferson Elementary School and graduated from Parkersburg High School. Ed chose to serve his country by joining the
US Marine Corps. His basic training was
at Parris Island and he was later attached to the 3rd Marines Air Wing, MAG-33 VMP-254. His wing was a photographic Squadron serving
in the Solomon Islands during WWII. Ed
attended Mountain State College, Parkersburg, taking
Business Administration courses, and David Lipscomb College, Nashville, Tennessee, taking Economics and Social Studies. He married Hazel June Wynn in Nashville, Tennessee on 7 February 1953. Hazel was born on 21 June 1934 in Nashville, Tennessee. Ed is in Banking and Financing Management with Ford and later in credit usions. Ed and Hazel were divorced in May 1960, leaving the children with Ed to raise. Ed is deeply involved with the Dougherty Association. He has served as both President and Vice President of the Association, helped with the reunions from the beginning, and encouraged the upkeep of the Dougherty Cemetery. Ed is a member of the Church of Christ and currently lives in Parkersburg, West Virginia.
Provided by Betty Latta Kitchen
-- e-mail: Betty Kitchen
Click here for the Short-Cut Table of Contents


Home
About Us
Medications
My Account
Family
Accomodations
Settings
Family Practice Doctors
Choose the doctor for your family:
Name
Phone
Location
Dr. Smith
555-222-6666
Los Angeles, CA
Dr. Gonzalez
555-333-7777
Malibu, CA
Dr. Chu
555-2222-8888
Claremont, CA
Map of Providers


List
Radar
Download the full technology radar report for detailed insights and current trends in serious software development.
Techniques
Tools
Frameworks
Platforms


Priest Greymore:
Ahh... but you still have some of these monk's rags. If you quit now, we'll have to throw them away.
"Hmm... Ok I have more rags."
"Yeah... actually beating up more monks sounds good."
"Oh well. I'm done with this."


Tomorrow's Technology, Yesterday's Insights
Sometimes what the tech world comes up with has already been tried and rejected and realy doesn't need to be resurrected--like the Taylorist view...


Stadia uses even more data than we expected
by Dustin BaileyGoogle’s big streaming project has landed, and the Stadia reviews are here. In short, it’s good tech paired with a questionable service, but there’s still one big outstanding question: just how much data are these streams going to use? A rough estimate from early stats suggested that Stadia would use around 15.75GB per hour of 4K gameplay, but it seems even that was a bit conservative.
Google now warns that Stadia’s video can use up to 20GB of data per hour for 4K, 60fps video. But what about lower resolutions? GamesBeat tested the service at 1080p 60fps, and found that it used 119MB per minute, which would make just over 7GB per hour. Digital Trends’ test on a Pixel 3a – which boasts a roughly 1080p screen – used up 10.2GB per hour.
While early worries over Stadia’s data cap problems were tempered with the fact that we didn’t actually know how the platform would use data in the real world – but the numbers don’t look great.
For comparison, Netflix’s official help site suggests that it uses around 3GB per hour of HD video.
Stadia streaming alternatives have been around for ages, and new services like Microsoft’s xCloud are on the horizon. Whether any of them – or Stadia itself – manages to break through the streaming barrier remains to be seen.


Finance Bill: National Assembly holds public hearing despite protests
by Sunday AborisadeSunday Aborisade, Abuja
The Joint National Assembly Committee on Finance will on Tuesday hold a public hearing on the controversial Finance Bill which seeks to amend seven Acts of the nation’s parliament.
Finance experts, civil society groups and some federal lawmakers had openly condemned the bill, which among others would lead to an increase in Value Added Tax, Company Income Tax and other taxes.
But the Chairman, Senate Committee on Finance, Senator Solomon Adeola, in a statement on Sunday, said contrary to popular sentiment about the bill, it was not only about increase in VAT.
Adeola said the bill was a composite legislation seeking amendment of seven Acts of the National Assembly with removal of taxes for some sectors in the economy.
He said a Public Hearing by the Senate and House of Representatives Committees on Finance on the bill would hold Tuesday.
Adeola said the forum would enable stakeholders to bare their minds on the proposed legislation.
He said, “The bill is targeted at reforming our tax regime and will involve amendments of seven Acts of the Parliament namely; Petroleum Profit Tax, Custom and Excise Tariff Act, Company Income Tax Act, Personal Income Tax Act, Value Added Tax, Stamp Duties Act and Capital Gain Tax.
“Studying the executive bill that was referred to my committee after passing second reading on the floor of the senate, I realised that there are lot of ignorance and limited knowledge of the content and import of the Finance Bill.
“It is not only meant to increase revenue for the government but to also remove some conflicting and confusing aspects of our laws that had given rise to legal disputations in the past leading to huge loses of revenue for government.”
Copyright PUNCH.
All rights reserved. This material, and other digital content on this website, may not be reproduced, published, broadcast, rewritten or redistributed in whole or in part without prior express written permission from PUNCH.
Contact: theeditor@punchng.com


Please read these Terms carefully before accessing or using the services made available, accessed, published or otherwise offered through HouseHunt.com (the "Site"). By accessing or using the Site, you agree to be bound by these Terms. Please note that you will be required to review and agree to our Privacy Policy before you can access and use the Site. Advertisers who use the Site must accept and adhere to the Advertiser’s Terms and Conditions.
For the purposes of these terms the terms:
HouseHunt.com, we, our and us refer to Buy Rent Kenya Limited; and
Site refers to www.HouseHunt.com, and mobile versions of these websites and software applications derived from
these websites
for mobile devices.
You do not have to create an account in order to use the Site, but certain areas of our Site are only available to registered users. If you decide to create an account on the Site and become a registered user, as part of the registration process, you will be required to submit certain personal information. Our Privacy Policy governs how we deal with your personal information. Please review the Privacy Policy carefully to understand our practices.
All the content on the Site, including service marks, trade marks, designs, code, images, advertising content, advertiser identities, logos, job content, product information, general content, pricing data, advertisements, advertiser details, user interface design, software and all other forms of media or information published on the site from time to time (the “Content”) is owned or otherwise licensed by HouseHunt unless otherwise indicated, and, where applicable, is protected by local and international law on copyright and intellectual property. You agree not to infringe on any of the intellectual property rights in the Content or any other material owned by third parties, and undertake not to reproduce the materials without the express permission in writing of the owners of the intellectual property rights. To obtain permission for the use of the Content on the Site, please email [insert].
To become a registered user, you must provide a password and a user name. You are entirely responsible for
maintaining the confidentiality of your password and other login details. Furthermore, you are entirely
responsible for any and all activities that occur under your account. You may change your password at any time by
following the instructions on the Site. You may also change your login details by contacting customer service.
You shall immediately notify BuyrentKenya of any unauthorized use of your account or login details, or any other
breach of security known to you.
If any part of these Terms is or becomes invalid, illegal or unenforceable, it shall be deemed modified to the minimum extent necessary to make it valid, legal and enforceable. If modification is not possible, the relevant provision shall be deemed deleted. Any modification to or deletion of a provision shall not affect the validity and enforceability of the rest of these terms.
We may transfer our rights and obligations under these Terms to another organisation. We will always tell you in writing if this happens and we will ensure that the transfer will not affect your rights under these Terms.
Termination of these terms will not end those provisions that are capable of surviving the termination of the terms, or affect any rights, remedies, obligations or liabilities of the parties that have accrued up to the date of termination.
These terms are governed by the laws of Kenya and you irrevocably submit to the exclusive jurisdiction of its Courts.
Last updated: 21 August 2021


Before Change
predictions = []
for i in range(r):
votes = self.get_votes_for_instance(X[i])
if votes == {}:
// Ensemble is empty, all classes equal, default to zero
predictions.append(0)
else:
predictions.append(max(votes, key=votes.get))
return np.asarray(predictions)
def predict_proba(self, X):
Estimates the probability of each sample in X belonging to each of the class-labels.
After Change
A numpy.ndarray with all the predictions for the samples in X.
y_proba = self.predict_proba(X)
n_rows = y_proba.shape[0]
y_pred = np.zeros(n_rows, dtype=int)
for i in range(n_rows):
index = np.argmax(y_proba[i])
y_pred[i] = index
return y_pred


Create Record
Please fill this form and submit to add employee record to the database.
Title
Content
Description
Picture
Category
Select Category
cat 11
cat 22
category 5
category 8
Cancel


This is the main type for your game.
More...
|
| | MBGame (Type initSceneType) |
| | Initializes a new instance of the T:MB2D.MBGame class and defines essential graphics settings. More...
|
| |
| void | RegisterSystems () |
| | Registers all EntitySystems used in the engine More...
|
| |
|
| override void | Initialize () |
| | Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well. More...
|
| |
| override void | LoadContent () |
| | Loads content at the beginning of the game More...
|
| |
| override void | Update (GameTime gameTime) |
| | Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio. More...
|
| |
| override void | Draw (GameTime gameTime) |
| | Draws the current scene to the window More...
|
| |
|
| static GraphicsDevice | Graphics [get] |
| | Gets the main graphics device. More...
|
| |
| static Camera2D | Camera [get] |
| | Gets the main camera. More...
|
| |
| static MBConsole | Console [get] |
| | Gets the debug console for reading and writing to. There should only ever be one of these More...
|
| |
| static float | DeltaTime [get] |
| | Gets time it took to complete the last frame More...
|
| |
| static float | FPS [get] |
| | Gets the current average frames per second More...
|
| |
| static bool | ForceQuit [get, set] |
| | Gets or sets a value indicating whether this T:MB2D.MBGame should quit. More...
|
| |
This is the main type for your game.
§ MBGame()
| MB2D.MBGame.MBGame |
( |
Type |
initSceneType | ) |
|
|
inline |
Initializes a new instance of the T:MB2D.MBGame class and defines essential graphics settings.
§ Draw()
| override void MB2D.MBGame.Draw |
( |
GameTime |
gameTime | ) |
|
|
inlineprotected |
Draws the current scene to the window
- Parameters
-
| gameTime | Provides a snapshot of timing values. |
§ Initialize()
| override void MB2D.MBGame.Initialize |
( |
| ) |
|
|
inlineprotected |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
§ LoadContent()
| override void MB2D.MBGame.LoadContent |
( |
| ) |
|
|
inlineprotected |
Loads content at the beginning of the game
§ RegisterSystems()
| void MB2D.MBGame.RegisterSystems |
( |
| ) |
|
|
inline |
Registers all EntitySystems used in the engine
§ Update()
| override void MB2D.MBGame.Update |
( |
GameTime |
gameTime | ) |
|
|
inlineprotected |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
- Parameters
-
| gameTime | Provides a snapshot of timing values. |
§ Camera
| Camera2D MB2D.MBGame.Camera |
|
staticget |
Gets the main camera.
The main camera.
§ Console
Gets the debug console for reading and writing to. There should only ever be one of these
The debug console.
§ DeltaTime
| float MB2D.MBGame.DeltaTime |
|
staticget |
Gets time it took to complete the last frame
The delta time.
§ ForceQuit
| bool MB2D.MBGame.ForceQuit |
|
staticgetset |
Gets or sets a value indicating whether this T:MB2D.MBGame should quit.
true
if the game should quit; otherwise, false
.
§ FPS
Gets the current average frames per second
The fps.
§ Graphics
| GraphicsDevice MB2D.MBGame.Graphics |
|
staticget |
Gets the main graphics device.
The graphics device.
The documentation for this class was generated from the following file:


Create(int, int, int, int, int, int, int)
Method
Namespace: Imagini.Drawing
Declared in: Imagini.Drawing.Surface
Creates a new surface.
Syntax
public static Surface Create(
int width,
int height,
int depth,
int Rmask,
int Gmask,
int Bmask,
int Amask
)
Parameters
width
Surface width
height
Surface height
depth
Surface depth in bits (defaults to 32)
Remarks
The mask parameters are the bitmasks used to extract that
color from a pixel. For instance, Rmask being FF000000 means
the red data is stored in the most significant byte. Uzing zeros for
the RGB masks sets a default value, based on the depth. However,
using zero for the Amask results in an Amask of 0.
Back to index


This paragraph will hide after clicking on button.
This paragraph will hide after clicking on button.
This paragraph will hide after clicking on button.
This paragraph will hide after clicking on button.
This paragraph will hide after clicking on button.
This paragraph will hide after clicking on button.
I will hide after double clicking on me


Deciding if a color palette is a colorblind friendly is a hard task. This cannot be done in an entirely automatic fashion, as the decision needs to be confirmed by visual judgments. The goal of colorblindcheck is to provide tools to decide if the selected color palette is colorblind friendly, including:
palette_dist()
- Calculation of the distances between the colors in the input palette and between the colors in simulations of the color vision deficiencies: deuteranopia, protanopia, and tritanopia.palette_plot()
- Plotting of the original input palette and simulations of color vision deficiencies: deuteranopia, protanopia, and tritanopia.palette_check()
- Creating summary statistics comparing the original input palette and simulations of color vision deficiencies: deuteranopia, protanopia, and tritanopia.The work in this package was inspired by a blog post I wrote some code that automatically checks visualizations for non-colorblind safe colors. Here’s how it works by Gregor Aisch.
You can install the development version of colorblindcheck from GitHub with:
remotes::install_github("nowosad/colorblindcheck")
The colorblindcheck accepts a vector of hexadecimal color descriptions as the input. It can be created using different existing R functions (e.g. rainbow()
) or packages (e.g. colorspace, RColorBrewer, rcartocolor, etc.).
library(colorblindcheck) rainbow_pal = rainbow(n = 7) rainbow_pal #> [1] "#FF0000FF" "#FFDB00FF" "#49FF00FF" "#00FF92FF" "#0092FFFF" "#4900FFFF" #> [7] "#FF00DBFF"
The primary function in this package is palette_check()
, which creates a summary comparison between the original input palette and simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia.
palette_check(rainbow_pal, plot = TRUE)
#> name n tolerance ncp ndcp min_dist mean_dist max_dist
#> 1 normal 7 12.13226 21 21 12.132257 61.06471 107.63470
#> 2 deuteranopia 7 12.13226 21 18 7.725825 50.11732 91.56339
#> 3 protanopia 7 12.13226 21 19 2.355309 55.41310 88.34820
#> 4 tritanopia 7 12.13226 21 19 8.216194 51.53678 83.10000
The palette_check()
function returns a data.frame with 4 observations and 8 variables:
name
: original input color palette (normal), deuteranopia, protanopia, and tritanopian
: number of colorstolerance
: minimal value of the acceptable difference between the colors to distinguish between themncp
: number of color pairsndcp
: number of differentiable color pairs (color pairs with distances above the tolerance value)min_dist
: minimal distance between colorsmean_dist
: average distance between colorsmax_dist
: maximal distance between colorsAdditionally, a plot comparing the original input palette and simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia can be shown. This help to decide if the selected color palette is colorblind friendly.
For example, the above output shows that the minimal distance between colors in the input palette is about 12; however, the minimum distance between colors simulation of protanopia is only about 2. It can suggest that some colors in this palette would not be distinguishable by people with protanopia.
The palette_dist()
function calculates distances between the colors in the input palette, as well as in a simulation of the selected color vision deficiency - deuteranopia, protanopia, and tritanopia. It allows finding which colors are the most or the least similar and to compare the behavior of color palettes for different color vision deficiencies. In the original rainbow_pal
object, the closest colors were the third and the fourth one (a distance of about 12); however, the protanopia version has a minimal distance of 2 between the second and third color.
# normal palette_dist(rainbow_pal) #> [,1] [,2] [,3] [,4] [,5] [,6] [,7] #> [1,] NA 52.96503 85.06611 84.19100 52.61836 51.46782 39.46279 #> [2,] NA NA 29.34232 34.74051 65.68745 92.04784 80.83188 #> [3,] NA NA NA 12.13226 69.12782 81.23889 107.63470 #> [4,] NA NA NA NA 56.87222 74.19228 103.11485 #> [5,] NA NA NA NA NA 35.47760 44.20031 #> [6,] NA NA NA NA NA NA 29.94683 #> [7,] NA NA NA NA NA NA NA # protanopia palette_dist(rainbow_pal, cvd = "pro") #> [,1] [,2] [,3] [,4] [,5] [,6] [,7] #> [1,] NA 73.78789 76.166629 75.13412 58.36222 52.03797 50.317457 #> [2,] NA NA 2.355309 12.76751 64.91260 86.33061 84.667281 #> [3,] NA NA NA 12.48830 66.28036 88.34820 86.569277 #> [4,] NA NA NA NA 56.80334 77.98335 76.869176 #> [5,] NA NA NA NA NA 29.43598 28.504135 #> [6,] NA NA NA NA NA NA 3.553296 #> [7,] NA NA NA NA NA NA NA


Copyright(C) 2014 @i0akaten and @aike1000. CoffeeCollider Keyboard program licensed under the Apache License Version 2.0.


Index of /usr/skunk/src/Tools/getline
Name Last modified Size Description
Parent Directory 01-Aug-95 06:43 -
CHANGES 03-May-95 10:08 3k
Makefile 21-Jun-95 05:42 1k
getline.3 03-May-95 10:08 9k
getline.c 03-May-95 10:08 28k
getline.h 03-May-95 10:08 1k
testgl.c 03-May-95 10:08 1k
*************************** Motivation **********************************
Many interactive programs read input line by line, but would like to
provide line editing and history functionality to the end-user that
runs the program.
The input-edit package provides that functionality. As far as the
programmer is concerned, the program only asks for the next line
of input. However, until the user presses the RETURN key they can use
emacs-style line editing commands and can traverse the history of lines
previously typed.
Other packages, such as GNU's readline, have greater capability but are
also substantially larger. Input-edit is small, since it uses neither
stdio nor any termcap features, and is also quite portable. It only uses
\b to backspace and \007 to ring the bell on errors. Since it cannot
edit multiple lines it scrolls long lines left and right on the same line.
Input edit uses classic (not ANSI) C, and should run on any Unix
system (BSD, SYSV or POSIX), PC's under DOS with MSC, TurboC or djgpp,
PC's under OS/2 with gcc (EMX), or Vax/VMS. Porting the package to new
systems basicaly requires code to read a character when it is typed without
echoing it, everything else should be OK.
I have run the package on:
DECstation 5000, Ultrix 4.3 with cc 2.1 and gcc 2.3.3
Sun Sparc 2, SunOS 4.1.1, with cc
SGI Iris, IRIX System V.3, with cc
PC using DOS with MSC
The description below is broken into two parts, the end-user (editing)
interface and the programmer interface. Send bug reports, fixes and
enhancements to:
Chris Thewalt<EMAIL_ADDRESS>5/3/93
Thanks to the following people who have provided enhancements and fixes:
Ron Ueberschaer, Christoph Keller, Scott Schwartz, Steven List,
DaviD W. Sanderson, Goran Bostrom, Michael Gleason, Glenn Kasten,
Edin Hodzic, Eric J Bivona, Kai Uwe Rommel, Danny Quah, Ulrich Betzler
PS: I don't have, and don't want to add, a vi mode, sorry.
************************** End-User Interface ***************************
Entering printable keys generally inserts new text into the buffer (unless
in overwrite mode, see below). Other special keys can be used to modify
the text in the buffer. In the description of the keys below, ^n means
Control-n, or holding the CONTROL key down while pressing "n". Errors
will ring the terminal bell.
^A/^E : Move cursor to beginning/end of the line.
^F/^B : Move cursor forward/backward one character.
ESC-F : Move cursor forward one word.
ESC-B : Move cursor backward one word.
^D : Delete the character under the cursor.
^H, DEL : Delete the character to the left of the cursor.
^K : Kill from the cursor to the end of line.
^L : Redraw current line.
^O : Toggle overwrite/insert mode. Initially in insert mode. Text
added in overwrite mode (including yanks) overwrite
existing text, while insert mode does not overwrite.
^P/^N : Move to previous/next item on history list.
^R/^S : Perform incremental reverse/forward search for string on
the history list. Typing normal characters adds to the current
search string and searches for a match. Typing ^R/^S marks
the start of a new search, and moves on to the next match.
Typing ^H or DEL deletes the last character from the search
string, and searches from the starting location of the last search.
Therefore, repeated DEL's appear to unwind to the match nearest
the point at which the last ^R or ^S was typed. If DEL is
repeated until the search string is empty the search location
begins from the start of the history list. Typing ESC or
any other editing character accepts the current match and
loads it into the buffer, terminating the search.
^T : Toggle the characters under and to the left of the cursor.
^U : Deletes the entire line
^Y : Yank previously killed text back at current location. Note that
this will overwrite or insert, depending on the current mode.
TAB : By default adds spaces to buffer to get to next TAB stop
(just after every 8th column), although this may be rebound by the
programmer, as described below.
NL, CR : returns current buffer to the program.
DOS and ANSI terminal arrow key sequences are recognized, and act like:
up : same as ^P
down : same as ^N
left : same as ^B
right : same as ^F
************************** Programmer Interface ***************************
The programmer accesses input-edit through these functions, and optionally
through three additional function pointer hooks. The four functions are:
char *gl_getline(char *prompt)
Prints the prompt and allows the user to edit the current line. A
pointer to the line is returned when the user finishes by
typing a newline or a return. Unlike GNU readline, the returned
pointer points to a static buffer, so it should not be free'd, and
the buffer contains the newline character. The user enters an
end-of-file by typing ^D on an empty line, in which case the
first character of the returned buffer is '\0'. Getline never
returns a NULL pointer. The getline functions sets terminal modes
needed to make it work, and resets them before returning to the
caller. The getline function also looks for characters that would
generate a signal, and resets the terminal modes before raising the
signal condition. If the signal handler returns to getline,
the screen is automatically redrawn and editing can continue.
Getline now requires both the input and output stream be connected
to the terminal (not redirected) so the main program should check
to make sure this is true. If input or output have been redirected
the main program should use buffered IO (stdio) rather than
the slow 1 character read()s that getline uses.
void gl_setwidth(int width)
Set the width of the terminal to the specified width. The default
width is 80 characters, so this function need only be called if the
width of the terminal is not 80. Since horizontal scrolling is
controlled by this parameter it is important to get it right.
void gl_histadd(char *buf)
The gl_histadd function checks to see if the buf is not empty or
whitespace, and also checks to make sure it is different than
the last saved buffer to avoid repeats on the history list.
If the buf is a new non-blank string a copy is made and saved on
the history list, so the caller can re-use the specified buf.
void gl_strwidth(size_t (*func)())
The gl_strwidth function allows the caller to supply a pointer to
a prompt width calculation function (strlen by default). This
allows the caller to embed escape sequences in the prompt and then
tell getline how many screen spaces the prompt will take up.
The main loop in testgl.c, included in this directory, shows how the
input-edit package can be used:
extern char *getline();
extern void gl_histadd();
main()
{
char *p;
do {
p = getline("PROMPT>>>> ");
gl_histadd(p);
fputs(p, stdout);
} while (*p != 0);
}
In order to allow the main program to have additional access to the buffer,
to implement things such as completion or auto-indent modes, three
function pointers can be bound to user functions to modify the buffer as
described below. By default gl_in_hook and gl_out_hook are set to NULL,
and gl_tab_hook is bound to a function that inserts spaces until the next
logical tab stop is reached. The user can reassign any of these pointers
to other functions. Each of the functions bound to these hooks receives
the current buffer as the first argument, and must return the location of
the leftmost change made in the buffer. If the buffer isn't modified the
functions should return -1. When the hook function returns the screen is
updated to reflect any changes made by the user function.
int (*gl_in_hook)(char *buf)
If gl_in_hook is non-NULL the function is called each time a new
buffer is loaded. It is called when getline is entered, with an
empty buffer, it is called each time a new buffer is loaded from
the history with ^P or ^N, and it is called when an incremental
search string is accepted (when the search is terminated). The
buffer can be modified and will be redrawn upon return to getline().
int (*gl_out_hook)(char *buf)
If gl_out_hook is non-NULL it is called when a line has been
completed by the user entering a newline or return. The buffer
handed to the hook does not yet have the newline appended. If the
buffer is modified the screen is redrawn before getline returns the
buffer to the caller.
int (*gl_tab_hook)(char *buf, int prompt_width, int *cursor_loc)
If gl_tab_hook is non-NULL, it is called whenever a tab is typed.
In addition to receiving the buffer, the current prompt width is
given (needed to do tabbing right) and a pointer to the cursor
offset is given, where a 0 offset means the first character in the
line. Not only does the cursor_loc tell the programmer where the
TAB was received, but it can be reset so that the cursor will end
up at the specified location after the screen is redrawn.


Frequently Asked Questions
Why shouldn't we trust atoms?
They make up everything.
What do you call someone with no body and no nose?
Nobody knows.
What's the object-oriented way to become wealthy?
Inheritance.
How many tickles does it take to tickle an octopus?
Ten-tickles!
What is: 1 + 1?
Depends on who are you asking.


TypeScript Course Introduction
This video introduces the TypeScript course, explains TS and the various tools we will use throughout the series.
TypeScript & Node.js Setup
This video walks through setting up our environment.
Links: TypeScript | Node.js
Visual Studio Code Overview
This video gives an overview of Visual Studio Code, Emmet and available extensions.
Links: VS Code | Emmet | Source Code
Primitive Data Types (Part 1)
In this video we dive into Booleans, Numbers and Strings in TypeScript.
Links: Source Code
Primitive Data Types (Part 2)
In this video we dive into Arrays, Tuples, Enums, Any and Void types in TypeScript.
Links: Source Code


Defines classes for interpolating variables.
Bases: object
Linearly interpolates a 1-D function.
| Parameters: |
|
|---|
Notes
This class is a wrapper around numpy.interp definition.
See also
Examples
Interpolating a single numeric variable:
>>> y = np.array([5.9200, 9.3700, 10.8135, 4.5100, 69.5900, 27.8007, 86.0500])
>>> x = np.arange(len(y))
>>> f = LinearInterpolator1d(x, y)
>>> # Doctests ellipsis for Python 2.x compatibility.
>>> f(0.5)
7.64...
Interpolating an array_like variable:
>>> f([0.25, 0.75])
array([ 6.7825, 8.5075])
Evaluates the interpolating polynomial at given point(s).
| Parameters: | x (numeric or array_like) – Point(s) to evaluate the interpolant at. |
|---|---|
| Returns: | Interpolated value(s). |
| Return type: | float or ndarray |
Bases: scipy.interpolate.interpolate.interp1d
Interpolates a 1-D function using cubic spline interpolation.
Notes
This class is a wrapper around scipy.interpolate.interp1d class.
Bases: object
Constructs a fifth-order polynomial that passes through \(y\) dependent variable.
Sprague (1880) method is recommended by the CIE for interpolating functions having a uniformly spaced independent variable.
| Parameters: |
|
|---|
See also
Notes
The minimum number \(k\) of data points required along the interpolation axis is \(k=6\).
References
| [1] | CIE TC 1-38. (2005). 9.2.4 Method of interpolation for uniformly spaced independent variable. In CIE 167:2005 Recommended Practice for Tabulating Spectral Data for Use in Colour Computations (pp. 1–27). ISBN:978-3-901-90641-1 |
| [2] | Westland, S., Ripamonti, C., & Cheung, V. (2012). Interpolation Methods. In Computational Colour Science Using MATLAB (2nd ed., pp. 29–37). ISBN:978-0-470-66569-5 |
Examples
Interpolating a single numeric variable:
>>> y = np.array([5.9200, 9.3700, 10.8135, 4.5100, 69.5900, 27.8007, 86.0500])
>>> x = np.arange(len(y))
>>> f = SpragueInterpolator(x, y)
>>> f(0.5)
7.2185025...
Interpolating an array_like variable:
>>> f([0.25, 0.75])
array([ 6.7295161..., 7.8140625...])
Defines the coefficients used to generate extra points for boundaries interpolation.
SPRAGUE_C_COEFFICIENTS : array_like, (4, 6)
References
| [3] | CIE TC 1-38. (2005). Table V. Values of the c-coefficients of Equ.s 6 and 7. In CIE 167:2005 Recommended Practice for Tabulating Spectral Data for Use in Colour Computations (p. 19). ISBN:978-3-901-90641-1 |
Evaluates the interpolating polynomial at given point(s).
| Parameters: | x (numeric or array_like) – Point(s) to evaluate the interpolant at. |
|---|---|
| Returns: | Interpolated value(s). |
| Return type: | numeric or ndarray |


Birthday problem calculator based on: https://en.wikipedia.org/wiki/Birthday_problem.
This is useful for computing possibility of collisions upon things with random distributions. People are the number of things. Birthday days are the number of possibilities.
Results


News
Regents meet under new Board meeting structure
At the September meeting, held at UCLA's Luskin Conference Center, the Regents met under a new structure which included reconstituted Committees established with the adoption in July of new Bylaws. The format included concurrent Committee meetings on day 1, followed by a meeting of the full Board on day 2, allowing for in-depth discussions on various topics.


HOME
ABOUT
SEARCH
LYRIC
NEWS
MusixMatch X NewYorkTimes
Previous
Next
Please fill this field
Please fill this field
Lyrics
Your Music Lyric will be found here
News
Your News Will be Found Here