Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

1533129675000047000137000212000136000072000161000012000057  to convert it into normal text
hi there,

Currently I'm trying to create, sign & broadcast bitcoin transaction using btcsuite. For start, I've already had testnet3 address & its associated privatekey for testing. However, hunting through the post and articles like below:-


The solution proposed above its not complete, for first one, it only covers until signing (i knew the author claimed its not broadcastable unless you provide the utxo which i did if i'm right) but when tried to braodcast it failed with message

"Error validating transaction: Transaction be9b294695bfb201a5cff32af074a4bf72b073e3c9dad1969111165bf118a622 orphaned, missing reference f0c0d3b3eecf911ede996a74ceadc9366068791450c9e6bacee9ae202f3690d1."

I have no idea what's going on and I suspect its script is incompatible.

So, the bottom line is I just want a workable example in bitcoin testnet3 that shows "from 1 address transfer some bitcoin to other address" by showing the process of creating raw transaction, sign it with private key, turn it to raw transaction in hex format & broadcast it using something like https://live.blockcypher.com/btc/pushtx/ (BTC testnet)

currently my code is as follow:-

package main
import (

Open in new window


I need to write this code in global.asa. GetLastDateandTime is working fine. I need to put that in the session. If user is present then we get the data from the database. This function is working fine. If user is not present then we are using update function. My update function is not working. Page is down. I am not sure how to fix the update function.

Sub S[b]ession_OnStart[/b]

Dim objConn, objRs, strConn

Set objRs = Server.CreateObject("ADODB.Recordset")

Set objConn = Server.CreateObject("ADODB.Connection")                                                                                     


strConn = "test;"


objConn.Open strConn

dim strUser

strUser = request.servervariables("logon_user")

dim strDateAndTime = Now()       

If (strUser <> "" ) then

    Session("LastDateTime") = GetLastDateandTime(strUser, objRs,objConn)

   UpdateLastDateAndTime(strUser, strDateAndTime, objRs,objConn);[/b]

End If


Set objRs = Nothing

Set objConn = Nothing

End If


End Sub



Function GetLastDateandTime( ByVal strUser, ByRef objRs, ByRef objConn)



    Dim cmd


       Set cmd = Server.CreateObject("ADODB.Command")                            

       Set cmd.ActiveConnection = objConn


       cmd.CommandText = "usp_GetLastDateandTime"


Open in new window

Dear Experts,

I have an asp.net website that uses identity 2.1 (I'm pretty sure > 2.0 anyways as near as I can tell). It is written in visual basic. I ran into a weird issue the other day where people were logging in and getting this viewstate error:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

So I followed the advice I found in the microsoft article and added a machine key to the web.config file so that no matter what it (hopefully) shouldn't get that error again.

Once the machine key was changed to one that I set now we had issues with anyone with an already existant authorization cookie on their computer, they were unable to login. I believe it's because the machine key that I set no longer matched the one that was used in their cookie. I'm not entirely clear how, but apparently it's part of how it's encrypted. If they clear their cookies, all is well - then they could login.

So one bit of advice I found searching on the web sounded super simple and super-easy. They recommended that you have some sort of set key in your web.config, like a guid or something and then you add it to your cookie also. Then, when you load the cookie, you can check the key and if it doesn't match your server key, somehow you invalidate the cookie.

I basically spent all day trying to figure out …
In my Magento there is an exception message "The requested Payment Method is not available." from Mage_Core_Exception class happening on a few pages:
  • /checkout/onepage/saveShippingMethod/
  • /checkout/onepage/

This is the stacktrace:
The version is Magento CE
What is the issue and how to fix this?
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

I had this question after viewing Auto refresh webpage but maintain scroll position.

I love the assisted solution, but when using a .mht file it does not work.
Internet Explorer asks if I want to open the file and the mht file opens in a new window.

How can I open, refresh (and stay on scroll) of an excel generated mht file?
I am using a @foreach() loop in razor view to pass variables to a table cell as shown below. using ajax calls, i want to fetch different values from a database and display them on the table cells on a button click event. The ajax calls are successful and i can return the right data to the model but the cell values do not change after initial load. How can i make the cell values update automatically every time the model changes
code sample
I have a SharePoint list app that uses workflows....

I have one multi-line field that I am using for a history field where I place a quick entry on updates....

This technique uses string builder in the workflow...  What I am trying to achieve is:

date for latest entry
blank line
previous entries

I can not get a CR to work at all, have tried all three format and <br/>

I come across the following link


Custom Filter OR Servlet Filter or AccessDecisionVoter

Need to provide access to user after login to the pages or actions based on certain conditions (user is active or user expiration date is over or user doesn't have any orders) and looking for a custom spring security. In the above which one would be suitable in this case and need a good code snippet to achieve it.
I have a VB.Net page where I have implemented Impersonation using help from the following post:
"go to the post on impersonation using VB.Net"

Although it seems to be working when I access the page from the IIS server (not local) but when other users try to access it then they get the following error message:

An error occurred while attempting to impersonate.  Execution of this request cannot continue.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): An error occurred while attempting to impersonate.  Execution of this request cannot continue.]
   System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +227
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +12491258
I have a HTML code that i use for the gmail signature. The change that i want to make to that is if there is no mobile number to that particular person my code still shows mobile at the signature with no number to it, Is there any way i can use if else statement to take that mobile text away if there is no mobile number to that person.

Here's my previous Code:

<p style="text-align: left;"><span style="color: #206694;"><strong>Phone</strong></span>&nbsp;$phoneBusiness &nbsp;&bull; &nbsp;<strong><span style="color: #206694;">Mobile</span></strong>&nbsp;$phoneMobile &nbsp;&bull; &nbsp;<span style="color: #206694;"><strong>Email</strong></span>&nbsp;$mailPrimary</p>
<hr style="height: 3px; color: #206694; background-color: #206694;" noshade="noshade" width="100%" />
<p style="text-align: center;"><span style="color: #206694;"><strong>$orgDescription&nbsp;</strong></span></p>

thank you in advance
Cannot request a new account in WkikMedia

Please look at chaliceuucongregation.org, then click "Chalice Wiki" (last item on the menu).

On the right sidebar, click "Request an Account", goes to "Get an Account" page. Click Request an Account, loops back to the prior page.

Used to work, we moved hosts, not sure if it has worked since then.

Any ideas on how to address this?

I have upgraded my application from Angular 4 to Angular 5. After the upgrade the glyphicon icons are not showing up

<span class="glyphicon glyphicon-user" style="cursor:pointer"></span>

Open in new window

In the browser console, this error is displayed

Glyphicon error
I continue to use the same version of bootstap v3.3.7 and it is also included in angular-cli.json (no changes here as well)

"styles": [

Open in new window

Is there something else that needs to be done in order to make the icons work? Other bootstrap styling is working fine.
1. What is BindingResult?
2. When to use BindingResult?
3. Assume @ControllerAdvice is used in a project to handle errors. How BindingResult can be retrieved or processed in @ControllerAdvice
4. Is BindingResult is used for only presentation validations or can be used for business validations as well ?
How to perform validation on input fields when a continue button is selected using Angular 4
Please see code below:
    ViewData["Title"] = "Medical | Step 1: Let's Get Started";
<!DOCTYPE html>
    <meta charset="utf-8">
    <title>BeneFITwise | Let's Get Started</title>
        .error {
            border-color: red;
    @*<link data-require="bootstrap@*" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />*@
    @*<link data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-messages.js"></script>
        <link rel="stylesheet" href="style.css" />
        <script src="script.js"></script>*@
<body ng-app="myApp" ng-controller="myCtrl">
    <section class="content">
        <div class="content container-fluid">
            <div class="mbe-2000px-max-width">
                @*<!-- Breadcrumb section -->
                    <ol class="breadcrumb mbe-breadcrumb">
                        <li><a href="welcome-page.html" title="Return Home"><i class="fa fa-home"></i></a></li>
                        <li class="active">Medical</li>
                    <!-- End of breadcrumb section 

Open in new window

Hello, I  have a Wordpress theme, on this theme I would like to reorder the some front page Widgets.  For a visual representation of the Widgets please see Webpage.jpg.  I would like to swap A with B.

The code below shows my home-template.php (I have also attached this page).

I have numbered the Hooks from 1 - 6.  I would like to reorder number 4 with number 6.   I can reorder all of the Hooks using priority, apart from number 4 (why is this?).
* Template Name: Home Page
do_action( 'genesis_home' );
//* Force full-width-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

**// Execute Home Top - Slider image  1**

add_action( 'genesis_after_header', 'wsm_home_top');
function wsm_home_top() {
	genesis_widget_area( 'slider', array( 'before' => '<div class="home-slider widget-area">', 'after' => '</div>') );

**// Execute Home Top - Additional News Banner 2**

add_action( 'genesis_after_header', 'wsm_home_featured', 15 );
function wsm_home_featured() {
	genesis_widget_area( 'home-top-featured', array( 'before' => '<div class="home-top-featured widget-area"><div class="wrap">', 'after' => '</div></div>') );

**// Remove the standard loop 3**
remove_action( 'genesis_loop', 'genesis_do_loop' );

**// Execute Home Mid Section - Three layer widget section 4**

add_action( 'genesis_loop', 'wsm_home_loop_helper' );
function wsm_home_loop_helper() {
	echo'<div class="home-mid widget-area">';

Open in new window

I need to integrate Apple Pays decrypted Payment Token Format into a Stripe Rest API call. This does not require any Stripe SDK's or JS files. The raw apple pay token information has already been decrypted ready for stripe to process via 'Source', 'Token', 'Charge' etc. Stripe support will not disclose the solution but acknowledge its possible, why, i am not sure? Spreedly does exactly as i am describing with Stripe, passing in the information below, but how is it correctly structured?

This is the what a decrypted Apple Pay payment token format looks like:

Good afternoon everybody. I wonder if you can advise me on the following, or signpost me to any resources that might help ?

I'm trying to create a Norwegian website (don't ask). However, it doesn't seem to like 'special' characters in links.
For example, I have a page called "transportører.php".

On another page, I have a link to it.. hence
<a href="transportører.php">Link Text</a>

Open in new window


All well and good. But when I CLICK on that link, it attempts to go to a (non-existent) page called "transportører.php".
Clearly, the text "transportører" is being mangled during the lookup process. The ø character is being mutated into 'ø' (an A with a tilde, followed by a comma).

Any thoughts on what I am doing wrong ? Why can't I have a link called "transportører.php". (a similar phenomena occurs with all other "special" Norwegian characters with diacretics).

I know that the host component of the URL is shielded by Punycode, but this doesn't seem to work with the file-path part.

Yours in perplexity,

I want to add page loading spinner in my Angular 2 application.. I have some side bar subscriptions which added in main component and calling the side bar subscriptions  like print, when it takes tile to print or search i want to show the loading spinner,,

any one work on Sadad Payment Method Alinma Bank?
Hi all.

I'm playing around with GTM to insert schema.org markup into our product pages.  I've managed to add DOM variables to reference the product's name, description, and URL... but I can't seem to get the product image(s) to reference properly.

I've tried loads of different references (using Inspect Element on our product pages), but can't seem to get it to work.  I've managed to stop it saying "null" to just being blank when viewing the tag in GTM's preview, so I believe I'm on the right track, but I imagine the URL element of schema.org markup should reference the URL of the image?

I've attached a few screenshots.  The variable using div.woocommerce*** returns "", whereas the other one returns "null" at the moment.

Any help is greatly appreciated!


Hello there,

I currently run Mozilla Rhino with this command:
java -classpath c:\Users\DNastri\Desktop\rhino1_6R2\js.jar org.mozilla.javascript.tools.shell.Main -opt -1 -f

Where can I download the package and how should I change the command to use in Rhino code the following library:
Just saw an article on Winn-Dixie losing court battle dealing with their website and lack of being fully accessible to the disabled. Conclusion to the case was websites will need to conform to WCAG 2.0 standards. Our company operates 3 websites, all on the Shopify platform. I have been given the task to find out if we are compliant.  I downloaded the NVDA screen reader and all three sites were compatible with that, as well as a Mac screen reader. My question...anyone dealing with this and what tips or advice can you supply to assist in the matter ?  Is there an official "checklist" ?  Thanks in advance, I am sure we will be hearing more about requirements and potential lawsuits soon enough.
Dear sirs,

I have CSRF enabled in my REST application.
I use either RestTemplate or Postman as Client.
How can I set the application in a way that each request (POST/PUT/DELETE) is carried with a token in its header.

I remember using an implementation of  ContainerRequestFilter while working on Jersey, and I could take care of my requests globally.

I am looking forward to hearing from you.

Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.