« first day (842 days earlier)      last day (4100 days later) » 

6:00 AM
@Insilico I think of that as being near-light mechanics applied to timekeeping
 
Now, now.
 
AMD is my graphics card
 
@FredMcgiff The corporation? :)
 
I'm using catalyst control Center, which has everything is like attached to grid , multiple desktops
 
Sandringham time is the name given to the idiosyncratic alterations that King Edward VII made to the timekeeping at the royal estate of Sandringham. This time corresponds to UTC+0:30, and was used between the years 1901 to 1936. Contrary to rumour, it was not begun to assist Queen Alexandra, who was constantly late, but to "create" more evening daylight for hunting in the winter. The King ordered that all the clocks on the estate be set half an hour ahead of Greenwich Mean Time. In later years the practice was also observed at Windsor and Balmoral Castles. The custom of Sandringham time ...
What a stupid thing to do
 
6:00 AM
Oh right I forget ATI was acquired by AMD
 
nothing that will enable you to keep a window on top
 
@Insilico Well, apparently all I'm doing is push_back. I don't remember why I needed it to be a deque...
 
@FredMcgiff your app?
 
Nepal - Nepal Time since 1986
    This is an approximation of Kathmandu mean time, which is 5:41:16 ahead of UTC.
 
6:02 AM
@LightnessRacesinOrbit Timezones are full of crazy.
 
@R.MartinhoFernandes Anything created by humans are full of crazy
 
@FredMcgiff if it's your program you can set the window style WS_TOPMOST
 
@doug65536 Of course that doesn't prevent other WS_TOPMOST windows from obscuring your window
 
I'm trying to make VMware virtual machine on top
 
a user could lose a program behind your window and be unable to get it out (without knowing wizardly keyboard tricks)
 
6:04 AM
@FredMcgiff Get another computer monitor and put the VM there and nothing else.
 
@Insilico Better still: get another computer and forget VMs completely. :-)
 
and there are lots of other always-on-top windows to worry about?
 
:752447 I'm am currently doing that
 
@FredMcgiff Doing what? The WS_TOPMOST thingy?
 
@Insilico More likely WS_EX_TOPMOST, for what little that's worth.
 
6:07 AM
Is that a joke?
 
@JerryCoffin yes, WS_EX_TOPMOST
 
@R.MartinhoFernandes No. There's no such thing as WS_TOPMOST -- it's WS_EX_TOPMOST (i.e., it's a "extended" window style).
 
Ah, I thought it was a joke about Microsoft adding Ex to things.
 
@R.MartinhoFernandes Yeah I'm just being sloppy with the constant names. :-)
 
6:10 AM
@FredMcgiff SetWindowLong(hwnd, GWL_EX_STYLE, GetWindowLong(hwnd, GWL_EX_STYLE) | WS_EX_TOPMOST) <- makes hwnd always on top
 
> The thought experiment "Imagine if this were possible" is helpful in thinking through whether Windows lets you do something or other. (A special case of this is "When people ask for security holes as features.") If the possibility leads to an obvious contradiction or the violation of generally-accepted rules of metaphysics, then you can be pretty sure that Windows doesn't support it.
^ that seems sort of unlikely to me, though
I'd suggest the opposite
 
@LightnessRacesinOrbit The opposite?
 
Yeah.
If something is an obvious contradiction of security, sanity and general morality, then you can be damned sure that's the way the Windows API works
 
@LightnessRacesinOrbit Note that Raymond specifies violations of metaphysics, not security, sanity, or general morality. :-P
 
@FredMcgiff in that post he's trying to explain that the whole idea of "super topmost" is flawed and must not be attempted by developers
if you really want to rip focus away from another window, see AttachThreadInput
 
6:21 AM
Finally figured it out. Damn error messages being useless :(
 
Your users will hate you.
 
@doug65536 shudders involuntarily
 
basic idea is GetActiveWindow, GetWindowThreadId, AttachThreadInput(hwnd, GetCurrentProcessId(), id), then you can rip focus and detach
but don't
 
I did this once for a situation where both the foreground program and the program that needed focus were (sorta) under my control. It still behaved... oddly... now and then.
 
@Insilico true that
 
6:24 AM
@Shog9 lol
s/hwnd, // s/id)/id, TRUE)/
 
Wooo! This place is getting quite active around here.
 
@tom_mai78101 I won't be at all surprised if this is the most active room on the whole network.
Or at least on SO.
 
@tom_mai78101 Lounge<C++> has always been one of the most active rooms in all of SO chat
 
@Mysticial I would be surprised if it wasn't
 
I have a vision. I want this place to become **in**active.
 
6:29 AM
Unfortunately you end up getting people asking about C, PHP, or Java in a C++ room, which makes complete sense, of course.
 
@Insilico C is fine to some extent. If it passes as a C++ question, you're fine. If it doesn't you'll get lynched by some of the regulars.
 
@Mysticial unfortunately, C++ developers tend to know a list of languages
 
@doug65536 Not necessarily. I only know C, C++, and Java. (as some other minor languages)
And of course I don't really know C either...
 
Unfortunately, I'm the only developer in this Lounge who only knows 2 programming languages. I swear to God, I'm the 1% of the place.
So all of y'all, bow down to the 2-lang overlord. >:D
 
Oh, and my C++ isn't great either... :P
Anyone who knows me knows I don't really know anything. :)
As far as languages go.
I can probably pass as a Java programmer, but that's just about it.
 
6:33 AM
You know English. You know one thing.
 
@tom_mai78101 well... if you count that then I also know Cantonese.
 
I know Taiwanese. Ha!
 
@Mysticial Now, now. We don't shoot the messenger.
@tom_mai78101 I don't know any, so apparently I'm the ultimate overlord.
 
@JerryCoffin Dang it. :( Then, why are you here? D:
 
@Mysticial do you "think" in cantonese or english?
 
6:36 AM
@tom_mai78101 Hint: He has more rep than all of us (probably combined as well).
 
@tom_mai78101 For the pun of it.
 
@doug65536 Neither actually. I think graphically.
 
@Mysticial I think digitally.
 
I usually ask that to multilingual people and you get some interesting responses sometimes
 
@Mysticial Yet more proof of how little rep means!
 
6:37 AM
Reputation is like karma. The higher you are up there, the more Respect you earn from the SO hoodies.
 
@tom_mai78101 No you don't.
 
I think my sense of humor is off the charts.
 
Maybe up to 10k or so, it gives you "more respect" because it means you're knowledgeable in something. But beyond that, it's just a function of how much time you have or how lucky you are.
 
Maybe we can say how many Achievements you can get after your rep reached above 10K.
 
@Mysticial Nah, not combined. There are a bunch of 50k+ amoung us.
 
6:40 AM
@R.MartinhoFernandes Well, active at the moment. But since you just showed up...
then no, not combined anymore.
@R.MartinhoFernandes I think me + you + In Silico should be pretty close to Jerry.
 
Anyone of you have a Mac? Can you guys type in "File:///" for me?
 
is there a place where surgeons or something hang out? would be funny to see what gibberish they talk about lol
 
@Mysticial Sounds about right
@tom_mai78101 "File:///"
Oh wait I don't have a Mac. Sorry.
@doug65536 They make fun of their patients. The same way we make fun of lusers.
 
@doug65536 Probably death and decay. It's a sad place.
 
@tom_mai78101 I have a Mac (sort of) and I can type in File:///, but I'm certainly not going to turn on the Mac just to type it in from there (especially since it has a horrible keyboard.
 
6:43 AM
Type it while off.
 
@tom_mai78101 I have a Mac. It runs OS 8 though.
 
@Mysticial Can you type "File:///" and check to see if it can crash your application?
 
@R.MartinhoFernandes lol
 
@tom_mai78101 It's also off and about 2000 miles away at home.
 
@Mysticial That would be a Macus Ancientus (but not quite ancient enough: System 6 was the last version that wasn't completely horrible).
 
6:44 AM
@JerryCoffin It used to run OS7 then we upgraded it.
 
@Mysticial Is it on an island?
 
Also upgraded it from 32MB to 80MB of ram.
 
@tom_mai78101 well, I don't know if it's much like windows, but perhaps the mac equivalent of a shell extension. could be any of your apps
 
@tom_mai78101 Yes it is an Island. North America and South America are surrounded by water.
 
@Mysticial There's no way you can get 80MB without obtaining multiple types of RAM.
 
6:46 AM
@tom_mai78101 They were definitely different sizes.
 
@Mysticial And Hawiians talk about "the big island"...
 
@Mysticial So you had 32 MB + 32 MB + 16 MB sticks in it?
 
@Mysticial 64MB + 16MB?
 
Then again, around here Pikes Peak is usually referred to as "the hill".
 
I don't remember. Perhaps it started with 16MB and my dad added a 64MB stick in it.
I dunno
I have boot the thing up.
But
 
6:47 AM
@tom_mai78101 That's probably more plausible. I don't know if computers that old had more than 2 RAM slots
 
I'm not really going to because there's a lot of old data that we haven't retrieved from it yet. And that HD is almost as old as me.
 
@Insilico I have a 1998 Windows 98 computer with a 2-slot RAM mobo.
 
So I'm not booting it up until we find a way to retrieve the data.
 
old computers can have plenty of slots. depends on how cheap the motherboard is
 
The really old Macs (think OS 5-6) had like 8 slots.
 
6:48 AM
@Mysticial Presumably it's just an IDE hard drive. There are IDE-SATA adapters if that's the problem.
 
But the ram sticks were also smaller.
 
You don't suppose old mobos can connect to each other with a serial bus port or something, right?
 
@Mysticial "A lot" in this case probably meaning "not nearly enough to fill even a small thumb drive."
 
@tom_mai78101 use a network card!
 
@tom_mai78101 You could connect them via SCSI.
 
6:49 AM
@JerryCoffin Yeah. We have 4 GB + 2.1 GB + 1.2 GB drives.
Not all of which are full.
 
Oh yeah, forgot about those.
 
@JerryCoffin They are indeed SCSI.
 
serial port = 11.2 KB/sec if you're lucky
 
If I end up working at Apple, I'm definitely gonna ask them how I can retrieve my stuff from that machine.
 
@doug65536 I don't expect myself to reach that speed due to the dialup days.
@Mysticial Pay $1000 upfront.
@Mysticial Or they would say "Sorry, we don't support old hardwares." or something.
 
6:54 AM
how much do you care? a data recovery place could get the data
 
@doug65536 If it's porn, I rather trash it and burn the data.
 
The mention of old drives reminded me of this picture I took a few years ago. On top, a 1 Gig microdrive, on the bottom a 5 megabyte, 5 1/4" full height...
 
Would you donate that to a museum someday?
 
youtube has several videos of jokers pouring things onto or scratching disks while they run. it's surprising how instantly the seek mechanism works. of course, being 10's of ms you already know its fast. but visually, it's instantaneous
I have a friend with an MFM hard drive, with a gearbox type seek servomechanism - still works
he had to repartition it a long time ago to avoid some bad areas :)
 
@tom_mai78101 I can't. It's not mine (was something we had at work for some reason). If I look hard, I have even wilder one (the disk on the bottom is something like 80 megabytes -- but its case is around 4 feet long, 3 feet wide, and probably a foot deep. Weighed enough it took two people to have any chance of picking it up at all.
 
7:02 AM
@JerryCoffin yes they built computers out of excessively thick steel back then, hard drives had a military look -kind of overkill durability like a submarine
I dropped my 80286-12 down the stairs when I was moving to a new home. Worked fine - a handful of bad sectors
 
But back then, they accepted it as if that's how it was supposed to look.
 
@tom_mai78101 It's mostly about accepting the price. Mainstream hard disks have been about $250/pound for decades. Most of what's changed is that 1 pound holds a lot more data than it used to.
 
Apparently I managed to fix a bug by recompiling. If only it was always this easy.
 
@AndreiTita Then you lose your job pretty quickly.
 
@AndreiTita miracles don't happen
 
7:09 AM
@tom_mai78101 I would hope my job is more than "bug fixer"...
 
yeah, bug writer is the fun part :P
 
@AndreiTita Be a tester instead. Higher pay in the long run.
@doug65536 Bug creater, perhaps? A bug writer only proposes the designs of a bug.
 
Well, that should teach me.
 
Delving a little deeper, security firms would really love to hire bug creators.
 
I was filling out my Admission Information Form for University.
 
7:12 AM
@chris Are you applying for a Master's degree?
 
and while I was typing up a max 900 character thing, the site logged me out due to inactivity.
 
@chris ...And you put in your name as Chris'); DROP TABLE Students;-- ?
 
I was typing milliseconds before it did. That will teach me to not do it somewhere else first and copy-paste.
 
@chris Next time, be prepared with a Notepad.exe, and then copy/paste your entries in.
 
@tom_mai78101, First year.
@AndreiTita, Good luck getting in with that if they're lousy enough that it works :)
 
7:13 AM
@chris Freshman? Welcome to the University of hooligans and parties.
 
Programmers and parties? Does not compute.
 
@chris True programmers are only 10% of the entire class of your major.
 
because production systems need comments enabled in query parsing. lol. what a stupid security hole
 
I seriously can't believe UW would have their site think you're inactive when you're typing away into a textbox the entire time.
 
even though it is 100% the fault of the insecure application pasting together queries from string fragments
 
7:15 AM
@chris All institutes do this.
 
Unless they did it to better prepare you ;)
Well, time to restart. It feels like not saving work, but at least there's autosave for that.
 
@chris Which is an awful lesson we need to take.
 
Maybe I should keylog myself.
I actually have tools to do that very easily.
 
I stopped keylogging myself after I found out what my other personalities were doing on the Internet.
 
vk codes to strings function all set up for literal presses, readable strings, or compatibility with other functions I had at the time.
 
7:18 AM
Quick question to @chris, when did you learn to start applying for a university/college? Do the teachers in high school teach students about this?
 
I think my mom kept bugging me about it. I knew they recommended doing it over Christmas break, though. I definitely didn't want to miss any opportunities.
 
@tom_mai78101 I know my high school certainly encourages students to go to university/college.
 
There was an open house, too, which had all sorts of information. And a school visit.
 
So, students in high school actually know what exams they need to take in order to enter a higher education?
 
@tom_mai78101 Yeah. My high school counselor made it very clear what was needed to do that
 
7:21 AM
Because, to an international student like me, without being familiar with the ways of applying a school, it would be complicated without any guidances.
 
@tom_mai78101 The hardest part with the application process as an international student, I would imagine, is translating grades
Since not every school uses a 0-4 GPA scale, for example
 
@Insilico Yeah, that's definitely one major factor.
 
And of course whether the classes you took meet the entrance requirements
At the University of California, you have to meet these things called the A-G requirements before being admitted as undergraduates
 
Again, I'm unfamiliar with it.
This is becoming more of a problem if this keeps up.
 
@tom_mai78101 The policies are different for every university system
So it really depends on where you want to apply.
 
7:27 AM
0
A: C++ 11 Delegated Constructor Pure Virtual Method & Function Calls -- Dangers?

Lightness Races in OrbitIn a typical single-constructor inheritance scenario, it is UB to call a pure virtual function in the base constructor: [C++11: 10.4/6]: Member functions can be called from a constructor (or destructor) of an abstract class; the effect of making a virtual call (10.3) to a pure virtual functi...

 
For me, I'm looking forward to applying for an institute to get myself a Master's degree.
 
@tom_mai78101 Oh, so you already have some kind of undergraduate degree?
 
I'm close to graduating as a senior.
Unfortunately, I have compulsory military service. So, the application process for me is a burden.
 
@tom_mai78101 What country are you applying from?
 
@tom_mai78101 Israel?
 
7:29 AM
Taiwan, applying to Mass. Worcestor Polytechnic Institute.
 
@tom_mai78101 Have you taken a look at their website?
Pretty much all institutions have a website that tells you how to apply and what you need to apply
 
Yes, it's confusing though.
 
@tom_mai78101 I know nothing about Worcester Polytechnic's admission policy, so I wish you the best of luck! :-)
 
it is a good school
 
@Insilico You can wish me good luck 1 and 6 months afterwards. Military first here.
 
7:34 AM
> defeated Win 7 ASLR by relying on a statically-addressed system object!
fail
 
9
A: C# Set collection?

thecoopI use a wrapper around a Dictionary<T, object>, storing nulls in the values. This gives O(1) add, lookup and remove on the keys, and to all intents and purposes acts like a set.

we should switch to C#. O(1) ordered containers!
 
@user1690130 Exactly, especially one of the few schools where you can get a Game-related Master's degree from.
 
It really is amazing how inventive some SO posters can be with their code indentation. Why is it so difficult for some people to adhere to basic principles of tidiness?
 
how did you pick that school?
 
@user1690130 Don't tell @Zoidberg or @DeadMG!
 
7:35 AM
@LightnessRacesinOrbit deadmg is a bi-atch. of course not
 
@user1690130 I picked it since it's close to my mom's home.
 
@LightnessRacesinOrbit because some people are idiots?
 
@doug65536 Dictionary is not ordered.
 
@LightnessRacesinOrbit Do they live near Worcestor, MA?
 
@TonyTheLion Yeah but I mean.. seriously!?
 
7:36 AM
@LightnessRacesinOrbit Have you seen freshmen CS students code?
 
he says it is just like a set. that was the joke. oh well
 
@tom_mai78101 you live in taiwan but he live in massachusetts, usa?
 
@user1690130 I live in Taiwan, but my mom works in MA.
 
@doug65536 i just remembere one challenge bout ancestry i posted in the perl threa
 
@user1690130 I have a choice to study abroad in the US.
 
7:37 AM
@Insilico Sure
 
@tom_mai78101 great!
 
@tom_mai78101 Is your mom a naturalized U.S. citizen?
 
@LightnessRacesinOrbit yes, seriously. :)
 
@Insilico Yes, naturalized.
@Insilico I'm also naturalized, as I'm born in CA.
 
@tom_mai78101 Oh, so the U.S. part shouldn't be a problem then.
You have a dual citizenship in the U.S. and Taiwan?
 
7:39 AM
@Insilico A part of that part is no problem. But, it's been 10 years since I left my country of birth.
@Insilico Yes.
Speaking of dual citizenships, anyone else in the Lounge have dual citizenships?
 
@tom_mai78101 I do
@tom_mai78101 the UK, and SO
 
@LightnessRacesinOrbit SO?
 
@tom_mai78101 Stack Overflow
I am a SOtizen just like you buddy
 
holy fucking shit, it hurts :(
 
7:43 AM
I am well-travelled and culturally aware, but no dual citizenship for me. Not yet, anyway. Maybe one day...
 
@DeadMG From doing this, I presume?
10 hours ago, by R. Martinho Fernandes
user image
 
@Insilico No, my stomach.
 
@LightnessRacesinOrbit Perhaps you can get one if you can get to live in the EU.
 
@DeadMG Your stomach seems to act up quite frequently when on Lounge<C++>
 
@tom_mai78101 Yeah - the only difficult part is choosing a place to live and building a life there.
 
7:45 AM
lol
 
ಠ_ಠ
 
@Insilico Far too frequently.
 
Once upon a time I envisioned a dual UK/French citizenship but I never did anything to end up living in France
 
@LightnessRacesinOrbit Is there any difference between "SOtizen" and just "sot"?
 
@TonyTheLion Sword fighting requires actual skill, and is much cooler to watch anyway.
 
7:48 AM
@Insilico I wonder what the yellow cup is for
 
@doug65536 I'm not sure if I want to know what the yellow cup is used for in that context.
 
@Insilico true
 
@JerryCoffin praps not
Dead MGs and one cup
 
@AndreiTita cppcheck finds unitialized members in constructors
 
-5
Q: Do you someone know this C++ answer

user2038876Do you someone know this C++ answer, thanks Function will parse the string as an expression that contains any of: +,-,*,/ to mean plus,minus,multiply,divide Integer numbers containing digits 0-9. The expression should be evaluated left to right, and NOT in standard mathematical order. For examp...

 
7:57 AM
@DeadMG YOu should get the badge of "allways answering questions I'm looking up"
 
@Chad Are you sure you're not thinking of Luchian?
 
@JerryCoffin No, its because I see his dog all the time
 
..
Oh, right.
1
Q: How to execute the php Rets as long as?

jothikannanif(isset($_POST['update'])) { $rets_login_url = $Fetch['rets_url']; $rets_username = $Fetch['rets_user']; $rets_password = $Fetch['rets_pass']; require_once("../include/phrets.php"); $rets = new phRETS; $connect = $rets->Connect($rets_login_url, $rets_username, $rets_password); $search = $ret...

 
8:15 AM
0
A: What is the infinitive of "can"

goingglacialI agree with one of the above posts--that the closest to conceptualizing an infinitive is "to be able." We can confirm this by looking to any of the Romance languages to which English is closely related. For example, to express "can" in French (je peux parler l'anglais=I can speak English), we wo...

^ Wut
 
Wut wut in the butt?
 
8:31 AM
That was exceptionally poor
 
There's a typo.
 
@sehe It's Monday morning..
 
You're forgiven. But not necessarily by all
 
Not for meeeeeeeee!
 
8:36 AM
@AndreiTita You can. Rule-of-Zero
 
Rule-of-negatives
 
0
Q: xocde assignment to cast is illegal, lvalue casts are not supported?

user2038971Can help me to solve this problem, why old compiler is ok but new compiler is fail. thank you very much. error: assignment to cast is illegal, lvalue casts are not supported Code: *((PWORD)pbyTmp)++ = (WORD)(((a_pw[0][i] * a_dX[0]) + ...

goggles
 
Just that title...
 
Ahahahahahah
@sehe wait, what?
 
Oh, it's the actual error message?
WTF is an assignment to cast?
 
8:38 AM
seems like, but look what OP is trying to do
 
@R.MartinhoFernandes It's when you assignment to cast obviously.
 
@sbi I would settle for having my soul left
 
> why old compiler is ok but new compiler is fail
 
you deleted that so fast
 
also he's post incrementing the value after assigning
 
8:40 AM
I couldn't even read it
 
That is a really terrible error message. I have no idea what it is about.
 
@Rapptz Don't worry about it, I was writing stupid things.
@R.MartinhoFernandes It's always the compiler's fault, of course!
 
3
Q: How do the "random" generators in different languages (i.e. Java and C++) compare?

BluefireDespite the weird title, I wish to ask a legitimate question: which method's generated numbers are more random: Java's Random() class or Math.random(), or C++'s rand()? I've heard that PHP's rand() is quite bad, i.e. if you map its results you can clearly see a pattern; sadly, I don't know how t...

No one posts an answer with <random>? :(
 
@R.MartinhoFernandes What?
It's the top answer
 
8:42 AM
If there are multiple overloads of a function and you need a pointer to one of them how do you do that? explicit cast to signature?
 
@Rapptz Oh, missed it.
 
There exists <random> header file in C++11 which provides a whole host of functions for distributions and random number generators. So the support for C++ seems robust. I don't know about Java though. — Anurag Kalia 21 mins ago
 
@AndreiTita Yes.
 
@Insilico Programmers don't make mistakes, computers do.
 
@LightnessRacesinOrbit That's not an answer.
 
8:43 AM
@R.MartinhoFernandes I don't give a fuck :)
 
The answer added it after the comment
> please compile this, and you just need to read getTI() and pop() methods. in the operator << overloading, we see different values for s.getTI and thats weird! please compile this, and you just need to read getTI() and pop() methods. in the operator << overloading, we see different values for s.getTI and thats weird!
lmao
damn it luchian
 
Where is that from?
 
oh look you came
-1
Q: why this unexpected variable change happens?

user2038951 #include <iostream> #include <fstream> using namespace std; const int maxsize=20; class IntStack{ private: int element[maxsize],topindex; public: IntStack(){topindex=-1;} int getTI(){ return topindex; } int top(){ if(topindex==-1) ...

 
Oh, I see it.
 
8:47 AM
Hey look, someone made a tag.
 
robot removed it because he sucks
 
> in fact, the pattern I usually see is roughly right-to-left evaluation.
 
@Rapptz Considering that lots of things on SO seem to defy common sense, perhaps it was for the better.
 
huh @LightnessRacesinOrbit
 
Xeo
8:49 AM
Mornin'
 
@Rapptz What about that confuses you?
 
@Xeo Mornin'
 
morning
 
@LightnessRacesinOrbit Well it's silly.
 
@Rapptz Why's that?
 
8:49 AM
Just the way I imagined it was silly
because if I did cout << function1() << " " << function2() << endl; and it goes right to left
that's be pretty funny
(I am not being serious)
 
Xeo
@Rapptz Function evaluation itself may go LTR or RTL at rand() % 2 == 0. :)
 
"cout evaluates right to left because it uses <<; cin evaluates left to right because it uses >>" Yeah, I can totally picture a noob saying it.
 
Xeo
lol
 
@R.MartinhoFernandes well clearly that's how it works
 
Xeo
That'd have been nice to force evaluation order in C++03. :)
 
8:53 AM
@Xeo Well, you can
Use the ͐ hint operator
 
Xeo
wtf
 
0
Q: Is it possible to get any file (such as jpg, txt) into binary and copy it's binary values to another file

BOSSI want to do some binary level modification in already existing files, For that it need to get files in their binary form. For Example: I have a file name "hero.jpg" or "hello.txt". hero.jpg ...

 
@Xeo ͐a() + ͔b()
 
Xeo
I'll just ignore that for now.
 
8:54 AM
It must be a good question when it's tagged , , and
4
 
@Insilico lol
 
@R.MartinhoFernandes Hhmm.. there was an article about owls on BBC news the other day. now I wonder whether their inspiration was something like this
 
@LightnessRacesinOrbit lol
> Hello this is a content
 
@thecoshman yes, I totally agree. Mine feels like that too.
 
8:57 AM
0
A: Is it possible to get any file (such as jpg, txt) into binary and copy it's binary values to another file

Lightness Races in Orbit Now, I want something like this [..] with any programming language. Here is a solution in the programming language that I created specially for this answer: | hello; ¬ read a content; ¬ convert into binary; . Save it in a .tomalak file and run it through the compiler that I haven't invent...

 
@Insilico lol, I was looking at that
 
LOL.
 
@Insilico You should call it Tomalang.
2
 
Oh, and it's tagged as too! That makes it even better!
 
8:58 AM
@R.MartinhoFernandes ahahahah
 
lol someone downvoted you
 
@TonyTheLion want to go do drugs or something?
 
@R.MartinhoFernandes :)
@Rapptz they're just jealous
 
might as well downvote you too, you know
 
@thecoshman I want to drink myself into a coma and hopefully stay there.
 
8:58 AM
for completion's sake.
 
@TonyTheLion comatose is an adjective
 
@Rapptz Probably the puppy, afraid of competition.
 
I don't know too much, I want the file in the binary form so that I can apply some binary operations on it and store it to another file — BOSS 5 mins ago
 
I have a bunch of functions related to the encoding and decoding of network data. I wonder if I should have separate namespaces for encoding and decoding, or if "encoding" can be used to cover both.
 
@LightnessRacesinOrbit He wants to drink himself into a comatose comatose.
 
Xeo
8:59 AM
@Insilico My brain, it hurrrrts...
 
@R.MartinhoFernandes sure
 
@TonyTheLion indeed
 
@LightnessRacesinOrbit you were right, TIL.
 
Xeo
@StackedCrooked net::encode, net::decode?
 
@LightnessRacesinOrbit drink until it works
 
8:59 AM
@TonyTheLion np
 

« first day (842 days earlier)      last day (4100 days later) »