Editmask Powerbuilder 12.6 Build 4121 - asp.net

I have a problem : I have an EditMask Control that contains 18 numeric values and when I am digiting the value 16th, this control changes the value of the number.
My current version of Powerbuilder is 12.6 and the build is 4121 released on November 2016.
I inserted numbers 1 , so it changed by 0 at the end
this is the editmask detail
Thank you for your soon answer

Related

Add a new line (\n) if a condition is met

I have made a web scraper by using rvest and created a data frame. One of the columns that I scraped has a lot of text in it and is hard to view.
The text in the column of my table looks like this,
Created 104 commits in 5 repositories raysan5/raylib 83 commits raysan5/raylib.com 17 commits raysan5/raygui 2 commits raysan5/rres 1 commit raysan5/raylib-games 1 commit , Reviewed 1 pull request in 1 repository raysan5/raylib 1 pull request Fixed #1455 Dec 13 , Started 1 discussion in 1 repository raysan5/raylib Welcome to raylib Discussions! Dec 8 , 2 contributions in private repositories Dec 18
Could someone help me find a way to add a \n after every comma (,) and perhaps remove the white space at the start of the next line? Also, it would be nice if a line can be skipped like shown in the desired layout. Moreover, if a bullet point can be added to each new paragraph that would be great too.
The text should be formated for example like this (desired layout),
Created 104 commits in 5 repositories raysan5/raylib 83 commits raysan5/raylib.com 17 commits raysan5/raygui 2 commits raysan5/rres 1 commit raysan5/raylib-games 1 commit
Reviewed 1 pull request in 1 repository raysan5/raylib 1 pull request Fixed #1455 Dec 13 , Started 1 discussion in 1 repository raysan5/raylib Welcome to raylib Discussions! Dec 8
2 contributions in private repositories Dec 18
I hope I'm not asking for too much.
gsub can do that using a regular expression:
gsub(' *, *', '\n', text)
*, * matches an arbitrary number of spaces, followed by a comma, followed by more spaces. And it replaces all that with the line break.

Confusion in SQLite version

If you look at the Release History of SQLite, you're presented with a list of releases:
2017-06-17 (3.18.2)
2017-06-16 (3.18.1) <-- :o
2017-06-08 (3.19.3)
2017-05-25 (3.19.2)
...
Why the releases after 2017-06-16 (3.19.3) have a decreased sub version number of 18 instead of rationally sticking to the current subversion and incrementing the third number?! Does the new changes applied to the 3.18.2 are also present in the currently "latest" version?! Or, maybe I'm totally lost in a desert of ignorance?!! Please shed some lights on this :)
Version 3.18.1 is the same as version 3.18.0, but with a bug fixed.
This version was made for users who did not want to update to 3.19.x but still wanted the bugfix.

Why Oracle DataDump creates N-1 files if parallelism is set to N?

What am I doing wrong?
I set PARALLEL=4 but number of files created are 3.
time expdp data DIRECTORY=EXT_DIR TABLES=DATA.ST_EURKMORDER:P108 LOGFILE=log.txt CONTENT=DATA_ONLY COMPRESSION=DATA_ONLY DUMPFILE=DATA.ST_EURKMORDER_P108_compr_%U_out_of_4.dmp PARALLEL=4
Expected 4 files, but got 3:
ls -alh /data/DATA.ST_EURKMORDER_P108_compr_1*
-rw-r----- 1 oracle oinstall 170M Apr 11 13:38 /data/DATA.ST_EURKMORDER_P108_compr_01_out_of_4.dmp
-rw-r----- 1 oracle oinstall 159M Apr 11 13:38 /data/DATA.ST_EURKMORDER_P108_compr_02_out_of_4.dmp
-rw-r----- 1 oracle oinstall 151M Apr 11 13:38 /data/DATA.ST_EURKMORDER_P108_compr_03_out_of_4.dmp
According to the documentation, the PARALLEL setting (emphasis added):
Specifies the maximum number of processes of active execution operating on behalf of the export job.
It also shows an example similar to yours with PARALLEL set to four, which it says results in an export
... in which up to four files could be created ...
There are various other examples that refer to 'up to' as well. So, this is the expected behaviour. It could create four files, it could create fewer than that.

Unexpected jumps/oddities in lubridate and zoo package (reproducible example added)

###### Bug in lubricate & zoo ? ######
dataframex <- as.data.frame(rnorm(420,0,1))
dataframex
names(dataframex) <- c("value")
head(dataframex)
library(lubridate); library(zoo) # To assign months to rows of the dataframe
dataframex
row.names(dataframex) <- as.yearmon(seq(ymd('1980-01-01'), by = '1 month', length.out=(420)))
dataframex
There appears unexpected jumps/oddities at certain time points that I could not figure out:
value
Oca 1980 -1.112455234
Şub 1980 -0.370769140
.....................
Mar 1995 0.219924804
Nis 1995 -1.46725 value # oddity "value" occurred
Oca 1980 1995 -0.158754605 # unexpected jump from Apr1995 to Jan1980
Tem 1995 1.464587312
......................
Eyl 2010 -0.1995 -0.158754605
Tem 1995 1.464587312 # unexpected jump from Sept2010 to July1995
Ağu 1995 -0. # oddity again
Ara 2010 0.277914132
So, sometimes "i" is wrongly printed among year labels, sometimes "i" is printed in value labels on the right.
What I did to solve the problem:
I suspected it can be a Windows Regional Settings problem. I changed TR-TR to EN-US. Again the same oddities occurred.
I also changed the regional settings to have "." as decimal separator, also tries "," as decimal points.
The error remained same!
Any help will be greatly appreciated.
I eventually figured out that the error is due to the problematic localization language file in Revolution R program.
The Step-by-Step solution:
1. Change the R localization language to solve the oddity/jump problem:
"Tools - Options - Environment - Help - International Settings - Language:English"
2. Restart R so that a new environment exists in R
Then, apply completely the same code above to check whether the oddity/jump problem is solved. If solved, then OK.
If oddity/jump problem is not solved, pass to Step 3 and 4.
3. Change the Regional settings from TR-TR to EN-US in Control Panel of Windows.
4. Change the International Setting in Revolution R:
"Tools - Options - Environment - Help - International Settings - Language:Same as Microsoft Windows"
5. Restart R so that a new environment exists in R
Then, apply completely the same code above. This time no oddity/no jump/no "i" occurs.
PS: Revolution R team should correct this language issue in related Turkish localization language files.

ps utility does not show the year a process was started

I am doing some work on a fairly old system and need to know when a couple of processes started. When I use "ps -ef" one says October 18 and the other March 23. We haven't got to October 18 this year so I'm not sure if this is October 18 last year or the previous year. The uptime command is showing 2419 days (6.6 years!) so it's possible the Oct 18 is from earlier than 2012. This is a HP-UX system. I have done a bit of googling and none of the answers I came across worked, eg ps -o, looking in the /proc dir.
cfgmgr 9947 9943 3 Mar 23 ? 6831:32 /home/cfgmgr/bin/snmpagt
root 24338 1 0 Oct 18 ? 2628:13 /usr/sbin/snmpdm -tcplocal
PS can only show the date because as per PS documentation at MAN page
'Only the year will be displayed if the process was not started the same year ps was invoked, or "mmmdd" if it was not started the same day, or "HH:MM" otherwise.'

Resources