« first day (792 days earlier)      last day (4159 days later) » 

12:05 AM
@FredOverflow It depends. some are nice. Many though, have very bad sound and video quality. To the point of making it useless to watch, even if the topic is interesting.
 
Someone left what's apparently a valid email address and password in the code of their question.
 
lol
 
lol
 
@Insilico That's a good password :)
 
I hope the OP has changed it up to this point. lol.
 
12:07 AM
You can find out can't you? :P
 
"Your password was changed 25 hours ago."
Okay, so perhaps the OP isn't that stupid.
 
2
A: string initializing as NULL in C++

billza is not a pointer; you can't assign NULL to it. std::string *a = NULL; a = new std::string("foo"); delete a;

 
user142019
Lol, I just found out I only have one font family installed.
 
I would downvote but I have rep divisible by 5 :(
 
@Borgleader I downvoted.
 
12:10 AM
@Insilico Or the OP hasn't found out, yet
 
@sehe Ah, good point. XD So either the OP isn't that stupid or really, really stupid.
 
@DeadMG Cool :) So did someone else apparently.
 
Basically, the OP is
 
Ell
First driving lesson tomorrow
 
user142019
Why don't people realize there is a difference between empty string and null.
 
Ell
12:13 AM
I mean today
 
user142019
0
A: string initializing as NULL in C++

Zoidberg'--If you want a "nullable" object, you can use boost::optional: boost::optional<std::string> str; // str is nothing/none (i.e. null) str = "Hello, world!"; // str is "Hello, world!"

 
@Zoidberg'-- The guy can't use strings, I doubt suggestion boost is really useful.
 
@Borgleader The OP is using C++ but can't use C++ features?
 
thanks guys, I deleted my stupid answer, I forgot operator+ :). But I was wondering why OP's string=NULL; fails
 
user142019
@Borgleader the question is all about std::string. Where does OP say he cannot use that?
 
12:17 AM
@Zoidberg'-- I think Borgleader meant that since the OP is not skilled enough to use std::string correctly, suggesting that the OP use Boost won't be all that helpful, I guess.
 
user142019
Oh well, the answer will still be valuable to future visitors.
 
@billz NULL will call std::string::string(const char*), and the Standard defines that pointer shall not be NULL.
 
user142019
UB! <3
 
also
your answer wasn't just bad, it was very bad. Your use of new and delete ashames me.
 
That leads to a question: should string libraries treat null strings and empty strings as distinct states?
 
user142019
12:19 AM
> First you execute string a. This creates a new object on the stack, with default value (an empty string). Then you execute a=NULL, which calls the assignment function...
 
user142019
Uh
 
user142019
string a = NULL; is that an assignment?
 
@Insilico There is no such thing as a null string.
 
@DeadMG I guess that answers the question then.
 
@Insilico Yes that is what I meant.
 
12:20 AM
@DeadMg agree with stupid new/delete, I was thinking of giving him new/delete pointer operation ... yeah silly.
 
@Zoidberg'-- initialization
 
"What steps will reproduce the problem?
1. Visit site.
2. Disable notifications.
3. Wait until a major news event happens (or instigate one)."
LOL.
 
lol
 
Oh geez, I never thanked @sbi for the endianess example.
 
user142019
12:22 AM
@sehe then the answer was wrong. :^)
 
sbi
@ThePhD Yeah, unthankful brat, you are!
 
@sbi Is it too late to say thank you very much for the example? <3 ?
 
sbi
Yessss!
 
Well, what about thank you veeery very much?
 
user142019
lol
 
sbi
12:24 AM
It'll take a month for me to consider that.
 
@Insilico lulz
 
0
Q: I need a web implementation of an algorithm

user1888702I wrote a certain algorithm, that uses a text file with 60k text entries, and a small string as an input, to do some stuff, and in less than 3secs return the values. It had a lot of optimization done, in the beginning the time needed was over 10min. I 'converted' the code to php, but to my dissap...

Best. Question. Ever.
 
It's so damn vague: "a certain algorithm".
 
Impressive
 
So apparently the OP wrote some algorithm in C++, tried implementing it in PHP, and found it took orders of magnitude more time to complete. And of course, doesn't even bother to describe what that algorithm is.
 
user142019
12:29 AM
Then he should make it a PHP extension.
 
user142019
Also, he shouldn't use PHP at all.
 
1
Q: Difference between contructor and initializer

Jakub ZaverkaSimple as that. What is the difference between std::string a("abc"); and std::string a = "abc";

^ that guy got the point. Sadly, can't find a 'faq' entry to link to /cc @Zoidberg'--
 
Its a dupe and should be closed
 
user142019
@sehe maybe somewhere here?
 
@Borgleader Actually I think there's several dupes.
 
12:32 AM
@Zoidberg'-- Yeah. I forgot how bad SO search was
@Insilico At least 3
but in defense of the OP: it was pretty hard to find from within SO
 
@sehe True, but questions closed as duplicates aren't meant to penalize the asker, no?
 
user142019
Duplicates aren't necessarily bad.
 
@Insilico Nope.
@Zoidberg'-- Well. There are worse things
 
user142019
Such as morons flagging everything!
 
There are some duplicate questions that are very clearly the result of absolutely no prior research.
 
Ell
12:35 AM
I don't understand that - its less work to research than ask a question
 
@Ell Depends on ability, as well as on the question
 
@Borgleader I don't know much about hacking, but that is a very nice video.
 
user142019
I tried to do 0, v, w, w in Chrome but realized that in Chrome you're always in insert mode.
 
@FredOverflow I know nothing about hacking either but the video makes me laugh everytime I watch it.
 
@Zoidberg'-- What do you enter when you want watch pron? :)
@Borgleader I simply cannot believe a thief would use a computer without cleaning it first.
 
user142019
12:37 AM
@FredOverflow facebook.com, xvideos.com or xhamster.com.
 
@FredOverflow Presumably google.com works for that purpose.
 
@FredOverflow Dumbasses, dumbasses everywhere.
 
user142019
@FredOverflow mount ~/Documents/Shizzle.sparsebundle /Volumes/Shizzle
 
@Borgleader I like how he searched for elephant asses and stuff :)
 
user142019
ITT: Fred liking how people search for elephant asses.
 
12:40 AM
@Zoidberg'-- Invitation to Tender?
I didn't even know "elelphant ass" was a common term :)
 
user142019
Tender? Wasn't that a song by Blur?
 
Dunno, but this is the Lounge, and I am your FooTender! What can I get you?
 
user142019
@FredOverflow one upvote, please.
 
@FredOverflow Hahaha yeah
 
@Borgleader If somebody steals a computer and two years later I get it back, can I demand additional money from the thief, because now it's worth less?
@Zoidberg'-- What question would you like to get that upvote on?
 
12:44 AM
rofl i have no clue
 
user142019
@FredOverflow on my superior answer. And now I feel bad. :^(
 
@FredOverflow I'm surprised that in those two years the HD hasn't been wiped by someone.
The first thing I do when I acquire a used machine is to wipe the thing clean.
 
user142019
I need two displays.
 
My motivation to study right now:
 
@Zoidberg'-- Oh, there is an implicit conversion from T to boost::optional<T>?
 
user142019
12:45 AM
@FredOverflow no, overloaded operator=.
 
@Insilico Flat or deep wipe?
 
user142019
I'm wondering whether xmonad works well with multiple displays.
 
user142019
optional& operator = ( T const& v ) ;
 
I think you should explain in that answer what a nullable type is.
 
user142019
optional ( T const& v ) ;
 
user142019
12:46 AM
@FredOverflow ^ there is. :^(
 
@FredOverflow "reformat the hard disk" clean, if that what you mean. :-P
 
Hi, I saw the sign outside. Is it warm in here?
 
user142019
@FredOverflow is something that can hold at most one object of a certain type correct?
 
@Borgleader blackfatbootie.com, bigbuttbrazilianmoms.com, freebigassporn.com, elephantasses.com, lol dying of laughter here
 
Ell
Oh I presumed literal elephant
 
12:48 AM
Haha, yeah, that is one of the highlights of the presentation
 
@Insilico I mean, do you just say format c:, because that won't really wipe anything besides the table of contents, or do you do dd if=/zero of=/dev/sda stuff?
 
@FredOverflow I don't use *nix machines enough to know what that last command means, but I basically zero out the disk platters.
 
That's what it does alright.
 
user142019
I know a guy who has a hard drive shredder.
 
user142019
I don't want to know why, seen the kind of person he is.
 
12:52 AM
Of course then I have to put the formatting data back in or I wouldn't be able to store any useful data in it.
 
Ell
Don't you ever back it up? Then you can have ruffle round in their stuff
 
@Ell No. Quite frankly I don't find other people's stuff that interesting.
 
user142019
@Ell the point is: you don't want to have other people's stuff stored anywhere in your house. It may be CP or other illegal material.
 
Ell
Fair enough, never really thought about that, guess I'm naïve
 
@Zoidberg'-- This is me splitting hairs, but I don't think files can ever be illegal.
 
Ell
12:54 AM
Also is CP child porn?
 
user142019
@Ell yes.
 
user142019
The awful stuff you can find on onion websites.
 
"File" is contents and name(s) given to that content
 
IANAL, but the law has yet to catch up with the 21st century.
 
@Zoidberg'-- I assumed it mean copyright protected.
 
Ell
12:55 AM
Onion? The anonymity layer? Using tor?
 
So no, "but file cannot be illegal" is not valid
it's dumb
as hell
 
user142019
@Ell you can only access onion sites using Tor, I guess. I've never visited them though.
 
user142019
.onion is a pseudo-top-level domain host suffix (similar in concept to such endings as .bitnet and .uucp used in earlier times) designating an anonymous hidden service reachable via the Tor network. Such addresses are not actual DNS names, and the .onion TLD is not in the Internet DNS root, but with the appropriate proxy software installed, Internet programs such as Web browsers can access sites with .onion addresses by sending the request through the network of Tor servers. The purpose of using such a system is to make both the information provider and the person accessing the informat...
 
@CatPlusPlus How is it different from something like "illegal prime numbers"?
 
12:56 AM
There were these tests were people bought used hard drives on eBay and found "funny" stuff on them. Is that still going, or have people become smarter?
 
Uh
 
user142019
brb I need to piss like a motherfucking motherfucker
 
@FredOverflow My motivation for wiping drives is mainly because I don't know if they have things like rootkits on them or not.
 
Guys, if I have an array of two dimensions (e.g. double test[20][5]), how do I.. .. pass it by reference?
 
Intent and interpretation matters
 
12:58 AM
@Insilico What drives? Do you buy used drives?
 
I know for a single array it's just double (&test)[20], should I just tack an extra [5] on to that?
 
@ThePhD double (&test)[20][5]
 
Who sells unwiped drives
 
@FredOverflow I don't, but my friends/family members sometimes acquire used computers for some reasons I don't quite understand.
 
@FredOverflow Ah. Well, at least it scales simply, unlike the rest of C++. :D
 
12:58 AM
@Insilico It is the same boundary that has quite a few examples. QM vs Classical world - Individual molecules vs Gas laws pv-nrt.
 
Also who buys used drives jesus
 
@Insilico Save money?
 
It's dumb as fuck
 
@FredOverflow Sure, but computer technology ages faster than milk. I'm not sure how much money you really save by doing that.
 
user142019
I'd never buy a used computer.
 
12:59 AM
If all you want is a machine that runs OpenOffice and FireFox, you can buy a used computer for unter 100 bucks that does the job just fine. Why spend more than that?
 
Used parts are fine
 
user142019
Unless it's a supercomputer or a quantum computer or something.
 
But not HDDs, the lifetime is too critical for data integrity
 
@Zoidberg'-- Unless it is an IBM T60. (AKA The Supercomputer)
 
@CatPlusPlus How about SSDs?
 
1:00 AM
vOv
I don't have any SSDs
 
user142019
@CaptainGiraffe why would I want such a crappy computer.
 
user142019
Up to 4 GB RAM. Wat.
 
@Zoidberg'-- You need to recheck your definition of crappy.
 
@CatPlusPlus Wanna buy one? ;)
 
user142019
1:02 AM
@CaptainGiraffe why.
 
user142019
If I'd ever buy a laptop that is not a MacBook it should have at least 12 cores and 32 GB of RAM to even be slightly attractive.
 
@Zoidberg'-- The build quality is out of this world.
 
Ahahaha
Bajillion cores
 
user142019
As for desktops, I don't really care as long as it's fast and supports multiple displays.
 
I'd buy it just because it's not MacBook
 
1:03 AM
@Zoidberg'-- A laptop with 12 cores and 32 GB of RAM would probably be cheaper than any Macbook. So why bother with the Macbook? :-P
 
Also who wouldn't want a tank
 
user142019
@Insilico how is that relevant?
 
The T-60 scout tank was a light tank produced by the Soviet Union from 1941 to 1942. In this time over 6,292 were built. The tank was designed to replace the obsolete T-38 amphibious scout tank. Design Nicholas Astrov's design team at Moscow Factory No. 37 was assigned the task of designing amphibious and non-amphibious scout tanks in 1938. They produced the T-30A and T-30B prototypes. The former was to be manufactured as the T-40 amphibious tank starting in 1940. It also led to the T-40S (sukhoputniy, "dry-land" version), a heavier tank prototype which was considered too complex to ...
 
@Zoidberg'-- Fine, you run your Enterprise MSQL server from your laptop. I'm working on mine.
 
user142019
lol Enterprise MSSQL.
 
user142019
1:04 AM
wat
 
@FredOverflow "have people become smarter" - surely that was rhetorical
 
user142019
Why would I even want to run MSSQL or MySQL (or whatever you meant).
 
@CatPlusPlus Should have been built by IBM.
 
cheapest laptop best laptop
 
user142019
I use PostgreSQL or MongoDB.
 
user142019
1:05 AM
Also if you use a laptop as production server you're a fucking idiot.
 
@Zoidberg'-- Ah, you are using web-scale solutions. No wonder you need 32 Gb on your laptop.
 
The T-90 is a Russian third-generation main battle tank that is a modernisation of the T-72 (it was originally to be called the T-72BU, later renamed to T-90). It is currently the most modern tank in service with the Russian Ground Forces and Naval Infantry. Although a development of the T-72, the T-90 uses a 125mm 2A46 smoothbore tank gun, 1G46 gunner sights, a new engine, and thermal sights. Standard protective measures include a blend of steel, composite armour, and Kontakt-5 explosive-reactive armor, laser warning receivers, Nakidka camouflage and the Shtora infrared ATGM jamming ...
 
user142019
Stop trolling. I don't care about scalability in development mode.
 
user142019
Again, you don't use a laptop as a production server.
 
Ell
Nighty night all
 
user142019
1:06 AM
The reasons I use PostgreSQL and MongoDB don't include "scalability".
 
@Zoidberg'-- Sry, just joking. 32 GB as a requirement on a laptop is kinda silly though.
 
@Borgleader What is she your girlfriend :)
 
user142019
I don't see a reason to buy a non-MacBook laptop if it doesn't have such specs, really.
 
user142019
Unless you only use a laptop on your desk as a desktop in which case you can better buy a desktop anyway.
 
@sehe If she is, then he shall be known as Lucky Bastard from now on.
 
1:08 AM
@sehe According to the infinite reality theory, she is in at least one alternate reality.
 
Thing is. I'm seriously happy with my T60 laptop from 2006/2007. That amounts to build quality, and an SSD drive.
 
@Borgleader That's how it is no problem she isn't actually motivating you (in this reality)
 
@Zoidberg'-- How does that follow from earlier sentence I have no idea
 
user142019
Laptops are for use on your lap and those terribly heavy things don't really do that well, IME.
 
Also you're a horrible Apple zealot
hth
 
user142019
1:09 AM
@CatPlusPlus it doesn't. :)
 
@CatPlusPlus I don't see how that changes anything. It only means he's got absolutely no credibility when it comes to evaluating laptops. Oh wait...
 
@sehe Still is cuz I'm a hopeful nerd :P (And considering the number of likes on that picture I'm one amongst many)
 
laptops do very very few things well, IME. They aren't really comfortable on your lap, nor anywhere else. They're usually still a pain to log around (power brick included)
@Borgleader Check this:
Lottery mathematics is used here to mean the calculation of the probabilities in a lottery game. The lottery game used in the examples below is one in which one selects 6 numbers from 49, and hopes that as many of those 6 as possible match the 6 that are randomly selected from the same pool of 49 numbers in the "draw". Calculation explained in choosing 6 from 49 In a typical 6/49 game, six numbers are drawn from a range of 49 and if the six numbers on a ticket match the numbers drawn, the ticket holder is a jackpot winner—this is true no matter in which order the numbers appear. The proba...
 
user142019
I find my laptop useful in bed and in the train. Anywhere else I prefer a desktop.
 
1:12 AM
@Borgleader It should quickly show you how the odds will decresase, not increase, when the number of participants increases. And that's even assuming fair (even) chances
 
@sehe In my work I need to move my laptop at least 4 times a day, often up to 8 times. My laptop doubles as my desktop.
 
user142019
Heck, I think I might even get my old desktop from the loft and install Arch on it. It has 8 GB RAM.
 
Also working with laptop on your lap is extremely uncomfortable
 
@Borgleader Shouldn't she be your girlfriend in an infinite number of universes?
 
This is just simply not an option for any serious work
 
1:13 AM
@CatPlusPlus Opt-out on the GFX card.
 
@sehe Hah now I know where Lotto6/49 comes from
 
@CaptainGiraffe yeah. So. A desktop does the mobility thing even worse. So what. The ppoint is, there are a number of things desktops are good at. I can't really list much that I can get enthusiastic about in laptops
 
The keyboard layout is crappy, the screen is tiny, there is no mouse to speak of
 
@FredOverflow Technically speaking, infinite is part of the range (at least a few) ;)
 
@Borgleader Never heard of that before
 
1:14 AM
You need a cooling pad anyway
 
user142019
I don't have any of those problems.
 
user142019
Maybe the fact I only have one display instead of two.
 
@Zoidberg'-- That's one big thing
 
user142019
And that the battery holds no longer than seven hours.
 
1:15 AM
@Zoidberg'-- I can barely stand working with only one monitor.
 
What, they make MacBooks with normal keyboards, mouses and 21" screens?
 
@Zoidberg'-- And that
 
@Zoidberg'-- To be fair, the state of the art of commerical battery technology still has a long way to go.
 
I work on battery less than 1% of the time
 
user142019
@CatPlusPlus normal keyboards, yes. Mouses, well it has a trackpad and it's fine for me. And I don't need a 21" screen.
 
1:16 AM
To be fair, my phone has about the same battery life as my laptop with similar use.
 
Really, it has a normal keyboard
 
@Zoidberg'-- Trackpads are shitty mouse replacements.
 
user142019
The trackpad works fine. Much better than a mouse, actually.
 
@Zoidberg'-- You heathen! :-P
 
This
is not a normal keyboard
 
user142019
1:17 AM
Image not found
 
Oneboxer sucks
 
user142019
How is it not a normal keyboard?
 
user142019
Woo it has no numpad, something I've never used in my entire life anyway.
 
Well for one it has 40% width of normal keyboard
And no numpad
 
user142019
I don't have gigantic hands. The size is totally fine.
 
1:18 AM
Cramped and uncomfortable
 
@Zoidberg'-- No numpad in your entire life? Is that for religious or ethical reasons?
 
@Zoidberg'-- It's a "chiclet keyboard". And therefore it sucks.
 
user142019
@CaptainGiraffe keyboard already has number keys and return key and whatnot. No need for them to be there twice.
 
I need to buy a mechanical keyboard someday
 
Hey guys, I uh. Have a quick question.
 
1:19 AM
@Zoidberg'-- I use the numpad all the time. It's way faster to enter numbers with the numpad than with the row of number keys on the top of your keyboard.
 
If anything, keyboards need more keys not less keys
Gimped keyboards are terrible
 
GDB seems to run through my code 3 times before running through the actual main function (it hits a breakpoint 3 times in codeblocks before running the code between main () and the last } ). Is this normal?
 
I want one of those with programmable keys dammit
 
user142019
The most terrible keyboards are those where the sizes of the letter keys are not equal to each other.
 
@ThePhD You're doing something wrong. Or your IDE
 
user142019
1:20 AM
Or that curved crap.
 
Or both
 
@CatPlusPlus I'm gonna guess it's Code::Blocks ...
 
user142019
lol this keyboard is awesome:
 
Well. So much for shiny new improvements. =/
 
user142019
 
user142019
1:21 AM
DataHand
 
The Optimus Maximus keyboard, previously just "Optimus keyboard", is a keyboard developed by the Art. Lebedev Studio, a Russian design studio headed by Artemy Lebedev. Each of its keys is a display which can dynamically change to adapt to the keyboard layout in use or to show the function of the key. Pre-orders began on May 20, 2007 for a limited production run from December 2007 to January 2008, with a second batch expected to arrive in February 2008. It first started shipping the week of February 21, 2008. Overview The design featured on the studio's website received attention on th...
^ Apparently the keys are hard as hell to push down, though.
 
user142019
Hmm, a Russian keyboard. Is it made of cast iron? :^)
 
Fuuuuuuuuck my PATH is too big again
 
user142019
lolwat
 
@Zoidberg'-- It's made of plastic.
 
1:24 AM
Stupid SQL Server added like 7 dirs to it
 
user142019
SQL <3
 
Go away SQL Server I don't want you there argh
I wonder why only now it broke
And Aero disabled itself woop
 
If it comes back in 3min it's running some sort of automated thing
happened to me a few weeks ago
 
No
It's not that, I disabled that ages ago
(It's that score estimation thingy)
 
(Yes that)
 
1:29 AM
Oh my, troubleshooter actually does something
Incredible
 
Who would've thought?
 
user142019
CherryPy y u crash after connection closed. Piece of shit.
 
user142019
Today is everything-is-broken-day.
 
@Zoidberg'-- Congratulations, you've experienced computer technology! :-P
 
user142019
Computers suck. Stupid one-thing-does-everything devices.
 
1:32 AM
Actually, he experienced human fallibility
 
=[[[[[[[[[[[[[
Stacked-Crooked.com doesn't like it when I use tabs?!
It replaces them with \t ?!?!
That's so mean. :c
 
Don't use tabs
@Zoidberg'-- Why are you using this, nobody else does
 
@StackedCrooked Try to have some tab support when you can, please? Thank yoou! (Example output that has tabs in it: stacked-crooked.com/view?id=9da66f99414cbb31f5f83c19b893cb63)
 
user142019
1:49 AM
Time to install a status bar in Linux.
 
user142019
2:01 AM
Dammit Hackage is down again. Fuck.
 
Anyone know how to hook system calls in Windows?
From an administrator account?
I am running as administrator and want to create a child process and hook the syscalls that process makes.
There don't appear to be any debugging APIs which are capable of doing this.
 
So is std::swapping an object with itself problematic?
 
I could block calls to ntdll.dll, but you could still bypass that with inline ASM which directly makes the syscall
(I have tried blocking ntdll.dll, by marking its memory region non-executable, but syscalls can still be made)
Any idea on how to trap all syscalls?
From a specific process that is
There doesn't really even seem to be any decent documentation as to how syscalls work in Windows
 
user142019
2:18 AM
xmobar y u no unicode
 
Hmmm.
Apparently a syscall actually causes a fault which is picked up by the kernel, so in theory it should be possible to hook by registering some kind of low-level exception handler.
You would think....
But syscalls don't seem to be generating any kind of exception that can be picked up by a debugger.
Apparently that's outdated
That's why it doesn't work anymore
Perhaps in DOS that would have worked
If you look at code that calls into the kernel, you'll see it executes a syscall instruction (OPCODE 0F 05)
Question is how to hook such an instruction
 
Fake ntdll? I dunno.
 
@ThePhD What good does that do? Absolutely nothing. I've tried that already
NTDLL isn't invoked for all syscalls
 
Oh, well okay then.
I didn't know that.
I don't know how you would get into syscall.
 
I have a proof-of concept that shows how to do a syscall without ntdll.dll
void somefunc() {

}
int a = 2;
int i = 5*a;
unsigned char* data = (unsigned char*)&somefunc;
data[0] = 15;
data[1] = 5;
data[2] = 195;
somefunc();
(syscall appears to be a 2-byte instruction)
Bytes 15 and 5 are the SYSCALL instruction
195 is the return instruction
Prior to calling this code
I used VirtualProtect to mark ntdll as non-executable, so executing anything in ntdll in user-mode would throw an exception, which did not happen
Syscall appears to have been successful
Even without ntdll.dll
There's nothing "special" in terms of security about ntdll.dll
It doesn't have any special privileges that allow it to execute a syscall
It's just an abstraction around syscalls
Of course you also need to VirtualProtect your own code as well to make it readable/writable/executable.
So you can modify the assembly at runtime.
VS2012 doesn't support inline ASM anymore :(.
 
user142019
2:33 AM
fuuuuuuuuuuck
 
@Zoidberg'-- ?
 
user142019
Stupid documentation doesn't explain the syntax of a command I need to use.
 
@Zoidberg'-- Stupid MSDN doesn't explain how syscalls work in Windows.
 
user142019
It only gives an example on how to configure the command, not how to call it.
 
user142019
3:14 AM
Dammit. Been fighting with xmobar for two hours, figured out the version from Arch was broken. -_-
 
user142019
Hackage fuck you.
 
@Zoidberg'-- Been studying syscalls for over two weeks.
To no avail.
 
user142019
Ok.
 
user142019
Dammit Hackage I need to install a package y u offline.
 
Only ended up with a proof-of-concept that shows how easy it is to bypass syscall hooking.
And a way to hack Windows 8's supposedly secure sandbox.
A fairly handy privilege escalation exploit, that Microsoft refuses to comment on (or fix)
The lesson to be learned from this is: You just CAN'T secure native code (at least not on Windows)
 
3:22 AM
if i build a windows static library (.lib) on my computer windows 8 64 bit, will that library work on all 64 bit versions of windows 8??
or would i have to recompile it on some windows 8 64bit computers
 
user142019
If the computers use the same architecture it should work.
 
user142019
But not if one uses ARM and another one uses x86-64, for example.
 
user142019
If there even is 64-bit ARM.
 
so the main thing i would have tow orry about is if one of the computers is ARM... well for my purposes i am making a program for desktop use only so does that mean i wont have to worry (since i dont plan on supporting any arm machines) ?
 
@wardd Then don't make a Windows 8 app, make a desktop app instead.
 
user142019
3:26 AM
If everybody uses x86-64 and you compile for x86-64 there shouldn't be any problems.
 
Microsoft usually wants Windows 8 apps to work on all types of platforms
As part of certification
 
ok good
 
Are you making a Windows 8 app or desktop app by the way?
 
@Robot turns out I have a use for that single-byte replacement character. If I'm also encoding ASCII and the character is out of range, I'm thinking of using '\x1A' as the substitution character in that case.
 
user142019
brb
 
user142019
3:33 AM
Phew. Finally I have a status bar.
 
IDWMaster no im making a desktop app, i was tryign to decide whether i should include 3rd party library sources into source control so that i can rebuild it on each computer, or if i can just add the .lib to source control since it will work on all windows machines
 
 
1 hour later…
5:02 AM
ERMIGAWD I FOUND SOMETHING WHERE ROBOT USED using namespace std; !!!
SEE IT'S NOT TOTALLY BAD ALL THE TIME IT'S USABLE.
 
It's only bad if you do it globally in a header
 
Well usually you wrap it up in a detail header or something.
BUt Seeeeeeeeeee?
Seeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee? It's not a bad idea!
 
Awful idea
 
</vindication>
Great idea.
Used by great people.
 

« first day (792 days earlier)      last day (4159 days later) »