Neko

Welcome, Guest.

Author Topic: The daily spammage topic  (Read 970315 times)

Wei Yan

  • Senior Member
  • ****
  • Posts: 822
  • [rips off his clothes] Then grease me up, woman!
  • Guild Wars 2: Wei Yan
Re: The daily spammage topic
« Reply #15 on: 10 October 2012, 16:37 »
working on a software release script for a German customer.

downside: all error messages appear in German as well  :-X

https://www.youtube.com/watch?v=0V7qIWUrOR0 ?
I will kill you, or you will kill me. It makes. No. Difference.

maloki

  • Guest
Re: The daily spammage topic
« Reply #16 on: 10 October 2012, 17:41 »
No rest for the wicked... And I might have gone and bought a new monitor. SO WHAT IF I CAN'T EAT FOR A MONTH.... I'll stil have WvW...

http://instagr.am/p/Qm1yevl6wf/

Xiahou Yuan

  • Officer
  • ****
  • Posts: 430
  • your friendly neighbourhood stranger
  • Guild Wars 2: Unholy Stranger
Re: The daily spammage topic
« Reply #17 on: 10 October 2012, 17:45 »
No rest for the wicked... And I might have gone and bought a new monitor. SO WHAT IF I CAN'T EAT FOR A MONTH.... I'll stil have WvW...

http://instagr.am/p/Qm1yevl6wf/

Just keep feeding on French souls and you'll be fine.

Morrigan Silverwake

  • Senior Member
  • ****
  • Posts: 8
Re: The daily spammage topic
« Reply #18 on: 10 October 2012, 19:00 »
working on a software release script for a German customer.

downside: all error messages appear in German as well  :-X

Code: [Select]
Statement: INSERT INTO [docs] ([doc_id], [scan_date], [doc_name], [stamp_date], [stamp_uid], [status_index], [comp_no], [supplier_num], [invoice_num], [invoice_date], [invoice_last_date], [cash_date], [invoice_sum], [invoice_sum_calc], [invoice_currency], [exchange_rate], [vat_sum], [invoice_type], [net_sum], [net_sum_calc], [supplier_name], [order_num], [attrib_d2], [attrib_t1], [attrib_t2], [attrib_t3], [attrib_t4], [attrib_t5], [attrib_t6], [doc_pages]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
 -> Konvertierung des Parameterwertes von String in DateTime fehlgeschlagen.
  -> Die Zeichenfolge wurde nicht als gültiges DateTime erkannt.

### Full exception stack trace ###

Type: System.FormatException
Message: Konvertierung des Parameterwertes von String in DateTime fehlgeschlagen.
Source: System.Data
Thread culture: en-US
Stacktrace:
   bei System.Data.OleDb.OleDbParameter.CoerceValue(Object value, NativeDBType destinationType)
   bei System.Data.OleDb.OleDbParameter.BindParameter(Int32 index, Bindings bindings)
   bei System.Data.OleDb.OleDbCommand.CreateAccessor()
   bei System.Data.OleDb.OleDbCommand.InitializeCommand(CommandBehavior behavior, Boolean throwifnotsupported)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   bei System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
   bei System.Data.Common.DbDataAdapter.UpdateRowExecute(RowUpdatedEventArgs rowUpdatedEvent, IDbCommand dataCommand, StatementType cmdIndex)
   bei System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
Type: System.FormatException
Message: Die Zeichenfolge wurde nicht als gültiges DateTime erkannt.
Source: mscorlib
Thread culture: en-US
Stacktrace:
   bei System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   bei System.Convert.ToDateTime(String value, IFormatProvider provider)
   bei System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
   bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   bei System.Data.OleDb.OleDbParameter.CoerceValue(Object value, NativeDBType destinationType)

and the reason.... because I'm calling the by the software generated variable {Batch Creation Date}, which ALWAYS exists.

except here it's of course called {Stapelerstellungsdatum} -_-

You're not even using EF4? I can hardly remember the days when I had to use untyped datetime values :/

Xiahou Hui

  • Webmaster
  • ****
  • Posts: 233
  • My name is Refalm, and I like cheese a lot
    • RADIOKNOP
  • Guild Wars 2: Refalm.1308
Re: The daily spammage topic
« Reply #19 on: 10 October 2012, 20:46 »
My work is doing a great job preventing Guild Wars 2 addiction :D


Cao Cao

  • Founder
  • *****
  • Posts: 1848
  • Guild Wars 2: Cao Cao, Anne Livia
Re: The daily spammage topic
« Reply #20 on: 10 October 2012, 21:57 »
hmm funny, I was using sonicwall vpn software today as well  :o
Cao Cao
Emperor of Wei

Xiahou Hui

  • Webmaster
  • ****
  • Posts: 233
  • My name is Refalm, and I like cheese a lot
    • RADIOKNOP
  • Guild Wars 2: Refalm.1308
Re: The daily spammage topic
« Reply #21 on: 10 October 2012, 22:35 »
lol I saw your source code, and I installed a syntax highlighting mod for all us programmers and scripters.

Here's something I made once for Bierweek. Feel free to call it bad scripting, and improve it dramatically ;)

Code: [Select]
<?php
$uur = date("G");
$minuut=date("i");
$minuut_split=0;
/* substr($minuut,-1); */
if ($minuut >= 00 && $minuut <= 06)
{
    $tuut = date("g");
    $uur_begin = "begin";
}
if ($minuut >= 07 && $minuut <= 21)
{
    $tuut = date("g");
    $uur_begin = "kwart_over";
}
if ($minuut >= 22 && $minuut <= 51)
{
    $tuut = date("g")+1;
    $uur_begin = "half_en_kwart_voor";
}
if ($minuut >= 52 && $minuut <= 59)
{
    $tuut = date("g")+1;
    $uur_begin = "einde";
}

switch ($tuut)
{
    case 1:
        $uur_tekst="&eacute;&eacute;n";
        break;
    case 2:
        $uur_tekst="twee";
        break;
    case 3:
        $uur_tekst="drie";
        break;
    case 4:
        $uur_tekst="vier";
        break;
    case 5:
        $uur_tekst="vijf";
        break;
    case 6:
        $uur_tekst="zes";
        break;
    case 7:
        $uur_tekst="zeven";
        break;
    case 8:
        $uur_tekst="acht";
        break;
    case 9:
        $uur_tekst="negen";
        break;
    case 10:
        $uur_tekst="tien";
        break;
    case 11:
        $uur_tekst="elf";
        break;
    case 12:
        $uur_tekst="twaalf";
        break;
    case 13:
        $uur_tekst="&eacute;&eacute;n";
        break;
}

if ($uur >= 0 && $uur <= 5) { $dagdeel = "'s nachts"; }
if ($uur >= 6 && $uur <= 11) { $dagdeel = "'s ochtends"; }
if ($uur >= 12 && $uur <= 17) { $dagdeel = "'s middags"; }
if ($uur >= 18 && $uur <= 23) { $dagdeel = "'s avonds"; }

if ($minuut >= 07 && $minuut <= 21) { $minuut_tekst = "kwart over"; }
if ($minuut >= 22 && $minuut <= 36) { $minuut_tekst = "half"; }
if ($minuut >= 37 && $minuut <= 51) { $minuut_tekst = "kwart voor"; }

if ($uur_begin == "begin")
{
    echo("$uur_tekst uur $dagdeel");
}
if ($uur_begin == "kwart_over")
{
    echo("$minuut_tekst $uur_tekst $dagdeel");
}
if ($uur_begin == "half_en_kwart_voor")
{
    echo("$minuut_tekst $uur_tekst $dagdeel");
}
if ($uur_begin == "einde")
{
    echo("$uur_tekst uur $dagdeel");
}
?>
« Last Edit: 10 October 2012, 22:47 by Refalm »

Wei Yan

  • Senior Member
  • ****
  • Posts: 822
  • [rips off his clothes] Then grease me up, woman!
  • Guild Wars 2: Wei Yan
Re: The daily spammage topic
« Reply #22 on: 10 October 2012, 23:32 »
DIE FRENCHIES, DIE GERMANS, DIE DIE DIE.

Also: .
I will kill you, or you will kill me. It makes. No. Difference.

maloki

  • Guest
Re: The daily spammage topic
« Reply #23 on: 12 October 2012, 13:37 »
It seems they don't die enough..

and where is Wei when I've just gotten out of the shower? We got work to do! ...

Okay, not what it sounds like, I mean all the things we need to write.. lol :>

maloki

  • Guest
Re: The daily spammage topic
« Reply #24 on: 12 October 2012, 13:45 »
Double post? Oh I'm such a whore. I'm also crossposting!

WAY BACK MACHINE FTW! It seems I did NOT join in the summer for 2006 as I thought.. (proably then I started playing gvg with you tho), I joined in November 2005!

http://web.archive.org/web/20060927190911/http://www.dynasty-warriors.net/?module=memberlist

ALMOST 7 years! <3

Cao Cao

  • Founder
  • *****
  • Posts: 1848
  • Guild Wars 2: Cao Cao, Anne Livia
Re: The daily spammage topic
« Reply #25 on: 12 October 2012, 14:02 »
and where is Wei when I've just gotten out of the shower?

Okay, not what it sounds like

 :D
Cao Cao
Emperor of Wei

Wei Yan

  • Senior Member
  • ****
  • Posts: 822
  • [rips off his clothes] Then grease me up, woman!
  • Guild Wars 2: Wei Yan
Re: The daily spammage topic
« Reply #26 on: 12 October 2012, 14:42 »
It seems they don't die enough..

and where is Wei when I've just gotten out of the shower? We got work to do! ...

Okay, not what it sounds like, I mean all the things we need to write.. lol :>

*searches for whips and handcuffs*
« Last Edit: 12 October 2012, 15:26 by Zhen Ji »
I will kill you, or you will kill me. It makes. No. Difference.

maloki

  • Guest
Re: The daily spammage topic
« Reply #27 on: 12 October 2012, 15:26 »
It seems they don't die enough..

and where is Wei when I've just gotten out of the shower? We got work to do! ...

Okay, not what it sounds like, I mean all the things we need to write.. lol :>

*searches for whips and handcuffs*

???

You know these forums are completely public? Good... Okay..

MOVE ON NOTHING TO SEE HERE

Wei Yan

  • Senior Member
  • ****
  • Posts: 822
  • [rips off his clothes] Then grease me up, woman!
  • Guild Wars 2: Wei Yan
Re: The daily spammage topic
« Reply #28 on: 12 October 2012, 15:29 »
I have nothing to be ashamed off.

Also: still no Himiko, muhahahah. Might have a tough customer with Maloki though.
I will kill you, or you will kill me. It makes. No. Difference.

maloki

  • Guest
Re: The daily spammage topic
« Reply #29 on: 12 October 2012, 16:22 »
Y  u call me tough.. I'm an innocent little good girl!


Anyways, the floodgates are open! Awaiting new members to show up now!

 

Powered by EzPortal
blockchain