« first day (1117 days earlier)      last day (3198 days later) » 

10:02
@Zak Code that works as intended is way worse :/
Then the OP can fill in how he intended it to work in... very strange ways
@DanPantry More Microsoft sorcery?
@skiwi You should add an answer here to say not to use that, as... well the top two definitely do, and the last kinda does.
0
Q: CLS_Compound_Predicate

ZakI have a CLS_Comparison_Predicate which will take an input value, perform a logical comparison and return a Boolean. CLS_Compound_Predicate instead takes lists of predicates and an inputValue, and performs MatchAny() or MatchAll() operations on the predicate list. E.G. predicate_1 has >= 3 ...

@JoeWallis I don't think there's a good definition though where users won't workaround the definition
@Captain s
10:06
As this code works and you only need advices on it, you could ask the question on Code ReviewSerge Ballesta 45 secs ago
@Mast Isn't Sweden even colder than The Netherlands?
@skiwi if you ignore the saunas ;-)
obutto.com this looks like a nice desk
looks very James Bond villain-ish
also not the cheapest thing in the world at 700 eur
Sim racing setup seems to be 400 though
10:16
also you have to pay another 100 euroes for a triple monitor setup
honestly, I'd buy it if I had 800 euro + cost of another monitor to throw around, looks fun
So would be 400 + wheel/pedals/etc = 200-300 + one screen
Single monitor I guess :P Thing is my current workplace is crappy and even a wheel won't fit here
I looked at playseats but placing the monitor is not fun
and I tell you again: such titles are overly generic and result in less eyes on your question. Aside from that: the dot-product is exactly the problem you wanted solved. The "problem" of the question may be a differently framed one, but the underlying problem is exactly that. Every question here wants to refactor code to be more succinct (under constraints) and as such your question title is nonsensical. Usually questions with generic titles are edited (unless it's not worth the effort). If you want to discuss this further, feel free to visit me in Code Review Chat or ask on Code Review Meta. Thanks. — Vogel612 1 min ago
in case they drop by....
That thread doesn't look likei t's going to end well, honestly
holy crap
you guys remember the stuff I posted on the reddit page about LoL's security?
a rioter just reached out to me and offered to get me an interview
wait wut?
10:26
recruiting out of the community :D
I posted the above, and a rioter who saw the thread private messaged me
@DanPantry :o That is very interesting!
I'm afraid the codebase of LoL by itself is kind of a mess looking at the bugs they need to fix every patch
It is, but things look like they are gradually getting better
From some of the new tech they've thrown out recently, it looks like they've improved a lot
See, for example, Taliyah and Aurelion Sol - both use really cool new mechanics that didn't exist before
Taliyah using the fricking ground as a resource and Aurelion Sol's tail not being targetable by skillshots
the tail not being targetable by skillshots is just a hitbox - sprite discrepancy
the taliyah mechanic is similar-ish to skarner's passive
everything else of hers is a very nice kit-reuse
Still, that was not possible a few years ago
10:32
also IIRC the codebase for the game itself is mostly in C++
They use a variety of different languages, C++ for the game engine, but Python for some we services, Drupal, Go.. etc
(I had a friend who worked at Riot)
Maybe they've improved then, hopefully
So..... they've put me in contact w/ a team at Riot
lol
who knew that s***posting on reddit would land you with an interview?
It seems like the norm at most gaming companies is to have an - how should I call it politely - unoptimized codebase and way too many unnecessary bugs from an outstander perspective
@skiwi probably because games are hard and the priority is on delivery rather than quality
10:39
Speaking about games.. looking through my Steam friend list and someone is playing Job Simulator store.steampowered.com/app/448280 in Virtual Reality mode
Talk about backwards stuff ;)
Aww yiss! Highest grade on my Examination project!!! :D
7
(I just had to share)
@Gemtastic Congrats :)
Thanks. I still don't have a grade on my internship courses but that one felt good! :)
0
Q: Object doesn't transfering into function. Uncaught TypeError: Cannot read property 'call' of undefined

Vasyl PylypivI need to check animal type without using operator "instanceOf". I decided to use variable animalType, and compare it with different values. But when I'm trying to run my application, I receive Uncaught TypeError: Cannot read property 'call' of undefined. I cann't understand, why object isn't tra...

@CaptainObvious boooooooo
10:45
@skiwi Why the heck would you want to do that?
@DanPantry Many games with their own engine are written in C++. It's fast. The amount of odd bugs companies like Riot have is also the reason why people tend to avoid C++. It's hard to maintain when you got 400 files over 2k LoC long.
@Mast Because life, or no life?
@Mast to be clear I'm not criticising C++ here :P just that they don't solely use C++ internally
Anyone fiddled around with a Raspberry Pi? I'm wanting to connect some simple device to my TV to directly share content to my TV
I've got a ChromeCast, it works great for Youtube etc. but it's not made for 1:1 sharing
Connecting my PC or laptop to the TV is also not ideal ;)
11:02
@DanPantry Of-course they don't use C++ for their web stuff. That would be crazy.
@skiwi Still got one hooked up somewhere, why?
Sharing content to your TV is quite doable with a Pi. XBMC is made for just that, being a media centre.
@Mast Okay, now wondering if a Smart TV with Android TV will be better than Pi, not sure about their responsitivity
For some values of better.
Definitely more expensive
True, but if it got worse performance then it's definitely a no-go
The old versions of the Pi could do it. And it got better.
Faster.
Mostly interested in streaming some motorsport races and rewatching episodes that were on TV tot he TV
11:06
The newer version has way more CPU than the old one.
While you're at it, get 2. One for your media, one for embedded projects.
Hmmm this TV has a quad-core processor, but ti doesn't specific if that's only for its OS or also used for any display activities in itself
Probably for the whole thing.
There's probably a small chip for the actual video processing though.
Not sure whether it's worthy to be called GPU.
0
Q: Best Way to Map Immutable Entity Content

RuncornCurrently our application have many immutable entities which are used for holding information on database level. For example, public class Status implements Serializable { private static final long serialVersionUID = -6253387194209148223L; @Id @GeneratedValue(strategy = GenerationT...

Technically it's a MPU, multimedia processing unit.
And in comparison a Raspberry Pi 3 offers a quad-core as well, tough choice, or maybe easy
11:19
Not a hard choice for me, but you'll have to make that decision yourself :P
11:32
0
Q: HTML page compiling LaTeX code to nice mathematics display

coderoddeI have this (short) HTML page that allows the user to input his/her LaTeX code, after which it will compile the code and display the result using MathJax. index.html: <!DOCTYPE html> <html> <head> <script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inline...

11:44
0
Q: EclipseLink metadata generation with Gradle

RobinI'm new to Gradle, so I expect many things I did wrong in my build script, which is pasted below. What is special about that build script is, that it runs the EclipseLink metadata processor and copies the generated Entity_.java file to a folder in the sources directory. Are there ways to make m...

11:55
Monking all!
An ideal forum for this question would be codereview.stackexchange.comHank D 35 secs ago
@Duga ಠ_ಠ
@DanPantry We gottem
> Also, CR isn't a forum.
there are two kinds of people in this world. People who realise CR isn't a forum, and people who are wrong.
That interview I mentioned; I got hired.
7
11:59
@Gemtastic Grats
!
That's pretty gemtastic!
@Gemtastic Well done!
Thanks. Indeed. Funny enough they liked that I have Ruby in my backpack
I hope I can manage this nicely with the company I've been interning at
They've been meaning to hire me but haven't provided me with anything to actually do :/
@Gemtastic Woops :P
I'm wondering what's going to happen with this Riot email I got
well.. PM
Monking
is anyone familiar with BackBone.js?
Yeah. I've presented it as "I get to work with a close friend" which is true.
12:02
@Malachi I have used it in the past
@Gemtastic My internship gave me too easy of a job
After two days I was a week ahead of schedule
And I was in training all of the first day
I've learned a ton of stuff, but there hasn't been anything to do that generates money
neither for me or for them
@DanPantry I am looking at This Question and I am curious about what the user calls"View like objects"
@Malachi not something I have seen before
it doesn't seem like they are needed, they aren't referenced anywhere in this code
12:03
that term, that is
I concur
I'm going to assume by "View-like" object they mean that they have the same interface as a new Backbone.View object
I thought it may be something that is injected into a view or something and that they were necessary even though they were not referenced
-2
Q: mnzx cmzc skdkhdskhdskhdsdsjhdsjsdjhdsjhdsdsdshhjsdhds

h jhjh sdcMogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jungle C is A blood rock perl ruby.Mogli jung...

added it into my answer @DanPantry
@CaptainObvious if we close that we can delete it
12:07
don't things get auto-closed/deleted at -10?
@DanPantry don't think so....
idk where i heard that..
@CaptainObvious Dafrick
@DanPantry actually
lol who favourited it?
@Vogel612 that too
12:09
Flag as low-quality, not spam
It's not advertising a product, that flag would be declined
could be rude or abusive
I flagged it as spam
but it seems toh aev auto-flagged it as rude/abusive
i've just re-flagged it as low quality. the mods will probably yell at me for that
whenever I see spam I think "random crap" not "hawking"
Our mod saviors have deleted it, praise be to @Mat'sMug!
5
12:10
lol the mug killed it
@Malachi IIRC facerolling is actually rude
@Vogel612 do you mean eye-rolling?
nope. the content of the post... facerolling on the keyboard
its work for me just take a code review — mayur 36 secs ago
12:12
"inappropriate for respectful discourse" .... well damn right it is
@Vogel612 oh I et ehat you are saying
The user was also killed that asked the question, lol
@syb0rg and nothing of value was lost
@DanPantry I had music going and didn't realize that Dora was singing in the background
I can't seem to find the gif I'm thinking of
But there's a gif where God flicks Homer Simpson out of the Garden of Eden
that's how I imagine the Mug against that question/user
12:13
lol
@Vogel612 Mod tools?
@DanPantry and you were tilted about oneboxed gifs
@syb0rg 10k
@Vogel612 I wasn't going to onebox it :p
@Vogel612 I always forget how to get to them haha
12:14
/tools
Ohhh, pretty
actually they're rather ugly IMO
I did /tools and all I saw was a picture of myself and @JeroenVannevel.... ;-)
@DanPantry well you ain't got 10k do you :)
psshhhhhh
12:17
0
Q: C++ Dynamic array based stack

Craig SwearingenThis is my first post so if I am doing something wrong in the post please let me know. I have implemented a dynamic array based stack. Can someone point out any pitfalls or things that can be done better? MyStack.h #ifndef MYSTACK_H #define MYSTACK_H #include <iostream> #include <stdexcept> ...

Trying to repair a laptop by phone. No fun.
the best way to repair a laptop by phone is to call up your local PC shop and buy a new laptop
All other devices are out of reach or otherwise occupied, luckily phones can SSH as well.
@DanPantry an engineer calling for help? Good joke.
It should be fine in a while, but I'll definitely make this proces easier for next time.
@syb0rg how the word "forum" applies to SE is instructive, but too restrictive an interpretation might discourage people or mislead them. True, CR, like all SE communities is not a "discussion forum" (see codereview.stackexchange.com/tour), but they are forums in an abstract sense, and as such invite people to post questions and solicit answers. this question raises the question, but those that say it isn't a forum are using a specific definition, and those that say it is are using it in the abstract sense. — Hank D 51 secs ago
@Duga If you need to resort to being technically correct to add a point to your argument, you lost the argument.
12:31
@DanPantry I love on how the tour he linked it says "Code Review is a question and answer site"
@HankD "post questions and solicit answers" - so it's a Q&A site, as identified by the Code Review tour you linked, not a forum. There are similarities between the two, but also quite a few distinctions that if not recognized would make your contributions off-topic. — syb0rg 50 secs ago
soo... we had the same thing a while ago....
0
Q: Sign Up / Log In page header looks funny

Vogel612The page header for the Sign Up / Log In page looks a little funny: Maybe we could fix that?

'bout time, StackExchange
> Return Values: ST_RET // Always returns SD_SUCCESS
Well, guess I don't have to check that return value then
12:40
god bless documentation. whatever would we do without you.
in other news, this is playing on the office speakers.. lol
The funny thing is that they check the return value in their own example code
But that actually makes me question the documentation a bit
because reasons...
fuzzing?
is there score fuzzing on SO?
linked when it's explicitly linked, related when it shows up in the "Your question may have an answer at...." on the "Ask question"-page
It'd probably be too expensive to do checks for dupes
12:47
I meant more about the differing scores
blame caching
Code review questions belong on Code Review. — Ansgar Wiechers 18 secs ago
0
Q: Hiding table data <td> using [ngStyle] Angular2

Pratik KelwalkarI Am trying to hide a table data using the following <td *ngFor="let tableHeaderItem of gridHeaderData" [ngStyle]="{'hidden' : tableHeaderItem.hidden ? 'none' : 'table-cell'}"> But it isn't working, I tried removing the quotes 'hidden' to hidden, but it just doesn't work

my god angular 2 is ugly
@AnsgarWiechers but it spits out a total that I do not know if it is really correct or not Since Code Review deals in working code only and OP is not sure whether it's working, I'd strongly advice against posting this on Code Review. — Mast 19 secs ago
@AnsgarWiechers This question would be closed on Code Review, as it seems to be asking if the code is working correctly and not for a review of the code. — syb0rg 50 secs ago
13:06
Hm, user deleted his question
Now let's just hope it isn't incoming.
If he comes to CR, he was warned
Yup.
Doesn't look like he is about to sink our battleship
If anything, he'd sink his own battleship.
13:11
0
Q: Iterating through a list of lists of tuples

Rodrigo CanoI have this function neighbor() that works on this matrix: matrix = np.array([[3,3,3,3,3,3,3,3,3,3,3,3], [3,2,2,2,2,2,0,0,0,0,0,3], [3,2,2,2,2,0,0,0,0,0,0,3], [3,2,2,2,0,0,0,0,0,0,0,3], [3,2,2,0,0,0,0,0,0,0,0,3], [3,2,0,0,0,0,...

@CaptainObvious Broken. 2 more VTC.
13:28
@DanPantry lol
0
Q: Finding the mean using RxJava

Ragunath JawaharI'm learning RxJava and this is what I attempted to find the mean of 'n' transactions. List<Transaction> transactions = TransactionsStore.getTransactions(); BigDecimal nTransactions = new BigDecimal(transactions.size()); Observable.from(transactions) .map(transaction -> transaction.amoun...

@quill around?
no, Australia @Malachi
I have always wanted to visit australia
13:34
@Malachi Depends
@Quill I just branched popcorn, and I wanted to know how you test it?
how I test it? hmmm uh well I just hope it works when I use it
actually I forked it and then branched it
but I have some idea about making the HTML stuff a little cleaner
that's cool, I basically just copied the HTML of the upload button
if you're asking how to test JS code in general, I just use grunt, mocha and coveralls
@DanPantry what is he talking about at the end. a "Wiggle"? what is that?
13:38
@Malachi No idea
@Malachi oh god save yourself now
don't google it unless you want to cry salty tears of blood
but I already did
and still not following
that was my next guess
@Quill LOL
13:39
@Quill not watching that, it will be Rebecca Black all over again
3
it's a kids tv show thing
oh god
dylan moran is hilarious
"Back then, women had WOMEN'S THINGS. She could be at home squirting jam into an envelope and it was NONE OF YOUR BUSINESS"
@Quill Are you ok, did you have a stroke?
wat
Try closing your eyes and touching the tip of your nose. Can you do that?
I know what my next project's gonna be; link collecting.
Like an online link library
13:50
@Gemtastic Yes, I've known where the bloody thing is located for so long I can do it by heart.
@Mast If you've had a stroke you can't do that
So it was directed at Quill
why would someone be having a stroke? Is this is the prelude of a joke, I'm gonna feel very disappointed
That song near made me have one
Fact: Song and music is great therapy for stroke-related Aphasia.
So he should have an anti-stroke?
He should not link songs like that
I was honestly worried
13:53
Link songs here all day.
That's a better place to links songs at all :)
Did you like not read the conversation above it
@Quill do you have a chat room for Popcorn, is our javascript chatroom still open?
No to both
I had a JS room a little while ago but I asked a mod to delete it
Creating a new room is easy though.
13:56
I might have one
14:11
0
Q: ValueError: needs to have a value for field "cart" before this many-to-many relationship can be used

Михаил ПавловI'm facing the problem with the following code: class Cart(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, blank=True) items = models.ManyToManyField(CC, blank=True) total = models.DecimalField(max_digits=10, decimal_places=2, default=0.00) def __str...

Zak
Zak
@CaptainObvious VTC Broken
Greetings, Programs.
our individual executables were combined into one it seems
The comments from Google in the Chromium browser source code imply this is a "undocumented Exception", reference: 1252-00bb8fd8c843-dot-chromiumcodereview-hr.appspot.com/…RoundSparrow hilltx 30 secs ago
"You lift something when you have to. Piano falls on granny? You lift the piano. Because granny has mixed feelings about the whole situation. Sunday lunch continues. He didn't do anything like that! He went over and lifted the heavy thing. And then put it back down without moving it. And the people said 'youre the person we want to deal with taxes'". - Dylan Moran on Arnold Schwarznegger
I forgot how much I liked this comedian
14:26
If your code is working and you are looking to simply discuss improvements etc, you might want to consider the following SE instead of this one: codereview.stackexchange.comDave 21 secs ago
14:51
0
Q: How to optimize the long detailed form in ruby on rails

Dinesh SainiI have a long form which includes many nested form, I have tried to use partial but I believe partial not working fine and object is not transferred there. Any help will be appreciated. <%= link_to "Back to Search the listing", root_url, "data-no-turbolink"=>"true" %> <...

15:03
please ask in (codereview.stackexchange.com)[codereview.stackexchange.com/]vsync 32 secs ago
15:15
@syb0rg Got a fresh install to play with. First results. Not too good I'm afraid.
@Mast Ah, I've already fixed that issue somewhat but just haven't pushed the fix to Github yet since the patch isn't finished
Even if I had pushed that fix you'd run into problems trying to build the dependencies
sp_MSForEachDB only works for strings of 2000 characters and under - could this be the issue? A good way of getting round this is implementing an alternative proc like I did codereview.stackexchange.com/questions/117386/…Chris J 1 min ago
@syb0rg One problem at a time ;-)
Anyway, you know where to find me. I should have a stable testing environment for you.
@Mast I also haven't tested my fixes on my unix machines at all
@Mast I'm also trying to make it so you can build it if you have MS Visual Studio C++ stuff installed
Cause I think that might be easier to tell the common user how to use then MinGW or Cygwin
Well... Colleague is back at it again. Instructed another colleague how to add translations to the DB, said that "it'll take time for them to propogate".
15:27
Despite my mild hatred for it
Said colleague has now been sat there waiting for the translations to magically work.
The translations are stored in an ACID compliant database and the user gets then ew translations upon page refresh, not upon waiting...
@DanPantry Sprinkle glitter magic fairy dust on his computer
¯\_(ツ)_/¯
also, despite the fact we only support Chrome for our app, IE10 is the only version isntalled on the test servers.
And you can only get error information by being on those test servers.
@syb0rg If you need a guinea pig...
so I am now trying to diagnose an error, can't install Chrome on the test servers due to the proxy, and I can't get the error information remotely.
...........
15:30
@syb0rg I'd say get it working on OSX and *nix first. Windows has nothing to do with the final purpose of Khronos after all.
@Mast True, it works pretty well on Unix systems I believe but I need to extend it as a lot of people own Windows machines
You can't fix all problems at the same time.
Set priorities.
@Mast Oh, is this Linux you were testing on?
Yup
Well shoot, I thought you were on Windows
More work for me
15:39
Fixed the distro on my main laptop, makes things easier.
15:55
0
Q: Higher performance reading shorts from bin file

Javier Ventajas HernándezI just got rejected at the tech interview of a job application. They gave me the following exercise for me to complete: They gave me a bin file with 10 million pairs of 16 bit signed integers. From those 10 milion, I had to find the 10 closest points to (-200,300) and the 20 furthest points to (...

16:13
That's odd, my Windows thinks the time shifted 2 hours back...
16:29
Take a look at this. I wrote this about 2 years ago as a learning project. It can certainly be improved, but it should help. — JRLambert 41 secs ago
0
Q: User control wpf can't create by myself

Dmitriy PolyanskiyI need some help with this control. I've created this but I don't like how I have done it. Could somebody review my xaml code and give me some advise how can I improve it? The control I have to create is below. My code for this control: <UserControl x:Class="LockerWpf.Views.Controls.BoxTypeI...

I'm trying to cross-compile something and it compiles without error, but when transfer the binary file onto the machine it's trying to use pthreads.so despite me turning off all threading support when compiling
$ ./build_sisco | grep "thread"
$
Why
Might be better suited for codereview.stackexchange.comKon 51 secs ago
@Kon No, this would not. Example code is off topic on Code Review, also we don't just "assume" it magically works. — syb0rg 50 secs ago
16:53
@syb0rg Are you sure you build for the right architecture?
@Mast Yep, powerPC
You could have a case of an overly smart compiler, or something odd is going on.
Might be worth a SO question.
Is it leading to trouble or just inconvenient?
@Mast Breaking the entire app
-1
Q: Bad argument (response #900 is not integral) in cvPreprocessCategoricalResponses

paraI'm writing a program in opencv and C++: #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv/cv.h> #include <iostream> #include <vector> #include <stdio.h> #include <opencv2/features2d/...

0
Q: Duplicates in array elements and sorting

Damien PirsyI've been given this little test exercise for an interview as php developer, and I'd like to hear from you if my solution is good (enough) or if the problem could have been solved in a better way. Please keep in mind that I've no academic formation in CS or equivalent (rather the opposite) and my...

@syb0rg Ouch.
Zak
Zak
17:23
Since when did WorldBuilding graduate? (Also I'm jealous of their background)
@Zak Somewhere between a week and two months ago I think.
72
Q: Site Design Launched!

Kurtis BeaversCongratulations! As you can see, the new site design just went live. Thanks to everyone for your patience. Also updated are the newsletter template and chat room based off of the new design. If you see any CSS/styling bugs, please start a new post and tag it with design and bug. Congrats again...

May 17th
I should get some rep there so I can vote on the moderators when they get chosen.
0
Q: Bit string builder for Java

coderoddeI have this Java class for building bit strings. The set of methods it provides resembles that of java.lang.StringBuilder. See what I have: BitStringBuilder.java: package net.coderodde.util; import java.util.BitSet; /** * This class implements a simple bit string builder. * * @author Rod...

0
Q: Reusable implementation of IComparable<T>

JamesFaixI often find myself implementing IComparable{T} in different classes for sorting in a very similar fashion: Values meeting criteria X and Y should be sorted to the front Values meeting criteria Z and W should be sorted to the back Values not meeting any special criteria can stay where they are...

> I read somewhere that French is what happens when Germans learn Latin.
4
lol'd
17:39
French and German have nothing to do with each other whatsoever.
but French and Latin do
French is 'based' on Latin, like many European languages. German isn't.
@Mast read that link
the point was that when a German person learns Latin, French happens
Read it.
@DanPantry FFS
I guess you could say the hunger games team had exactly one fuck to give. — Dan Pantry 2 hours ago
17:59
so... what's the question? Is this working code? More of a review? Are you looking for another way to write it? Might be better suited for code review stack exchange — Kritner 35 secs ago
0
Q: implementing a StringEnum

Fredouthis is to be used like an Enum (as parameter mostly), but for string using .net 3.5 'testing the StringEnum Module Module1 Sub Main() Dim v1 As StringEnum = StringEnum.Value1 Dim v2 As StringEnum = StringEnum.Value2 Dim v3 As StringEnum = StringEnum.Value3 D...

    Sub Main()
        Dim v1 As StringEnum = StringEnum.Value1
        Dim v2 As StringEnum = StringEnum.Value2
        Dim v3 As StringEnum = StringEnum.Value3
        Dim v4 As StringEnum = StringEnum.Value4

        Dim vS1 As String = v1
        Dim vS2 As String = v2
        Dim vS3 As String = v3
        Dim vS4 As String = v4

        Dim vc1 As StringEnum = StringEnum.GetEnum(vS1)
        Dim vc2 As StringEnum = StringEnum.GetEnum(vS2)
        Dim vc3 As StringEnum = StringEnum.GetEnum(vS3)
"can you spot anything wrong"
why do I mentally translate VB to C# whenever I read VB.NET code?
@Mast ?
I hope I don't get in trouble for that... I've gotten in trouble for f-bombs before but this was entirely in context
@DanPantry Your puns aren't limited to The 2nd I guess.
@Mat'sMug Yea, at least 12 things.
0
Q: Handling callbacks and errors Nodejs

user137717I wrote a script for reading a csv, parsing it and saving data to mongodb. I would love some input on how I'm handling errors and dealing with callbacks. I wrote it with nested without using async and the nesting wasn't too bad, but I tried this way thinking it might be better practice. It's a on...

@CaptainObvious How is it that yeras after promises were introduced people are still using callbacks????
@DanPantry I'd answer that, but it would turn incoherent pretty fast.
If your code is working, but needs review, use codereview.stackexchange.comchux 49 secs ago
I'm voting to close this question as off-topic because it belongs on a code review site. — chux 12 secs ago
@chux Wrong. OP isn't sure whether it works and is looking for verification. That makes it off-topic at both Stack Overflow and Code Review. — Mast 35 secs ago
@Mas My first comment was if the code was working it belonged on codereview. My 2nd comment was that it did not belong here, but elsewhere. The 2nd comment did not recommend codereview.stackexchange.com - sorry if that was not clear. — chux 8 secs ago
@Mat'sMug I do the same.
18:25
@WeatherVane I'm not saying it's a good post. I'm saying mentioning Code Review here is not helpful. It's crap. Close it. That's the beginning and end of it. — Mast 45 secs ago
18:50
@Mast oh I like that, the Design I mean
I find it looks quite a lot like the A51 design. just less 90's-like
a little
no, World Building is better
Area 51
World Building
more Star Wars (World building) than Anime Star Trek (Area 51)
Point 1: What is your question/problem actually? If you only want extra improvement, this question should go to codereview.stackexchange.com instead. - Point 2: Did you test what happens when you plug in a USB stick while the task runs...? :D — CherryDT 12 secs ago
19:06
@Malachi So I wasn't the only one noticing that huh
@Mast no you weren't. it does remind me a little of Star Wars, well Tattooine or Jakku
Definitely Tattooine
0
Q: implementing a StringEnum

Fredouthis is to be used like an Enum (as parameter mostly), but for string using .net 3.5 Actual Implementation Public MustInherit Class StringEnum(Of T As {New, StringEnum(Of T)}) Private Shared ReadOnly _lock As New Object Private Shared ReadOnly _cache As New Dictionary(Of String, T) ...

19:22
@CaptainObvious @Mat'sMug Mr. Spot-a-problem is back. I still see at least 12.
this is an updated version of the code of my preview question that i deleted — Fredou 23 mins ago
oh great
I have a company code review tomorrow of my code... but I haven't been able to test it cause some other bloke failed to cross-compile this library for me
It depends a bit on the company, but I'd just be honest. If it works for you and you didn't get around to cross-compile test it, too bad.
19:42
0
Q: Active Directory Query Application - Take 2

michaelbmorrisThis is an update to my previous post about my Active Directory Query Application. I have made multiple modifications, and I request some feedback. Summary: This program queries an active directory and writes either a list of the users or a list of the users with a list of the groups each user b...

0
Q: Ruby A madlib program but I'm trying to convert it from using hashmaps to using 3 different arrays to hold the noun, verb, and adjectives

AlejandroSo what I need to make happen is using erb and Sinatra I need to make an array of each variable that can be added in, [noun], [verb] and [adjective]. So then I can return the number of each there are and create the appropriate amount of form boxes for each to take in the user input. Then it would...

19:58
I've been reading up on algorithms lately and now I smell them halfway the description.
> Imagine Alice, Bob, and two piles of ten rocks. Alice and Bob are bored one
Saturday afternoon so they play the following game. In each turn a player
may either take one rock froma single pile, or one rock fromboth piles. Once
the rocks are taken, they are removed fromplay; the player that takes the last
rock wins the game. Alice moves first.
That's awfully similar to Nim.

« first day (1117 days earlier)      last day (3198 days later) »