« first day (1046 days earlier)      last day (2974 days later) » 

12:00 AM
RELOAD! There are 1988 unanswered questions (93.8625% answered)
 
12:44 AM
0
Q: Powershell Script for setting DHCP reservation description & host value

BrodieFrankfurtI'm new to Powershell scripting and trying to write a script that will go through printer queues on a print server, get the print queue's port address, then compare the print queues port address to the DHCP reservation associated with the print queue port address on the server. If the port addres...

 
I think this question would be great for code review Stack ExchangeJeremy Banks 22 secs ago
 
-1
Q: Basic do while. Code works but don't think i am doing it correctly

MM23import java.util.Scanner; // import scanner public class CalcPart3 { //class definition public static void main(String[] args) { //main class char result = 0; //define and declare variables double firstNumber = 0; //define double double secondNumber = 0; //define double doub...

 
1:32 AM
@CaptainObvious I don't think it's broken. It's just very, very ugly.
 
Is this more about optimization or why you are getting the warning? If you want the former you may consider posting to code review instead. — Tadhg McDonald-Jensen 13 secs ago
 
2:07 AM
0
Q: Preforming some async operations with Rx.js

ThomasReggiI tried to come up with a good challenge to learn some Rx.js programming and I came up with this chain of operations below. As well as a bit of code that works and does these things. Take github username Create folder based on username (/repos-${user}) Get all repos for username (https://api.g...

 
0
Q: Removing folders from my rails app with rake

D_SI'm trying to remove the tmp/letter_opener folder. Everything works fine, just wondering if there's a better way to write it. My next step is to write some tests, to double check that I can only accept those inputs (currently failing) #my_rake_task.rake namespace :cleanup do desc 'Deletes the ...

2
Q: Converting a string to two strings

najiblaI have the following code that converts a string that looks like: aaa-bbb|ccc-ddd|eee-fff to two strings that look like: aaa|ccc|eeeandbbb|ddd|fff The code works fine, but I am wondering if I probably missed some string/array functions that can makes the job in fewer operations / or w...

2
Q: Player vs computer dice game

RajVaderThis is a dice game where, if you try to get as close as 24 without going over, you are allowed to "hit" three times. If you decide hit, you have the option of rolling one or two more dice. Player and computer alternate turns. How should I alternate turns without repeating the code? import java...

 
2:30 AM
 
Generic/hypothetical code?
0
Q: Applying "Tell, don't ask" to show objects from database on screen

Piotr Aleksander ChmielowskiI'm looking for a review of my code. It's aim is to show objects retrieved from database on screen without any getters or another ways to ask objects for data. To achieve it, I used Command pattern: public interface ObjectCommand { void executeFor(Object task); } And implemented ShowObjectC...

 
2:48 AM
@StackExchange That got migrated just now and it was posted to SO a month ago? Nevermind. Did something happen to the migration feed that it posted those 3 just now?
 
@200_success skeleton code for sure, with placeholder implementations. that question is a design review IMO
 
@PinCrash IIRC the Stack2RSS service is having issues. Ask vogel if you want to know more
 
It looks like you're asking for a high-level review of your design - we have that covered on meta, and the apparent consensus is that placeholder implementation to artificially flesh up skeleton-code architecture, is stub code and off-topic as such. If you are using this architecture in real, actual working code from a project you're working on, it would be beneficial to edit your post to replace the stub code with real implementations - the design is reviewable, but the code is the design. — Mat's Mug ♦ 6 secs ago
should I hammer?
or @200_success you can have the honors :)
thing is, I think there's reviewable material in the interface code
IMO it's too gray-area to hammer
 
4 votes to go, then
 
3:09 AM
0
Q: Heightmap generation using midpoint displacement

GillesI am writing a program to generate a heightmap following the midpoint displacement algorithm (somewhat similar to diamond-square). I'm at the point where the first step works and I need to convert it to a recursive program. Before I do, I would like a code review on what I have so far (which i...

 
3:22 AM
Am I the only one on here who doesn't have a life?
3
 
nope
lol
 
LOL.
 
Goddamn it, Microsoft
 
What's up?
 
The Pi jokes
 
3:31 AM
LOL.
 
the rounding is off.
should be 31.42% off
 
4:24 AM
@Quill That website makes me mad. First, they won't let me read it until I turn adblock off.
Next, after I turn adblock off to finish the article, they give me a full-page popup thanking me.
 
lol
Does slashdot do the same thing?
 
Don't know.
 
4:43 AM
 
@Quill In response to his last question, it won't hurt if he is.
But seriously, why be that fanatical about it?
 
because every religion has its fanatics
 
It's a poor troll
 
0
Q: Running a simple Web Client to fetch a webpage through HTTP request

HyperbolaI'm running the WiFiWebClient example which comes preloaded with Arduino IDE 1.6.7. I'm using Arduino Uno board with WiFi Shield Model R3. /* Web client This sketch connects to a website (http://www.google.com) using a WiFi shield. This example is written for a network using WPA encryptio...

 
 
4:52 AM
What a jerk.
 
 
1 hour later…
5:54 AM
"The human mind is not PGP encrypted" - _sxb from reddit.com
 
6:17 AM
0
Q: Kivy language code of my Vehicle Details app

user3620828So I've written my first android app in kivy. This app takes a Vehicle License Number as input from the user and submits it to a sites and shows the results from the site. The complete Source Code of the app is at https://github.com/Logmytech/Andhra-pradesh-vehicle-lookup Here is the Kivy lang...

 
possible answer invalidation by Treck on question by Treck: codereview.stackexchange.com/posts/122829/revisions
 
6:34 AM
0
Q: Creating a calculator to multiply area of a rectangle/triangle using four functions

TGAI'm taking a JavaScript class and am having a hard time understanding why my functions aren't working (or, well, how to make functions work in general honestly). I need to make a calculator that takes user-inputted numbers (the length/width of a triangle and rectangle) and finds the area, using f...

0
Q: GameOfLife - pretty code vs. efficency

TreckI am working on Game of Life. I decided to create it with list interface, where all living cells are collected. The live() method: public List<ICell> live() { IEngine engine = new GameOfLifeEngine(cells); List<ICell> newList = new ArrayList<ICell>(); // Checks if living cells will c...

 
 
1 hour later…
7:48 AM
0
Q: shellSort implementation causing a IndexOutOfBounds exception at if loop

user3461630Im trying to implement a shellSort method from an pseudocode provided to me however I keep getting an IndexOutOfBounds exception at if(array[i]>array[i+gap]).. I'm currently testing it at an array of size 10! Here is my code: import java.util.Random; public class ShellArray{ private int size;...

0
Q: How to structure code in AnularJS 1 controllers?

lexicoreI'm very new to AngularJS, just start in a new project which uses AngularJS for Web UI. I was looking into our code and found out that we have huge functions in controllers. Like, one 100-LOC function which does a lot. Logically, our Sonar compains about it and for me as a novice it's quite diffi...

 
Good question. I do believe that you will benefit greatly from posting these types of questions in Code Review, which is designed for people to post their working code and then gets users to comment and give their inputs. Just a note of Code Review, your code might get ripped apart but, and speaking from experience here, it will really change they way you approach coding. Enjoy Stack Exchange! — Jean-Pierre Oosthuizen 1 min ago
 
0
Q: Dynamic array of integers

User100I implemented a vector class in C for integers. Any feedback welcome. header: #define DEFAULT_CAPACITY 1000 // Define a vector type typedef struct { int nrOfElements; // Current number of elements. int capacity; // Possible capacity. int *data; // Pointer to array elements. ...

 
Naruto answer; accepted non-selfie answer with 0 score: Buffered asynchronous writer
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Looking for meta data which matches certain criteria and was created after a certain date
 
8:33 AM
0
Q: Improving performance for Depth-first search algorithm

GibboKI am using the following Depth-first search algorithm to compute value of a property called rotation_absolute based on previous values of rotation of parent elements recursively. The result of the script is correct (open console to see the result) but I would like your code review regarding perf...

 
8:48 AM
- "I don't know anything about Xamarin or UI stuff in general"
+ "For the next interview you don't have to prepare anything, we'll make sure it's not needed"
... one week later ...
+ "So we've got this scenario. What UI elements would you use? We also have 20 questions to go deeper into this"
I left a hot girl's warm bed at 07:30 so I could be on time for this interview
My priorities are messed up
 
And...?
You're a user, right?
 
No, I went to rehab
 
Badumtish
 
hohoho
They'll get back to me in a few days, I'll hear then
 
But basically you know something about forms
 
8:50 AM
Sure, but I can't really say much about this:
 
If you provided answers anyway that's good
 
The product name is shown at the top of the screen and links to the product.
The like, dislike or skip functions are at the bottom of the screen inside a bar
"How would you design this?"
 
if you freeze up and say "wellll I dunno because I dunno forms"
 
"Well, it all seems pretty straightforward. Just use the correct UI elements. I'd tell you which ones if I knew them"
They seemed to accept that
 
eh, I think I need a button for the functions
a bar to keep them in
and the name at the top can be just bland
 
8:51 AM
I think I sort of made up for it with the other, more interesting questions though
 
if we've got a standard components for that, great
 
"app starts crashing after 30 likes, what gives?"
 
else I'd have to make em, but I'd make the button reusable
 
I went for a memory leak there. 30 images that aren't being released properly
 
Nice intuition, but my first reaction is "huh, that's weird" + "do we have any logs"
 
8:53 AM
@Pimgd yeah I suppose that would've been a good answer. They didn't seem to go deeper into it though (I did answer some of the other stuff at that time)
oh yeah. probably should've mentioned logs
It crossed my mind at some point but didn't connect it with this
 
9:11 AM
1
Q: Use a generic function to do stuff based on the caller?

NishantI have this code which makes it easy to color a string in terminal but its looking really repetitive. Is there a functional way of doing this more effectively? Its something like strings blue,red etc points to a generic function, and when you invoke it, you should get the output depending on the...

0
Q: How can i solve this, because it show me many mistakes i have done?

Edmond// It is an algoritm #include <iostream> using namespace std; int main() { double x, n, m; double i, k, s=0, p=1, g; if (x + 1 < 4.5) { for (int i = 2; i < n + 1; i++) { s = s + (i + x); } g = 2 * x - 3 * s; } else if (x + 1 ==...

0
Q: Processing data spark scala function

user100289I am a beginner in spark Scala . Given rdd1 and rdd2 val rdd1 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), | ("key3", 5))) val rdd2 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), ("ke...

 
Ehhh how does this answer the question about the implicit toString() invocation? This isn't codereview.stackexchange.com — Erwin Bolwidt 58 secs ago
 
9:22 AM
@CaptainObvious // It is an algoritm
But a broken one at that, given the title
 
9:37 AM
0
Q: Remove IE8 compatiblity in html (angular) code

fujitsu4I wrote an angular code (here's my code : Creating forms using angular), I know it's not optimal (I'm a new developper in Angular), and the problem is that I just followed some web tutorial some I don't understand all what I wrote in my code. By the way, the main problem is that my html code has...

 
@CaptainObvious I dunno
it is not good
but hmmhmh
 
Kaz
Awesome, I'm back to the kind of work I enjoy, creative Data Mining
Req: One list contaning the name and Company# of every IFA registered to a public IFA finder (e.g. unbiased.co.uk) within a ring that extends 35 miles from central London.
I'm going to enjoy this
 
0
Q: Confusion in SQL Stored Procedure

user3109885I have following block of code in my SQL Stored Procedure, The issue occurred is, The stored procedure was working find, but few days back we realized that for a particular one record only the first (update) statement did not get executed, but the second one did.and after that the stored procedur...

 
Kaz
10:17 AM
Such planet is more commonly referred to as a black hole. — Alex S yesterday
I do love pithy comments
 
It's true though.
Planets with his requirements can't exist IIRC.
 
@Kaz ohboy.
what language are you planning to write that in?
 
vba :)
 
0
Q: My code returns a value for the last iteration date, and not for the entire iteration

squidvisionMy function reads a CSV file consisting of dates with times and sentiments(positive, negative and neutral). It returns three dictionaries (positive_dict, negative_dict, and neutral_dict) that hold the dates as keys, and the number of sentiments counted as values, in format {datetime.date(year, mo...

 
10:35 AM
Kaz is going to be our new VBA guru.
 
VBA probably isn't a good solution to go with for that
 
It's probably not half bad
you can even scrape websites with vba
 
Given its reliance on a microsoft office program, it'd probably be easier to write with a different language, right?
Good chance to learn C# if you don't already
 
why would C# be better?
 
possible answer invalidation by Jamal on question by steveBK: codereview.stackexchange.com/posts/122496/revisions
 
10:47 AM
@Quill Given the reliance of the company on said programs, they're already bound. The problem isn't as big as you think.
Yes, it's not portable. But it's not meant to be.
It's meant to work in their situation and they like Excel. So do it in Excel.
 
I'm not really qualified to comment on any stack besides a JavaScript stack
so meh
 
In general using vba is probably a suboptimal solution for this, yea
but the tech-stack and expertise at the company make it hard to use something else
 
^^
 
If life gives you lemons, make lemonade.
 
11:09 AM
there's probably more to their tech stack than VBA
maybe not to the developers they assigned
but if life asks for lemonade and you have tomatoes, maybe it's best to go buy lemons, even if you don't know how to prepare them
 
0
Q: tail recursive fizz buzz in common lisp

minI solved fizzbuzz using tail recursion. Is it efficient enough? Any reply will be appreciated. (defun mod-3 (n) (zerop (mod n 3))) (defun mod-5 (n) (zerop (mod n 5))) (defun analyzer (n) (if (mod-3 n) (if (mod-5 n) 'fizzbuzz 'fizz) (if (mod-5 n) 'buzz n))) ...

 
If it ain't broken, don't fix it.
 
Kaz
@Quill Actually, there's very little coding to be involved here. The data I'm after isn't well-designed enough to go and scrape it automatically, or consistent enough to automate cleaning it.
 
so you're not going to do it?
 
Kaz
I'm going to do it, but it's going to involve a mixture of copy-paste, manual inspection, ad-hoc scripting, in-built data functions etc. etc.
@Quill We don't have a tech-stack ^^
3
 
11:19 AM
LOL
 
besides the company website
unless that's static?
 
Kaz
Literally, our website is something that was thrown together in Wordpress
We have an IT contractor who handle our server, backups, remote access and general sys-adminy stuff.
 
fair enough
 
0
Q: Priority message sending

Vincent AdvocaatWe have created a message que system using priority messages. The idea behind this code is as follows: We have a list of clients. All clients know if (and what kind of priority) messages they have available for sending. A client needs to send their higher priority message first. All clients nee...

 
Kaz
and then the company is one central server (hardrive) full of client files.
That will have to change (eventually) as we grow and scale.
 
11:21 AM
yeah. are you the only developer (/sysadmin)?
 
Kaz
I'm the "smart guy who can do computery stuff"
(Officially: Investment Analyst)
 
Telling a beginner to write C while learning C++ is a bad idea. This is not an answer, it's an alternative implementation at best. This does not review the code given by the OP. — Mast 19 secs ago
@Kaz Investment Analyst probably gets paid better than a Software Developer.
 
Kaz
@Mast Depends where you are. It's a very catch-all term.
 
are you the only one though? Because if you are, when/if you scale, you could totally end up transitioning to a management role
 
He'll be Senior Analyst in no-time.
 
Kaz
11:24 AM
@Quill The thought hadn't escaped my attention
 
Especially if you had something like a cisco networking cert
 
Why would he need a Cisco certification if he has proven already he can do the task assigned to him above-and-beyond?
 
Our only dev at work transferred to a senior role (and sysadmin role) back when we scaled (before me)
 
Kaz
If we double (which we're projecting to do inside of 2 years) then we'll be at a scale to split our investing into a proper regulated Investment Fund.
We're ramping up into a constant level of acquisitions
 
@Mast cisco is a networking cert, and shows competence in the field, being able to do techy things and a certificate saying you can are different levels of skill in management eyes
 
Kaz
11:27 AM
And I'm the only (non-director) who knows how to do Maths and Analytics and Modelling and useful, interesting stuff with spreadsheets and Data.
learning VBA was purely so I could do stuff with Excel that you can't do with simple spreadsheet functions.
So yeah, give me 12-24 months to get some proper qualifications and certifications and the future looks very interesting.
 
Monking
What's going on? Seems like some stuff going around @Kaz..
Also, good news- my passport application was approved and I should have my passport in a few days
2
 
Kaz
Trying to describe my company, in the context of explaining that there is no Tech-Stack.
There's barely any Tech (though I'm working on that)
 
Not sure why I said months
 
Kaz
You would not believe the amount of paper we go through in a week.
 
@Kaz got any plans for what you want to learn?
 
Kaz
11:31 AM
I need to get properly regulated and Certified for Investment Business.
That probably means Certified Financial Analyst
 
@Kaz My colleague has done something similar to this but went down a Data analyst route
 
Kaz
And then properly certified and Regulated for The Maths/Stats side, something like ICRM (International Certificate in Risk Management)
Though maybe not that specific.
 
oh god
you're becoming a manager
3
 
Kaz
But hey, all theoretical right now.
 
anything computery on that list?
 
11:38 AM
Lots of excel sheets
Bosses and managers love excel sheets
3
 
Kaz
@Quill I don't expect to go much further into Software-Dev territory than VBA. Maybe C#
My job is not Software Dev, it's just that having some ability to program (especially with MS Office) allows me to automate things that wouldn't otherwise be possible.
Sometimes I go into proper Software-Dev / Data Analyst territory.
But a lot of it just falls under "Smart Guy who learns fast, can do proper Maths and will solve any reasonable problem if left alone to get on with it".
I've got it: My (actual) Job Title: "Spreadsheet Monkey"
2
 
eat rants
0
A: Showing object's data on GUI and HTML without accessors and mutable objects

PimgdYour outset is wrong. The articles you've linked to presents a nice story, but what you're running into here is the issue with that ideology: When your data structures AND your views are rigid, you can't change the system to do anything else. You're now stuck! Say I had to show a listing of Em...

I'm gonna have lunch
getters and setters are evil, what the hell
how would you program like that
 
Kaz
11:58 AM
@Pimgd That's a proper Kick-Ass review right there. I'd give you 10 upvotes if I could.
 
@Pimgd What?
 
12:10 PM
JetBrains has changed the numbering scheme for IDEA.
Greetings, Programs.
 
hey there @Donald
 
@Quill How are things in your corner of the universe?
 
not so good. people are calling in bomb threats to schools across the country over voip
 
Yikes!
 
there's been something like 50 schools in 3 months
apparently, they've caught some of the people. but surely if you have the guts to do that, you have the guts to mask your ip
 
12:15 PM
monking
 
sounds like damage control to me
 
Well, people who call in bomb threats are not always the brightest bulb in the chandelier.
 
that's true
 
@Kaz I'm lucky. I actually get to spend most of my work time writing code. Very few meetings, no management responsibilities.
 
12:27 PM
0
Q: Scala spark add new column rdd containing matching values

user100289I am a beginner in spark Scala . Given rdd1 and rdd2 val rdd1 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), | ("key3", 5))) val rdd2 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), ("key4...

0
Q: Tic Tac Toe game. Wanted AI

Raghav VashishthaI've created this simple tic tac toe game using the turbo c++ compiler. Please check out the code. I'd like to develop an AI (computer player) for the game but I'm really not getting any ideas for the logic that I'm using in this game. Check the code out and if possible please help. #include<ios...

 
1 message moved to Trash
Sweet, another new error email type in my inbox /s
2
 
Kaz
@Donald.McLean It's not too bad. Some things require a lot of real-time clarification and interruption, but most of the time I'm left to get on with stuff.
 
12:43 PM
@Gemtastic some guy makes posts like this yegor256.com/2014/09/16/getters-and-setters-are-evil.html
and then people read it and actually write their code with that in mind
 
I thought you meant that they were evil. You nearly gave me a heart attack
Be still my heart
Also, that article is part of an issue I voiced yesterday. One really needs to learn whom to trust when taking advice
I'm slowly getting there, but I'm still too new and naïve to tell sometimes D;
 
From the first paragraph, that article doesn't seem to talk about pojos
 
@Vogel612 I was getting the same feeling
Something with live entities
as if you are actually simulating the dog, etc
 
that's an interesting paradigm
but it doesn't fit into OO
and it doesn't follow Tell don't ask
and it results in God-Objects
as you nicely outlined in your answer
 
Kaz
@Gemtastic Who to trust? Easy, trust us ^^
 
12:48 PM
I don't know about "nicely outlined", it reads like a poorly formatted rant
 
@Kaz Actually, that is a good advice.
 
That's bad advice
It's a joke ofc, on Kaz's side, but his advice could have been said by Dr. Evil and in that case you shouldn't have taken it
 
The best advice is to "think on your own" but I'm not knowledgeable enough to make good decisions. I'd end up writing garbage articles like the one just posted
 
Maybe that's a good strategy
 
@Gemtastic If you'll learn more by screwing up and being told about it than not screwing up at all
 
12:50 PM
Pretend it's Dr. Evil telling you everything
 
What Dan said
 
@DanPantry Oh, absolutely
 
if it still makes sense after Dr. Evil is saying it then maybe it has merit
 
But I don't wanna come off as "I know what what I'm doing" and teach bad things to others
 
but then again there's mentally unstable people who really don't need a helping hand in maintaining their delusions so I guess that's not a good rule either
 
12:51 PM
Trust us! Vote on us once and you'll never vote again! We promise
 
<insert snide politics remark here>
also immutability is totally overhyped as of late it seems
 
I like immutability... for abstract value classes
 
@Vogel612 I can't speak for other languages but in JS not having immutability has no excuse other than laziness
 
Funny how much swift GUI reminds me of JavaFX
 
So for that question, I think you could make the result of the view immutable
but it's too big of an object
... could you have big immutable objects?
 
12:56 PM
Sure immutability is nice, and you should use it wherever reasonably possible
 
Kaz
@Gemtastic To quote a quote I rather like quoting:
 
but some people seem to try to shoehorn everything into immutability
 
Kaz
> "You are never too old to learn and never too young to teach."
 
@Vogel612 yeah, it has its place
 
@Kaz It's a good quote but it's not applicable to me, because my case is "I'm too unknowledgeable to teach but willing to learn"
 
12:57 PM
@Kaz You're never too inexperienced to kill a zombie?
2
 
at the same time, a lot of frameworks etc in javascript are functional so immutability works really well there
 
@Gemtastic you're deflecting. Go write a review ;)
 
Actually I'm learning Swift
 
@Gemtastic Just write a review. It's not as bad as you think :) And you'll get shiny internet points
 
Or minus points ;P
 
12:59 PM
They're just internet points
They don't mean anything
 
I'm actually a little low today because I got turned down by a company yesterday because my coding skills weren't good enough (I did a codility test)
 
Kaz
@DanPantry blasphemy!
3
 
@Gemtastic If it makes you feel any better
 
I need to be reviewed
 
I applied for Toptal a few months ago
They gave me 3 questions (Comp Sci based) for a full stack JavaScript developer position
 
12:59 PM
anyone have a good link for dynamically returning data through a web response in C#?
 
I couldn't start any of the questions, they were that hard
Because I know zero Comp Sci
 
Yeah, me too
Still, it sucks to be approached by a company and then get to hear "Your skills aren't good enough"
 
You're still in school - and yet I've been in industry now for 3 years and I still couldn't answer those questions.
It's not that your skills aren't good enough. It'sj ust that for that specific position you don't have the required knowledge.
Your skills are plenty fine for other companies, they just need more work for that specific position/company combo.
 
soo... Dan and I have been writing reviews a ong time on this site. Zak has, too. As has Mast, as has everybody else in this room
I'm currently going to university. And I started half a year ago. I didn't know zilch about CS
Dan told you himself.
Mast is originally an Electronics Engineer
Zak has (to my knowledge) no CS education either
they write good awesome reviews, and you can, too
 
The codility questions are really hard. They are not meant to be easy to answer and you shouldn't feel bad about not being able to answer them. Instead you should channel those negative thoughts into learning about that subject
 
1:02 PM
@Gemtastic at least they tell you, some companies won't say anything and just not hire you
 
But don't let those questions deter you from sharing your experience... just because you don't have all the answers doesn't mean you don't have any :)
 
@DanPantry They approached me full well knowing my juniority
 
Kaz
@Vogel612 Pretty much. I have some fraction of a Maths Degree and I've been writing code for all of 18 months.
 
Besides, any company that is asking you to complete codility questions is probably a high end company and something you should be working towards, not expecting to get into
 
Go write a review
 
1:03 PM
@Gemtastic Was it a junior position?
 
@Malachi Yeah, that would have been unacceptable
 
find something to shoot at
 
@DanPantry Yes
 
It sounds like they were not interested in a junior, they were just interested in someone young who would be willing to work for less than they should be
 
But normally they don't hire juniors with less than 3 years experience.
 
1:04 PM
worst case, you'll be pattern matching like an IDE, "don't use == with strings, use equals!", but people still need to be told that
 
That's not a junior.
 
@Gemtastic the only way I was getting feedback was from my recruiters, and most of them weren't telling me the whole story either.
 
3 years experience is coming up to mid-level.
 
They like me as a person but they don't want a junior.
 
Either the company is shafting you or the recruiter shafted you.
 
1:05 PM
Shafting?
 
Kaz
When I started writing reviews here, I figured I know almost nothing, so I decided what I did know, wrote some very basic reviews on questions and asked people to review my reviews to make sure they were alright.
 
Screwing you over.
 
I know that my experience is lacking, so I have been trying to learn new things, that is why I know why these companies didn't hire me
 
Don't take it personally - the company/recruiter/hiring manager was an asshole. 3 years experience is a mid level developer, not a junior developer. And that's a mid level developer with a degree in CS, most likely.
 
@DanPantry No way of me knowing which it is. the recruiter is their own HR recruiter. I also got a recommendation from a very skilled dev
 
1:06 PM
I am not mid level because of the lack of experience I got at my last job (over 3 years of employment)
 
@Gemtastic Then I don't know what to say without seeing the test :-) But it does sound like you were batting a bit above your belt
 
The codility test... Apparently I scored 130-something out of 300 :/
 
all the recruiters just stopped using the terms mid-level around me.
 
Which is completely fine.. better to aim high than to aim low..
but this is all irrelevant because I've scored worse on codility tests and I can still write reviews.. when I'm not being lazy
 
but I troubleshoot and I try to be in code when I am not doing anything else....but I need to be in code a lot more.
never stop coding
 
1:07 PM
I'm not really worried about employment; the company I'm interning at atm said they want to hire me. I'm just bummed to hear that my skills weren't good enough
(And implied; I wasn't good enough to teach)
 
@Gemtastic Are you going to be teaching about a subject you are familiar with, or a subject that you are being tested on? :-)
Unless your review is on the codility test you can still write reviews.
 
Teaching?
Well, first I gotta learn how to swift
 
@Kaz We got a couple more monkeys here, so feel welcome.
 
and even better you could review one of the solutions for Codility. That would help you learn why those solutions work.
 
And write some questions to have reviewed
I should also have some Ruby reviewed
 
1:09 PM
Ruby and Swift, sounds like you're into magical stuff.
 
I told you I was a witch
Or maybe it wasn't you
But well, I'm witch ;P
 
@Gemtastic You just need your code optimiser 3000 :-)
(yes, I read your blog)
 
@DanPantry That's fuel.
 
@DanPantry I totally need that!
But for tea
 
tea.. in a thermos?
As a British person I'm telling you you're doing tea wrong
 
1:12 PM
Well duh, it can't get cold
 
AFK work time
 
I know, I know, but it's lazy tea
I don't drink coffee :(
 
@Gemtastic ಠ_ಠ
 
I tried using the coffee machine's how water to make tea... It's disgusting and tastes of coffee D;
Boiling water on the stove takes too long
I can't do it every time I want a cuppa
 
> coffee machine tastes of coffee
fascinating
 
1:16 PM
No the water heated by the coffee machine tastes coffee
I don't wanna know how nasty that machine is inside if supposed separate systems still tastes of coffee
 
@Mat'sMug how do get the Office PIA installed into my project? do you have some good advice for playing with that stuff?
 
Kaz
@Gemtastic Maybe it's not the internals but the very end of the system where your hot water/coffee is dispensed?
 
I found the one I was looking for.
 
@Kaz No it's two different despensors for coffee and water
One pipe for tea water (it's the intended use) and two different pipes for coffee.
 
@Gemtastic Sounds like they output the water and the coffee through the same line. That's a big no-no.
Most machines I've seen have 2 different lines, one for hot/cold water and one for coffee/chocolate/etc.
If your water tastes like coffee, the water department isn't properly guarded from the coffee department.
 
1:28 PM
Very possible. I haven't seen what it looks like on the inside.
It's not a super-fancy machine, but it's more expensive than what you'd have at home I suppose
Apparently the coffee tastes good when you like that
 
possible answer invalidation by User100 on question by User100: codereview.stackexchange.com/posts/122887/revisions
 
You could build your own instant hot-water heater if you're into that kind of stuff, but that's a totally different matter.
 
Or I could use the kettle. The kettle takes a while but it works. It's just too time-consuming for me to wanna do it
 
@Duga Fixed.
 
@Malachi WebApi
 
1:35 PM
+1
 
I use it at work, and you pretty much just write a route, specify the input parameter, run the function like normal, and then return a web response code along with some json
or at least that's what we do at work
 
sounds like that is what we are using here as well. I am planning right now, I know what I want to do , I just don't have all the finer details....lol
 
-1
Q: Scala spark add new column rdd containing matching values

user100289I am a beginner in spark Scala . Given rdd1 and rdd2 val rdd1 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), | ("key3", 5))) val rdd2 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), ("key4...

-3
Q: Processing data spark scala function

user100289I am a beginner in spark Scala . Given rdd1 and rdd2 val rdd1 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), | ("key3", 5))) val rdd2 = sc.parallelize(Seq( | ("key1", 1), | ("key2", 6), ("k...

duplicates to avoid closure
 
possible answer invalidation by User100 on question by User100: codereview.stackexchange.com/posts/122887/revisions
 
1:47 PM
@Duga hmmmmh
 
0
Q: Rails: DRYing up before_action

Adrian MannI have a few controllers: class First < ApplicationController before_action: do_this end class Second < ApplicationController before_action: do_this end class Third < ApplicationController end Two of the controllers have the same before_action method. How do I dry up this code so that ...

 
pseudo code ▲▲▲
 
gone
 

« first day (1046 days earlier)      last day (2974 days later) »