« first day (690 days earlier)      last day (1466 days later) » 

12:16 AM
MORNING!
I hope it's going to be good today.
 
user457812
Kind of annoying that there's no simple way to display the unpushed commits in a branch
 
user457812
You can do git log remote/branch..HEAD, but you have to tweak it per-remote and per-branch/upstream
 
12:37 AM
TIL:
4
Q: What does &= mean in objective c?

guy8214I ran into this bit of code today: indexValid &= x >= 0; What does the &= mean? Could someone explain what is occurring in this statement?

You can do convenient bitwise operator + assignment.
 
Enrico, it means indexValid = indexValid & x. Normal C shortcut syntax.
the >= 0 is a bit of C nastiness that both does the assignment, then evaluates the result all in one. I hate that convention in C. Use multiple statements and don't get cute. It's too hard to read.
Modern compilers will optimize multiple statements into code that's just as fast as the unreadable mess.
 
user457812
The odd thing is that it's bitwise.
 
user457812
Looks like whoever wrote it might've wanted to avoid a jump from an &&=, but I think they're still going to end up with one.. maybe.
 
user457812
At any rate, my RingBuffer in Swift appears to work alright-ish
 
1:05 AM
Duncan: Yup I know. I just learned that now because I've very rarely used bitwise op in C.
 
Enrico, I realized after what I said that you weren't the one asking the question.
I can never remember the order of operations for statements like that.
 
Yeah I didn't ask the question, just stumbled upon it.
 
I'm back
 
Noel, would that evaluate as (indexValid &= x) >= 0
or indexValid &= (x >= 0)
 
I did bitwise op a few times, but not very recently.
 
1:14 AM
I used bitwise in my current app. There is a requirement in my app to select weekdays (like alarm app). And my team members took 7 bools. I took a weekday mask.
 
1:26 AM
I've used bitwise operators a fair amount in my career.
There's an argument for both approaches.
The bit masks are more storage-efficient, but bools are faster.
 
user457812
Alrighty, life-decision: never eating avocados again
 
Current thinking is that unless you're dealing with many thousands of flags, it's better to use BOOLs and just waste a little memory.
Why's that Noel?
 
user457812
Allergy.
 
Did you have a bad avocado experience?
Oh. Hives, or worse?
 
I'm not a big fan of avocado either.
 
1:29 AM
I like Guac, but not really other forms of avacado.
 
user457812
Throat itches, which means it's not severe yet, but I have to stop before it becomes hypersensitive
 
Do you like them?
 
user457812
Yes.
 
user457812
Particularly in guacamole.
 
Have some Benadryl on hand in case your throat starts to swell.
Have any of you worked with Arduinos before?
 
1:31 AM
That is the worst kind of allergy it is the way I am with chocolate
I have worked extensively with Arduinos
 
user457812
I already took an antihistamine as a precaution
 
Bummer. I might have to kill myself if I was allergic to chocolate. :)
I'm having a lot of fun with them.
 
Yeah, might need a new body if I was allergic to chocolate.
 
I'm building a rig to do high speed photography.
 
I cannot lie I thought of it when I found out xD
And @DuncanC I used 'em with Bluetooth dongles to control robots with PS3 controllers
 
1:33 AM
I built a circuit and program to measure the latency between triggering a flash and the light output.
Cool.
old school Bluetooth or BLE?
 
that's quite cool!
old school
I've been using BLE for another project though recently on iOS and I've enjoyed my experience thus far
 
I bought a set of Lego Mindstorms for my son a while back. I was really disappointed in the controller. I want to dig it out of the closet and try to interface it with an Arduino.
I'm going to build a rig that will let me take pictures of popping a balloon with a blow-dart.
A photo gap trigger at the mouth of the blow-dart will trip the camera shutter (which takes 50+ ms). Then the loud pop of the balloon will fire the flash.
 
@DuncanC can you still run a version of the JVM on those [mindstorms]? When I was in highschool I used to help middle schoolers learn programming with them and we used JVM after they got passed the LabVIEW phase
*past
 
I was so disgusted with LabVIEW that I didn't use it.
JVM is better, but the storage on those controllers is so limited that you can't do much.
Arduinos make it trivial to do things like add ultrasonic distance sensors, line-following sensors, even video cameras.
I really like the ease with which you can prototype cool stuff. Very easy to work with.
 
user457812
I wonder how well the JVM works on a Raspberry Pi
 
user457812
1:38 AM
Not sure if the JVM actually does JIT for ARM
 
that was my initial reaction with LabVIEW as well and I have to agree with you about Arduinos but kids love legos which adds to the fun/learning experience
 
I would hope so. interpreted Java would be dog-slow if not.
 
user457812
It probably wouldn't be as bad as it sounds, but it's certainly not great
 
I wonder if anyone has ported the DalvikVM to the Pi
 
I've always liked tinkering with electronics.
 
user457812
1:39 AM
Dalvik should just run on the Pi.
 
user457812
Aside from JIT, there's nothing really preventing it from doing so, anyway
 
user457812
Since it was actually 100% interpreted until I think 2.1 or 2.2
 
I wired a 7-segment-decoder into my Arduino for the hell of it, then wrote a program to do the same thing in software.
 
user457812
They actually got a lot of performance out of Dalvik simply by rewiring JVM bytecode to Dalvik's since it's a register machine
 
I always wanted to build an LED display to attach to the back of my car. Messages like "Get off my ass!"
Dalvik's an interpreted J-machine?
 
user457812
1:41 AM
Dalvik is a sort-of JVM
 
user457812
The Android toolset compiles Java bytecode into Dalvik bytecode
 
A virtual Java CPU?
 
Ah, I guess I would just use that over the JVM then...
Also that seems like my Freshmen project, we hosted an HTTP server on an Arduino and sent a pulse to a digital counter every time someone visited it
 
user457812
No, it's a process VM
 
user457812
i.e., one VM instance per process/thread.
 
1:42 AM
there was an explicit clause that the project had to have a digital counter so we interfaced it that way despite the fact that the Arduino could do it all on board
 
user457812
It's actually amazing how much of a performance benefit you get just by doing a register machine in place of a stack machine
 
A physical counter you mean?
 
yeah, like a 7400 series IC
 
So they wanted you to wire CMOS counter chips up.
Oh, TTL?
 
yep TTL
 
user457812
1:43 AM
The size of an instruction goes up, obviously, since there're operands, but you typically end up with fewer instructions overall and the lack of stack ops seems to help enormously.
 
How twentieth century!
 
Quite so!
 
CMOS is like TTL, but better.
 
user457812
I want to get into hardware-y stuff some day
 
user457812
Just need to find something I want to do first.
 
1:44 AM
Buy yourself an Arduino.
 
@nil I still love stack based VMs, I'm designing one now but I do see your points
 
It's very easy to work with.
 
and that's why I love my major, I am like a Computer Scientist with an Electrical Engineering minor
get the best of both worlds
 
user457812
@Wingpad Yeah, it's not that a stack machine is bad — they're simple, so it's easy to throw one together
 
What's your major?
Computer Engineering?
 
1:45 AM
yep
 
user457812
The JVM's existence is evidence enough that stack machines are completely doable and performant (jokes aside)
 
I wish I had taken electrical engineering. I can do digital electronics pretty easily, but figuring out how to build complex circuits with capacitors, inductors, transistors, etc is over my head.
 
user457812
Register machines are harder to generate code for and might be harder to think about, though I personally find it easier (I spent a bit rambling about that in my blog post about my VM)
 
That's one profession where you actually use Calculus in your day to day work.
 
user457812
I've been told by several people that CS students probably actually want to be in EE
 
1:47 AM
@nil I thought your article was fantastic, but I have always been a stack guy. Like I designed a CPU based on a hardware stack when I was a noob at CPU design. It was hilariously overly complicated but it did work in the end, I had it printing "hello world" and stuff. It was all in simulator but I have always wanted to break out my TTL chips and a breadboard and bring it into the physical world
 
user457812
The overlap is apparently enough now that EE is more of a practical major and CS is the fluffy one
 
and I agree, most people in CS at my school drop and go to EE
 
And many EE's wind up doing software for a living.
 
user457812
Bearing in mind that I didn't do any CS classes beyond three intro ones, so I'm going off what CS/EE majors told me
 
Have either of you seen the TED talk on swarming behavior in optocoptors?
 
user457812
1:49 AM
Nope
 
no but that sounds kind of cool
 
Freaking amazing. You should look it up.
 
user457812
Haven't actually paid much attention to TED in recent years since TED-X drastically lowered the quality of the speeches
 
added to my to-watch queue
 
Acrobatics in Octocopters, adaptive learning behavior, etc.
They can fly obstacle courses - in formation.
 
user457812
1:50 AM
I should actually start studying AI and machine learning just for the hell of it
 
Quad copter, sorry.
 
user457812
If for no reason other than that I want to eventually wrap my head around neural networks
 
I should as well methinks. AI is something that's been over my head for a long time
I had a book when I was a kid with a floppy disk with Pascal code and tons of theory on AI stuff but I was young and couldn't understand it or get any of the examples to compile
It is probably super outdated now
 
user457812
Might make for good pseudo-code though
 
user457812
Pascal sort of lends itself to that.
 
1:53 AM
I'd have to find a computer around here with a floppy drive first
21st century problems
 
user457812
I've been thinking about getting a USB floppy reader recently just 'cause I have a bunch of old game floppies in my desk that I want to pull out and image before they die
 
user457812
Though chances are they've already come into contact with at least a few magnets by accident
 
You might be able to find them on vetusware.com
 
I dug out my old Apple II a couple of years ago to show my kids, and was surprised and pleased to find it still boots, and the floppies still work.
The machine has EEPROMs in it, and I thought those had a lifespan of around 20 years.
 
user457812
I can find them pretty easily, it's not uncommon games, just that they happen to be my floppies
 
1:57 AM
My dad tried to show me his Atari 1040STE but the floppy drive broke on it, the 'OS' boots fine but it doesn't have any built-in programs
 
I should really take out and image in the EEPROMs while they still work, but that would mean buying an EEPROM reader and figuring out how to use it on those older chips.
What year are you in school?
 
user457812
Veil of Darkness is a horror-action-adventure game for DOS, FM Towns and PC-98, which was developed by Event Horizon Software and published by Strategic Simulations, Inc. in 1993. Veil of Darkness is a third person, 2D point-and-click adventure game with RPG elements featuring a fixed isometric perspective and a fair share of action-RPG style combat. Gameplay Veil of Darkness features an isometric point of view, and an inventory system. The player moves around in a dark valley, solving puzzles and occasionally killing monsters like werewolves, vampires and skeletons. Although VoD lacked ...
 
Data retention for EEPROMs is on the order of 40 years, it's only if you are actively reading/writing when that might change
 
user457812
The game I really want to image, even though I know exactly where I can download it.
 
and I am a rising Junior right now
 
2:00 AM
A year ahead of my son. He's going into his sophomore year. Also computer engineering.
Although he only had one computer course last year.
 
user457812
I'd have done CS if it wouldn't have taken ~6 years
 
(Had to do all his freshman requirements)
 
user457812
Maybe 5 and a half
 
You mean on top of your English degree?
 
user457812
The math requirements just to get into anything past intro are nuts.
 
user457812
2:01 AM
No, in place of an English degree.
 
My son's school requires Calculus I, II, and III, which seems silly.
 
Ah, I had to do my requirements as well but I've had three CS classes so far but I'm taking on 18cr/hr classes
and I have to do that as well
 
user457812
I intend to eventually go back and do a CS degree or something similar, maybe double major in math, but that's a ways off.
 
I use trig and geometry a lot, matrix math, but don't think I've ever used calculus in my career.
 
I have to take Calc I-III, Diff Eq., Linear Algebra and Physics I-II
 
user457812
2:02 AM
I'm basically saving that plan for when I've saved up enough money to do it.
 
Diff Eq and Linear algebra make sense. But Calc?
 
user457812
Far as I understand, the calc thing is because of the "science" that doesn't really happen in most of CS
 
And good luck @nil
 
user457812
Computer science is one of those things where it's like, it'd be science if most of it weren't beating on a keyboard trying to get something to work
 
I am confused as to why I have to take Calc III but I understand Calc I-II
 
user457812
2:04 AM
'Cause beyond algorithms and non-computer-specific stuff, I can't think of a whole lot of computer-specific science.
 
For Computer Engineering, maybe, where you need to design circuits. But for CS?
 
Idk, Calc II goes through sequences and series which is something I have had to use in my programming career thus far
 
user457812
Also doesn't help that a lot of people choose CS because there's the mistaken belief that CS is about programming
 
Cryptography, networking, image processing, those are all very science-oriented disciplines.
 
And yeah that's true, if they want programming then they should consider Software Engineering
 
user457812
2:06 AM
Crypto's not really computer science, though, at least not with today's definition of computers
 
yeah crypto is more Finite mathematics/number theory
 
user457812
Networking: debatable if that's computer science or engineering
 
user457812
I'd say image processing might also fall outside the realm of computer science
 
You're basically arguing that anything science-y isn't computer science.
 
user457812
I'm arguing that saying "doing it with a computer" does not make it computer science
 
user457812
I'd say programming language design theory would definitely be under computer science
 
user457812
Concurrency definitely fits in there
 
user457812
Anyhow, going for a walk while it's still slightly light out and the air's not ultra-smokey
 
Why does image processing/computer graphics fall outside of CS?
 
user457812
Because that's just math.
 
2:14 AM
Math, algorithms, processes, etc.
It's not "just" math by any means.
Go for your walk before it gets totally dark.
So Wingpad, you want to build a CPU using discrete ICs?
 
I like your name, Wingpad.
 
That would get ugly fast.
We're talking NAND gates, shift registers, latches, etc? You'd need hundreds of chips. Maybe thousands.
 
@EnricoSusatyo There's a short story to that from when I was in elementary school, I can go through it but it's just been my nickname since then
@DuncanC yep registers, nand gates, RAM chips
It would take forever but the end result would me being able to say I've done it
 
Wait a second.
People IRL also calls you Wingpad?
 
IRL = In Real Life?
 
2:20 AM
Yes.
 
Meatspace, as Gibson calls it.
 
It used to be a joking nickname
I was just playing around during recess while wearing a turtleneck with sleeves that were pretty long. I pulled over my hands and started flapping about like a chicken and said "Look guys I have wingpads!"
they would jive at me like "are you going to do that with you wingpads?" afterwards
 
LOLLL Wingpad
That is so hilarious.
 
user457812
2:48 AM
Meh, smoke's worse the closer to town you get
 
user457812
4:18 AM
Swift apparently has a standard library reference, but it's still mostly empty. Bummer.
 
4:31 AM
nil, this is the language processing library that I worked on when I was doing research at my university: code.google.com/p/kiama
It's written by the professor I worked with. I missed using it.
 
user457812
4:47 AM
Hm, I can't get playgrounds to work. Bummer.
 
How come?
 
user457812
I do new→playground and I just get a loading indicator that never stops.
 
user457812
Also, the window freezes. Not Xcode entirely, just that window.
 
user457812
Also, I am going to be perpetually irked that Array doesn't implement Equatable and that I can't add it myself.
 
user457812
Actually, maybe I can..
 
user457812
5:02 AM
I suppose the reason is that not all arrays will have equatable elements
 
Did you try turning it off and on again?
I mean quitting and opening it again?
 
user457812
You can probably guess.
 
My guess is yes
 
 
2 hours later…
6:42 AM
 
user457812
7:18 AM
I'm guessing that's supposed to be the swift equivalent of scalaz
 
You are probably right.
 
user457812
My character in Animal Crossing wears a hockey mask.
 
user457812
It's perfect.
 
I haven't seen borrrden today.
 
user457812
7:42 AM
I get the feeling this season's anime is kind of not good at all.
 
user457812
Aldnoah.Zero is kind of good but I have a feeling it's going to play out the way its writer's stories usually play out: tons of people die, nobody is happy, and in the end it turns out that everyone's going to lose nearly everything for what they've done.
 
Morning y'all
 
user457812
8:05 AM
'Lo.
 
8:37 AM
The worst part about holidays is having to come back
 
user457812
The worst part about unit testing is TDD people
 
lol
and also people who write bad tests
 
user457812
Trouble is figuring out what a good test is
 
user457812
The problem there being that I've yet to find a single source of information on unit testing or TDD that's pragmatic rather than dogmatic.
 
9:06 AM
Plop
Someone know why my app using FMDB Framework for SQLite works in iPhone 5 but not in iPhone 5S ?
 
user457812
No.
 
Using this line : " [self.database executeUpdate:@"insert into enterprise_data(id, del, title, data, file, created_on) values(?,?,?, ?, ?, ?)"
 
user457812
We don't know what your app does, your question belongs on Stack Overflow, and a single line isn't going to tell anyone anything.
 
user457812
So, again, the answer is no.
 
okey
 
 
1 hour later…
10:13 AM
does anyone know any databases where i can get free sounds?
 
 
1 hour later…
11:16 AM
Yeah good uses cases and Lira's and good design helps with determining TDD cases. I tend to write a test when an issue comes up and is fixed toojust to make sure otehr fixes dont break that one
www.freesound.org is a website that id imagine has a database behind it.
 
11:29 AM
thanks
 
 
2 hours later…
1:02 PM
@nil That's what most non-crazy people do. Only crazy people don't do tests, or do TDD.
Both are radicals
RADICAL FACTIONS HELLBENT ON DESTROYING ALL THAT IS GOOD IN THE WORLD OF SOFTWARE
 
1:21 PM
I'm back
 
Hi, Gudiya
 
hi
whats up
 
Nothing
Just Swifting :D
Do you know ? Apple Announces Eighth Annual iTunes Festival in London
 
nope
 
1:37 PM
from where
 
haha From iTunes
:)
Just Kidding
 
I see
 
2:18 PM
Bye Bye
 
bye
 
 
1 hour later…
3:22 PM
Good Morning!
 
Hey All !!\
Long time no see :D
 
3:39 PM
Viva la razaaaaaaa
 
???
 
Whats going on
 
4:00 PM
Hellos
 
4:26 PM
Back From Home :)
 
@AshishKakkad You were in office?
 
4:42 PM
yes
 
back
 
5:03 PM
@Gudiya and you are at office right?
 
yes
 
:)
Played Monument Valley Game??
 
nope
how is it
 
It's awesome :) Great :) many more words for this game :)
Amazing
 
5:20 PM
I played Quake 3 a lot
 
5:33 PM
okey
check out Wordbase game too by Robocat
 
5:49 PM
-4
Q: Iphone phone.app for ipad

Timothy Van den BergHello is there anyone that has a jailbroken iphone with ios 7 that can copy there phone app and give me a link to download im buzzy converting the phone app to be used on ipad and ipod ,i have the mobilephone.app from ios 3 but got it showning on my ipad but it crash .so please help me i would gl...

Someone can vote for closing question, please?
 
 
1 hour later…
6:53 PM
Hey guys
I hear your the guys to talk to :)
 
Yes
I am the one.
 
hahaha
I'm an android devleoper starting on iOS. What a good Mac laptop to get started with?
 
You're asking what would be a better machine to start iOS app development?
 
yes
well
yes but I don't want to spend 2k to start
 
Retina Mac pro 13 Inch costs less than 2k
Which is what I use right now.
Also - If you want to keep it cheaper, go for Mac Mini. It is only the CPU.
You will need keyboard, mouse and a monitor.
Mac Mini will cost you around $500
 
6:59 PM
I will have a mac pro next month
 
But it will be like a desktop
 
what about the macbook air?
 
the current one is office owned so I have to return it back, but I take it home everyday since the day I have got it :P
 
Mac book air I think isn't powerful enough for development
Its more of a browsing machine
 
mac book air is also cheap but I think there is some memory issue aswell
@jcaruso how much $ do you want to spend?
 
7:01 PM
I'd be happy with around or under 1k
 
mac book pro core i3
13inch
or make a dual boot hackintosh or vmware setup but that's not the best option
 
thanks guys, I'll keep that in mind
 
user457812
7:16 PM
Fire
 
user457812
Fire in everyone's pants
 
user457812
Like a thousand taco bells forced down your throats
 
huh?
 
 
2 hours later…
9:31 PM
@borrrden Unless you have any leads for the Jenkins question, I'm going to put a 50 bounty on it.
 
user457812
How does Jenkins interact with git?
 
I don't know
Oh, it needs the repo
To...
It's not doing testing yet, so I have no clue what it is doing
 
user457812
What version of git are you using?
 
1.8.5.2 (Apple Git-48).
0
Q: Why is Jenkins failing when fetching from git, while the command line isn't?

Ethen A. WilsonAll of my Jenkins builds are failing at the git fetch line. It's failing at git fetch --tags --progress git@bitbucket.org:ethenwilson/whentoact.git Started by user anonymous Building in workspace /Users/ethen/.jenkins/workspace/Build NikNik > git rev-parse --is-inside-work-tree Fetching chang...

 
user457812
That's really old.
 
user457812
9:38 PM
Update your git.
 
What is the command?
 
user457812
Install the newest command line tools.
 
user457812
They don't get auto-updated.
 
I'm looking it up right now, and it says I need to install Homebrew?
I need an admin password of that.
 
user457812
Or you could just do what I said.
 
9:40 PM
How do I install the newest command line tools?
 
user457812
Alternatively, build it from source and install it in a user prefix.
 
Apple builds their own git binary
They don't update it that much
1.8.5.2 is the latest
 
user457812
Then build from source.
 
user457812
'Cause that's not the latest git.
 
user457812
 
9:44 PM
Ah man
Well then
Thank you nil
For not letting me waste 50 rep
I did that once before when I ws in the 170s, and then I couldn't down vote anymore lol
Nil, if you want the rep for that add that as an answer
Else I will
 
user457812
I don't know if it's the answer.
 
It's the exact same log
 
user457812
I can't prove that.
 
You only post answers if you are sure they are right?
 
user457812
I only post answers if I have a reasonable idea of what's going on.
 
user457812
9:55 PM
I do not use Jenkins, have never used Jenkins, and don't really care about Jenkins at all.
 
user457812
All I did was go "ok, authentication is failing, let's check their issues page"
 
user457812
In other words, the thing I'd do for almost any other problem that involves a thing with an issue tracker.
 
If one of the workarounds works will you post an answer?
Lol most of the time I post an answer I only have a vague understanding of why
 
user457812
It's kind of frustrating that my Mac OS docset does not include XCTest. At all.
 
My Mac OS docket is screwed up
Also, when does the next beta came out?
How often do they come out usually?
 
user457812
10:01 PM
I don't know, I'm not in the dev program.
 
user457812
 
user457812
Someone just asked this in an old issue— then promptly deleted their comment.
 
user457812
I guess they realized.
 
10:39 PM
Apparently the next beta came out today lol
Have you got any news about your potential job?
 
user457812
Not yet.
 
user457812
Huh, Swift has a preprocessor..
 
What is a preprocessor?
 
user457812
In computer science, a preprocessor is a program that processes its input data to produce output that is used as input to another program. The output is said to be a preprocessed form of the input data, which is often used by some subsequent programs like compilers. The amount and kind of processing done depends on the nature of the preprocessor; some preprocessors are only capable of performing relatively simple textual substitutions and macro expansions, while others have the power of full-fledged programming languages. A common example from computer programming is the processing performed on...
 
user457812
Does what it says in the name.
 
user457812
10:43 PM
I wrote one for Blitz3D eons ago that allowed you to write object oriented code in it. Truly horrifying stuff.
 
Hey
 
user457812
'Lo.
 

« first day (690 days earlier)      last day (1466 days later) »