« first day (873 days earlier)      last day (3143 days later) » 

2:01 PM
Hi Jan
 
Hi!
 
hi
 
2:03 PM
Just wanted to see what was going on here... Not much to add I'm afraid.
 
Is Jan Jitse a Dutch martial art?
2
 
Pearl Jam FTW
 
@itsbruce: haha, no, but close :)
 
2:19 PM
@Vogel612 I came up with something for this rendering thing. No nesting yet, but it seems to work nicely (albeit ugly): gist.github.com/danpantry/1138438a3dc8f6dd5f5a
I also realised (thankfully) that all components are a unary tree, so there's no need for complex searching logic
 
@JanJitseVenselaar Well, this is the general room for Code Review. Many of the regulars hang out here.
So if there's anything about the site we can help you with, feel free to ask.
If there isn't, feel free to stick around as well.
 
here be lurkers
I'm going to go ahead and guess that linking gists is off-topic for review
 
The second and final question are better suited for CodeReview. — dyp 26 secs ago
 
@ARedHerring ohhh dear...
 
@ARedHerring What's the difference between a unary tree and a linked list?
 
2:29 PM
you should know it is
 
0
Q: Desktop Notifications for Queue Items - Updated Code

MalachiA while ago I took one of @Simon's scripts and updated it to make it more geared towards normal users (no offense mods) and this Question was created. but the link to the Github is no longer correct and the code has changed quite a bit to get it to work on Firefox and Chrome (and Opera and IceDra...

 
@JacobRaihle none
as long as you're talking about a singly linked list
 
Yeah, alright then
 
It can be useful to implement a tree as an array or list, sometimes.
For performance reasons, mostly
 
@ARedHerring Code has to be included. We don't care where links go, as long as the code to be reviewed is in the question.
 
2:32 PM
@SimonForsberg I really like your Review Shield, it's really cool!
 
Review Shield?
 
@Malachi you may want to point it at the correct post though.
right now both point to the old version
 
@Vogel612 I just fixed that
I didn't realize that I needed the QID on his link part as well. I thought that was something for his tracking
 
where else would you get the QID from?
 
Does anyone happen to have experience with showing MJPEG streams in Java Swing ir JAVAFX? It's incredibly hard to find a decent library via Google
 
2:35 PM
oh, wait, it's written in PHP.....
 
@JacobRaihle there isn't one, that was the joke
 
@Vogel612 I didn't realize that I had to change both links. when it showed the same I knew I needed to change more in that link
 
I ran out of data on my phone 12 hours before the contract is renewed, grrrr
@ARedHerring that's certainly a good way to do it. Something that I want to mention (I know, pernickety, but I keep hearing it) what you refer to is dromedaryCase (one bulge in the middle). This is CamelCase :) But thanks for the reply! (And don't take that thing about the case as critique, I just wanted to mention it :) ) — somethinghere 21 mins ago
TIL
 
Does anyone actually call that dromedaryCase?
 
No, everyone calls it camelCase.
still, interesting to know about.
 
2:43 PM
ILED
 
I think I've heard it before, but always as a joke...
 
Also are they saying that PascalCase is camelCase?
 
What kind of dromedary isn't a camel?
 
@SuperBiasedMan Yes.
 
anyone mind if I pimp a C# question that I answered yesterday?
4
Q: Highlight Current Link

Sirwan AfifiI'm using this technique for highlighting current links (e.g. how the "Questions" link is highlighted on this very page you're looking at). I changed the code a little bit and came up with this extension method: public static MvcHtmlString MenuLink( this HtmlHelper helper, st...

 
Zak
2:56 PM
@ARedHerring I always learnt it as camelCase and PascalCase
 
Well, a dromedary is a camel and is significantly more of a pain in the hump to type out than camel
6
 
I have copied and pasted more data in the last two weeks than I think I have done in the rest of my life.
 
@ARedHerring Sensing a Java v Perl joke there
 
And I'm no where near done.
 
@itsbruce If there is one, I didn't make it intentionally - I'm not enough to have used Perl, lol
 
3:01 PM
This looks like a solid and detailed question. Questions asking us to review your code are much better suited for codereview.stackexchange.com though. — Stryner 29 secs ago
 
Only seven more files to write docs on.
So Visual Studio has a max length on filenames that it will show in the tab title.
 
@EBrown and Windows has a max length on file paths.
Microsoft's file systems are just awful in general.
255 char limit on paths has bitten me in the ass so many times.
 
Zak
@ARedHerring Wait, what?
 
Greetings everyone.
 
HI!
 
3:06 PM
@ARedHerring If you use the unicode version of the api calls you don't have that problem
 
s/255/260
149
Q: Maximum filename length in NTFS (Windows XP and Windows Vista)?

GateKillerI'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by Windows XP or Vista?

(That question still applies to at least windows 7)
@Heslacher I am not interfacing with the API directly, however its stupid as hell that I cannot rm -rf a folder if the file path lengths are > 260.
(which they commonly are in node)
 
thats true
 
> total path length is limited to approximately 32,000 characters
 
rm -rf from cygwin
 
Zak
@EBrown Ah, that's more reassuring
 
3:07 PM
0
Q: Regular Expression for parsing PHP annotations

mjolnicI am writing a regular expression for parsing PHP annotations in a flexible way. Any improvements to the expression are welcome. /[\*\s]*@(?P<name>\w+[\\\w]*?)\s? (?P<value> (?: [\w\s\"\<\>\_\#\=\-\.\'\{\}:;,\*\(\)\[\]]*[^\R\*\s\/] ) (?:\s | $) )/gsxmu A demo can be found here.

 
Correct for NTFS, not correct for Windows, according to the link you provided: "In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters". The total path is, for all practical purposes, limited to 259 characters (allowing for the null-terminator). — Lawrence Dol Mar 14 '12 at 6:49
NTFS' max is 30k. Windows' max is 260.
The amount of times I've had to resort to robocopy to remove file trees that I've installed node stuff in is absurd
 
Zak
@ARedHerring Wait, so if I had 10 layers of folders each 30 characters long and a file in the bottom, I would start hitting errors?
 
> The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters. This type of path is composed of components separated by backslashes, each up to the value returned in the
This is why Unicode paths are superior.
 
@Zak If you had that and you tried to rm -rf that folder, yeah, you'll get a "directory path not empty " error.
 
@ARedHerring The differing maximums in the Windows filehandling libraries are sooo broken
 
Zak
3:10 PM
why??????????????????
^^ very much a rhetorical "why?"
 
Much of that code assunes files are only created via Windows explorer
 
@CaptainObvious Off-topic. Broken code.
 
You'll also be unable to remove that file tree using the explorer. If you try and delete that file tree, you will be informed that the file tree is too long for the recycle bin. Your only option will be to permanently remove it.
 
@itsbruce Windows explorer shouldn't have that limit anyway
@EBrown that.... is a large commit
 
3:11 PM
It is possible to create files in Windows which cannot be accessed, modified or deleted, simply because of their name
 
@ARedHerring 8.1
 
Zak
@itsbruce That's crazy
 
Because the file-creation calls (some of them) are more permissive than any of the other calls
 
I know.
 
@Hosch250 I have not run into this issue in 8.1 (yet)
 
3:12 PM
@ARedHerring I have.
 
It's such a stupid system. You can't remove the folder itself. How do you remove it you ask? by using robocopy and copying an empty folder into the full folder.
(or permanent deletion)
 
In 8.1, anyway, you can permadelete it.
 
Also, there is still that nasty bug in any windows filesystem with short-name compatiblity enabled (all of them by default)
 
3:13 PM
That is the bug that always breaks auto-backup.
 
Which means copying any large directory hierarchy from one drive to another can mangle the destination completely
 
The funniest thing is, if I use a unix vagrant virtual machine on windows I can actually access long path names
 
All of those are within the past two days.
 
so it gets to the point where I spin up a virtual machine to remove file structures on a host, but I can't delete it on the host itself without permanently deleting it.
 
3:14 PM
The File Explorer works with long file names.
 
It's not just deletion either, it's also moving (rm -rf is essentially a glorified move, it just moves stuff to recycle bin)
 
It is just the delete system I have issues with.
 
@Hosch250 file explorer works fine, but I do a lot of file manipulation through cygwin
 
Ah, I don't use that.
 
@ARedHerring So you're complaining about a Microsoft product, but about issues of a completely separate product? Wut.
 
3:15 PM
@EBrown the completely separate product merely uses the APIs that microsoft expose
i.e, the windows explorer API
 
@ARedHerring In all the wrong ways.
 
@EBrown er, no, cygwin doesn't set a limit on the file path.. that's the microsoft API.
 
That's like saying it's Ford's fault that the police radar detector I put in my car doesn't work.
 
cygwin is literally just calling the microsoft API.
 
@Hosch250 It doesn't matter if an app works with long filenanes
 
3:16 PM
And the delete bug still occurs in windows explorer..
 
@ARedHerring In the wrong ways.
 
It's the core Windows DLLs that pay attention to the dynamically created short filenames
 
^^^^^
even if cygwin does it "the wrong way", its the core windows dlls it is calling, and it is the core windows dll with that stupid limitation.
not cygwin.
 
The bug is a classic and can totally hose a filesystem, just by copying a directory with similar named files in it
 
> The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters. This type of path is composed of components separated by backslashes, each up to the value returned in the lpMaximumComponentLength parameter of the GetVolumeInformation function (this value is commonly 255 characters). To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\very long path".
 
3:17 PM
I'll be checking this on 10 sooner or later. I'll let you know what I find.
 
So basically, you're issue is that cygwin uses the wrong API for the operation.
 
Never mind the fact that the only one-liner for removing directory trees in Windows was removed (deltree)
 
It's using, in fact, a legacy API for the work it does, which makes it Microsoft's fault?
 
@EBrown you do realise that half of the things I've said also apply to the Windows explorer... right?
 
Would you prefer that Microsoft would remove the legacy API altogether, thus breaking cygwin?
 
3:18 PM
Windows explorer refuses to move folders to the recycle bin if they have >255 length file paths.
It will only permanently delete them.
 
Did you even read that MSDN page?
 
I did read it... and it does not address windows explorer's upper limit ..
this also affects opendrive and any auto back up system
please, yes, I used cygwin as an example but it is not the only example
the fact that the limit still exists is broken, and stupid, and infuriating
even the windows explorer doesn't use the latest unicode API
 
@ARedHerring MS has a whole big team dedicated to preserving bugs
 
not to mention that you only get unicode support as an opt-in.
Why the hell should I have to opt-in for that? it makes zero sense
 
Because fixing them breaks 3rd party code which depends on their workarounds
2
 
3:24 PM
Yeah, I get that
The situation should haev never occured in the first place
(hindsight is 20/20)
 
Give feedback for Windows 10.
They might fix it.
 
Windows has code to detect some apps which depend on old bugs they have fixed... and emulate them just for those apps
 
I don't have W10, unfortunately
 
My bank sends me pictures of my checks that get cashed.
Pretty neat stuff.
 
I just upvoted an existing feedback.
+11 votes on it.
 
Zak
3:29 PM
@itsbruce I never really thought about how an inherent part of backwards-compatibility must be about deciding which historic bugs should be fixed, and which should be left to continue regardless.
 
@Mr.Llama, where I work a 'shoddy application' doing that would always have an effect on unittests, and a change would show up in a code review. If you work in a shop that's less diligent, I would agree with you... but we rely on process and tools and love embedded unicode =) — Evert 48 secs ago
 
Monking @all
 
monking @TheKittyKat
 
@ARedHerring So far, I like windows 10. I didn't try it much (My download quota was topped 5 days before the end of the month, so no computer for me.. lol), but the UI is kinda cool
 
@TopinFrassi I'm tempted to switch to it but then as soon as I get League of Legends and Skyrim working on Unix and/or get a Mac box I am so out of windows land
 
3:34 PM
I like the 8.1 UI better, but sigh
 
I dislike the whole "tablet"-y approach on a desktop
 
I hate that start menu, and they ruined the start screen.
 
@ARedHerring Yeah I understand :p
@Hosch250 I didn't really like teh 8.1 UI. Too much tablet-y as @ARedHerring said. Win10 is a good mix I think (though I'll never try it on a tablet, I don't like tablets)
 
Tablets, yuck
 
@Zak In a closed-source commercial world, it becomes very important
In the Open Source world, recompiling where necessary is not much of a burden
@Hosch250 I prefer to work with OSes where upgrading (or not) your interface (of choice) is completely orthogonal to upgrading the OS
There would be sooo many happier Windows users out there if they could have kept (say) the Windows XP interface while getting all the new shiny OS features underneath
 
Zak
3:43 PM
Speaking as someone who finds quantitative trading fascinating, this made me laugh:
> "In a changing and complex marketplace algorithms can predict where the most money can be made, faster and more accurately than any human being."
Faster, sure, accurately, I think Knight Capital Group (-$440M in 30 minutes) might have a word to say about that.
2
 
Not to mention the algorithm which created all those poisoned debt parcels
 
@itsbruce I like seeing things evolve. Right now not many people might be happy with Win10 UI, but maybe by pushing it a little more, Win12 will have the best ui ever?? Who knows
 
Zak
@itsbruce Amen to that. Or the Win7 UI, I like both.
 
@TopinFrassi But a UI is not an OS. It's just an interface to it.
 
Zak
@itsbruce Not even done by algorithm. Done deliberatively and (many would argue) deceptively, or at the very least recklessly.
 
3:46 PM
Microsoft, making Windows-users hard learned interface skills obsolete since 1998
The UI and the underlying code should not have to be upgraded in lockstep
 
I like how you have a choice of w98 style or modern style.
but not windows xp
 
It's not really w98 style, though. Just has a similar look. Loads of behaviours are different by default
 
I should find/write a VB.NET -> C# utility.
 
@itsbruce I know, but you were talking about the UI.. lol
 
I still am. I'm talking about interface behaviour
Things people get used to, like the default view of a directory, the way the file hierarchy looks in Windows Explorer, all kinds of things which surprise and confuse non-power-users whenever they've had an upgrade forced on them
 
3:54 PM
Also, thanks for all the tips, I should have posted this in codeReview, apparently. Moderator may close this if he wants — Maurício D'Angelo Fernandes just now
 
4:06 PM
In Python you really can't use the language to coerce behavior. That's one of the reasons that tests and code reviews are even more critical in Python. So let's say you catch the obj.staet case you describe, how about ojb.state and when do you stop. People can (and will) write broken code in any language and it is hard to protect them from themselves. Finally, you are protected from half of the staet problems already: referencing an object if obj.staet == 5: will throw a NameError; assignment obj.staet = 6 will not be caught by Python. — msw 58 secs ago
 
Oh yes, the intrinsics of Python
Welcome @MathiasEttinger
 
@Mast Hello
 
@Duga Why do people need extra help to find a typo. Surely the first thing you do when you get an AttributeError is check that the attribute exists?
2
 
4:42 PM
-1
Q: Fixing Newton's method in MATLAB

user162343I want to implement Newton's method in $\mathbb{R^n}$ on MATLAB but such a way it approximates the partial derivatives and therefore get an approximation to the Jacobian, Then, first of all the function where I want to test my code is $$f(x,y)=(x^2+2xy+y^2-x+y-4,5x^2-6xy+5y^2+16x-16y+12)$$ So ...

 
4:54 PM
@Malachi This is bad timing since I'll need to go soon, but the review notifier is broken for me at the moment. It only notifies me when I open the review page.
 
@SuperBiasedMan right now it only works when you have the review page open
I haven't gotten far enough in my development to make it run on the browser alone.
or even try to make it do that
 
@Malachi Oh right, I'm just a terrible person who never read the manual to know that?
 
lol
 
@Malachi You could make it a stand-alone application instead of a web script ^^
 
5:12 PM
@TopinFrassi That is your choice, but I like that tablety feel, it was really good for keeping tasks separate, instead of filling up my taskbar with apps I only am using in the background, like my music app.
@itsbruce Ugh, that XP interface is ugly. I know, because my library is on XP.
 
@Hosch250 windows duplo, with rounded corners so you don't get hurt :)
 
LOL.
I'll go with that when I start physically interacting with it.
 
I cringed when first using XP because it looked like a toy compared to the previous versions
 
Something doesn't have to be ugly to be useful.
Given most discussion postings in class, I wonder what my Prof's think of me.
 
@Hosch250 Yeah, it's a matter of taste!
 
5:19 PM
I've always said that when I write my OS, I'm going to keep the UI completely separate and easy to customize with GUI packs, which can be easily created by all most users. (Some users can't do anything.)
 
I'd say, most users can't do anything
2
 
even worse - many users do things which actively harm or obstruct themselves
 
lol, 5 minutes ago: "OMG! Why is my email so big!" ..."hold down Ctrl, scroll the mousewheel down"
monking!
 
@Mat'sMug Didn't you know BigMail is the new interwebz trend???!??!
 
Hello.
 
5:30 PM
Hello.
 
How is it here?
 
Dead.
 
I haven't been on for a while
 
Everyone either has new jobs, or is in college.
 
lol
 
5:31 PM
@Mat'sMug monking!
 
I'm not in college, or have a job
 
How do you make SQL email someone a thing? (like a CSV file from a query)
 
Just programming for fun :)
 
Nice.
 
0
Q: Creating a time-course dependent, correlation-based directed graph with Networkx

user2117258I have a correlation matrix containing 4 time points, each with multiple samples. Each sample is identified with a time point with its name. What I am trying to accomplish here is to create a directed graph using Python's (2.7) Networkx with edges connecting nodes from the last time point to the ...

 
5:32 PM
14
Q: How to send email from SQL Server?

moeHow can I send an email using T-SQL but emails address are stored in a table? I want to loop thru the table and be able to send email. I cannot find a good example of doing this so far.. Thanks for your help

 
@Phrancis that may depend on the database you're using
 
Doesn't seem dead anymore...
 
TFL, BBL.
 
@Hosch250 thx
 
5:35 PM
What's with all the short messages?
 
@DanLyons also thx
 
Last time I was here, we were typing everything out in full sentences...
 
It's been a long time I guess :p
 
There's people here I don't even recognize
 
Yeah there's lot of new people
 
5:37 PM
I only recognize @Hosch250 and @Phrancis here...
 
@MannyMeng I recognize you! :)
 
If I remember correctly though, I was here before @Phrancis (please confirm)
@Mat'sMug I know you too :)
 
@Mat'sMug I just found a SP that takes 115 arguments... wow...
 
@Phrancis that's ...nutz
 
@Phrancis 115??? WHAT???
 
5:39 PM
^^
 
mwahaha
Looks more like a Workplace question to me: "How do I deal with crazy stupid management." — bmargulies yesterday
 
@Mast that is a wonderful idea. but would be OS specific. unless I write it in something like...idk Java maybe?
 
Time to make a bootable debian flash drive.
(And hope this laptop supports USB boot.)
 
At least they are named lol.
 
if I see a script like this in my stuff, I deny responsibility for whatever happens.
7
 
5:44 PM
@Mat'sMug Agreed.
 
this thing clearly breaks the psychopath rule
 
Psychopath rule?
 
> Write code as if the person that will be maintaining it is a violent psychopath that knows where you live
 
@Hosch250 Just port XMonad. Then they can extend the UI with Haskell scripts ;)
 
This question appears to be off-topic because it is a code review request. This is better suited to the Code Review Stack Exchange site. Before posting there be sure to read their FAQ to ensure that your question meets their guidelines. — John Conde 36 secs ago
 
5:57 PM
@Phrancis sounds like a perfect dailyWTF submission
 
@Duga They're learning.
 
Decided to go down the rabbit hole and sp_helptext that thing... found this DECLARE @allowdifferentholidaypay varchar(max) = (SELECT [dbo].[udf_SystemSetting] ('AllowDifferentPaymentMethodsForHolidays','N'))
WTF does that even do
 
The real question is why would you change payment method on holiday?
 
Ew and it calls another SP at the end D:
I wonder how far down I would have to go to find the code most deeply nested in this chain of scripts
 
0
Q: Can there be any better code? if yes, PLease show me how?

user5237857I have this code and this works fine but I think its too lengthy. So I want to know if there can be a less lengthy code? I've heard from people that lengthy codes are often not considered good. (Don't mind this, Stackoverflow won't let me post this thread because it is mostly code). <html> <head><...

 
6:03 PM
@CaptainObvious oh wow
 
@CaptainObvious Wow.
 
6:18 PM
Greetings
 
hey
 
Incoming ;)
 
How's it going?
 
On topic....? not!
-1
Q: My program is not working, and need help. My code in the desciption.

Musichead2468My Code is below. The only thing underlines in red is "switch. in Visual Studio" CODE: include using namespace std; int main() { //declare variables char A, R, C, D, pi, float R switch (option) { << Cout "Enter the option you want" << end1; case 1 : cin >> A = R * R * pi; cout <

 
This is sketchy.
Installing Debian without first taking a backup of the Windows install.
 
6:20 PM
Risk taker
Did you choose the automatic install?
 
Nope.
The only issue I foresee is the dual-boot MBR configuration.
 
Then not-so-risky
 
That'll be nice and fun.
 
Which Windows you have?
 
Windows 8.1 on the laptop.
The good news is it's not a UEFI laptop, so there's no SecureBoot and such.
 
6:22 PM
Yeah, you'll have fun
 
-1
Q: My program is not working, and need help. My code in the desciption.

Musichead2468My Code is below. The only thing underlines in red is "switch. in Visual Studio" CODE: include using namespace std; int main() { //declare variables char A, R, C, D, pi, float R switch (option) { << Cout "Enter the option you want" << end1; case 1 : cin >> A = R * R * pi; cout <

 
Windows 8.1 hates any other operating system besides Windows 7
 
I might hit up Super User about it too.
 
If you want, can you ping me a link?
 
If I post a question I will.
But I don't think I'll worry of it.
There's a guide for it that I am following right now.
 
6:24 PM
Be careful with that guide
 
It hasn't led me astray yet.
 
Everytime it says "backup", you should backup. 3 times!
 
Though it looks like the install skipped a whole section.
I refuse to backup this laptop.
 
Is it that bad?
 
It's really slow lately.
 
6:26 PM
You should check your harddrive for bad sectors
 
I will once this installs.
Though Windows reports it as "Healthy".
 
Still
You should use your BIOS tools to check the "Bad Sector Count"
 
I don't have any bios tools.
I'll have Debian run a full sector check, though.
 
Defraggler on Windows
But if the "Bad Sector Count" is high, you can consider buying a new harddrive
From my understanding
 
I'll pick up an SSD for it regardless when I have the money.
 
6:28 PM
SSDs aren't that expencive now-a-days
If you manage to get around $80, you can buy a decent one
I have a Kingston V300, and it works great for me
 
If your code works and does what you want it to do, you could take it to Code Review for suggestions on ways to improve it. But only if it works -- they tend to get very annoyed if they find they have to debug code as well (that's more our job here on SO.) — DSM 23 secs ago
 
Oh I know how much they cost, I just cannot afford it right now.
 
@Malachi Python
 
That sucks.
Maybe you can afford them in a short while
 
1
Q: WiFi adapter settings

Galc127According to the advise I got in Stack Overflow, I'm asking here. yesterday I have found that I can't use the wireless network at some spots in my house. I used another modem as a WiFi booster and I managed to cover these spots. The problem is that when I go to these dead spots I need to use st...

 
6:40 PM
@CaptainObvious Original title: Suggestions about improving my code
facepalm
 
Yeah I have a stackoverflow code review page where they brought up the same thing (though the person there didn't actually explain why it was a bad idea so thanks for that). I'm looking at using crypto/rand instead, the docs for that just aren't as good so I'm having to dig. — Ryan M 50 secs ago
 
6:56 PM
Well, 64 rep to another privilege.
 
@Mast I definitely don't know enough Python to do that yet
 
@Malachi what? I was not following
 
@Caridorc talking about making the review queue notifier an actual application on the machine instead of a UserScript
 
@Malachi interesting, It would be pinging the SE API and making alerts when needed
A deamon in the background right?
 
@Malachi thanks, glad you like it! I would like to see more people use it!
 
7:07 PM
0
Q: Formatting data in input field

PrasannaI have a phone number field on my form. Here is the code: <input name="primary-phone" type="text" data-masked-input="(999)999-9999" ondragstart="return false;" ondrop="return false;" placeholder="(XXX)XXX-XXXX" class="form-control form-control-edit" id="primary-phone" maxlength="10" autocorrect=...

0
Q: Java design patterns on Android Project

DaveI've just created a sample android project with some of the last features in Design library. If someone want to take a look, review it and improve that with some design patterns is the welcome. this is the github

 
http://www.commitstrip.com/en/2015/09/24/the-one-who-talks-too-much/
CommitStrip - Blog relating the daily life of web agencies developers
The one who talks too much
CommitStrip
1443121173
 
i'd probably split this up for future reference and go to code review actually instead of SO (as I know it SO deals with problems usually though you can find performance optimizations) code review is for performance, but i'm trying to type an answer right now, so don't feel the need to delete this one — Daemedeor 59 secs ago
 
> You can do similar things with your methods that smell like arrow-code. (This is a pun on Code-Smell, if anyone missed it.)
 
@CaptainObvious Code behind link
 
@Caridorc I haven't actually started thinking about doing that yet. so I don't know how I would do it. but I think that I can make use of the browser to do the http requests and stuff.
 
7:16 PM
@Mast Question behind closed
 
they will have to be logged in and stuff. and I am not sure I am ready for all that stuff just yet.
 
:-)
 
@SimonForsberg did you do a StackApps post?
 
@Malachi not for that, no. As it is Code-Review specific, I didn't feel there was a need to do so.
I am considering other approaches to "advertise" the Code Review Shield more though.
 
@SimonForsberg you could probably tag it with a CodeReview tag
 
7:18 PM
@Malachi If that tag would have existed, yes.
 
@SimonForsberg Make a shiny ad for it and list it under community ads
 
Accidentally installed LXDE instead of XFCE. Whoops.
 
@SimonForsberg What is it exactly? I never heard of that
 
@Mast oh, that'd be a good idea... if I were good at making ads. Anyone who wants to make an ad for it is free to do so! (@Mat'sMug seems to be a pretty good ad maker)
51
Q: Shielding your CodeReview on GitHub

Simon ForsbergIn response to a feature-request on meta, I spent a few hours today creating the feature in php. This application adds a review shield to your GitHub repository (or wherever else you want it). It looks like the following: To use it, use standard image/link markdown, like this: [![Code Revie...

 
Think about these questions: 1. What is the difference between e.g. '(pi pi) aka. (quote pi pi), and (list pi pi)? 2. How many queens do you have to consider when placing the i-th queen? 3. What makes queen-can-be-placed-here return anything but nil? 4. What is the purpose of calling return-from in backtracking? Hopefully, you will then get the program to work, and may then benefit from submitting it to codereview.stackexchange.comTerje D. 30 secs ago
 
7:34 PM
There we go. LXDE gone (mostly).
 
@SimonForsberg That is very, very cool. Brilliant idea
 
@TopinFrassi Thanks! Spread the word about it! And start using it on all your github repos!
 
@SimonForsberg Sure thing. I'm working on what I think will be the first project I finish, so if that happens (lol), I'll be sure to use it (since that code will be reviewed here)
 
You haven't got any other code on github already that you have posted for review?
 
@SimonForsberg Have you seen the updates I posted on my (main) GitHub project? There's a bunch of new GitHub API stuff in there.
 
7:43 PM
@EBrown nope. no clue what you are talking about
 
Ah, well it's C# stuff anyway. (Probably not helpful for you.)
 
depends on what it is about
 
It's basically a crapton of models and GitHub API stuff. github.com/EBrown8534/Framework/tree/master/Evbpc.Framework/…
 
@EBrown oh, like a GitHub-C# "connector"?
aka #404: JavaFX not found ^^
 
@SimonForsberg Yeah.
You provide the event-id and json for the event to the EventDispatcher, and it fires related events.
 
7:45 PM
then it doesn't sound very useful to me unfortunately, @EBrown.
 
You can subscribe to them as well.
@SimonForsberg I figured, you use Java for yours.
 
and Groooooovy
 
Indeed.
I use C# for all my stuff, so it's really handy.
That file is the main root of it.
I also wrote an IRC chat bot (don't know if you've seen it yet or not).
It takes messages and posts them to an IRC channel. I have a website with an API that will take GitHub (and Bitbucket) requests and build the messages the bot should send.
 
@EBrown I've heard about that one.
 
@SimonForsberg It's on GitHub: github.com/EBrown8534/Sara
That one is actually pretty boring, except when it's working. There's not a lot that it does atm.
Though it is pretty cool to see the messages fly in.
That part is kind of fun.
 
7:56 PM
bots are fun
sleeping is fun too. Night!
 
Good night sir. :)
 

« first day (873 days earlier)      last day (3143 days later) »