« first day (1807 days earlier)      last day (3142 days later) » 

user457812
12:26 AM
@SteveG Yes. It's a Cintiq.
 
user457812
i.e., it's a drawing tablet, which is what tablet meant before the iPad.
 
i will be buying one of those
 
user457812
Well, if you want to spend $800 to $1000 on a display, minimum, that's your call.
 
user457812
I've wanted one for the last 12 years or so, so I get a pass on finally having the money necessary to buy things.
 
i want to build a sick rig, then have everything just use that, like hook it up to my tv, some displays, that cintiq thing looks awesome..... now if there were only a way to use it for my laptop + gaming
 
user457812
12:28 AM
Wacom makes a tablet computer.
 
user457812
It costs more, obviously.
 
user457812
It's also not a sick rig.
 
user457812
Cintiqs aren't highly portable, so you're probably better off just forgetting about it.
 
hm
 
 
1 hour later…
1:32 AM
should i use services instead of repositories in android? intentservices?
is that how it goes
 
instead of repositories?
services for what?
 
Use IntentServices to set the repositories service
 
what repo are you guys talking about?
 
1:54 AM
I'm not talking about anything. I just happened to stop in and see that weird question. So I gave a weird answer :P
@SteveG What exactly are you talking about?
Services are basically used to keep things alive if the activity is no longer running (but has other uses). Intent services can run stuff on a background thread and kill itself when it's work is finished. Repositories are a completely different thing
 
i have some web service calls i'd like to make, and i'm used to the repository pattern, but it seems like most of the time in the examples i've found and explanations, the asynctask thing is in the actual same class as your activity.... i'd like to separate my code, whats the best way to go about that in android
there should be two calls an hour at scheduled times
im not sure i guess, in C# i'd just make a repository, and asynchronously await for it's result, i guess i'm wondering whats the standard way of doing this in android, the examples i've found don't seem to please me, but i'm not sure if thats just because i'm going down the wrong path because i'm too used to C#
 
AsyncTasks can be their own file. They are usually used as an inner class of the Activity if that is the only one which will use it
If you want them to be called even when the Activity isn't running, then you probably want to set an AlarmManager and run an IntentService (if there is no UI stuff to be done)
 
basically, i have a domain model, which acts as a local cache, twice every hour, i want to update my domain model, so even if i put the AsyncTask in it's own file, my domain models reference is in an application layer service (non-android lingo service).... so I could just populate a local arraylist in that AsyncTask class, but then how would I notify my application layer to grab it and feed it into my domain model
i hope tha tmakes sense, i tried
 
When my family told me to stop impersonating a flamingo I had to put my foot down.
3
 
huh
lol
 
user457812
2:05 AM
Someone give me owner access
 
user457812
I need to ban @McAdam331
 
That was comedic gold, Nil.
 
ugh, i need somebody who understand meh, @Pheonixblade9
 
user457812
I guess it's true what they say: one man's garbage is another man's garbage that pretends to be comedic gold.
 
What did he do now?
 
user457812
2:17 AM
A dad joke of the lowest order.
 
How are you gonna call that lowest order?
 
user457812
I'm trying to play Soma but it keeps putting monsters in the levels and it's making it boring because it means I have to do a lot of sitting in place for things that aren't scary but do make the plot harder to progress.
 
2:39 AM
What's white, red and full of holes? My face after trying to eat with a fork.
 
40 mins ago, by codeMagic
If you want them to be called even when the Activity isn't running, then you probably want to set an AlarmManager and run an IntentService (if there is no UI stuff to be done)
 
i think i got it down :D
thanks!
 
doesn't that give you what you want? You want to update the model twice every hour and I don't see anything that needs a UI
Ok, good! What are you using now?
Sorry, my daughter won't go to bed until I do so I've been here and there :D
 
im not sure, what i already have implemented i tied a listener to the system clock, since I needed it to be at a specific point in time, but now that i think about it, the AlarmManager might still work, considering it's the same time four times an hour (2 times for the api, and 2 times to update the UI)
(im hitting the api like 10 minutes before i update the the UI, maybe thats too much, idk)
im not sure if i should continuously update even when the app isn't up though, like, when they go to another app, i'm guessing my system clock listener thing won't work any more
but, if i continuously update, then i'll be sending them a lot of data which will destroy their phoen bill, but if i dont, when they re-open it, it's going to have a longer time loading that data, so it seems like i have no good option... think i'm in favor of not blowing up peoples bill
 
2:56 AM
How long does it take to get the data once they open your app?
 
@nil Do you use fountain pens for writing and/or drawing
 
user457812
No.
 
3:33 AM
Pretty pleased with this hamburger to close button animation http://t.co/8QgbMtLRR2
 
4:32 AM
Shokugeki no Souma was fun
 
 
2 hours later…
user457812
6:11 AM
It was fun and weird.
 
user457812
I need more cooking/baking animes.
 
7:22 AM
o/
 
Eh
This is working but youtube seems down to me
..
F5 F5 F5
 
8:03 AM
 
 
3 hours later…
 
2 hours later…
1:18 PM
 
anyone seen the new southpark episodes?
 
1:55 PM
Just wrapped up my HackGT submission
This hackathon was actually fun
Like, intensity wise
My team and I were initially doing a mobile based treasure hunt, except two of them didn't like the hackathon and went home, and one of them had to go to work
So like 70% through the hackathon I had to pivot to something I could do on my own
So I built a file system based on Pi :D
It splits your files into chunks, and stores the locations of those chunks in pi
And reverses the process to get the file back
 
o/
 
2:38 PM
o/
 
 
2 hours later…
4:44 PM
@TristanWiley where?
 
@RaghavSood Wow!
that's awesome
but hasn't someone built that already?
did you have a static file of the first 200 million pi digits?
 
I generated them once and cached them, yeah
Too expensive to generate each time
 
how did you generate them?
 
The Chudnovsky algorithm is a fast method for calculating the digits of π. It was published by the Chudnovsky brothers in 1989, and was used in the world record calculations of 2.7 trillion digits of π in December 2009, 5 trillion digits of π in August 2010, 10 trillion digits of π in October 2011, and 12.1 trillion digits in December 2013. The algorithm is based on the negated Heegner number , the j-function , and on the following rapidly convergent generalized hypergeometric series: Note that 545140134 = 163 x 3344418 and, This identity is similar to some of Ramanujan's formulas involving π...
 
awesome :D
 
4:56 PM
TIL all those crazy PI series are generalized as Ramanujan–Sato series.
 
is generating them worth it? you can download some billion digits
 
I did
But that's too slow for demo purposes
200m is a good point between enough data and fast enough
 
Good evening morons! :)
 
24 mins ago, by Anubian Noob
@TristanWiley where?
Where what?
 
5:10 PM
yesterday, by Tristan Wiley
Dude, we all have to get in. The squad. @Ahmad @AnubianNoob @McAdam @Raghav!
 
Ah, YHacks... at Yale xD
 
Gotcha... I've applied already
 
Awesome! I really really want to get in
Like, it's unnatural
 
5:44 PM
Woah, I almost have 900 rep 0.o
 
6:10 PM
^MRW waiting for boilermake acceptances.
 
6:29 PM
for all you enum enthusiasts
 
Enums are cool, don't know why the hate
 
because of the immense overhead /s
 
This guy is making $$$ off those shirts
 
6:51 PM
Well, they are like any other class
just with predefined objects
In Java, and I dare to say in many newer Android devices as well, they work flawlessly
but okay, public static final int is always going to be faster
 
user457812
The problem with enums is that if you come from C, Java's enums are terrible
 
user457812
Or really if you come from any language, Java's anything is mostly terrible.
 
user457812
Can someone move that gif to the bin so it stops being really annoying?
 
7:10 PM
@AnubianNoob is he?
you can actually make money off the t-shirts?
1 message moved to Trash can
moved, nil :)
 
user457812
Speaking of t-shirts, I wonder when that purr programmer shirt I ordered will arrive.
 
user457812
Oh, it's expected to arrive tomorrow.
 
user457812
Yaaay new shirt
 
user457812
I've had to slowly start replenishing my supply of t-shirts since the ones I've had for the last six years have all decided it's time to develop holes.
 
I have way too many.
Too many hackathon shirts
I estimate the number to be greater than 60
 
user457812
7:23 PM
i.imgur.com/p9yhoKD.gifv ← I don't think this is working as intended.
 
user image
2
I have this one from shoppify
lol at that gif
reminds me of windows
 
@nil ah, yeah, I get that, you have to get used they are full-fledged classes, not labelled numbers (and shouldn't be used as such, imho)
 
user457812
Closest I've come to Shopify is using their Go libraries, which are reasonably popular
 
user457812
Have I mentioned Go recently? You should probably learn Go. It's kind of becoming important.
 
Go seemed interesting, never got the time to learn it
I want to try Kotlin next
 
user457812
7:29 PM
Kotlin will probably die in obscurity.
 
user457812
I considered using it for a couple projects a while back but it was just a royal pain to set up, the compiler required IntelliJ, and it didn't really address any important problems
 
7:57 PM
the compiler required intellij?
lol
 
user457812
The compiler was originally an IntelliJ plugin.
 
user457812
That was how you used it.
 
Folks, do we have a chat room for Gits, Mercurials, SVN, BitBuckets and source control in general ?
 
@Ahmad Yeah that's the point of teespring
The shirts have a base cost and you can set any price higher than that
 
can you also just sell them at the base cost?
(and how high is that base cost?)
 
user457812
8:06 PM
I got my purr programmer shirt from teespring. It was a good idea.
 
user457812
teespring.com/purrprogrammer ← The best idea.
 
:D
 
oh god that guy is making even more $$$
Base cost is 10$ max
12 with art
 
LOL
I don't get why he feels the need to make money off that
it wasn't even his idea
 
hello room-15
 
8:20 PM
@nil does Go (successfully) address any important problems?
 
hello
 
@Ahmad you here?
 
yah
 
Adam told me you created his CashCareteker logo for him and I am pretty bad at such; I have a logo that I would really appreciate help with creating a 512x512 version and I only thought of you!
Would you please help with that? I was uploading resources to the playstore and then realized I don't have that size
And of course you can suggest a better design
 
o/
 
8:23 PM
\o
 
user457812
@SargeBorsch Concurrency, memory safety, correctness, ease of learning, maintainability, etc.
 
user457812
Ease of learning and maintainability are actually more important than they sound like at first. You can learn any language and be semi-functional in it in probably about a day, assuming you've been coding long enough and the language has constructs descendant from C, but to actually be useful and proficient beyond making small changes takes a while.
 
what do you mean by correctness?
what does it bring to maintainability?
how is it easier to learn?
on first two, is it any better than Erlang for example?
 
user457812
I mean correctness in the sense that at compile time, I know the code is all grammatically valid (i.e., undefined variable access is not an issue, unlike almost all interpreted languages)
 
user457812
I do not mean correctness in the psychotic and incorrect religious sense that Haskell users have
 
8:27 PM
that's true in almost any language
so, Erlang has it too
 
user457812
Almost any except for pretty much all of the interpreted ones, which is unfortunately what the majority of web devs use and those pricks are a dime a dozen
 
user457812
Erlang is, from what I've seen, far more pragmatic than Haskell
 
nope
 
user457812
It had a job to solve and it solved it. Haskell is the research project.
 
oops I misread.
yes, it is
but there is some real software in Haskell too
even good and useful
 
user457812
8:29 PM
Anyway, easier to learn just means that you can probably keep all of the Go language in your head.
 
like Pandoc
 
user457812
There is and some of it is useful, yes. In particular, there's a very good window manager written in it.
 
user457812
Cases like that are few and far between, though.
 
user457812
It's not that Haskell is inherently bad, it's that the community fostered an inherently awful focus
 
@nil that means basically — there are not a lot of features, so you'll also need to remember some other stuff to be productive
 
user457812
8:30 PM
So my expectation is that for the future of Haskell, it will be the thing that other languages pluck features from, not the thing people use.
 
user457812
There aren't a lot of features, but the ones that are there are the ones you'll use the most.
 
user457812
As a result, I cannot write code that you cannot figure out without doing some very, very bad things, which are difficult to do unless you're really into trying to recreate node.js
 
user457812
Then with maintainability it's partly that and partly tooling, where Go just comes with almost everything you need (sans debugger, which is still a huge flaw) to test things
 
user457812
Granted there is a debugger but I mean one shipping with the language.
 
@nil this also means less expressiveness
 
user457812
8:32 PM
After seeing what people do with expressiveness, I'm fine with that.
 
@nil that's true for almost any modern language
 
user457812
I've seen quite enough ruby DSLs to know those people are god damn stupid
 
user457812
@SargeBorsch It's really not, actually.
 
Ahmad, sorry for bugging you on this;
 
user457812
How many languages ship with a race detector? How many come with testing support built in? How many include code introspection tools?
 
user457812
8:34 PM
How many have profiling you can switch on at runtime built into their runtime?
 
user457812
Very few modern languages that matter actually have these things. Almost all of them require third-party tooling.
 
what does it mean — testing support built in? testing is always possible.
speaking for third party tooling — does it really matter if it's "first" or "third" party, as long as it does the job?
@nil that's not the only use case for expressiviness
 
user457812
Yes. If the tool is built in, everyone will work with it. If it's not, you end up with a fragmented bunch of tools that only some people know about.
 
user457812
It isn't the only use-case for expressiveness, but it's an obvious, malignant problem. Beyond that, expressiveness is overrated.
 
@nil I heard things like this about C++
but not for something else…
what do you mean?
Writing bad code is possible in any language, so what matters is the ability to write good code
I don't know a lot about Go yet, but in Java for example some things are a PITA because of lack of expressiviness
 
user457812
8:38 PM
What matters is the ability to write clear code.
 
I'm talking about 'clear', too
 
user457812
Good code is just code that you agree someone wrote the right way, bad code is when you disagree. If you can limit the number of ways someone can write something, then the cases which are bad decrease rapidly.
 
user457812
In Go, it tends to be obvious when you've done a bad thing, like not checking if an error occurred or writing to a global variable from multiple goroutines (which the race detector will catch if you're not already aware of how bad that is)
 
they can also increase because of increased number of cases when one is forced to work around language limitations
 
user457812
From everything I've seen, this has so far not been an issue.
 
8:41 PM
speaking about global variables and bad things — Erlang does not have them at all, for example, so it's even better
 
user457812
Erlang's problem is that it's borderline esoteric.
 
user457812
It's also difficult to learn.
 
nope, it's used in production a lot
 
user457812
How many people do you think I know who know Erlang?
 
it's just popularity issue — because not a lot of people really need scalability and fault tolerance
 
user457812
8:43 PM
How many people in this room would know someone who knows Erlang?
 
user457812
Erlang's the sort of language where it's good for a specific purpose, and most people's problems don't fit into it
 
that's better than when a language does not have any purpose
 
user457812
Well, Haskell almost becomes that if it stops being a research language.
 
general purpose != no purpose :)
 
user457812
I think the main problem with programming languages is largely that everyone approaches them with only their own skills to consider. They look at it and go, "I like these things, this is good for the problem I'm addressing." What they fail to consider is how hard it's going to be for someone else to come in and start working on the same problem or codebase.
 
8:46 PM
I mean, is there any area where no language better than Go did exist at the time Go was created
 
user457812
Yes. Writing servers.
 
for concurrency and fault tolerance, it doesn't beat Erlang
for servers Erlang is superior
and what for other areas?
 
user457812
Only at a technical level, not at a human level.
 
user457812
You're ignoring the human cost of learning and maintaining Erlang programs.
 
user457812
How hard is it going to be to replace the Erlang programmer if they get hit by a bus?
 
8:48 PM
it's hard only until you start, I promise. there are good books and stuff
 
user457812
That's not how it works.
 
and writing that kind of software in other languages is a lot harder
 
user457812
In real life, on a job, you don't get to be the guy who comes on and goes "well I don't know Erlang but you should assign me to this"
 
try making a server capable of hot code reloading in any other language
 
user457812
You get to be the guy who says you know Erlang or you don't, and if you don't, you don't get the job.
 
8:49 PM
then I live in an alternate universe
 
user457812
Probably.
 
because I didn't know Erlang from the start
 
user457812
So what you're saying is you're the exception to the rule.
 
and (at least for some time) I did some work in it
 
user457812
Good for you, I'm glad you got to be the exception. The rest of us don't.
 
8:51 PM
there's nothing really hard in learning it, for example Scala is a lot more complicated
 
user457812
The rest of us have to be able to get into a project fast and solve a problem, because that's the only time people actually hire anyone.
 
user457812
Anyway, I'm not continuing this discussion because I feel like it's less about you caring whether Go solves a problem and more like you want to prove it isn't the number one solution for something.
 
that's basically the same — if it doesn't solve any problem better than already existing languages, what's the point in creating it, if it's nothing new
 
user457812
If your only example of an already-existing language is Erlang, then you've already failed to make a case for a better language.
 
this is an example for the server's area
 
user457812
8:54 PM
I'll leave it at that. I get it, you like Erlang, you want Erlang to be popular, but you're losing no matter what because it's Erlang.
 
in other areas, of course, there are other languages
 
so, how's everybody doing today/tonight?
 
meh
how are you?
im bored
 
fine and busy with final thesis work, no time to be bored :D
 
even if we compare Go to Scala or Python, what does it bring to the table, except some removed features?
 
user457812
8:56 PM
This discussion is going nowhere. Drop it. Go learn Go if you want to evaluate it.
 
user457812
I already evaluated it for my purposes, and it was the best option. Your purposes are not my purposes.
 
Maybe at some time later. If I'll be convinced enough. This phrase "You should probably learn Go. It's kind of becoming important." doesn't create a vision of why it's something valuable…
 
user457812
Good. I'm glad you've identified that I'm not trying to be a salesman.
 
9:13 PM
 
9:24 PM
@Eenvincible oh yeah sure
I actually just created it with this: romannurik.github.io/AndroidAssetStudio/…
3
it's pretty easy and straight forward
 
Thanks; I have figured it out;
 
nice, thanks for the link, Ahmad
there, have a star :)
 
Yeah that is a star
 
T-3d, good night
 
10:03 PM
Waiting for my app to go LIVE!
 
what's it about?
 
haha nice
 
Thanks;
Something to spend time doing when am free haha build small stuff
 
 
1 hour later…
11:17 PM
o/
 
o/
 
11:39 PM
What's up
 
11:58 PM
\o
 

« first day (1807 days earlier)      last day (3142 days later) »