« first day (1781 days earlier)      last day (3160 days later) » 

4:02 PM
i3 is nice
 
A guy that starts his post with "I am a computer engineer..." is not a computer engineer.
 
google has a new logo
 
Fuck my existence.
 
@ThePhD Bring lube. Seems kinda harsh/rough/dry.
 
4:06 PM
Just... gotta keep a cool head.
I did this before.
 
@ElimGarak I am a computer engineer!
 
@ElimGarak I get it. :v
 
@Nooble You are a beautiful koala.
 
@ElimGarak Yes I am.
 
Does this render for anybody: 🍷?
 
4:11 PM
red wine in a glass
 
@набиячлевэлиь Yes
 
user1804599
oooh
 
user1804599
the gamu is only 22 GB, not 25 GB as I expected
 
user1804599
4:14 PM
@unordered_meow white wine in a red glass
 
Seen on some piece of documentation.
 
is silverlight still a thing
 
It should be dying.
Hopefully.
Eventually.
 
Was Silverlight ever a thing?
@elyse Downloaded already. :P
 
@ScottW yes I'm a bright energetic young mind! how much do you pay?
 
4:22 PM
thats a lot of money
 
buttecoin
 
@ScottW where do I sign
 
like what?
lol
 
@ScottW what does your stack look like
 
@Mr.kbok Looks interesting.
 
4:24 PM
@caps I hope :) it's a bit of work
 
What are these 'dishes'? Are they a new javascript framework
 
dishes radishes
 
@Mr.kbok bot? ;)
 
I'm tired :)
 
4:25 PM
@Mr.kbok Ah yes, pancake.js
inb4 it actually exists
 
@Mr.kbok That looks neat!
Wish it could be done with just plain ol' static reflection, though.
 
@Mr.kbok Me to.
 
@ScottW Scotty-kins.~
Aww, alright.
I'll be waiting by the door for your return with a big cake. ♥
 
@Mr.kbok Are those #includes third-party libraries or stuff you've written? Does it work for reading in XML files?
 
@ThePhD My opinion on static reflection:
 
4:28 PM
@Mr.kbok You're probably right. ;~;
 
user1804599
Use D.
 
@caps "stags" is the name of the library I'm writing. pugixml is a xml library @sehe vouched for (and I would, too, now)
 
user1804599
 
@caps yes, it reads as well.
@caps The "stags/xml_pugi.hpp" is there because there will probably be a backend system if I have time eg msxml or whatnot
 
browsing repositories on github for a single organization is so stupid
there's like 8 results per page
 
user1804599
4:30 PM
Hmm.
 
user1804599
You can have values of types that are unapplied type constructors.
 
I implemented basic support for arrays today :)
 
user1804599
So I have to reflect that in my VM.
 
user1804599
Well shouldn't be very hard.
 
user1804599
@fredoverflow make the curve an arrow
 
user1804599
4:32 PM
It'd be clearer.
 
You mean the end needs an arrow tip?
 
@fredoverflow how do I get the size of the array
 
user1804599
Yes.
 
Or get rid of the curve and make it straight?
 
wait are you making a new language or what
 
user1804599
4:32 PM
No.
 
@ʞɔᴉN In C? The usual way via sizeof, but I haven't implemented sizeof yet.
 
@ʞɔᴉN Use vectors instead.
 
@Mr.kbok Wow, that looks fantastic. I wish I'd known about it a few months ago.
 
user1804599
@fredoverflow Implementing sizeof is very difficult.
 
The VCL's XML reader is obnoxious to use.
 
4:33 PM
@elyse I don't support VLAs ;)
 
user1804599
You first have to check whether the argument is a VLA. If it is, you need to emit c.. oh.
 
Built in iterators!!! Wow!
 
user1804599
Even then, you have to compute struct layouts first.
 
structs aren't supported yet either ;)
 
That's so much better than anything in _di_XMLDocument
 
4:35 PM
@caps pugi is reall good, yes. stags is still wip though :)
 
user1804599
I like how 1 + 2 * 3 is 9 in Smalltalk.
 
@elyse how? just curious
haven't really put much thought into low level stuff like this yet
 
sizeof() is trivial unless you're dealing with shit like VLAs... in which case, just design your ABI correctly and it's still trivial
 
can I construct a null pointer of type T on-site?
 
user1804599
4:42 PM
@fredoverflow then it's fucking easy
 
user1804599
@Mr.kbok static_cast<T>(nullptr)
 
@elyse so LONG
I wanna do T*()
 
user1804599
template<typename T> using alias = T;

alias<T*>()
 
even longer
 
user1804599
Don't use C++ if you want conciseness.
 
4:44 PM
meh
I'll make a helper function
I will name it elyse_sucks
 
user1804599
Indeed I do. :3
 
HA
I'll name it elyse_doesnt_suck then
 
user1804599
I wish I were your girlfriend.
 
user1804599
You're hot.
 
I know right
 
user1804599
4:45 PM
fold
 
I could name it elyse_doesnt_suck_ENOUGH but then it would be even longer than static_cast<T>(0)
 
user1804599
[]{T*x{};return x;}()
 
user1804599
static_cast<T*>(nullptr) (for comparison)
 
user1804599
HA IT IS SHORTER
 
user1804599
wooo download over 50%
 
user1804599
4:48 PM
Steam is amazing CDN.
 
static_cast<T>(0)
(T*)0
 
user1804599
nice
 
user1804599
excellent
 
I'm quite happy with this stags thing
It relies on an msvc quirk though, so I don't know how it would work on gcc
ofc the room is empty audible sigh
 
What what
 
4:58 PM
> This is a group about face-to-face play of Diplomacy in North America and throughout the World, focused mainly but not exclusively in tournaments.
Fucken merkins
 
@Nooble zisse
The implementation relies on an msvc quirk used by BOOST_TYPEOF to implement a compile time counter
It's not 100% necessary but gives a good compilation performance increase
I know refp wrote about something similar, based on constexpr but standard-compatible
I don't really give a shit about other than VC clang and gcc so I wondered if anyone knew of something that would work on the two linuxish compilers
If no one does, well, it's gun be slower
 
@fredoverflow What is this again?
I remember seeing it before
 
May 23 at 12:30, by fredoverflow
Someday it'll be a beginner IDE for C.
May 23 at 12:31, by fredoverflow
Hopefully I'll have a workable prototype in September.
Today is September 1st, and I kinda have a working prototype :)
Well, you can declare and assign to variables and stuff, but you cannot even write Hello World, since there is no console yet :)
 
@Mr.kbok readability first
If you use obscure language features to implement something trivial because you couldn't be arsed to write 10 more characters, I'll dislike you.
 
@elyse You underestimate the level of difficulty in fucking ;)
 
5:15 PM
I have the formula!
its basically like:
 
Cool.
 
lady gaga == Fuck off
thats it
 
@fredoverflow Today is September 1st and the homework dumps have already begun
 
@Borgleader Sounds more like a math problem than a programming assignment...
 
@fredoverflow Still a homework dump ;)
 
5:25 PM
@fredoverflow it looks a lot like C
 
why did john lennon choose yoko, out of like basically everybody . What a DC!!!!
youtube.com/watch?v=HdZ9weP5i68 a finfe example of a fucking COMPLETE and utter looney
 
@StackedCrooked Well, a subset of C is bound to look like C, isn't it?
 
It it compilable with C compiler?
I suppose it is if it's a strict subset.
 
> Bitcoin miners continuously scan github source code for amazon access keys. They then use these keys to spawn large numbers of EC2 instances to mine for bitcoins. They make big coin while those who were exploited are left with a huge bill.
Bitcoin is the most retarded thing ever.
 
5:40 PM
What is Bitcoin, in a nutshell?
 
I have no idea. But it can be "mined", hence shit.
So, he is going to have to cover the cost? The full $6500?
 
@fredoverflow What do you want to know?
@ElimGarak Almost certainly, yes.
 
Enough to understand the exploit.
 
@fredoverflow A digital currency that can be created by expending CPU time.
then you trade in the digital currency for your favourite actual currency like US dollars.
 
@fredoverflow Bitcoin prices are largely constrained by the electricity and hardware costs that it takes to "mine" them fresh (crypto-mathemagic). People also mistakenly push AWS access keys to public source control. Bots scrape the internet looking for these blunders and start mining bitcoins on other AWS instances and put the bitcoins in their own wallet without any cost to them.
 
5:46 PM
So you get paid because your computer is looking for Aliens?
 
more or less.
 
Bitcoins are generated through a series of hashes. When a hash is broken, the miner signs their proof with the hash, and is granted a certain amount of coins; Everyone can now uncover the next hash in the sequence and continue mining.
 
so if you can use other people's computer to look for aliens, you can get paid for nothing effectively
renting cloud computers in other people's name is a quick way to get a lot of computing power
 
@fredoverflow A stupid idea
 
Cat's just trying to keep prices low so he can keep buying.
 
5:51 PM
user image
10
 
Buttcoin.
> Satoshi Nakamoto (中本哲史 Nakamoto Satoshi?) is a person or group of people who created the Bitcoin protocol and reference software, Bitcoin Core (formerly known as Bitcoin-Qt).
is a person or group of people, that really gives credibility to the whole thing.
 
@ElimGarak Nobody knows who did it, actually.
Satoshi might be a pseudonym for... something.
 
Which is probably good for whoever is behind it. He'd be pretty high on the FBI & Secret Service list, as there has been a call to outlaw it these past few years.
(not sure what's the state right now)
 
tinyobjloader is relying on the fact that there will always be the same amount of vertices as there are vertex coordinates.
 
6:06 PM
Which is a bad idea as many techniques require duplicate vertices. :P
 
@ElimGarak what lol
 
@Prismatic What seems to be the problem? :P
 
Since when has there been a call to outlaw it?
 
@Prismatic Since forever?
 
6:08 PM
@fredoverflow his voice is so wonderful <3
 
It's been debated for years, several countries did in fact already outlaw it. Lately, there has been a push in the US to outlaw it as well.
 
By some fringe old politicians who wouldn't know anything about technology
 
@AlexM. If you like it, you should put a star on it.
 
I don't see why 'satoshi' would be on some secret service /FBI list
 
I have no idea whether you're trolling or not. They are watching it like hawks, you can bet on it.
 
6:11 PM
What would they accomplish if they knew who the inventor of bitcoin was?
 
Oh, man, you really don't know how the law works.
 
Okay
 
Currency is a big deal. Secret Service literally was a direct part of the US Treasury until 2003, and is still tasked with the security of it all.
 
@Prismatic That describes like 99% of all politicians, especially in the US.
 
@ElimGarak That's not an answer to why they would care who invented it to the point of it being on some secret list
 
6:14 PM
@Prismatic It's not a secret list. If it were outlawed, the guy responsible for it would catch the brunt of it. If he were known. That's why he is not taking his prideful inventor place. Or them.
 
You can't outlaw a digital currency. Its a meaningless application that does nothing until you start trading it for something
you can outlaw the latter, not the former
He's not taking his 'prideful inventor' place because he probably has a lot of bitcoins... which would make him a target for criminals
 
Yes... That's precisely why... And that's a meaningless distinction in the grand scheme of things. Go to Russia and publicize your activities. Let us know what happens.
 
Alright, I don't think there's any point discussing this with you
 
Well, you're talking out of your ass. It is outlawed in several countries, with many more currently considering it. Russia being one of them. Not up for discussion. Just how it is.
Everything that relates to Bitcoin is just one big recap of the criminal shenanigans you can get involved with since its introduction. Some fresh, some old.
 
> True story: Part of a team that installed a popular time and attendance software package at a hospital where I worked. Soon after the installation, the software blew up when processing the weekly time and attendance records. Software vendor spent DAYS trying to figure out the problem.
> Turns out one of our employees last name was Null. And the system choked because it interpreted the last name Null as a null value. The software vendor tech I was working with could not believe that they had never run into the problem previously. Soon after our problem was resolved, another hospital in the area that used the same software called the vendor with a similar problem. As it turns out, the employee had quit our hospital and moved to the other.
 
6:18 PM
@ElimGarak Yes, but.. nobody cares about Russia
 
Well, that too. In the end, I don't know how it escalated to this, all I said is it is good he/they are an unknown (for them).
 
@fredoverflow lol weakly typed shit
4
 
@fredoverflow their QA team could do better
 
Anyone wanna subscribe to my newspaper? It's published every 7 days, and its name is "The Weekly Typed."
 
I've never quite understood the appeal of "not caring what the type is". I always think about it.
 
6:22 PM
there's a difference between not caring what the type is, and randomly reinterpreting a string as null.
 
That too. Wait, did it interpret "Null" as null? That takes the cake. Man I need to stop TL;DR.
> As it turns out, the employee had quit our hospital and moved to the other.
Smart man.
 
lol
Oh, god, this car hacking bullshit and incompetent developers making it not a myth. Entering through a half open door is not breaking through it.
 
-17
Q: I was interviewed by a software firm and was asked to write a program to find largest 10 numbers among 100 random numbers in java

veeresh charantimathto write a program to find largest 10 numbers among 100 random numbers in java Can anyone help me out with this one please as i'm not sure how to approach the problem

 
Just when I thought people couldn't get any more incompetent.
 
6:36 PM
you're welcome. — Alex M. 7 secs ago
 
ITT: Elim Garak is just reading AT and posting all the articles here
^^
 
Yes, I am. I am looking for an official account from Nvidia on all the accusations flying around and also are they kinsmen of Peter Molyneux. Love when they get kicked in the groin. Done now, tho.
 
@Mysticial I think I just understood what std::partial_sort was for.
 
@fredoverflow wow other comments are retarded
written by java badlets
 
6:51 PM
I don't always have much work to do, but when I do, I don't feel like doing it.
 
how do you pronounce IEEE without sounding like an idiot?
it must definitely not be ay ee ee ee because lol
 
full name
 
full name
 
@unordered_meow lol
I'm thinking maybe I three-e
 
wait, that doesn't fit "without sounding like an idiot"
 
6:53 PM
No, really, full name. Or at least a part of it which makes it understood that you're referring to IEEE.
 
of course it does
did you try it and you sounded like an idiot?
 
sounds fine here
 
Fortunately, IEEE doesn't come up often in the conversation. You just reference some of the things they're implicitly responsible for.
 
@AlexM. ouch
 
6:55 PM
hi
 
just spell it "ay eeeeeeeeeee" with a prolonged 'e' to avoid confusion with Internet Explorer
 
@unordered_meow yea that works I think
maybe take a pause between ees even if it makes it sound like IEE
 
@AlexM. 'eye triple ee'
 
6:56 PM
@Borgleader A name for async compute, a bit dumb. One of its applications may be for shading, hence...
They can do async compute, they just can't do it quite right. Small tests are easy, but when the workload "gets real", there are issues.
 
ay eeeeeeeeeee it is then
thx @unordered_meow
 
no problem
 

« first day (1781 days earlier)      last day (3160 days later) »