« first day (697 days earlier)      last day (4477 days later) » 

22:00
@daknøk That can describe either standby or hibernate.
I haven’t turned off that thing for three weeks.
Then probably standby.
It has a slowly fading white LED when in that mode.
user1182183
for what phrases should I search if I want to power up a LCD inverter without knowing the color codes of the wires?
@daknøk sleep then
It wouldn't continue downloading in either standby or hibernate.
Mostly because CPU has no power in either of those modes.
Standby keeps power only to RAM, hibernate keeps no power.
@daknøk probably just some super low power mode if it keeps running
22:03
@MooingDuck ah yah.
or you're imagining things, one of the two
It does download all IM messages while in that mode if connected to a power supply.
It probably receives them when resuming.
Or it downloads them at lightning speed while I'm in the login screen, but that would really surprise me.
@daknøk that's what I would guess.
22:04
@daknøk It's probably still "on" but all the non-essential things are turned off e.g. the monitor
Or it downloads everything before it goes into standby so it just looks like it downloaded stuff while it's "off".
@daknøk IM mesages take very little time
The CPU cannot do a lot since the fans are off. Maybe it runs at 0.5 GHz or something.
There is an ACPI state where CPU power is being maintained, but it doesn't execute any instructions.
@daknøk You certainly don't need a lot of processing power to download stuff from the Internet.
@daknøk IMPOSSIBRU
22:06
Manufacturers wouldn't risk implementing a mode when CPU is working but fan is off.
@daknøk I don't think so
Oh wait yes it is sleep mode. support.apple.com/kb/HT5394
Ell
Ell
are you sure it even sleeps?
Mostly because you can't really distinguish between "a process that downloads stuff from internet and doesn't require much" and any other process.
This is not sleep state.
@daknøk never heard of such a thing before
22:08
It's somewhere between G0 and G1. Apple crappy extensions again.
@CatPlusPlus it doesn't help that they refer to it as being "asleep" on that page
@MooingDuck Perhaps "asleep" actually means "non-sleeping" in that context. Like "asexual" meaning "non-sexual"
22:08
Apple logic.
@CatPlusPlus I guess it just wakes itself at regular intervals just to do the chores and go back to sleeping
If you flip over your table, you are an idiot anyway. Precious monitors!
@sehe or it's not actually sleeping
@sehe That would drain battery way more than keeping it in low-power at all times.
@CatPlusPlus Prove it. Needs citation
22:09
It doesn't do that when the battery charge is < 30%.
@sehe windows update used to wake your machine in sleep mode to reboot itself
user1182183
en.wikipedia.org/wiki/File:CCFL_Inverter.jpg Need to power up this one :$
fucking annoying
@sehe "Power Nap communicates and transfers data for a only a few minutes per Power Nap cycle"
Boot your laptop with 100% battery and see how much it drains.
22:10
@TonyTheLion Windows update isn't quite comparable to checking for mail, tyvm
Mine about 20%.
@CatPlusPlus "Mail, Contacts, Calendar, Reminders, Notes, Photo Stream, Find My Mac, and iCloud Documents are checked every hour."
@sehe sorry just saying. Wasn't following the conversation
Wait. Your laptop uses 20% battery power just to boot? It must be a piece of shit.
@MooingDuck Clear cut case
22:11
Either way Apple is shit.
@daknøk Windows. 'Nuff said
@CatPlusPlus Apple isn't shit. Their prices are, though
Ell
Ell
i want to contribute to open source
@Ell What's stopping you?
I want to contribute to my ass.
And their UIs and their IDE and their closed platforms.
22:12
Removing all the hairz xd
Wharrrgrargbl.
Let's not talk about Apple.
@daknøk Ritalin is in the right cupboard
God is an asshole. Gives his most precious creation hair on the butt.
@daknøk Sony Vaio, so yes.
Apple makes the Cat grumpy
@CatPlusPlus oh I have Sony Vaio
22:13
It also drains battery when it's off, because Sony apparently employs idiots not engineers.
Sony Vaio is also over priced stuff :)
I have two Macs and a Compaq running Linux.
PlayStation 3 is underpriced.
22:13
@daknøk ewww Compaq
@CatPlusPlus I'm going to be looking for a new laptop soon, any suggestions on a company/line?
I've had enough with shitty laptops. I'm going to make my wonderful desktop.
@MooingDuck MacBook Pro
@MooingDuck I don't know. Dell, maybe.
@daknøk That's why I need a new laptop. No way.
22:14
Alienware
I'm not keeping up with hardware too much.
I have a desktop and I never use it :/
user1182183
@MooingDuck My friend has an Asus and never got any problems, I and my other friend have 2 of the same Acer laptops, also never got problems with them
@CatPlusPlus me neither
@daknøk overpriced
22:14
@daknøk not worth the $$
@Tony me too since three weeks. :P
@GamErix noted
Desktops forever.
@GamErix Just wipe the software and run a linux.
22:15
Buy a Wii and attach a monitor, keyboard and battery.
Asus manages to make a default Windows installation to look lean and mean
Extensibility bitches.
@daknøk And die of the ulcer developed out of pure frustration
user1182183
@sehe I prefer dual boot instead of wiping
@GamErix me too but I'm a packrat
22:15
OEMs are bad at software.
@sehe A default Windows installation is already quite lean and mean, relatively speaking. It's just that every laptop manufacturer always installs crapware on it before selling it to you.
I still have every non-spam email I've gotten since... I dunno. 10+ years back.
I have never seen a good laptopware.
@GamErix Well, what's the use of 'dual' booting among an unusable windows blamation and something else?
@Insilico HAHAHAHAHAHA.
@Insilico That was a good [HIC!] one, mate
(Then again, every piece of software ever made is crapware anyway, so that point is moot. :-P)
22:17
OS X > Windows + Linux
@sehe grow up?
@MooingDuck thought you were a Mooing Duck not a pack rat?!
user1182183
@sehe I am a proud Gamer (Gam ER ix) and Linux isn't just the platform for gaming
@jalf Oh. it's just that some things crack me up real bad.
@TonyTheLion eh, we all have off-days
22:18
Mooing Rat
we get it, you don't like Windows. And you know, if I'd been 14 years old, I might have thought that made you cool
But I'm not, so I don't. And maybe one day you, too, will find something else to shore up your ego
Oh noes. Somebody triggered the evil penguin
Cat doesn't like Apple
What's your point?
Good night
Cheers
22:18
good night
Später
@daknøk Hahaha you're crazy.
user1182183
God bless everyone for this precious information: tomshardware.co.uk/forum/293002-10-want-make-lights-ccfl
I am crazy and I am proud of it.
Apr 23 at 16:51, by sehe
@Eloff Zing! Indeed: bare ubuntu 64bit: <4Gb. Bare Win7 64 bit >30Gb :)
22:19
@Walter please post link only
^ 'Nuff said
not one boxed gif
ANIMATED GIF BIN IT
sorry didn't know
@Walter Newbie hints do wonders for ignorance :)
22:20
@sehe damn, you beat me to it
@sehe I did say "relatively speaking". With what Windows laptops usually come with from OEMs anyway.
@Walter newbie hints, please read :)
read them
Then you did know.
Stop lying.
@Insilico Too much relativity kills common sense, then
22:21
@Walter There's no way you read them that fast.
@Walter That's an excellent idea. You might do that, indeed
@sehe Unless it's general relativity. :)
I'm going to sleep waste a lot of time.
I wish we could all gang down vote someone.
See you GUYS! Heil litb!
22:21
@Mysticial That just defies common sense. Same difference to the observer :)
@daknøk you've been doing that all day, tell us something new
@Mysticial General relativity defies common sense. Actually a lot of science defies common sense.
Everything is relative.
@daknøk You be glad the ape isn't here. He'd give you a (deserved) sermon
@daknøk That's what Descartes hoped. However, it needn't be true on a metaphysical level. And blablabla
For example, my awesomeness is relatively great compared to you all.
22:23
@daknøk nonsense, I forget the rules all the time and I've been here for a year
@daknøk Close, but shame about the hairy butt
@daknøk don't start a puppy on us, please
LOLZ
I'm just trollin :p
@MooingDuck You are exceptional. That doesn't count
we've got one puppy, and that's more than enough
22:23
Anyway I'm off.
@daknøk You. Don't. Say.
Guess what
@daknøk See whether Geert makes prime minister?
I do.
22:24
@daknøk Slope oak
(not a fast poke)
lol
that is bad, and you should feel bad.
1 hour ago, by jalf
@Drise I think that's the problem
@jalf ^ well said
Why did the scarecrow win an award? He was outstanding in his field.
22:28
@TonyTheLion badum-tish.com
@TonyTheLion kek
@Insilico that's hilarious
Xeo
Xeo
@Insilico I need to remember that one
@TonyTheLion You know, the ability to pause halfway the badumtish is really well thought out UI design
in C#, 17 mins ago, by Kian Mayne
What is the difference between ignorance and apathy?"
"I don't know and I don't care"
A termite walks into a bar and asks, "Is the bar tender here?"
22:33
I found a new reason to hate Java! The JNI makes no sense at all
void GetStringUTFRegion(JNIEnv *env, jstring str, jsize start, jsize len, char *buf);

Translates len number of Unicode characters beginning at offset start into modified UTF-8 encoding and place the result in the given buffer buf.

Throws StringIndexOutOfBoundsException on index overflow.
If you resolve to give up smoking, drinking and loving, you don't actually live longer, it just seems longer.
nowhere do you specify the size of the buffer you're saving into
@MooingDuck: well buf has to be at least len long, doesn't it?
@MooingDuck What's a "modified UTF-8 encoding"?
@Insilico '0' is encoded as some non-zero number
@netcoder if you did that, you'd have a buffer overflow. There's way more bytes than characters.
22:36
@MooingDuck So a null byte is not actually a null byte?
@Insilico a zero character is not a null byte.
@MooingDuck How is that different from non-modified UTF-8?
@MooingDuck: oh because it's UTF-8...
@Insilico in normal utf8, a zero character is coded as a null byte, making it virtually impossible to find the end of the string. In modified utf8, strlen(str) gives the number of bytes in the string.
@MooingDuck I thought U+0030 is the value for the zero character?
22:38
well then make buf at least len*4 long... but yeah, that's odd
"to create a file-input stream , use ifstream. " Shouldn't it be "to create a file-input stream object?"
@Insilico er, yes. I meant '\0'
@MooingDuck Oh okay that makes way more sense.
@MohamedAhmedNabil "object" is redundant in that case
@Insilico sorry about that
@MooingDuck why?
22:39
@MohamedAhmedNabil: a stream is an object
So a \0 is not encoded by U+0000 in Java's modified UTF-8.
@Insilico right
So Java strings allow for embedded '\0's?
UTF-8 (UCS Transformation Format8-bit) is a variable-width encoding that can represent every character in the Unicode character set. It was designed for backward compatibility with ASCII and to avoid the complications of endianness and byte order marks in UTF-16 and UTF-32. UTF-8 has become the dominant character encoding for the World-Wide Web, accounting for more than half of all Web pages. The Internet Engineering Task Force (IETF) requires all Internet protocols to identify the encoding used for character data, and the supported character encodings must include UTF-8. The Internet Mail...
@netcoder the object represents the stream, but the stream itself is a stream. right?
22:40
@Insilico yup
@MohamedAhmedNabil therefore if you make a stream object you've also made a stream
@MooingDuck aha
@MohamedAhmedNabil the concepts are basically one and the same
@MooingDuck What use does Java have for embedded '\0's?
@MooingDuck gotcha
@Insilico I haven't any idea
@Insilico basically means C programmers can touch it and not ruin everything
22:43
@MooingDuck That still seems like a WTF to me. Normal UTF-8 can also be touched by C programmers and not be completely ruined in the process too.
Ell
Ell
Where is martinhos lib?
is it done yet?
@Ell On github, see his profile:
R. Martinho Fernandes, Braga, Portugal
49.5k 16 96 188
@Ell You meant ogonek? Dunno, prolly also there
@Insilico not if it contains zeros. strlen, strcpy, and similar all bomb those strings.
2
Q: Can I create a list that holds both a long and a string in C#

GemmaI have the following class: public abstract class BaseGridViewModel { protected BaseGridViewModel() { Timer = new List<long>(); } public List<long> Timer { get; set; } } To update the timer I have: vm.Timer.Add(sw.ElapsedMilliseconds); I am not so familia...

@MooingDuck I'm not sure (rusty) but I don't think UTF8 allows 0x0 octets inside a valid UTF8 string
22:47
@MooingDuck True, but I would question Java's use of embedded zeros in the first place.
@sehe It's the null terminator, so it can appear in the string, but only at the end. And since UTF-8 forbids overlong sequences, you can't have Java's two-byte version of 0x00.
In case you are having a good day, there is some C# for you.
@sehe I believe it technically does
@sehe see the utf8 wikipedia page I linked earlier
@MooingDuck I didn't think so. I thought duplet/triplet/quadruplets had very specific MSB patterns set, that preclude any 'loose' 0x0 octets
@MooingDuck Okay, I trust you're more uptodate then
@sehe besides, UTF8 is a superset of ASCII, and ASCII can contain embedded zeros
@MooingDuck Meh. In that case, unicode has nothing to do with things.
22:49
@sehe yes, and the "singlet" pattern has a zero in the MSB, so null is still allowed
6 mins ago, by In silico
@MooingDuck That still seems like a WTF to me. Normal UTF-8 can also be touched by C programmers and not be completely ruined in the process too.
^ this threw me off course then
@MooingDuck Duh, because ASCII compatible. I was saying that ASCII-safe code might be 'permeable' to UTF8. (Of course, the acceptance of embedded NULs doesn't change)
@sehe this threw me off coarse course then FTFY
@MooingDuck The zero still terminates the string though, no?
@Insilico nope. UTF8 can contained embedded '\0' characters no problem.
@Insilico technically ASCII has the same problem, and a lot of c coders just ignore that case.
@MooingDuck Read the question. The answer is yes, for strlen and friends.
@MooingDuck It's not a problem, if you you define the convention that NUL terminates strings. Which is what C programmers do.
22:53
@sehe it means you can't handle filenames that have an embedded zero, which IIRC, windows can handle.
@MooingDuck Nope. Technically, yes, but that requires undocumented tinkering and won't be supported at application level (IOW: the ODF might allow for it, but it isn't allowed)
@MooingDuck I know registry values can have embedded NULLs but that's still used to separate different strings.
@Insilico thats probably a better example
@Insilico You mean, values? As in: registry entries can contain 'data'. Not surprised
@sehe Yes, registry values.
22:56
@sehe I looked it up, they explicitly do not support "Integer value zero" in filenames. my bad.
Breaking news: Files (on windows) can contain embedded NUL octets. (In fact, they can optimize 4k blocks of NUL by a method known as 'sparse file')
@MooingDuck As does POSIX. In fact, POSIX is much less restrictive than windows.
Xeo
Xeo
@sehe > do not
@sehe Well, yeah. Files can contain whatever they want.
@sehe IIRC, POSIX and NTFS have the same restrictions (or similar), but it's the Windows UIs that screw everything up.
I was talking about character sequences (strings).
22:58
@Xeo POSIX doesn't either. Reading comprehension?
@Insilico Like registry values, almost
@sehe There are restrictions on what bytes I can put inside the files I create?
@MooingDuck Not true. Slashes, colons and some other stuff are explicitely prohibited on Windows (again, not NTFS on-disk-format limitation, but still a windows restriction)
@MooingDuck Not just the UI -- the Win32 API does too. For example, you need to pass FILE_FLAG_POSIX_SEMANTICS to get case-sensitive file names in Win32.
@Insilico Haha. Nope. That is my point. Content restrictions are unrelated to (file)name restrictions, in general

« first day (697 days earlier)      last day (4477 days later) »