text:
Antti Rantalahti
Antti Rantalahti is a senior research engineer at Nokia Research Center in Helsinki, Finland. Holding a master's degree in Computer Science, he started his career with Nokia in 1995, working with network management systems. For a while, he did Wireless Application Protocol (WAP) related projects before moving to the Research Center in 2001. During the '90's, Java technology touched his work, but it evolved into a full-time job in 2001 after coworker Jyri Huopaniemi started JSR 135 Mobile Media API and Antti worked on it as Nokia's technical Expert.
Standardizing Efforts and Research in Multimedia
For the last four years, Antti has been involved with most of the multimedia-related Java ME standards:
JSR 135 Expert and Maintenance Lead for Mobile Media API
JSR 184 Expert for Mobile 3D Graphics API for Java ME
JSR 226 Expert for Scalable 2D Vector Graphics API for Java ME
JSR 234 Spec Lead for Advanced Multimedia Supplements, which won the 2004 JCP program award for Most Innovative JSR for Java ME Platform
JSR 272 Spec Lead for Mobile Broadcast Service API for Handheld Terminals
Antti also participated in some internal Nokia projects doing research on Java multimedia technology as a way to prepare for the standardization work that is visible to the JCP community. He enjoys the challenges inherent with multimedia. "In the Java ME domain, the number of different hardware and software multimedia platforms is huge. Mapping all of them under some generic API to allow the best possible use of the available resources but to still have transportable applications makes this work interesting," he says.
Communication is Top Priority
When it comes to leading an Expert Group, Antti focuses on the key issues of communication and delegation. Still, he says, "Communication always has the top priority. Quick response time and correctness are part of being professional." Experts should know that they have all the same information as the Spec Lead has and feel that they are the ones who can and will do the work. When Antti receives a question or comment, he responds right away, even if his answer is that he doesn't know and he'll answer more completely when he has the information. He treats all contacts throughout the entire lifecycle of a JSR with the same courtesy. He feels keenly the responsibility of representing Nokia and the JCP program to the outside world and will spend the minute it takes to write an email response. "The TCK challenges must be handled especially quickly. When someone has a product in development, I don't want to cause any extra delays for them," he says.
Antti tries to keep communication channels open in both directions with his Expert Group, and so far the information has flowed at a reasonable enough level to avoid drowning in it. Email is the primary tool of choice. Minutes from all face-to-face meetings and conference calls are written and delivered to the members. API drafts and other documents are placed on a group member's Website -- Nokia's external site for JSR 234 and Motorola's site for JSR 272 -- with the Java sources and, in case of JSR 234, with change logs as well. During a review period of the process, all JSR comments are collected in a single document to be discussed and resolved one by one when the review period is over.
Antti makes sure that all Expert Group meetings have clear goals and a well-written agenda to allow members to prepare in advance. The needs of remote participants who are in different time zones are considered, too. The agenda is usually updated during the meeting to optimize time management. By the end of the day, meeting minutes are emailed to all Expert Group members. Members on different time zones can choose to join the meeting for the summary only, and they are welcome to comment before the meeting continues the next day.
Adhering to the Schedule
"The Spec Lead is clearly the driver of a JSR, so it's my responsibility to keep the pace," says Antti. However, he strongly believes that creating the specification is the team's work. Part of his role as Spec Lead is to ensure that the atmosphere of the group encourages individual members to contribute and influence the part of the specification that has been delegated to them. "The specification is always the result of compromises, and the Spec Lead can greatly affect how they are made. It's a matter of balance between usability, implementability, functionality, and the needs of individual members," he says.
Everything may be negotiable, but proposed changes and compromises must be backed up with sound reasons. Antti does not feel that adhering to the original schedule is critically important in and of itself, but justification is necessary for any slip in the final release date. The most important thing is for progress to be steady and predictable, even when it may not be visibly apparent, such as when the Spec Lead is quietly developing the RI and TCK in the background. The schedule is updated to keep Expert Group members on track, and the PMO is alerted when Antti communicates in advance of precess milestones to let the staff prepare for incoming deliverables.
Star Spec Lead Reflects Others
Antti is pleased with being named a Star Spec Lead, saying, "I see it as a merit for myself, my company, and the Expert Group. I'm backed up by a good organization in Nokia, and the Experts from other companies have been very competent and productive. For my part, I do my best to make things happen as smoothly as possible now and in the future.
Being a father of two small boys takes almost all of Antti's free time. What little remains is mostly filled with cycling or, in the winter, playing squash. "I try to stay fit all year around and I compete in mountain biking a few times in the season," he says. Antti tries to maintain his old interest in computer gaming, especially racing simulations, and for reading science fiction and "other stuff that most software engineers find cool."


text:
Q: How to vent on Stack Overflow without resorting to personal attacks of character Sometimes voting down an answer or question just isn't satisfying enough psychologically. One feels the urge to annihilate and destroy with prejudice. However, there is no need for personal attacks on Stack Overflow.
Instead, make use of this bookmarklet by Erik Rothoff and destroy, destroy, destroy:

(obviously no permanent damage is done, and you'll feel much more relaxed afterward)

A: I'm sure everyone has felt like that at times, but have we that little self-control?

Other concerns: What happens if you vent on one of Jon Skeet's posts? Does your PC blow up? What if you use an iPhone?

redpajama_set_name: RedPajamaStackExchange


At Beauty Base you will find a wide range of women's perfumes and affordable makeup for you to to enjoy. Browse our designer women's fragrances from top brands and celebrities and add a new perfume to your collection. Prep your skin with our skincare products and create a whole host of makeup looks with our impressive makeup collection.


text:
Q: Replacing json file using powershell script does not work when script is called as even/action in installshield suite I need to replace an existing .json file on the target machine.
I am executing it as Event/Action in my Suite with elevated rights.
This is the  script:
try {
    $ProductName = "ravendb"
    $Product = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq $ProductName }

    if ($Product) {
        Stop-Service RavenDB
        (Get-Service RavenDB).WaitForStatus('Stopped', '00:00:30')

        $Folder = 'C:\RavenDB-4.2.x\Server'
        Copy-Item -Path "settings.json" -Destination $Folder -force

        Start-Service RavenDB
        (Get-Service RavenDB).WaitForStatus('Running', '00:00:30')

        exit(0)
    }
    else {
        exit(1)
    }
}
catch {
    $StringValue = Resolve-SuiteString -StringId $_.Exception.Message
    Trace-SuiteInfo -LogMessage $StringValue
    exit(1)
}

But the file has actually not been overwritten. Service is being stopped/restarted though.
Running the script manually (using bypass execution policy) works fine.
Suite debug log indicates no error:
2-25-2023[01:26:47 PM]: Running event 'update-ravendb-settings'
2-25-2023[01:26:47 PM]: Engine: request for proxy handler, 0, 0
2-25-2023[01:26:48 PM]: (PowerShell Action): Attempting to load through CLR 4 APIs...
2-25-2023[01:26:48 PM]: (PowerShell Action): Getting meta host...
2-25-2023[01:26:48 PM]: (PowerShell Action): Enumerating available runtimes...
2-25-2023[01:26:48 PM]: (PowerShell Action): Highest available runtime: v4.0.30319
2-25-2023[01:26:48 PM]: (PowerShell Action): Trying to use highest runtime...
2-25-2023[01:26:48 PM]: (PowerShell Action): Using highest version runtime...
2-25-2023[01:26:57 PM]: Action returned value 0x00000000
2-25-2023[01:26:57 PM]: Action 'update-ravendb-settings' returned status 0x00000000

Why is it, that my script won't work when being called as action/event in Installhield suite?

A: finally I got it working by parsing file as json and update it rather than trying to replace it:
        $jsonPath = 'C:\RavenDB-4.2.x\Server\settings.json'
        $jobj = Get-Content -Raw $jsonPath | ConvertFrom-Json

        $prop = "Patching.MaxStepsForScript"

        if(!($jobj.psobject.properties.name | where{$_ -match $prop}))
        {
            stop-service RavenDB
            (Get-Service RavenDB).WaitForStatus('Stopped','00:00:30')

            $jobj | add-member -Name $prop -value 100000 -MemberType NoteProperty
            $jobj | ConvertTo-Json > $jsonPath

            start-service RavenDB
            (Get-Service RavenDB).WaitForStatus('Running','00:00:30')

            $message="updated settings"
        }

I don't know why it works better this way but it does.


Am I the only person in America who is having a little problem with this?
Please understand, I am NOT bashing this mother. I am sure she loves her son and was concerned for his safety and his future. I'm not accusing her of abuse, or saying that her parenting caused her son to be a rioter, or advocating that he be removed from her care.
I am thankful every day that there are no video cameras recording my parenting. I have slapped my kids. I have screamed at them. I have said mean things to them. Sometimes these tactics were effective at stopping whatever misbehavior motivated them–temporarily. I doubt they produced lasting change, or if they did it wasn't for the right reasons.
But seriously, am I the ONLY ONE (I think I might be, judging from every comment I've read on this video) who sees the irony in applauding an angry and violent outburst against a child who just engaged in an angry and violent outburst? Aren't riots themselves proof that violence begets more violence? If we want justifiably angry people to channel their anger into peaceful solutions, isn't that the behavior we should be modeling?
Please join the discussion on this post at BlogHer.
No, you are not alone in your assessment. I too saw this video and thought the same things. Was I happy that she was out there to collect her son, yes, was I happy that she was trying to stop him from rioting, yes. I was not happy though that the response was one of violence, and I too thought it only magnified how these actions are being fostered in response to outrage.
I am so relieved. I was starting to think I was crazy.
Thank you. That's exactly what I thought when I first saw it.
I was thinking the same thing, Leslie. I'm not trying to justify what she did but from her point of view, I think she was ashamed that her son was doing what he was, and she felt that she had to do something immediately. So, on the spur of the moment, she did what she did.
Well said. And then there is the humiliation. If I saw my son rioting on TV, I"m not sure how I would go about stopping him, but I can't imagine that violence and humiliation are going to help long term.
agree with all of you. I think from at least the people I have talked to about this, that we were more supportive of seeing a parent step in and deal with her child. Too many parents these days want to be friends instead of parents and have no clue what is going on in their children's lives. Did she go overboard, maybe, but as stated above who knows how we would react. We want to say calm and cool but in the heat of the moment, who knows.
Unfortunately we live in a very violent and impatient world. We have just had the execution in Bali of two Australians which has left us all wondering where is compassion in this world.
This is a very hard one Leslie. I so agree with you that violence results in more violence.
I think what would I do If I saw my son taking part in a violent riot where people were getting hurt? I don't think he would respond to my nicely asking him to come home, the emotions would have been very high.
I think she was brave just to have gone into a riot and risk her own well being to get her son out. She probably saved him and herself from a lot more pain if he had hurt someone or been arrested.
A TV commentator mad the observation that the boy did not turn and abuse his mother and that he did go home with her.
I don't think she will make mom of the year, but where were all the other parents?
You have bought a very good post to Fridays Blog Booster Party with a lot of depth and meaning and stimulating very good discussion. Well done Leslie. I love open discussion, where people can state their view without feeling threatened or offended.
I go with Kathleen on this one. She cleared did not mean to do that and she surely did not do it for the camera. She was a mother in total desperation, fearing for the safety of her. She did not think about the humiliation because she never meant it to be like this. Desperate situations require desperate attitudes.
Fact is that some years ago in Brazil they did a research with prisoners and many attested that they wished their parents had done something when they started "going wrong".
Last year, also in Brazil (my home country), a father did exactly the same when his son was involved in a riot.
Do I mean I think these parents were right? Not really, but even though I do not have children my own, I understand their motives and truly hope that their children will too.
She did what she felt she had to do.
OH, thank you SO MUCH! I appreciate your support and I will be excited to see Friday's post.


text:
package workbench.sql.wbcommands;

import workbench.WbTestCase;
import workbench.db.exporter.RegexReplacingModifier;
import workbench.util.ArgumentParser;
import static org.junit.Assert.*;
import org.junit.Test;

/**
 *
 * @author Thomas Kellerer
 */
public class RegexModifierParameterTest
	extends WbTestCase
{

	public RegexModifierParameterTest()
	{
		super("RegexModifierParameterTest");
	}

	@Test
	public void testParseParameterValue()
	{
		ArgumentParser cmdLine = new ArgumentParser();
		RegexModifierParameter.addArguments(cmdLine);
		cmdLine.parse("-"+ RegexModifierParameter.ARG_REPLACE_REGEX + "=[\\r\\n]+ -" + RegexModifierParameter.ARG_REPLACE_WITH + "=' ' ");

		RegexReplacingModifier modifier = RegexModifierParameter.buildFromCommandline(cmdLine);
		assertNotNull(modifier);
		String result = modifier.replacePattern("this\r\nis\ra\ntest");
		assertEquals("this is a test", result);

		cmdLine.parse("-"+ RegexModifierParameter.ARG_REPLACE_REGEX + "=[\\r\\n]+ " +
			"-" + RegexModifierParameter.ARG_REPLACE_WITH + "='*'");

		modifier = RegexModifierParameter.buildFromCommandline(cmdLine);
		assertNotNull(modifier);
		result = modifier.replacePattern("this\r\nis\ra\ntest");
		assertEquals("this*is*a*test", result);
	}
}

redpajama_set_name: RedPajamaGithub


best registry cleaner ?? worth it ??
Discussion in 'Computer Software & Operating Systems' started by Oggie, Jan 17, 2008.
i have read that its worth getting registry clean software, dont know much about it so would like your opinion. is it really worth it and which one is the best ( any free downloads) ??
I use this http://www.ccleaner.com/ its freeware and has registry cleaning as well as cleaning all the junk from your main C drive.
I use a Registry Cleaner called RegCure which I paid for but, although all the advertising hype said that I would see all sorts of improvements in the speed of my PC, I have to say that I have never noticed any difference and would definitely not buy again.
Hope that helps you make up your mind.
Another vote for CCleaner -small file, fast and effective as mentioned for removing all temporary files and cookies etc and as a registery cleaner.
Even I have tried many registry cleaners mentioned with different success rates but I got best results with registrycleanfix, ideal for professionals like me. It's available at http://www.registrycleanfix.info/ Hope you will get it suitable too.
I wipe and reinstall my PCs at least once a year. It's like getting a new PC again each time.
If you're smart and install Windows on C: and put all your data on D: it's a doddle. Redirecting My Documents to a folder on the D: drive makes your life simple for future installations.
Hmm..... registry cleaners...... once thought of an essential but more recently exposed as snake oil.
the latest thinking - and I agree with it - is that there's no need to clean your registry, in so much as there are no consequences or penalties of an 'unclean' registry.
The architeture of the windows registry (its pretty old) means that its size and contents have no impact on its performance.
technology journalist Ed Bott has claimed that no-one has ever succesfully managed to measure any significant performance increase from the use of a a registry cleaner.Any potential user of a registry cleaner must thus balance a probably negligible perfomance increase against a non-zero possibility of system instability.
I use JV16 power tools.
While i don't use it regularly it does come in handy for tracking stuff down.
I used to use RegSupreme.
I have used reg cleaners in the past with mixed results. However my laptop seems to have come to a grinding stop and so i will give cccleaner ago before reinstalling vista (not expecting that to be fun).
I just wish there was some cheap easy software that would get your computer back to fighting form without formatting / reinstalling. As the idea of reinstalling World of Warcraft and its 100million addons doesn't sound like much fun.
CCCleaner a placebo for those that need reassurance..
Every time I run a reg cleaner I always end up with some issues or another. Last week I ran RegCure and it screwed up my installation of Microsoft Home Server. Had to reinstall it to get the console to load properly.
I must put a sticky on my PC " DO NOT RUN REGISTRY CLEANERS. PERIOD".
I'm with Stiggy on this and a periodic rebuild cannot be beat.
Take the Stiggy approach, but use something like TrueImage or Ghost to take a snap shot of your "clean" system immediately after the rebuild, including as much as your "standard" software (and 100 million add-ons ) as necessary. A "clean" re-build then only takes an hour or so, re-apply any changes, redo the snap shot, and away you go. I manage 4 PCs this way, and it's worked a treat. Never really tried a registry cleaner.
at least 3 pcs a week come to my pc repair shop wich need to be reinstalled due to the likes of registry cleaning programs etc .
we always advise leave well alone i know every one has a different view on these programs .this is just our findings week in week out.