Yeah I rolled up an upgrade after a year. Oh hey what do you know the driver support in this new release is shit. Now I have only one monitor. And than it exacerbated from there because no matter what card I put in weird shit started happening. I did a fresh wipe and it worked, but I figured what the fuck if I fresh wipe might as well just go into windows. I'm waiting until I get to upgrade again, gonna see if my boss won't spring for a mac.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
I want it more for the form factor, display qualities, and weight. This will allow me to finally work remotely when I want, since the machine is a beast and I require CUDA.
I need to follow up with the place that was going to give me the macbook pro retina. I suspect they decided to hire an android developer, but I'm going to chase them down and make them tell me that.
Okay so I've been spending all day trying to get http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html to work. I have verified that the hello program works when I load it by hand, but I cannot get the module to load up at boot. This is very, very frustrating.
On a related note, bbcode parsing is surprisingly complex
Nothing seems to propagate across a quote, code or spoiler tag regardless of structure. Code blocks must be closed (but apparently they're the only ones)
Tags that aren't quote/spoiler/code seem to never propagate past an upper level closure, example: bold bold italics neither
However, the closing tag, regardless of where it appears in the tree is never actually printed bold italic strikethrough nothing
Also note that you can propagate across closing but out of scope tags
And if you forget to close a tag, regardless of where it is, you can close it anywhere later and it won't show up:
On a related note, bbcode parsing is surprisingly complex
Nothing seems to propagate across a quote, code or spoiler tag regardless of structure. Code blocks must be closed (but apparently they're the only ones)
Tags that aren't quote/spoiler/code seem to never propagate past an upper level closure, example: [b]bold [i]bold italics[/b] neither
However, the closing tag, regardless of where it appears in the tree is never actually printed [b]bold [i]italic [s]strikethrough[/b] nothing[/s][/i]
Also note that you [b]can [i]propagate[/b] across [b]closing [/i] but out of scope tags[/b]
[b]Even [quote]across[/b][/quote]blocks
But extra tags [b]are[/b][/b] printed
[color=red]Url blocks [url]p[color=green]us[/color]h[/url] colors[/color]
And if you forget to close a tag, regardless of where it is, you can close it anywhere later and it won't show up: [/i]
I wrote a BBCode "parser" recently. And by "parser" I mean "dumb replacement filter". It doesn't really try to parse the text lexically; it just replaces, for example, [ b ] [ /b ] with <strong> </strong>. Through some trickery, this also works out just fine for tags with arguments, like the url and img tags.
That turned out to be the better solution than trying to deal with missing or incorrectly nested tags.
I wrote a BBCode "parser" recently. And by "parser" I mean "dumb replacement filter". It doesn't really try to parse the text lexically; it just replaces, for example, [ b ] [ /b ] with <strong> </strong>. Through some trickery, this also works out just fine for tags with arguments, like the url and img tags.
That turned out to be the better solution than trying to deal with missing or incorrectly nested tags.
That would probably fail for when attributes are propagated across closing tags though since that would turn into a </span> and close it
Oh yes, it's nowhere near robust. But it works fine if the tags are formatted and nested correctly, and any open tags are automatically closed at the end of the content block. Those were the only requirements, so it works well enough.
I've found that http://code.google.com/p/wkhtmltopdf/ is great. And it works from the command line so you can use it standalone to do testing and incorporate it into pretty much anything. Also, it works with charts/graphs/javascript etc... so you can translate a really nice html layout into a PDF easily.
Bigsushi.fm
Listen to our podcast, read our articles, tell us how much you hate it and how to make it better
Oops, meant to say I'm trying to get the current directory of another process. I'm using System.Diagnostics.Process.GetProcessesByName() to get the process.
When people unite together, they become stronger than the sum of their parts.
Don't assume bad intentions over neglect and misunderstanding.
0
jaziekBad at everythingAnd mad about it.Registered Userregular
From a bit of quick googling, it seems to me like you can't do what you're trying to do with just .NET
Yep, that's system level stuff now if you want to snoop into other processes runtime environment. Something you'll need admin privileges for and want to probably do in a C module or something you write and call upon.
That seems to just be finding the modules(I'm not familiar with what those are) of a process.
I'm looking at maybe using NtQueryInformationProcess, but I have no idea how to use it and if it works correctly in Windows 8. I've tried an application that uses it and it seems to fail to get the right information.
When people unite together, they become stronger than the sum of their parts.
Don't assume bad intentions over neglect and misunderstanding.
// Get Command Line Block
// At offset 0x00020498 is the process current directory followed by
// the system PATH. After that is the process full command line, followed
// by the exe name and the windows station it's running on.
...
lpPos = lpBuffer + ((DWORD)0x20498 - (DWORD)mbi.BaseAddress);
lpBuffer being the first page of process memory, fetched via ReadProcessMemory.
You should be able to trim down the code to get just the current working directory.
Ah, I see. It's a little over my head, but it seems like this bit
// Read memory begining at the start of the page.
if(ReadProcessMemory(hProcess, mbi.BaseAddress, (LPVOID)lpBuffer, SysInfo.dwPageSize, &dwBytesRead))
is failing for the process I'm looking at. Maybe an access issue?
Edit: Problem is ERROR_PARTIAL_COPY.
How many bytes read? If dwPageSize > dwBytesRead, you'd get that error, which isn't necessarily a problem? Partial copy means just that, so it shouldn't be an elevation issue.
You're dipping into the PEB fyi to find this CWD value. It's pretty hacky but I don't think there is really any other way to do it.
Well if I remove the check for error, it's still not picking up CmdLine or EnvVars. So I'm thinking Microsoft may have changed something in Windows 8 that affects it.
When people unite together, they become stronger than the sum of their parts.
Don't assume bad intentions over neglect and misunderstanding.
I'll be there, if anyone will be there too then let me know.
As for salary, MT, as always comes up the biggest factor is location (cost of living). Whereabouts are you expecting to land work, and what is your experience going to be? I take it you're finishing up school atm?
late reply here, but i graduated with a BS in CS in 2008 (well rounded, had some practical experience - not as mathy as it seems like some of you had), got an MBA, and am currently doing radar engineering work for the next year or so while i pay off student loans. i've done some freelance work since i graduated, but effectively my experience level is comparable to that of a new grad. i'm well aware location is a big factor in pay, but i'm looking at San Fran, NYC, Boston, or Seattle for my next adventure.
0
jaziekBad at everythingAnd mad about it.Registered Userregular
I'll be there, if anyone will be there too then let me know.
As for salary, MT, as always comes up the biggest factor is location (cost of living). Whereabouts are you expecting to land work, and what is your experience going to be? I take it you're finishing up school atm?
late reply here, but i graduated with a BS in CS in 2008 (well rounded, had some practical experience - not as mathy as it seems like some of you had), got an MBA, and am currently doing radar engineering work for the next year or so while i pay off student loans. i've done some freelance work since i graduated, but effectively my experience level is comparable to that of a new grad. i'm well aware location is a big factor in pay, but i'm looking at San Fran, NYC, Boston, or Seattle for my next adventure.
When you were graduating, how did you go about looking for jobs?
It seems to me like as a new graduate I'll basically be screwed in terms of what jobs I'm actually qualified for.
I'll be there, if anyone will be there too then let me know.
As for salary, MT, as always comes up the biggest factor is location (cost of living). Whereabouts are you expecting to land work, and what is your experience going to be? I take it you're finishing up school atm?
late reply here, but i graduated with a BS in CS in 2008 (well rounded, had some practical experience - not as mathy as it seems like some of you had), got an MBA, and am currently doing radar engineering work for the next year or so while i pay off student loans. i've done some freelance work since i graduated, but effectively my experience level is comparable to that of a new grad. i'm well aware location is a big factor in pay, but i'm looking at San Fran, NYC, Boston, or Seattle for my next adventure.
Hi five fellow radar engineer!
Edit: I am unable to provide comparable salary figures, since I work in a different country to you, I'm afraid.
Posts
RAGEEEEEEEE INDUCING.
the ati drivers are kinda crap that ati released... yeh, kinda... like the brown stuff that i deliver in my morning routine is "kinda" shit.
Joe's Stream.
Have I said that I am spoiled, and my new mac book pro retina comes next week.
[/spoiler]
Edit: Well that's good at least!
Nothing seems to propagate across a quote, code or spoiler tag regardless of structure. Code blocks must be closed (but apparently they're the only ones)
Tags that aren't quote/spoiler/code seem to never propagate past an upper level closure, example: bold bold italics neither
However, the closing tag, regardless of where it appears in the tree is never actually printed bold italic strikethrough nothing
Also note that you can propagate across closing but out of scope tags
Even blocks
But extra tags are[/b] printed
Url blocks push colors
And if you forget to close a tag, regardless of where it is, you can close it anywhere later and it won't show up:
That turned out to be the better solution than trying to deal with missing or incorrectly nested tags.
Yeah I am.
That would probably fail for when attributes are propagated across closing tags though since that would turn into a </span> and close it
12345678[/i]9[/i]a
Hmm it looks like a closing tag first applies to any active tags and only then to inactive ones
I seem to recall vBB having a better parser.
SE++ Forum Battle Archive
Listen to our podcast, read our articles, tell us how much you hate it and how to make it better
Using .Net(C#), StartInfo.WorkingDirectory returns an empty string.
Don't assume bad intentions over neglect and misunderstanding.
?
Don't assume bad intentions over neglect and misunderstanding.
Don't assume bad intentions over neglect and misunderstanding.
See http://forum.sysinternals.com/topic629.html that has some decently documented code.
I'm looking at maybe using NtQueryInformationProcess, but I have no idea how to use it and if it works correctly in Windows 8. I've tried an application that uses it and it seems to fail to get the right information.
Don't assume bad intentions over neglect and misunderstanding.
// Get Command Line Block // At offset 0x00020498 is the process current directory followed by // the system PATH. After that is the process full command line, followed // by the exe name and the windows station it's running on. ... lpPos = lpBuffer + ((DWORD)0x20498 - (DWORD)mbi.BaseAddress);lpBuffer being the first page of process memory, fetched via ReadProcessMemory.
You should be able to trim down the code to get just the current working directory.
Edit: Problem is ERROR_PARTIAL_COPY.
Don't assume bad intentions over neglect and misunderstanding.
How many bytes read? If dwPageSize > dwBytesRead, you'd get that error, which isn't necessarily a problem? Partial copy means just that, so it shouldn't be an elevation issue.
You're dipping into the PEB fyi to find this CWD value. It's pretty hacky but I don't think there is really any other way to do it.
Don't assume bad intentions over neglect and misunderstanding.
late reply here, but i graduated with a BS in CS in 2008 (well rounded, had some practical experience - not as mathy as it seems like some of you had), got an MBA, and am currently doing radar engineering work for the next year or so while i pay off student loans. i've done some freelance work since i graduated, but effectively my experience level is comparable to that of a new grad. i'm well aware location is a big factor in pay, but i'm looking at San Fran, NYC, Boston, or Seattle for my next adventure.
When you were graduating, how did you go about looking for jobs?
It seems to me like as a new graduate I'll basically be screwed in terms of what jobs I'm actually qualified for.
Hi five fellow radar engineer!
Edit: I am unable to provide comparable salary figures, since I work in a different country to you, I'm afraid.