Feeds:
Posty
Komentarze

Archive for Lipiec 2009

simple linux ftp server

http://swissfileknife.sourceforge.net/

after downloading zip file from this site, in readme there is line
wget http://stahlworks.com/dev/sfk/sfk
then copy sfk to dir you want to share and run
./sfk ftpserv -verbose -port=21 -run -pw=your_pass

other ftp servers to consider
proftpd
pureftpd
vsftpd http://doc.gabosh.net/howto_FTP_Server.html
filezilla
ftpd (is there anything like this?)
oftpd which just allow anonymous ftp

Read Full Post »

skippy

emerge skippy
cp /usr/share/skippy-0.5.0/skippyrc-default ~/.skippyrc
edit ~/.skipyrc and change to keysym = F9

You could choose any other shortcut, but if you choose the one already used, you will get an error:

X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 33 (X_GrabKey)
Serial number of failed request: 91
Current serial number in output stream: 91

start skippy from command line and try shortcut.
add to ~/.xinitrc or something like that.

Add skippy to open when mouse reaches upper-right corner
http://wiki.lxde.org/en/LXSession#Automatically_start_some_applications_on_login
xautolock -locker „xte ‚key Num_Lock'” -corners 0+00 -cornerdelay 1


http://ubuntuforums.org/archive/index.php/t-128692.html

http://thegraveyard.org/skippy.php
http://www.gilesorr.com/wm/helpers.html

Read Full Post »

Tomboy once again

from irc.gimp.org #mono

me: Ms can sell patents, and thus circumvent promise.

krumpera: the promise applies to all patents have now. So if it sells them the promise goes attached to them.
http://www.reddit.com/r/linux/duplicates/8yrl3/microsoft_applies_community_promise_to_the_ecma_c/

brajkovic: Community Promise cannot be revoked unless you sue Microsoft with a patent claim regarding that technology

directhex: the ecma spec defines three assemblies. Tomboy doesn’t use any non-Mono-specifics outsite those three assemblies. I.e. System, mscorelib and System.XML. Those three are the ecma335 base class library. If you see anything with the „System” in the name from „monodis –assemblyref” that isn’t System or System.XML, than it’s non ecma.

brajkovic: here’s what Tomboy uses: monodis –assemblyref Tomboy.exe | grep „\s*Name” | cut -d „=” -f 2

directhex: there are also plugins [to check]

me: after -ir “using System” * inside tomboy source, i’ve found this: System.Windows.Forms; System.Linq; System.Security.Cryptography; it doesn’t look like parts covered by ecma.

robertj: krenso: „using Something” does not break any patents and it does not need any patent covenant.

directhex: krenso, the three ECMA libraries contain several namespaces. a „using” statement refers to a namespace, not a library

Here is some brief of conversation

mono people: ecma is equivalent of .net[2-3.5]

me: promise covers only implementations compliant with all of the required parts, but mono doesn’t implements .net >2

mono people: ecma is equivalent of .net 2. .net 3.x are just addons

Read Full Post »

I want to know what libraries Tomboy is using after reading this http://www.linuxplanet.com/linuxplanet/reports/6801/2/

Richard Stallman, President and Founder of the Free Software Foundation, comments, „Even assuming Microsoft follows through on this announcement and covers ECMA 334 and 335 under the Community Promise, this will not be sufficient to protect us against the dangers . . . . That’s because Mono implements, and Tomboy depends upon, a number of libraries which are ‚standard’ in the sense that they’re under C#’s „System” namespace (indicating that they’re part of the standard library) and provided in Microsoft’s implementation, but somewhat pointedly excluded from the ECMA specifications.

First let’s get list of ECMA 335 libraries

wget http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335-xml.zip
unzip Ecma-335-xml.zip
grep -i 'Type Name="' CLILibraryTypes.xml

After clearing a bit I got this:

System.Action<T>

System.ApplicationException

System.ArgumentExceptionSystem.ArgumentNullException

System.ArgumentOutOfRangeException

System.ArithmeticException

System.ArrayTypeMismatchException

System.Array

System.Collections.ArrayList

System.Text.ASCIIEncoding

System.AsyncCallback

System.Attribute

System.AttributeTargets

System.AttributeUsageAttribute

System.Boolean

System.Byte

System.Char

System.CharEnumerator

System.CLSCompliantAttribute

System.Security.CodeAccessPermission

System.Security.Permissions.CodeAccessSecurityAttribute

System.Collections.Comparer

System.Comparison<T>

System.Diagnostics.ConditionalAttribute

System.Console

System.Convert

System.Converter<T,U>

System.Globalization.DateTimeStyles

System.DateTime

System.Globalization.DateTimeFormatInfo

System.Text.Decoder

System.Delegate

System.Collections.Generic.Dictionary<TKey,TValue>

System.Collections.Generic.Dictionary<TKey,TValue>.Enumerator

System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection

System.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.Enumerator

System.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection

System.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection.Enumerator

System.Collections.DictionaryEntry

System.IO.Directory

System.IO.DirectoryNotFoundException

System.DivideByZeroException

System.DuplicateWaitObjectException

System.Text.Encoder

System.Text.Encoding

System.IO.EndOfStreamException

System.Security.Permissions.EnvironmentPermission

System.Enum

System.Environment

System.Security.Permissions.EnvironmentPermissionAccess

System.Security.Permissions.EnvironmentPermissionAttribute

System.EventArgs

System.EventHandler

System.Exception

System.ExecutionEngineException

System.IO.File

System.IO.FileAccess

System.Security.Permissions.FileIOPermissionAccess

System.Security.Permissions.FileIOPermissionAttribute

System.IO.FileLoadException

System.IO.FileMode

System.IO.FileNotFoundException

System.IO.FileShare

System.IO.FileStream

System.FlagsAttribute

System.FormatException

System.GC

System.Collections.Hashtable

System.IAsyncResult

System.ICloneable

System.Collections.ICollection

System.Collections.Generic.ICollection<T>

System.IComparable

System.IComparable<T>

System.Collections.IComparer

System.Collections.Generic.IComparer<T>

System.Collections.IDictionary

System.Collections.Generic.IDictionary<TKey,TValue>

System.Collections.IDictionaryEnumerator

System.IDisposable

System.Collections.Generic.IEnumerable<T>

System.Collections.IEnumerator

System.Collections.IEnumerable

System.Collections.Generic.IEnumerator<T>

System.Collections.Generic.IEqualityComparer<T>

System.IEquatable<T>

System.IFormatProvider

System.IFormattable

System.Collections.IHashCodeProvider

System.Collections.IList

System.Collections.Generic.IList<T>

System.IndexOutOfRangeException

System.Threading.Interlocked

System.InvalidCastException

System.Int16

System.Int32

System.Int64

System.INullableValue

System.InvalidOperationException

System.InvalidProgramException

System.IO.IOException

System.Security.IPermission

System.Collections.Generic.KeyNotFoundException

System.Collections.Generic.KeyValuePair<K,V>

System.Collections.Generic.List<T>

System.Collections.Generic.List<T>.Enumerator

System.MarshalByRefObject

System.IO.MemoryStream

System.Threading.Monitor

System.NotImplementedException

System.NotSupportedException

System.Nullable<T>

System.NullReferenceException

System.Globalization.NumberFormatInfo

System.Globalization.NumberStyles

System.Object

System.ObjectDisposedException

System.ObsoleteAttribute

System.OutOfMemoryException

System.OverflowException

System.IO.Path

System.IO.PathTooLongException

System.Security.Permissions.PermissionState

System.Security.PermissionSet

System.Predicate<T>

System.Random

System.RankException

System.SByte

System.Security.Permissions.SecurityAction

System.Security.Permissions.SecurityAttribute

System.Security.SecurityElement

System.Security.SecurityException

System.Security.Permissions.SecurityPermission

System.Security.Permissions.SecurityPermissionAttribute

System.Security.Permissions.SecurityPermissionFlag

System.IO.SeekOrigin

System.StackOverflowException

System.IO.Stream

System.IO.StreamReader

System.IO.StreamWriter

System.String

System.Text.StringBuilder

System.IO.StringReader

System.IO.StringWriter

System.Threading.SynchronizationLockException

System.SystemException

System.IO.TextReader

System.IO.TextWriter

System.Threading.Thread

System.Threading.ThreadAbortException

System.Threading.ThreadPriority

System.Threading.ThreadStart

System.Threading.ThreadState

System.Threading.ThreadStateException

System.ThreadStaticAttribute

System.Threading.Timeout

System.Threading.Timer

System.Threading.TimerCallback

System.TimeSpan

System.Type

System.TypeInitializationException

System.UInt16

System.UInt32

System.UInt64

System.UnauthorizedAccessException

System.Globalization.UnicodeCategory

System.Text.UnicodeEncoding

System.Text.UTF8Encoding

System.ValueType

System.Security.VerificationException

System.Version

System.Threading.WaitHandle

System.Decimal

System.Double

System.Math

System.NotFiniteNumberException

System.Single

System.Net.Sockets.AddressFamily

System.Net.AuthenticationManager

System.Net.Authorization

System.Net.CredentialCache

System.Net.Dns

System.Net.DnsPermission

System.Net.DnsPermissionAttribute

System.Net.EndPoint

System.Net.GlobalProxySelection

System.Net.HttpContinueDelegate

System.Net.HttpStatusCode

System.Net.HttpVersion

System.Net.HttpWebRequest

System.Net.HttpWebResponse

System.Net.IAuthenticationModule

System.Net.ICredentials

System.Net.IPAddress

System.Net.IPEndPoint

System.Net.IPHostEntry

System.Net.IWebProxy

System.Net.IWebRequestCreate

System.Net.Sockets.LingerOption

System.Net.Sockets.MulticastOption

System.Collections.Specialized.NameValueCollection

System.Net.NetworkAccess

System.Net.NetworkCredential

System.Net.Sockets.NetworkStream

System.Net.Sockets.ProtocolType

System.Net.ProtocolViolationException

System.Net.Sockets.SelectMode

System.Net.ServicePoint

System.Net.ServicePointManager

System.Net.Sockets.Socket

System.Net.SocketAddress

System.Net.Sockets.SocketException

System.Net.Sockets.SocketFlags

System.Net.Sockets.SocketOptionLevel

System.Net.Sockets.SocketOptionName

System.Net.SocketPermission

System.Net.SocketPermissionAttribute

System.Net.Sockets.SocketShutdown

System.Net.Sockets.SocketType

System.Net.TransportType

System.Uri

System.UriBuilder

System.UriFormatException

System.UriHostNameType

System.UriPartial

System.Net.WebClient

System.Net.WebException

System.Net.WebExceptionStatus

System.Net.WebHeaderCollection

System.Net.WebPermission

System.Net.WebPermissionAttribute

System.Net.WebProxy

System.Net.WebRequest

System.Net.WebResponse

System.Threading.Parallel.ParallelEnvironment

System.Threading.Parallel.ParallelFor

System.Threading.Parallel.ParallelForEach<T>

System.Threading.Parallel.ParallelLoop<T>

System.Threading.Parallel.ParallelWhile<T>

System.Reflection.AmbiguousMatchException

System.Reflection.Binder

System.Reflection.BindingFlags

System.Reflection.ConstructorInfo

System.Globalization.CultureInfo

System.Reflection.EventAttributes

System.Reflection.EventInfo

System.Reflection.FieldAttributes

System.Reflection.FieldInfo

System.Reflection.GenericParameterAttributes

System.Reflection.MemberInfo

System.Reflection.MethodAttributes

System.Reflection.MethodBase

System.Reflection.MethodInfo

System.Reflection.Module

System.Reflection.ParameterAttributes

System.Reflection.ParameterInfo

System.Reflection.ParameterModifier

System.Reflection.PropertyAttributes

System.Reflection.PropertyInfo

System.Security.Permissions.ReflectionPermission

System.Security.Permissions.ReflectionPermissionAttribute

System.Security.Permissions.ReflectionPermissionFlag

System.Reflection.TargetException

System.Reflection.TargetInvocationException

System.Reflection.TargetParameterCountException

System.Reflection.TypeAttributes

System.Void

System.AppDomain

System.Reflection.Assembly

System.AssemblyLoadEventArgs

System.AssemblyLoadEventHandler

System.BadImageFormatException

System.Runtime.InteropServices.CallingConvention

System.CannotUnloadAppDomainException

System.Runtime.InteropServices.CharSet

System.Runtime.CompilerServices.CompilationRelaxations

System.Runtime.CompilerServices.CompilationRelaxationsAttribute

System.Runtime.CompilerServices.DecimalConstantAttribute

System.Reflection.DefaultMemberAttribute

System.Runtime.InteropServices.DllImportAttribute

System.EntryPointNotFoundException

System.FieldAccessException

System.Runtime.InteropServices.FieldOffsetAttribute

System.Runtime.InteropServices.GCHandle

System.Runtime.InteropServices.GCHandleType

System.Runtime.InteropServices.InAttribute

System.Runtime.CompilerServices.IndexerNameAttribute

System.IntPtr

System.Runtime.CompilerServices.IsVolatile

System.Runtime.InteropServices.LayoutKind

System.Runtime.InteropServices.MarshalAsAttribute

System.MemberAccessException

System.MethodAccessException

System.Runtime.CompilerServices.MethodImplAttribute

System.Runtime.CompilerServices.MethodImplOptions

System.MissingFieldException

System.MissingMemberException

System.MissingMethodException

System.Runtime.InteropServices.OutAttribute

System.ParamArrayAttribute

System.RuntimeFieldHandle

System.Runtime.CompilerServices.RuntimeHelpers

System.Runtime.InteropServices.StructLayoutAttribute

System.RuntimeMethodHandle

System.RuntimeTypeHandle

System.TypeLoadException

System.TypeUnloadedException

System.UIntPtr

System.UnhandledExceptionEventArgs

System.UnhandledExceptionEventHandler

System.Runtime.InteropServices.UnmanagedType

System.RuntimeArgumentHandle

System.TypedReference

System.Xml.Formatting

System.Xml.NameTable

System.Xml.ReadState

System.Xml.WhitespaceHandling

System.Xml.WriteState

System.Xml.XmlConvert

System.Xml.XmlException

System.Xml.XmlNamespaceManager

System.Xml.XmlNameTable

System.Xml.XmlNodeType

System.Xml.XmlParserContext

System.Xml.XmlReader

System.Xml.XmlResolver

System.Xml.XmlSpace

System.Xml.XmlTextReader

System.Xml.XmlTextWriter

System.Xml.XmlUrlResolver

System.Xml.XmlWriter

Now let’s get list of Tomboy libraries
mkdir mono
cd mono
clone git://git.gnome.org/tomboy
cd tomboy
grep -ir „using System” *

After removing cruft, sorting, removing duplicates i got this (but there are files that have „using System;” so i have to search for specific functions, and check what libraries they are from)

System.Collections.Generic;
System.Collections.Specialized;
System.Collections;
System.ComponentModel;
System.Diagnostics;
System.IO;
System.Linq;
System.Net.Sockets;
System.Net;
System.Reflection;
System.Runtime.InteropServices;
System.Runtime.Remoting.Activation;
System.Runtime.Remoting.Channels.Ipc;
System.Runtime.Remoting.Channels;
System.Runtime.Remoting;
System.Runtime.Serialization;
System.Security.Cryptography;
System.Text.RegularExpressions;
System.Text;
System.Threading;
System.Web;
System.Windows.Forms;
System.Xml.XPath;
System.Xml.Xsl;
System.Xml;

References
Standard ECMA-334 C# Language Specification
Standard ECMA-335 Common Language Infrastructure (CLI)
ISO/IEC 23271:2006 Common Language Infrastructure
http://en.wikipedia.org/wiki/C_Sharp_(programming_language)
http://en.wikipedia.org/wiki/Mono_(software)

Read Full Post »

Linux sucks?

„people are starting to switch over [to linux]”
show me evidence

„linux is completely legal to download and distribute”
not every distro in countries, where there are patents on algorithms, linux mint for example, gNewSense should be legal, also there many free software apps for windows

„you can download security update without worrying it will screw your system”
it depends on distro, more recent packages are less stable, you can’t have both

„with wine you will be able to play all your favorite games”
wine supports small subset of actuall windows games and apps, and if it runs it can often crash or run badly

„everything else [except apps and games run through wine] is so boring legal and free”
to have legal (in some countries) dvd playback you have to buy lindvd or codecs from fluendo, this applies to many codecs

„with compiz-fusion you will have amazing 3d eye candy”
but forget about watching videos with compiz enabled, and also check if your graphics card will run compiz

What about standby, hibernation, wifi, external monitor, graphics cards.

Read Full Post »

Microsoft paid a lot of money to hide docs from comes vs microsoft, but grouchy made scans

http://boycottnovell.com/2009/01/28/derail-dell-gnu-linux/#comment-59247

Read Full Post »

even when doing version checking and using the „=>” operator in the depends array, how can we protect ourselves from ABI-incompatible upstream updates without making package creation a pain? http://bugs.archlinux.org/task/15566 http://www.reddit.com/r/linux/comments/92et4/the_arch_package_management_debacle/ http://honestknave.com/2009/07/18/the-arch-package-management-debacle/

Read Full Post »

Older Posts »