An experiment in theming
I've recently been playing around with theming various aspects of my Arch setup and it turns out that finding a set of elements from around the net that work well together (and look consistent..ish) isn't as easy as it sounds.
So, I've decided to challenge myself to create a substantial collection of overall 'themes' that are functional, consistent and look good for the Windows-ers (I'm moving to University in a fortnight. Nothing says 'ooohh' like a good desktop setup ). Anyway, how could I possibly do that without offering my spoils to the ever-awesome Arch community?
DISCLAIMER: These themes are a collection of icon sets etc made by other people that I've collected together in, hopefully, pleasant ways. The only aspect of these that was made 100% by me are the conky setups, unless I say otherwise.
Think of this like the (excellent) Ghost's Workshop threads - just with tricked out conkies. These all use Openbox and the CAW! Panel, btw.
Without further adieu, Theme 1: ThoughtfulCheetah.
Conky Features
Main:
Quick script to print a random, semi-amusing slogan on first run.
Color-coded cpu percentages - normal, high and 'She cannot take anymore, cap'n!'.
Similar color-coding for the top output (that's cpu, mem and io - bottom right)
MPD:
Mundane first - function to truncate title/album names and add '...' to names that are too long.
Semi-mundane - cover-art displayer (uses a database, but that lets me add other things)
Cairo-awesomeness 1 - repeat/random indicator boxes in the top right.
2 - vertically gradiented song progress bar.
3 - status-meter on the right side - gradient moves down when playing. Still when paused.
4 - 5-star rating system displayed by bottom boxes (see, told you the database was handy).
Details will follow once I've found all the relevant configs in the file sea known as ~/. Hope you enjoy, you're the best community for anything I've ever seen.
Relevant info:
Wallpaper: Fractal Cheetah by This guy i believe. With a slight bit of hue altering to make it less orange.
Mouse: Vanilla-DMZ - in community under 'xcursor-vanilla-dmz'
GTK: MurrinaCandido - not sure, but I think I got it from murrine-themes-collection, also in repos.
Icons: Eggshell, from here.
Fonts: DejaVu Sans Condensed (repos somewhere) - size 8. Used DejaVu Sans Bold for the Openbox headings.
Dmenu: Call this script with ' <script location> dmenu "#1a1a1a" "eaeaea" "000000" "cccdbc" '. You can also use mpd instead of dmenu for a music-based menu.
#!/bin/bash
if [ $1 == "dmenu" ]; then
$(dmenu_path | dmenu -i -y '400' -p 'Run:' -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*' -nb $3 -nf $2 -sb $5 -sf $4)
else
mpc play `mpc playlist | dmenu -i -y '400' -p 'Play:' -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*' -nb $3 -nf $5 -sb $3 -sf $4 | cut -d')' -f1`
fi
As for the rest of it - Openbox theme(custom), openbox config, both conky config files and both lua scripts for the conkies.
Oh and my mostly worthless slogan script:
#!/bin/bash
CheetahSay=("Less is more. And fuzzy." "Compiz? This is MINIM-AL!" "Meow. Nice kitty." "Just don't call him Puss." "Quick! Hide the boots!")
case $1 in
"ThoughtfulCheetah")
NUMBER=$[ ( $RANDOM % 5 ) ]
echo ${CheetahSay[$NUMBER]}
esac
exit 0
Similar Messages
-
Because of the discussion present in the following thread, I did few experiments and would you like to share with you. Hope it is a useful information for you guys.
Re: db_name & memory allocation
OS: Win XP SP2 or Windows 2000 <b>(32-bit)</b>
Oracle Version: Oracle 10gR2
System RAM: 1G
<b>Attempting to create the database CCC by specifying db_name parameter only</b>
C:\oracle\product\10.2.0\db_1\database>copy con initCCC.ora
db_name=CCC
^Z
1 file(s) copied.
<b> Starting the service </b>
C:\oracle\product\10.2.0\db_1\database>oradim -new -sid CCC -startmode m
Instance created.
C:\oracle\product\10.2.0\db_1\database>set oracle_sid=CCC
C:\oracle\product\10.2.0\db_1\database>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 07:50:06 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
SQL>
SQL> startup nomount
ORACLE instance started.
Total System Global Area <b>113246208</b> bytes -- Default SGA size
Fixed Size 1247588 bytes
Variable Size 58721948 bytes
Database Buffers 50331648 bytes
Redo Buffers 2945024 bytes
<b> On seeing dynamic components size, shared pool got
33m, large pool got 0m, java pool got 25m and buffer cache
got 50m. Please check the references for these default
values. </b>
SQL> select component,current_size from v$sga_dynamic_components;
COMPONENT CURRENT_SIZE
shared pool 33554432
large pool 0
java pool 25165824
streams pool 0
DEFAULT buffer cache 50331648
KEEP buffer cache 0
RECYCLE buffer cache 0
DEFAULT 2K buffer cache 0
DEFAULT 4K buffer cache 0
DEFAULT 8K buffer cache 0
DEFAULT 16K buffer cache 0
COMPONENT CURRENT_SIZE
DEFAULT 32K buffer cache 0
ASM Buffer Cache 0
13 rows selected.
<b>Total=109051904 </b>
SQL>
create database
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
<b>Errors in alert log file</b>
ORA-00604: error occurred at recursive SQL level 1
<b>ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","create unique index
i_proxy_...","sql area","kksol : kksnsg")
</b>
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
<b>It was thought that shared_pool memory area is not
sufficient. Then thought to know how oracle will behave on
setting sga_target parameter.</b>
<b>initCCC.ora</b>
db_name=CCC
sga_target=113m
SQL> startup nomount
ORACLE instance started.
Total System Global Area <b>121634816 bytes -- Got around 121m </b>
Fixed Size 1247636 bytes
Variable Size 54527596 bytes
Database Buffers 62914560 bytes
Redo Buffers 2945024 bytes
<b>Now create database statement got success here.
Instance got few extra Mbs of memory and oracle can create
the database.</b>
<b>Then it was thought that, why to give 121Mb even. Let exactly 113246208 bytes be devoted to the instance.</b>
initCCC.ora
db_name=CCC
sga_target=113246208 -- providing exact number of bytes as obtained in default case
SQL> startup nomount
ORACLE instance started.
Total System Global Area 113246208 bytes
Fixed Size 1247588 bytes
Variable Size 54527644 bytes
Database Buffers 54525952 bytes
Redo Buffers 2945024 bytes
SQL>
<b> Now create database statement got success here as
well. Because of sga_target, automatic shared memory
management enabled and instance was taking care of buffer
cache, shared pool, large pool, java pool and
streams_pool. In this case shared pool got 46m (greater
than default case value). Java pool and Large pool got 4
mb each and buffer cache got 54m. </b>
SQL> select component,current_size
2 from v$sga_dynamic_components;
COMPONENT CURRENT_SIZE
shared pool 46137344
large pool 4194304
java pool 4194304
streams pool 0
DEFAULT buffer cache 54525952
KEEP buffer cache 0
RECYCLE buffer cache 0
DEFAULT 2K buffer cache 0
DEFAULT 4K buffer cache 0
DEFAULT 8K buffer cache 0
DEFAULT 16K buffer cache 0
COMPONENT CURRENT_SIZE
DEFAULT 32K buffer cache 0
ASM Buffer Cache 0
13 rows selected.
<b>Total=109051904 </b>
SQL>
By providing 113246208 bytes (as in default case) of
memory to SGA by setting sga_target value, Oracle gave
extra memory to shared_pool and buffer cache than in case
of default, thus helping create database statement to get
pass. Oracle always recommends to use automatic shared
memory management by setting sga_target parameter value.
Hope this experiment provides few clues about automatic
shared memory management feature of Oracle 10g. This case
was conducted on 32-bit Oracle. It is quite possible that
create database statement might get success in 64-bit
Platform as by default Oracle will provide 84 Mb to Shared
pool. But to confirm, it has to be experimented.
References:
Shared pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams196.htm#sthref804
Large Pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams090.htm#sthref377
Java Pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams087.htm#sthref364
Buffer Cache
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm#sthref185Hi,
Good Work Mohammed !!!
Regards
Taj -
I was trying to add and app to my iphone and was not able to do so. It wanted updated credit information. So, I entered it and it will not accept the month of experation. I have shut the phone down, sync it to the computer to update. Will not work. What can I do to continue?
Off the top I dont thing its good practice to post an email address here
I dont see how a google password change would impact on ur Apple ID/iTunes account
Have u access to the old email address? If not and you fail the apple security process then you need to call them
Have u tried to manage ur apple id from : appleid.apple.com -
I have a EOS T1i and would like to experiment with time lapse photography. Any help?
I have an EOS T1i and would like to experiment with time lapse photography. I just read an Apple tip for the iPad and it is easy to do with the iPad but timing is something else. I would like to do it with my Canon and be able to change the timing between shots. Can you provide advice? I put time lapse into Google and it had an attachment for the T3i that I could get from Amazon. I don't know if it fit my T1i and don't know where to put it. Any advice would be helpful. I tried to do a search on this forum but could not find the answer.
Bob
Solved!
Go to Solution.The Google search: https://www.google.com/search?q=EOS+T1i&oq=EOS+T1i&aqs=chrome..69i57j69i60l2&sourceid=chrome&es_sm=1...
The first hit: http://www.superstokedmagazine.com/article/2013/09/how-to-do-a-time-lapse-with-a-canon-eos-rebel-t1i... -
A more successful experiment in creating compositable user interfaces for Config Dialogs
A couple weeks ago I posted an experiment in creating compositable user interfaces using transparent subpanels. The approach might best be described as, "It at least was notable for being novel."
Today, I'm posting another attempt, this one along more traditional lines, and far more successful. Particularly notable: this one can do all the arbitrary composition of the last one AND it solves the TAB order problem.
This solution uses a picture control and renders N copies of a control. When the user tabs to a control or moves the mouse over the control, a real control slides into that position to be able to catch the events (update mouse over draw state, highlight for keyboard focus, handle typing, etc). When the Value Change occurs, a master array of data is updated and the picture control is updated.
This is something that has been attempted in various forms in the past, but there are two aspects of this particular implementation that make it nice:
its programmatic interface for specifying the behavior of the various objects should make it fairly easy for a user of the framework to programmatically generate their dialogs
it handles the TAB problem without flickering, something I haven't seen in other attemps
This idea spawns out of conversation about the previous experiment -- thanks to those of you who posted on various forums, e-mailed me, or, in a couple cases, showed up at my desk. That last one is not something I'm encouraging unless you work at NI... just saying. :-)
Now, this experiement has already yeilded some interesting conversation. We note that as long as controls are instantiated independent of each other -- that is, no property of one control depends upon the property of another control -- this dialog system scales nicely. But in this experiment, I implemented Radio Buttons, which interact with each other -- when one is set True, the others go False. As soon as controls start interacting with each other (such as graying out one control when a checkbox is toggled, or having expandable sections, or really complex cases like updating a graph as some options change, like happens in some Express VI config dialogs) then we start needing ways to refer to the other controls. This rapidly moves us in one of two directions: naming controls or creating references. The naming approach is definitely my preference as it fits better with dataflow and I can do some interesting effects with breaking apart some of the tree. But all of this quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you unfamiliar with XAML, in the world of UI design, it might very well be the coolest thing since sliced bread. A XAML string would indeed fit with dataflow, and we could start building that up. I hesitate to head down this road for two reasons. One, as many have noted, there's really not a good XML parsing library written in LabVIEW that can give me a useful DOM tree. Two, that's a huge project and my gut sense is that you'd have to complete a fairly large chunk of it before you'd start seeing any return on investment. But it is worth thinking about -- I might be wrong. Wouldn't be the first time. This code that I've posted today can at least get you started on the generation side if one of you decides to become industrious.
I'm turning my attention away from this project for now... coding in G is lots of fun, and I wish I could spend more days doing it, but this has been a side project and it's time to get back to my assigned projects in text programming. Building a powerful platform for automatic UI generation in LabVIEW would be really useful -- I see lots of requests for this sort of thing, and other languages are pulling ahead of us in this domain.
[UPDATE 5/17/2012 - There is an improved version.]
Solved!
Go to Solution.
Attachments:
ConfighThroughCtrlCreation.zip 558 KBElijah K wrote:
Thanks for posting this Aristos. I would normally be one of those to go bug you at your desk, but in case I'm not the only one with this question... which particular flickering problem are you referring to? The act of switching tabs? In all honesty, I've never noticed...
When you move controls around on the screen, normally you try to Defer Panel Updates while you do that. But Defer Panel Updates has an effect on control's abilities to catch certain mouse clicks, so when you're trying to move a control to catch the mouse, you have to work a lot without Defer Panel Updates, so if you're adjusting captions, etc, to match the new location, you can see flicker as properties adjust. You can move the control off-screen, as long as you have already updated the picture control to reflect the changes. It took a while to catch all the ways that the flickering can crop up. I think I got 'em all.
Attached are the VIs saved for LV 2009. Actually, they're saved for LV 8.6, but it doesn't work in 8.6 because of a bug in the picture control that existed back then.
Attachments:
ComposableUI_LV2009.zip 391 KB -
Update seems to have broken openbox theming.
I updated about 2 hours ago and it seems to have broken a lot of my window manager.
I use openbox as a standalone window manager and have had no issues so far.
I update every few days and today caused the resizing-freeze issue, so I downgraded the suggested packages which fixed that.
However I have another issue with theming.
Programs such as firefox, thunderbird, thunar etc... all have the correct theme. However I use some gnome programs such as rhythmbox and nautilus and neither of these are themeing correctly as well as terminator and all appear to have the default gnome theme.
I use obconf and lxappearence for themeing normally, however these seem to have no effect.
I've done a fair amount of searching and googling and am now very tired and am going to bed.
If anyone has any advice it would be much appreciated. If I am being stupid in my sleep deprived state please feel free to point it out XD.Hi all. I'm also running Openbox and have done the following so far;
1. Installed gnome-themes-standard. Created a new folder ~/.config/gtk-3.0/; Created the file in the folder "settings.ini" with the following code;
[Settings]
gtk-application-prefer-dark-theme = true
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome
Thanks to the info on the thread here
2. Checked out the post here. Downloaded the tar of Adwaita from this.page and did the usual "makepkg -s" magic and rebooted.
What I'm now getting is nm-applet in tint2 with the dark theme of Adwaita which is great but doesn't really match my dark theme axiomd but it's better than before.
What I'm wondering is how to manage this in lxappearance, change font etc?? If I select the theme Adwaita it's a light theme? Having looked in the directory there is both gtk-2.0 (i think this is the light one?) and gtk-3.0.
I've also noticed that it is affecting rhythmbox; slow to load and the status icon setting in the plugins is missing, so you close the GUI and find the app quits rather than the previous behaviour where it would close but the notification icon would still run in tint2 enabling one click control access to the GUI again.
I appreciate this is obviously a new implementation and will take a bit of time to learn but any tips from those in the know would be great!? TIA.
Last edited by phrac (2011-05-01 11:10:09) -
I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
anduran wrote:
I update to IOS 6.1.3 in my Iphone 4S and don't saved SHSH an APtickets, after it I experiment a problems with my Idevice, it show service provider but don't show signal in any place,I want to know if its posible repair my device
Basic troubleshooting
Reset
Restore with back up and if required as new -
Experiment with 2 monitor and a laptop
I got 2 older monitors from a friend (Dell 1905fp) the other day. They are working as they should and so on. But is it possible to run these 2 on a laptop with only 1 VGA and 1 HDMI? The monitors do have 1 VGA and 1 DVI. I guess it's possible to get a USB to VGA device if it's necessery.
Since this is a laptop and i'm using it on other places then at home, is it possible to make the laptop to switch from using the laptops monitor to 2 monitors in some easy way? Using subtle atm, but planning to give dwm a try.
This is just an experiment, but it would be nice to make it work. If there is no way i'm probobly use the 2 monitors with an older desktop i got laying around somewhere...melw wrote: But is it possible to run these 2 on a laptop with only 1 VGA and 1 HDMI? The monitors do have 1 VGA and 1 DVI.
Should be possible, HDMI to DVI adapters usually work without problems (the connectors are electrically the same).
melw wrote:I guess it's possible to get a USB to VGA device if it's necessery.
You'll probably have many troubles getting it to work under Linux (I've heard of only a few successful attempts).
melw wrote:Since this is a laptop and i'm using it on other places then at home, is it possible to make the laptop to switch from using the laptops monitor to 2 monitors in some easy way?
Use xrandr, probably with some kind of graphical interface.
melw wrote:This is just an experiment, but it would be nice to make it work. If there is no way i'm probobly use the 2 monitors with an older desktop i got laying around somewhere...
If it is an experiment I'll try to start from using a HDMI to DVI cable or adapter, because they are dirty cheap.
Last edited by gorky (2011-09-12 19:44:35) -
Help needed to record an experiment for a running process
Hi Team,
While trying to record an experiment through Profile Running process option, we found issues in generating an experiment file.The error stated that the directory wasn't writable but we made sure all the permissions are available for the folder. The application is a C++ implementation.
Have attached the output message:
Running: /x/opt/SolarisStudio12.4-beta_mar14-linux-x86/lib/analyzer/lib/../../../bin/collect -P 16824 -o test.1.er -d /x/web/STAGE2LP14/xxxx -p on -S on
name test. is in use; changed to test.4.er
Reading xxxx
Reading ld-linux.so.2
name test. is in use; changed to test.4.er
Reading libppfaketime.so.1
Reading librt.so.1
Reading libpthread.so.0
Reading libcrypt.so.1
Reading libz.so.1
Reading libdl.so.2
Reading libkrb5.so.3
Reading libicui18n.so.36
Reading libicuuc.so.36
Reading libicudata.so.36
Reading libicuio.so.36
Reading libexpat.so.0
Reading libqpidmessaging.so.3
Reading libqpidtypes.so.1
Reading libxerces-c.so.27
Reading libstdc++.so.6
Reading libm.so.6
Reading libc.so.6
Reading libgcc_s.so.1
Reading libk5crypto.so.3
Reading libcom_err.so.2
Reading libkrb5support.so.0
Reading libkeyutils.so.1
Reading libresolv.so.2
Reading libqpidclient.so.6
Reading libuuid.so.1
Reading libselinux.so.1
Reading libqpidcommon.so.6
Reading libsepol.so.1
Reading libboost_program_options.so.2
Reading libboost_filesystem.so.2
Reading libsasl2.so.2
Reading ISO8859-1.so
Reading libcollector.so
Attached to process 16824
t@4133656384 (l@16824) stopped in __kernel_vsyscall at 0xffffe410
0xffffe410: __kernel_vsyscall+0x0010: popl %ebp
Process ID: 12981
dbx: The HW counter configuration could not be loaded
Elapsed Time: 85 ms
Run "collect -h" or "er_kernel -h" with no other arguments for more information on HW counters on this system.
Execution completed, exit status is 0
dbx: Creating experiment database /x/web/STAGE2LP14/xxxxxx/test.4.er (Process ID: 13736) ...dbx: Creating experiment database /x/web/STAGE2LP14/xxxxxx/test.4.er (Process ID: 13736) ...
dbx: Experiment directory not writable
Experiment aborted
error at line 16 of file 'dbxcol3wC1XU'
detaching from process 16824
Even we tried manually using the collect command the process started successfully but while terminating the process using CTRL+ENTER we got coredump error
f7f40000-f7f50000 rwxp f7f40000 00:00 0
f7f50000-f7f6b000 r-xp 00000000 fd:00 589838 /lib/ld-2.5.so
f7f6b000-f7f6c000 r-xp 0001a000 fd:00 589838 /lib/ld-2.5.so
f7f6c000-f7f6d000 rwxp 0001b000 fd:00 589838 /lib/ld-2.5.so
ffbe7000-ffbfc000 rwxp 7ffffffe9000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0
dbx: internal error: signal SIGABRT (sent by tkill)
dbx's coredump will appear in /tmp
We arent sure how to terminate the collect process manually.
/x/opt/SolarisStudio12.4-beta_mar14-linux-x86/lib/analyzer/lib/../../../bin/collect -P 16824 -o test.1.er -d /x/web/STAGE2LP14/xxxx -p on -S on
Please help us
Thanks
Sattish.Hi Darryl,
We tried with the below mentioned option
./collect -P 24829 -o /tmp/test.9.er But still the same error
NOTE: No J2SE[tm] was specified for checking.
The following J2SE[tm] versions are recommended:
J2SE[tm] 1.7.0_25 or later 1.7.0 updates (preferred)
NOTE: You can download and install the J2SE[tm] from http://www.oracle.com/technetwork/java/javase/downloads.
WARNING: Java data collection may fail: J2SE[tm] version is unsupported.
Reading atlasserv
Reading ld-linux.so.2
Reading libppfaketime.so.1
Reading librt.so.1
Reading libpthread.so.0
Reading libcrypt.so.1
Reading libz.so.1
Reading libdl.so.2
Reading libkrb5.so.3
Reading libicui18n.so.36
Reading libicuuc.so.36
Reading libicudata.so.36
Reading libicuio.so.36
Reading libexpat.so.0
Reading libqpidmessaging.so.3
Reading libqpidtypes.so.1
Reading libxerces-c.so.27
Reading libstdc++.so.6
Reading libm.so.6
Reading libc.so.6
Reading libgcc_s.so.1
Reading libk5crypto.so.3
Reading libcom_err.so.2
Reading libkrb5support.so.0
Reading libkeyutils.so.1
Reading libresolv.so.2
Reading libqpidclient.so.6
Reading libuuid.so.1
Reading libselinux.so.1
Reading libqpidcommon.so.6
Reading libsepol.so.1
Reading libboost_program_options.so.2
Reading libboost_filesystem.so.2
Reading libsasl2.so.2
Reading ISO8859-1.so
Reading libcollector.so
Attached to process 24829
t@4133668672 (l@24829) stopped in __kernel_vsyscall at 0xffffe410
0xffffe410: __kernel_vsyscall+0x0010: popl %ebp
dbx: The HW counter configuration could not be loaded
Run "collect -h" or "er_kernel -h" with no other arguments for more information on HW counters on this system.
dbx: Creating experiment database /tmp/test.9.er (Process ID: 7769) ...
dbx: Experiment directory not writable
Experiment aborted
error at line 15 of file 'dbxcol61PZeE'
detaching from process 24829
Could you please review
Thanks
Sattish. -
Hi,
I'm trying to run a visual experiment using PsychToolbox in Matlab.
I've attached a secondary monitor to my iMac for this purpose and I'm having difficulties trying to
'black out' the iMac screen.
I need the secondary monitor to run at a refresh rate of 120Hz and at linearised luminance (did this for my secondary monitor),
so I can't really use my iMac screen. However, i need my iMac screen to be darken out because I'm doing a vision experiment.
I tried dimming my iMac screen but it doesn't go completely dark. I tried Ctrl+Shift+Eject (or was it Command) but it will darken both
monitors. I also tried mirroring, but it doesn't seem to work too.
I'm really stuck and any ideas will be greatly appreciated!
shui
NB:I'm using OS X Version 10.8.3.I do not know the details of your experiment, but creating a black monitor is not difficult. For example a completely black page, e.g. in Power Point, set to fill the screen?
The advantage of doing this with PP is that you can move in to or out of the black page with just the space bar. You can set up your monitors so PP is displayed on just one monitor. -
Experiment and conclusion on notorious Bios and turbo boost related issue.
Hi everyone,
Like everyone here, I suffered from the turbo boost issue and I decided to find a practical way to solve this problem,so .I conducted some experiments trying to find out the relationship between power strategy, graphic type, booting power source and the CPU frequency.. Here are my results:
Variable: Power strategy for AC/BAT: Max/Balanced, Max/Max(didn't try for balanced AC power strategy)
Graphic type: Integrated, discrete and Nvidia Optimus
power source when the machine booted(BAT,AC)
Testing model: W520 42762QU i7-2720QM Quodro2000M 16G Crucial M4 128G, 500G HDD, BIOS1.30
Testing programs: Intel Turbo Boost programs and CPU-Z
power strategy
Graphics
booting:AC
AC-BAT
AC-BAT-AC
Booting: BAT
BAT-AC
BAT-AC-BAT
Max/Balance
Discrete
Turbo
1.5Ghz
Turbo
1.5Ghz
800Mhz
1.5Ghz
Max/Max
Turbo
1.5Ghz
Turbo
1.5Ghz
800Mhz
1.5Ghz
Max/Balance
Integrated
Turbo
Turbo
Turbo
Turbo
800Mhz
Turbo
Max/Max
Turbo
Turbo
Turbo
Turbo
800Mhz
Turbo
Max/Balance
Optimus
Turbo
800-2400
Turbo
800-2400
800Mhz
800-2400
Max/Max
Turbo
800-2400
Turbo
800-2400
800Mhz
800-2400
Notice the '800-2400' state, it is a special situation when CPU-Z occationally gives me a speed of approx 2400 when I tried some head-load programs, which lasted about few seconds and the frequencies went back to 800 or 1500(in most cases, 800) when I closed the program.
Conclution:
1. power stratagy will not influnce the cpu frequency.
2. booting power source and graphic types will do.
3. I'm sick and tired of pluging and unpluggin my W520.
4. I'm not a fan of Nvidia Optimus.
5. Lenovo did a terrible job on this issue.
6. I expect a same result for Bios 1.26
Practical solutions:
1.When you need a powerful W520, use Discrete graphic and plug your AC while booting.
2, For a longer battery life, use integrated graphic, and if you wan't to plug the AC, please turn off your machine and boot again.(not rebooting!)
Thank you for reading my post and sorry for my bad english
Robin LiuSomeOtherGuy:
Thanks very much for keeping us all informed about the "work in progress" on the BIOS and the Turbo-thing. That is thoughtful of you and will (hopefully) cut down on the amount of carping and complaining about this issue.
Michael
W520 (4270 CTO), which replaced a W500 (4062-27U), which replaced a T42P, which replaced an A21P... -
Thought Experiment: Variable Number of Parallel Time Dependent Systems
Hi all,
I'm just going through a thought experiment before beginning a new major project and am trying to figure out the best way this code could work. We have a new project coming up that is going to be based out a single computer, this computer is then going to control a number of identical iterations of measurement devices, at present the number is 20 but this could change depending on mechanical failure etc during trials. All of these devices need to be running at the same time and are relatively time dependent, each device has to:
Record measurement data at 1Hz (0.05s Active Time)
Respond to inputs and undertake longer tasks (0.5s Active Time). Inputs occur at random intervals greater then ~10s
As all of these systems must run in parrallel I am looking at the number of different ways LV handles the parallel instances to try and determine a reasonable design pattern before beginning anything. The current ways that I am looking at it are:
Standard Multiple VI parallelization
Build a SubVI, place multiple instance in block-diagram, run.
Pros:
Simple, Build a Sub-VI that can run the device plop X instances.
Cons:
Scalability, Not able to easily change number of instances without re-editing code, rebuilding moving etc.
State Machine parrallelization
Build a state machine for the Device, run X instances in a parrallelized For Loop, for all longer tasks run start them and then check progress each time you come back into the state machine.
Pros:
Programmatically scalable
Standard State Machine Architecture.
Cons:
Less control over long tasks
More complex programming and control.
I am looking forward to what the community has to say, I have a feeling I should probably be looking at OOP for this but I have never done any in LV before and I am a little worried how long the learning curve on that would add to the project without resulting in a much improved outcome.
Let me know your thoughts on the best way to continue.As Mike said, you can launch multiple instances of a reentrant VI similar to launching a single instance of a VI - it's all in how you get your reference / what your reference actually is.
If you use the Open VI Reference function with a parameter of 0x80 or 0x100 on a preallocated clone reentrant VI, a clone is allocated and the reference is a reference to that clone of the VI (you can check this in testing using a property node and checking the name, which will have the clone number after a colon, and/or Is Clone VI). At that point, anything that you do with that reference is being done to that clone.
What I did recently for a similar design was defined my class (or just a cluster if not using OOP) to have all of the information to define a single identity - TCP connection ID, queue refs, etc., and the reference to a clone. A constructor would be called like a "regular" SubVI to create everything it needed, including allocating a clone for itself to run in, and return a Data Value Reference to the resulting object (cluster). A launcher could then be used that would take the clone reference and Start Asynchronous Call on it, passing into one of its controls the DVR to the object. Now the clone is running and has everything that it needs to identify itself and operate, including responding to connections like you might have for displaying detailed information about one process all on its own, and my main application still holds onto the reference to the object so that it can do things like be a common server to give new clients the list of TCP ports that each clone is available at.
As for some items in the original post:
An object oriented approach is usually great for managing these kinds of designs. If you have knowledge of object oriented design and just aren't familiar with LabVIEW's OOP support, then the learning curve should be very shallow, but it is a good idea to start with a small project or a single module first. You don't want to be in the, "It's supposed to work this way, but I've never actually done it, and that coercian dot on a child being passed into a parent terminal is making me nervous..." boat for a critical project, even when it does work how you think its supposed to.
I believe that the Actor Framework (which requires LabVIEW OOP to work with) is made for this type of stuff.
I must say, I hadn't ever considered or seen using a parallel-enabled for loop with a SubVI in it to do this kind of thing, and I thought it was a cool idea. -
Themed look and feel broken in sub-site
We have several site collections in a farm using SP2013 + SP1 under a common web application that use a custom theme for the look and feel. After upgrading to SP2013 December 2014 CU, one of the site collections' custom theme is broken. Furthermore,
the same site collection cannot use most of the OOTB themes. I have only successfully gotten the theme "Office" to work correctly. (I have not tested all the OOTB theme choices)
Immediately after the CU was applied the CSS and JS on this site collection was not working. After changing the theme to "Office" I was able to test out other troubleshooting options. If I select another theme choice, the "try it out"
page returns with an error "A cobalt error was thrown." This is not a helpful error for me and I could not find much on the internet regarding it. Another error I have received was "file not found", or yet another error "The
URL
'_catalogs/theme/Themed/4F147962/likefull.11x11x32-F47391E9.themedpng' is
invalid. It may refer to a nonexistent file or folder, or refer to a valid file
or folder that is not in the current Web." I have not been able to fix the issue.
I have found that under 'Site Settings' -> 'Web Designer Galleries' -> 'Themes' -> 'Themed' is a library of folders. My thought is that these folders are created dynamically when a new theme is applied. I have several folders, but all are empty
except one. I am now trying to determine why these folders are empty.
Any ideas?Hi,
Please try to update the latest CU for SharePoint 2013(April 2015 CU for SharePoint 2013), then check whether the issue still exists or not.
http://blogs.technet.com/b/stefan_gossner/archive/2015/04/14/april-2015-cu-for-sharepoint-2013-has-been-released.aspx
In my test environment, the 'Themed' all folders are not empty.
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Is Web Design Part of a Government Experiment?
Is Web Design part of a government experiment to see what it takes to drive a person crazy? I did a simple Flash portfolio for my business website that has some simple go-to-frame interactivity via code snippets. Everything was fine until I looked at it in Firefox. Firefox indicated an ActionScript error, rendering some buttons inoperative. Flash didn't indicate any errors. I tore apart the FLA for a few hours and determined that the error would occur only when buttons would go to a blank keyframe where the instance no longer existed. I determined that no more time should be spent troubleshooting this, so I removed some of the offending interactivity and moved the obnoxious FLA files to another folder. I uploaded the new swf with the reduced interactivity for my site and the next day just for kicks, I re-opened the original offending FLA and publish-previewed it. This time in Firefox there were no errors!!!. So... I reworked this file, gave it some refined interactivity that is better than the original one that gave the ActionScript errors. Now everything is uploaded and dandy, but I'm still scratching my head wondering what happened.
Hi
When you click on New -> web intelligence document -> It should display list of all the available universes -> Select any one among them.
You can choose efashion universe which is a sample universe that comes with BusinessObjects Enterprise installation.
If you are not getting anything in the list of universes, then probably the samples were not installed properly.
You can check if you have any sample universe on the machine or not. Open the drive where you have installed and you get the installed list of sample universes in the below path:
BusinessObjects\Program Files\BusinessObjects\BusinessObjects Enterprise 11\Samples\en\Universes
Hope this helps!!
Regards
Sourashree -
Error code: InternalError, Http status code: 500 while testing an experiment
Creating a very simple experiment with just a Dataset, followed by a simple regresion using an Execute
R Task , I get an internal server error while testing the published experiment
Hitting run everything goes smooth and I can see all data,but when i hit 'test' from the web services dashboard
right after publishing,I get this:
Error code: InternalError, Http status code: 500, Request id: d87e2d01-16ef-4ac9-8a5d-a58d41aab2d4, Timestamp: Tue,
03 Mar 2015 12:19:55 GMT
How can I handle this ?
Thank you in advance.Hi Shreyas!
Are you familiar with the tryCatch() function in R? in your error condition, you can return the error message a bit more cleanly as shown in the following code snippet. FYI one common error we see is R scripts that are not able to handle a single-row input
or with mismatched data types.
tryCatch({
# Do what you want in here
maml.mapOutputPort("data.set");
}, error = function(e) {
data.set = data.frame(errormsg = conditionMessage(e))
print(conditionMessage(e));
maml.mapOutputPort("data.set");
Maybe you are looking for
-
Error Code when trying to burn from a burn folder
Hey everyone, I am trying to clean up some space on my powerbook G4 (not that I need to) but I like to keep things tidy. I was trying to burn some files onto a CD, it recognized the blank CD, displayed it in my finder as well as the burn icon, I had
-
Unedited photos in photo stream
I added some photos to photo stream in iPhoto and found that what was actually uploaded were the original unedited photos that iPhoto stores. I there a way to upload the edited versions that exist in my albums?
-
I have created a new folder in Address Book, but when I try to send an e-mail I just get a comma in the 'To' box
-
Windows Home Server --- BT Home Hub 3 ----- 2x X...
Here is the problem, I have the BT Home Hub 3 and I have 4 pc's connected (2x Wired & 2x Wireless) and 2x Xbox 360's (connected Wireless) and Blackberry and a Windows Phone (connected Wireless) everything is not always on together everything gets put
-
Chapters in book switch places on their own
My teammates in our Tech Pubs group were just discussing an issue that we have each experienced at least once or twice... the chapters in our book somehow get out of order - on their own... usually only one or two are out of place.. but they somehow