Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Advanced stuff

Name: Anonymous 2007-04-10 15:40 ID:H9czisR7

HAI GUYZ,

Anyone got any e-books they can rapid shit on advanced C# or advanced SQL?

kthxbai

Name: Anonymous 2007-04-10 15:45 ID:Heaven

Because 'advanced' isn't ambigous.
Also, too bad C# is slow as fuck.

Name: Anonymous 2007-04-10 15:46 ID:Heaven

sage for C#, and wanting advanced C# stuff
lol

Name: Anonymous 2007-04-10 15:55 ID:H9czisR7

>>3
>>2
Not only are you the same fag.

But C# slow as fuck?

prove this to me using Java as a benchmark.
(of course it's going to be slower than C, that's the hit you take every time you go up a level in programing, but you knew that right? fucking moron)

Name: Anonymous 2007-04-10 16:00 ID:7hFkJFj4

>>4
Haskell is the fastest language, much faster than assembly.

Name: Anonymous 2007-04-10 16:05 ID:H9czisR7

>>5
agreed!

But.... back on subject.... ebooks?

Name: Anonymous 2007-04-10 16:09 ID:QqjH4Hw0

>>4
i am >>3 but not >>2, fag.

And stop learning C# and learn a proper language, like C or, well the ultimate HASKELL (which is a lot faster than assembly)

Name: Anonymous 2007-04-10 16:10 ID:VnoE+VOJ

Hint: techbooks + undernet

Name: Anonymous 2007-04-10 16:10 ID:UE3QtBg8

I am >>7, but not >>3.

Name: Anonymous 2007-04-10 16:21 ID:2pUS+QrZ

Neither assembly or haskell are as fast as lisp.

Name: Anonymous 2007-04-10 16:22 ID:H9czisR7

Dude, I already know C, C++, Java (not too well), and HASKELL (which is much faster than assembly) and a few others.

Now I program in C#, and I'm not _learning_ it, I want advance subjects like Garbage Collection and how all the shit works in the back end and optimization.

And HASKELL.... the college I go to actually has a REQUIRED class in HASKELL. You should check out the programing language White Space.

Name: Anonymous 2007-04-10 16:37 ID:wRIA2AEM

What advanced SQL topics do you want to know about?

Name: Anonymous 2007-04-10 16:40 ID:H9czisR7

>>12
Query optimization, paging (I'm in MSSQL 2005) with out chacheing full dataset (must be real time), dynamic sorting that doesn't involve concatenation of a query and then executing it completely removing the idea of stored procedures.  Different types of indexes and when you should use each one.

Them types of things.  I could just go bittorrent a bunch of e-books but I want more of a recommendation.

Name: Anonymous 2007-04-10 16:43 ID:wRIA2AEM

dynamic sorting:

select *
from [table]
order by
  case @sortindex
    when 1 then column1
    when 2 then column2
    when 3 then column3
    else null
  end

Name: Anonymous 2007-04-10 16:45 ID:wRIA2AEM

I dunno about which ebooks anyway sorry, I learned most SQL stuff from reading the manual and newsgroups.

But I got some good C++ ebooks using eMule. Search for: (the topic) CHM .. you will get tons of books in help file format.

Name: Anonymous 2007-04-10 16:45 ID:UTel9XcL

I want advance subjects like Garbage Collection and how all the shit works in the back end and optimization.
Optimization works the same way in all procedural compiled languages. If you know how to optimize C and C++, I don't see what will be new for you in C#.

Name: Anonymous 2007-04-10 16:51 ID:H9czisR7

>>14
Yeah, doing that, is slow as fuck, adds about 5 seconds to a RS of 500,000 or so.

>>16
C# is pure OOP not procedural. C and C++ don't have Garbage Collection, therefore they don't have Dispose or Finalize stuff, which is used for optimization.

Also in C# you can't manipulate pointers (to an extent) so the back end is doing all of that for you. Thinks like is System.Collections.Generic.List built like a Linked List, or a Vector. Ect Ect.

Name: Anonymous 2007-04-10 16:52 ID:wtbgkCSf

>>17

Too bad Ect isn't a real fucking abbreviation, moran.

Name: Anonymous 2007-04-10 16:54 ID:wRIA2AEM

Anyway, there's nothing wrong with generating dynamic SQL.

Stored procedures aren't to be shoehorned into every available programming crevice.

Name: Anonymous 2007-04-10 16:55 ID:mL6UnCVY

ECT ECT.

Why is everyone so insistent on using mediocre languages?

ECT ECT.

Name: Anonymous 2007-04-10 16:56 ID:H9czisR7

>>19
It's a matter of theory and practice.

You can create static functions so that you can call them with out instantiating an object and that works fine, but is a contradiction to OOP theory.

plus generating 'dynamic' SQL is ugly as fuck.

Name: Anonymous 2007-04-10 16:57 ID:H9czisR7

>>18
>moran

I hope you're a troll.

Name: Anonymous 2007-04-10 16:58 ID:wtbgkCSf

>>21

gb2/learninganglish/

Name: Anonymous 2007-04-10 17:00 ID:H9czisR7

I'm starting to think that a /r/ on /b/ would have been more beneficial

Name: Anonymous 2007-04-10 17:01 ID:mL6UnCVY

>>22
I hope YOU'RE a troll.

Name: Anonymous 2007-04-10 17:03 ID:wRIA2AEM

>>21

Don't get too hung up on creating the perfect cleanest most theory-perfect programs; you'll never get anything finished.

Name: Anonymous 2007-04-10 17:06 ID:LBvjqfBD

>>17
C# is pure OOP not procedural. C and C++ don't have Garbage Collection, therefore they don't have Dispose or Finalize stuff, which is used for optimization.
The same shit that applies to C and C++ applies to C#. Do I really have to tell you to avoid allocations and creating objects senselessly?

GC isn't some kind of magic voodoo dust. The same rules that apply to malloc() apply to it too.

Name: Anonymous 2007-04-10 17:10 ID:mL6UnCVY

>>24
Unless you're looking for a leather-bound 20th anniversary edition of SICP signed by Abelson & Sussman with the blood of 300 BASIC programmers, you're in the wrong place.

Name: Anonymous 2007-04-11 2:14 ID:M6uuCtLt

SQL: It's a lot of relational algebra, but they had to come up with their own terms just to piss people off.

Name: Anonymous 2007-04-11 4:55 ID:hjAynCNQ

>>1
C# sucks; what do you have for it? .NET? Mono?

Read SICP and achieve satori.

Name: Anonymous 2007-04-11 6:37 ID:QyqOzoxA

>>30
Is that even relevant to the topic, or is it just your way of saying "Ive read SICP"?

Name: Anonymous 2007-04-11 6:51 ID:s+avYnJn

>>31
Too bad Scheme is slow as fuck.

Name: Anonymous 2007-04-11 10:08 ID:yg19bPfd

>>27
Please then, explain when it's proper to call GC.Collect() and when it is proper to use Finalize and what performance hits you might run into when using Finalize.

Name: Anonymous 2007-04-11 17:24 ID:Tz3rGEWc

>>33

Oo!  Easy mode!

1)  GCs only happen implicitly on an allocation.  It's appropriate to call GC.Collect() in situations such as:
  a) You've dropped references to a large quantity of objects (as defined by memory used), but you're not going to be performing additional allocations for a while and you want to decrease your working set.
  b) You're not going to use some large quantity of objects (as defined by memory used) and you're about to make an expensive native API call, such as via PInvoke().  The native code's allocations won't trigger a GC and you want to decrease your working set prior to the call into native code.

2)  Use a Finalize() method when an object hangs onto some sort of unmanaged resource that must be manually released.  Finalize provides your safety net on the off-chance that your user is too stupid to call IDisposable.Dispose() on your object.  (You did implement IDisposable, didn't you?)

Any code with a finalizer should also implement IDisposable so that users can release its resources deterministically.

As far as performance hits, whenever an object is queued for Finalization, it will always be promoted a generation.  No finalizable objects die in Gen0, they always live to at least Gen1.  (Excepting, of course, cases where the proper pattern has been followed and GC.SuppressFinalize(this); has been called from Dispose(Boolean disposing);.)  Making objects needlessly finalizable will promote them to Gen1 and cause more memory pressure than is necessary.

Name: Anonymous 2007-04-11 17:25 ID:82t8xNQz

>>33
explain when it's proper to call GC.Collect()
Uh... never? If you just have to call it, call it when you're waiting on the user.

when it is proper to use Finalize
To clean up unmanaged resources, geez. It's similar to C++'s RAII, except you no longer need to worry about memory.

I'm curious why you think Finalize has anything to do with optimization, other than the obvious overhead of calling it to clean up? That's like saying a C++ destructor is used for optimization. It's a completely unrelated topic.

Nothing to see here. Move along.

Name: Anonymous 2009-01-14 12:51

LISP

Name: Sgt.Kabu鹵镸kiman꿩몒 2012-05-29 0:04

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List