Categories
technews

Free Amazon Web Services (AWS)

awsAWS is providing 12 month free usage tier, according to AWS website, The Free Usage Tier can be used for anything you want to run in the cloud: launch new applications, test existing applications in the cloud, or simply gain hands-on experience with AWS.

Details on AWS Free Usage Tier (Per Month):

Elastic Compute Cloud (EC2)

  • 750 hours of Amazon EC2 Linux/UNIX or RHEL Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run continuously each month*
  • 750 hours of Amazon EC2 Microsoft Windows Server Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run continuously each month*
  • 750 hours of an Elastic Load Balancer plus 15 GB data processing*
  • 30 GB of Amazon Elastic Block Storage, plus 2 million I/Os and 1 GB of snapshot storage*

Simple Storage Service (S3)

  • 5 GB of Amazon S3 standard storage, 20,000 Get Requests, and 2,000 Put Requests*

DynamoDB

  • 100 MB of storage, 5 units of write capacity, and 10 units of read capacity for Amazon DynamoDB.**

Relational Database Service (RDS)

  • 750 hours of Amazon RDS Single-AZ Micro DB Instances, for running MySQL, Oracle BYOL or SQL Server (running SQL Server Express Edition) – enough hours to run a DB Instance continuously each month*
  • 20 GB of database storage
  • 10 million I/Os
  • 20 GB of backup storage for your automated database backups and any user-initiated DB Snapshots

Simple Workflow (SWF)

  • 1,000 Amazon SWF workflow executions can be initiated for free. A total of 10,000 activity tasks, signals, timers and markers, and 30,000 workflow-days can also be used for free**

Simple Queue Service (SQS) and Simple Notification Service (SNS)

Amazon Elastic Transcoder

  • 20 minutes of SD transcoding or 10 minutes of HD transcoding**

CloudWatch

Data Transfer

  • 15 GB of bandwidth out aggregated across all AWS services*

Data Pipeline

  • 3 low frequency preconditions running on AWS per month*
  • 5 low frequency activities running on AWS per month*

ElastiCache

  • 750 hours of Amazon ElastiCache – enough hours to run a Cache Node continuously each month.*

For more on terms and conditions check  here

Categories
Windows

How to Set MaxPageSize in Active Directory

Certain LDAP clients can only receive the first 1,000 results when they make an LDAP query to Active Directory, when more results exist that satisfy the query scope.  If there are 1,200 results to be returned, the client will receive the “Size Limit Exceeded” error when the paging control is not used.

Microsoft lists MaxPageSize as:

MaxPageSize – This value controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is. To perform a search where the result might exceed this number of objects, the client must specify the paged search control. This is to group the returned results in groups that are no larger than the MaxPageSizevalue. To summarize, MaxPageSize controls the number of objects that are returned in a single search result.

Default value: 1,000

Here are the steps for showing and changing the default MaxPageSize in AD.

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:Documents and Settingsusername>ntdsutil
ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server <yourservername>
Binding to <yourservername> ...
Connected to <yourservername> using credentials of locally logged on user.
server connections: q
ldap policy: show values

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 1024
MaxReceiveBuffer                10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                120
MaxTempTableSize                10000
MaxResultSetSize                262144
MaxNotificationPerConn          5
MaxValRange                     0

ldap policy: set maxpagesize to 7000
ldap policy: commit changes
ldap policy: q
ntdsutil: q

 

No Restart is required for this settings change

maxpagesize

Categories
Windows

How to edit the password policy on Windows Server 2008 R2 or Windows 2012

It’s not possible directly to edit the password policies in AD setup both in Windows 2008 and 2012 environment. Before doing the changes have a look into the current settings, and backup if necessary. To check the currents settings, type ‘gpedit.msc’ in command prompt and then navigate to  ‘Computer SettingsWindows SettingsSecurity SettingsAccount PoliciesPassword Policy’ section.

localsecpolicyMost of the times the settings will be greyed out (disabled), if it’s greydout here how we can change it.

  1. Go to a command prompt
  2. Type ‘secedit /export /cfg c:local.cfg‘ and hit enter
  3. Using notepad, edit c:local.cfg (keep a backup if required)
  4. Look for the line which you want to edit. For eg. “PasswordComplexity = 1” and change it to “PasswordComplexity = 0”
  5. Save the file
  6. At a command prompt type ‘secedit /configure /db %windir%securitylocal.sdb /cfg c:local.cfg /areas SECURITYPOLICY

This will apply the new settings and refreshing the gpedit.msc should reflect the new settings
Set your new less complex password!

 

 

Categories
Performance Testing

A Glimpse on JAVA Memory

javaheap

I just want to share my experience in performance issues that occurred due to Java heap memory.
Before that a few points to recollect about Java memory.
Heap memory is where java run time objects are getting allocated.
Non-Heap is the place of loaded classes and other meta data.

1) What will be the impact of loaded java heap memory?

Categories
technews

Google Play Books hits nine new countries

Google Play Books is now available in nine new countries, giving more iOS and Android users access to the firm’s extensive ebook library — five million titles at last count — and digital reading service.

Read more @ thenextweb

Categories
Linux technews

Wine 1.6 Released

winehq_logo_glassWine 1.6 was officially released, wine 1.6 release comes just one year after the previous release of wine 1.4. The current release of 1.6 release has about 10,000 individual changes.

Among the wine 1.6  highlights are OpenGL DIB support, RandR 1.2/1.3 support, the Mac driver for not having to rely upon X11, Direct3D off-screen rendering, early 64-bit ARM support, dynamic device support, a Direct3D shader compiler, multi-channel ALSA audio handling, and thousands of other changes.

For more details visit wine wiki

 

The source is available from the following locations:

http://prdownloads.sourceforge.net/wine/wine-1.6.tar.bz2
http://mirrors.ibiblio.org/wine/source/1.6/wine-1.6.tar.bz2

Binary packages for various distributions will be available from:

http://www.winehq.org/download

You will find documentation on http://www.winehq.org/documentation

You can also get the current source directly from the git
repository. Check http://www.winehq.org/git for details.

Features below, taken from http://www.winehq.org/announce/1.6

What's new in Wine 1.6
======================

*** User interface

- Window transparency is supported, including both color keying and
  alpha blending transparency.

- All window rendering is done on the client-side using the DIB engine
  (except for OpenGL rendering). This means that rendering to windows
  or bitmaps gives identical results.

- Common dialogs correctly scale with the screen DPI resolution.

- In virtual desktop mode, shortcuts placed in the Desktop folder are
  displayed on the desktop, and can be used to launch applications.

- The HTML Help control has better support for non-ASCII characters,
  and for multiple help windows.

- Custom painting and images are better supported in listview
  controls.

- Input validation is improved in the date and calendar controls.

*** Mac driver

- A native Mac OS X driver is implemented, for better integration with
  the Mac desktop environment. The full range of driver features are
  supported, including OpenGL, window management, clipboard, drag &
  drop, system tray, etc.

- X11 is no longer needed on Mac OS X, but the X11 driver is still
  supported, e.g. when running remotely.

Note: the Mac driver requires Mac OS X 10.6 or later, it cannot be
      built or used on 10.5.

- FontConfig is no longer needed on Mac OS X and is disabled by
  default, system fonts are enumerated using the Core Text API
  instead.

*** X11 driver

- X11 server-side font rendering is no longer supported. All fonts are
  rendered client-side using FreeType.

- The big lock around all X11 calls has been removed, we rely on the X
  libraries internal locking for thread safety.

- XRandR versions 1.2 and 1.3 are supported.

*** Graphics

- There are significant performance improvements in the DIB engine,
  particularly for text rendering, bitmap stretching, alpha blending,
  and gradients.

- Bounds tracking is supported for all graphics primitives, to enable
  copying only the modified portions of a bitmap.

- OpenGL rendering is supported in device-independent bitmaps using libOSMesa.

- Brush dithering is implemented in the DIB engine.

- Path gradients are implemented in GdiPlus.

- More image codecs features are implemented, including JPEG encoding,
  palette formats, and meta-data support for various image types.

*** Text and fonts

- Sub-pixel font anti-aliasing is supported in the DIB engine, using
  the system anti-aliasing configuration from FontConfig.

- Dynamic loading of scalable font resources is supported.

- Text layout in Uniscribe supports character-specific position
  adjustments. Right-to-left text handling is also improved.

- There is an initial implementation of the DirectWrite text layout
  engine.

- Built-in fonts are more complete, with the addition of FixedSys and
  Wingdings fonts, more high-resolution pixel fonts, and a wider range
  of glyphs in the existing fonts, notably Arabic glyphs in Tahoma.

- Bi-directional text support is improved in the RichEdit control.

*** Input devices

- The raw input API is supported for keyboard and mouse input.

- There is a joystick applet in the control panel, to allow
  configuring joysticks and testing their behavior.

- Force feedback is supported for Mac OS X joysticks.

*** Kernel

- DOSBox is tried first when running a DOS application. The Wine DOS
  support is only used as a fallback when DOSBox cannot be found, and
  will be removed in a future release.

- A monotonic time counter is used on platforms that support it, to
  make timers more robust against system time changes.

- File times are reported with nanosecond resolution.

- Wine can be configured to report the Windows version as 'Windows 8'.

*** .NET support

- The Mono runtime is packaged as an MSI file, and its installation
  can be managed from the "Add/Remove Programs" control panel. It is
  automatically installed on Wine prefix updates.

- .NET mixed mode assemblies are supported.

- The Microsoft .NET 4.0 runtime can be installed for cases where Mono
  is not good enough yet.

*** OLE / COM

- The typelib writer is reimplemented for better compatibility.

- OLE DB supports more data types and conversions.

- OLE automation manages a cache of string allocations for better
  performance and compatibility.

*** Internet and networking

- HTTPS connections use GnuTLS (or Secure Transport on Mac OS X).
  OpenSSL is no longer used.

- The TLS 1.1 and TLS 1.2 protocols are enabled by default, with
  automatic fallback to TLS 1.0. The SSL2 protocol is disabled by
  default.

- Security certificate validation errors are handled better.

- NTLM and Negotiate authentication protocols are supported.

- ActiveX controls can be downloaded and installed automatically.

- Internet proxy bypass is supported, and can be enabled either
  through the registry or with the no_proxy environment variable.

- Broadcast packets can be received on interface-bound sockets, which
  is needed for some networked multi-player games.

- The Server Name Indication TLS extension is supported.

- Persistent cookies are supported, and URL cache files are managed
  better. The Internet control panel allows clearing saved cookies and
  cache files.

- Punycode encoding for Internationalized Domain Names is supported.

- JavaScript performance is improved. The built-in JavaScript engine
  is preferred over the Gecko one in most cases.

- Many more built-in functions of VBScript are implemented. Regular
  expressions are also supported.

- The Gecko engine is updated to the version from Firefox 21.

- The Gecko and Mono installers are cached upon download, to allow
  installation in multiple Wine prefixes without additional downloads.

*** Direct3D

- The Direct3D 9Ex implementation is more complete. In particular:
  - IDirect3DDevice9Ex::PresentEx is implemented.
  - IDirect3DDevice9Ex::ResetEx is implemented.
  - Various Direct3D 9Ex display mode handling functions are implemented.
  - Direct3D 9Ex style video memory accounting is implemented.

- Like the X11 driver, WineD3D no longer uses the big X11 lock when
  making GL calls.

- The WineD3D graphics card database is updated to recognize more
  graphics cards.

- The fallback card detection code for unrecognized graphics cards is
  improved. This results in a more reasonable card being reported when
  the graphics card is not already in the WineD3D database.

- WineD3D has GLSL based implementations of Direct3D fixed-function
  vertex and fragment processing. In some cases this allows
  functionality that's not present in fixed-function OpenGL to be
  implemented, in other cases it allows functionality to be
  implemented in a more efficient way.

- On drivers that support it, GL_ARB_debug_output is used to get more
  detailed debugging output from the OpenGL driver.

- On drivers that support it, GL_ARB_framebuffer_sRGB is used for
  rendering to frame buffers in the sRGB color space.

- On drivers that support it, GL_ARB_instanced_arrays is used for more
  efficient instanced drawing.

- On drivers that support it, and return useful information,
  GL_ARB_internalformat_query2 is used for more accurate reporting of
  surface / texture format capabilities.

- There is an initial implementation of a HLSL compiler.

- Improvements to various parts of the D3DX9 implementation, including:
  - The surface and texture handling functions. This includes code for
    loading, saving, filling, and rendering to surfaces and textures.
  - The effects framework.
  - The constant table implementation.
  - A number of spherical harmonics functions have been implemented.
  - Support for .x files.

- Improvements to the Direct3D 10 implementation, including:
  - Support for more shader model 4 opcodes and register types.
  - Support for shader model 4 indirect addressing.
  - Initial geometry shader support.
  - Improved binary effect parsing.
  - Support for Direct3D 10 style instanced draws, using
    GL_ARB_draw_instanced.

*** DirectDraw

- Vertex buffers are created with WINED3DUSAGE_DYNAMIC when locked with
  DDLOCK_DISCARDCONTENTS, resulting in improved performance in some cases.

- The 2D-only fallback in WineD3D for using DirectDraw without a
  working OpenGL implementation is more robust. Note that this still
  isn't a recommended configuration.

*** Audio and video

- DirectSound has a better resampler.

- Audio device enumeration is improved, and multi-channel devices are
  better supported.

- VMR-9 video rendering is implemented.

*** Printer support

- The PPD files of already installed printers are automatically
  refreshed when needed.

- Printing resolution can be configured from the print dialog.

- Simulated italic fonts can be printed.

- On Mac OS X, the default paper size is retrieved from the system
  configuration.

*** Internationalization

- Japanese vertical text is correctly supported.

- Translated font names are used when there is a match for the current
  language.

- Wine is translated to French, German, Spanish, Italian, Dutch,
  Swedish, Finnish, Portuguese, Catalan, Hungarian, Polish, Danish,
  Russian, Slovenian, Lithuanian, Chinese, Japanese, Korean, and
  Arabic. It has partial translations for another fifteen languages.

- Various additional Mac OS code pages are supported, namely Japanese,
  Traditional Chinese, Korean, Simplified Chinese, Romanian,
  Ukrainian, Thai, and Croatian code pages. This improves support for
  loading translated font names from Mac OS font files.

*** Built-in applications

- The new 'netstat' application displays information about active
  network connections.

- The 'cabarc' application supports multi-cabinet archives.

- The 'attrib' application supports recursing in sub-directories.

- The 'ipconfig' application can display IPv6 addresses.

- The 'start' application allows setting process priority and affinity.

- The 'cmd' application support arithmetic variable expansion,
  comparison operators, and various extra features in 'for' loops.

- All graphical built-in applications have a 256x256 icon for use with
  the Mac driver.

*** Build environment

- The configure script uses pkg-config when possible to find library
  dependencies. Compiler and linker flags can be passed explicitly for
  each dependency to override pkg-config where necessary.

- The IDL compiler supports nameless structs and unions and generates
  portable C code for them.

- The IDL compiler generates the same header guards as the Microsoft
  one for better header compatibility.

- Generated assembler files are built by invoking the C compiler when
  possible, for better compatibility with the Clang tool chain.

- The Winedump tool can display the contents of typelib files.

- The Fnt2bdf tool has been removed since X11 server-side fonts are no
  longer used.

*** Platform-specific changes

- On Linux, dynamic device management supports the UDisks2 service.

- On Mac OS X, the Recycle Bin is mapped to the Mac OS Trash.

- Debugging support for ARM platforms is improved, including the
  ability to display ARM assembly in the Wine debugger, and support
  for relay tracing.

- Building Wine for the ARM64 platform is supported.

- There is preliminary support for building Wine for Android using the
  Android NDK.

- The DragonFly FreeBSD variant is supported.

- The Alpha and Sparc platforms are no longer supported.

*** Miscellaneous

- XML namespaces are better supported. XML parsing is also implemented
  in the XMLLite library.

- Windows Management Instrumentation (WMI) is implemented, with a wide
  range of WBEM system classes.

- A number of forwarding libraries are added to support the API Sets
  feature added in Windows 8.

- More of the latest functions of the C runtime are implemented,
  particularly the locale functions. Exception handling and RTTI are
  supported on 64-bit.

- The standard C++ class libraries are more complete, particularly the
  math functions and the stream classes.

*** New external dependencies

- LibOSMesa is used for OpenGL rendering to device-independent bitmaps.

*** Useful configuration options

Note: More details about these and other configuration options can be
      found at http://wiki.winehq.org/UsefulRegistryKeys

- Client-side window rendering can be disabled if necessary by setting
  "ClientSideGraphics" to "N" under HKCUSoftwareWineX11 Driver.

- On Mac OS X, in case an application doesn't work properly with the
  Mac driver, it is possible to go back to the X11 driver by setting
  "Graphics" to "x11" under HKCUSoftwareWineDrivers.

- Some X11 compositors do not cope properly with transparent windows
  that use non-rectangular shapes. In that case, window shaping can be
  disabled by setting "ShapeLayeredWindows" to "N" under
  HKCUSoftwareWineX11 Driver.

- The "VertexShaderMode" and "PixelShaderMode" settings under
  HKCUSoftwareWineDirect3D have been replaced by the "MaxShaderModelVS",
  "MaxShaderModelGS" and "MaxShaderModelPS" (DWORD) settings. These allow
  limiting the maximum supported shader model version. Setting these to 0
  disables support for the corresponding shader type, like "VertexShaderMode"
  and "PixelShaderMode" did.

- The default value for the "AlwaysOffscreen" setting under
  HKCUSoftwareWineDirect3D is "enabled". It can still be disabled
  by setting it to "disabled".

*** Known issues

- The addition of DirectWrite causes Steam to be unable to display
  text. This can be fixed either by setting dwrite.dll to disabled for
  steam.exe using Winecfg, or by running Steam with the -no-dwrite
  option.

- The removal of the big X11 lock can reveal locking bugs in old Xlib
  versions, notably on RHEL 5. The only solution is to upgrade the X
  libraries.
Categories
technews

Checking Safari version on ipad

To check the version of Safari installed on iPad, then launch the Safari browser and  navigate to address bar and type “javascript:alert(navigator.userAgent)”. Press enter after entering this command.

safariversion

This would display the following popup with Safari version along with other details.

 

safariversion1

Categories
Databases Linux technews

Working with Oracle HTTP Server

In this blog i’m covering some basics on Oracle HTTP server(OHS) like

  • Checking OHS status.
  • Starting, stopping and restarting OHS.
  • Creating an Oracle HTTP server component.
  • Deleting an Oracle HTTP server component.

Checking OHS Status

We can determine the status of OHS by using the opmnctl command

$ORACLE_INSTANCE/bin/opmnctl status

Processes in Instance: instance1
---------------------------------+--------------------+---------+---------+-------
ias-component                    | process-type       |     pid | status | Ports
---------------------------------+--------------------+---------+---------+-------
ohs1                             | OHS                |    4789 | Alive  | https:1000, https:4444, http:7778

Starting, Stopping and restarting OHS

To Start use: >$ORACLE_INSTANCE/bin/opmnctl startall

To Stop use:  >$ORACLE_INSTANCE/bin/opmnctl stopproc process-type=OHS   or use  $ORACLE_INSTANCE/bin/opmnctl stopall

To restart: all Oracle HTTP Server components use: $ORACLE_INSTANCE/bin/opmnctl restartproc process-type=OHS

Creating an Oracle HTTP server component

The syntax for creating a Oracle HTTP server component is

$ORACLE_INSTANCE/bin/opmnctl createcomponent -componentType OHS -componentName component_name

For eg: to create an Oracle HTTP Server component named ohs1, use the following command:

>$ORACLE_INSTANCE/bin/opmnctl createcomponent -componentType OHS -componentName ohs1

When you create the Oracle HTTP Server component, ports are automatically assigned. However, you can use the following parameters to specify the ports of your choice:

-listenPort: HTTP listening port
-sslPort: HTTPS (SSL) listening port
-proxyPort: Proxy MBean port internally used by Oracle HTTP Server to communicate with Fusion Middleware Control

Deleting an Oracle HTTP server component

The syntax for deleting an Oracle HTTP server component using opmnctl is

>$ORACLE_INSTANCE/bin/opmnctl deletecomponent -componentName component_name

For eg: to delete an Oracle HTTP Server component named ohs1 use the following command:

>$ORACLE_INSTANCE/bin/opmnctl deletecomponent -componentName ohs1

 

Categories
technews

An update on Google Affiliate Network

affiliate_network-500Our goal with Google Affiliate Network has been to help advertisers and publishers improve their performance across the affiliate ecosystem. Cost-per-action (CPA) marketing has rapidly evolved in the last few years, and we’ve invested significantly in CPA tools like Product Listing Ads, remarketing and Conversion Optimizer. We’re constantly evaluating our products to ensure that we’re focused on the services that will have the biggest impact for our advertisers and publishers.

To that end, we’ve made the difficult decision to retire Google Affiliate Network and focus on other products that are driving great results for clients.

We’ll continue to support our customers as we wind down the product over the next few months. And there are other products that can help you achieve your goals. Affiliate publishers can continue to earn AdSense revenue through the AdSense network. And marketers can take advantage of other CPA-oriented Google tools like Product Listing Ads, remarketing and Conversion Optimizer to drive valuable online sales and conversions. These areas are growing rapidly and we’re continuing to invest heavily in them.

Thanks for your support of our affiliate product, and we look forward to helping you grow your business in the future.

Read more @ google

Categories
technews

Chrome Frame is declared obsolete by Google

In September 2009, one year after releasing the Chrome browser, Google unveiled “Chrome Frame”—a plugin that brought Chrome’s underlying technology to Internet Explorer. Google said Chrome Frame was necessary because users of IE, particularly its older versions, were missing out on HTML5, JavaScript performance improvements, and other modern Web technologies.

chrome_frame-430Webpages containing a tag pointing to Chrome Frame switch automatically to “Google Chrome’s speedy WebKit-based rendering engine” when the page detects that an IE user has Chrome Frame installed, according to Google. Chrome Frame runs on IE versions 6, 7, 8, and 9.

But today, Google said the plugin isn’t needed anymore and it will stop receiving support and updates entirely in January 2014. “It’s unusual to build something and hope it eventually makes itself obsolete, but in this case we see the retirement of Chrome Frame as evidence of just how far the Web has come,” Chrome engineer Robert Shield wrote in the Chromium blog

Dumping Chrome Frame could cause a bit of grief for developers, as some commenters on Shield’s blog post and on Hacker News point out. Google contends that there won’t be too many annoyances and that there are fixes for those that will exist. On the whole, Google believes Web development today is a less frustrating experience than it was when Chrome Frame was devised.