« first day (2289 days earlier)      last day (2666 days later) » 

12:09 AM
That's quite untrue
Did you listen to his speech today?
 
I stopped listening to him midway through the primaries because everything out of his mouth pissed me off
 
I understand that
But his speech today was actually good and quite different from the election crap speeches
 
Hey fellas!
Has anyone been using Anvil?
 
12:30 AM
GUI!
How you doing man?
@raghav are you at pennapps?
 
Hey Ahmad!
 
I'm doing fine pretty much, how about you all?
I'm struggling to code a search bar similar to youtube's :(
 
1:19 AM
 
 
3 hours later…
4:39 AM
@Ahmad Best of luck in PennApps :)
 
@Ahmad Best of luck in America
FTFY
@Ahmad Nope
 
 
1 hour later…
6:06 AM
@RaghavSood Me too thanks
 
6:25 AM
@TimCastelijns Here's the app, and here's the guide since the UI is terrible.
UI is changed, but playstore pics aren't, will do them later.
 
 
3 hours later…
8:57 AM
o/
 
o/
 
you awake?
at this hour?
what time it is there?
 
it's 4 AM
I'm at a hackathon that's why haha
 
oh lol
 
 
1 hour later…
10:16 AM
ANY ONE Create a Arabic Language APP?
m created many apps in multi language
but this time Arabic is in this list when select a Arabic language from phone setting then in my app spinner value not set in spinner from API but when selected language "ENGLISH" of phone then it's fill spinner
:(
Using LOCALE
 
arabic is tricky to deal with
 
:)
No error in code man
spinner also filled with values but not displayed when PHONE setting language = Arabic hell :(
 
10:51 AM
Literally, everything - every term have its own specific bugs.
they didn't make anything right.
 
 
1 hour later…
12:15 PM
Rup what do you want me to test exactly?
 
12:30 PM
@rupinderjeet issue solved brother
m created a dacorated drawable for spinner background man
and when select arabic language changed layout
so it's gonna hide man :(
silly issue
 
Tim, Camera Only.
and, I wanted you to not test it, I asked you to recommend me the changes in design.
Should I adopt the android preferences design?
I am a failure at material design.
@ChewbaccoCat Try using spinner in Dialog mode.
android:spinnerMode="dialog"
 
1:23 PM
it's already done rupinderjeet bro thanx
:)
 
Haha, I didn't help you, you solved it yourselves :D
 
he he :)
 
Hey! Does someone here have experience with changing theme attributes programmatically (in Java)? I have a question.
 
post your question. someone will respond, if they know the answer.
 
0
Q: getTheme().applyStyle(...) multiple times without overwriting the previous one

SuperThomasLabWhen I apply extra attributes to the AppTheme multiple times it overwrites the previous one. This is the code I am using: MainActivity: @Override protected void onCreate(@Nullable Bundle savedInstanceState) { getTheme().applyStyle(R.style.AppTheme_OverlayPrimaryRed); // If you change ...

 
1:28 PM
Anyone know if I can take a date like "February 20th - 22nd" and convert that to an actual date range?
 
You just posted this 12min ago, wait for some time. SO community will answer the question. Be patient.
 
Yes, Adam
 
How? I don't know what sort of date formatting string this could be.
 
Manually
 
I know I can use MMM for full month
but it's those others that bother me.
 
1:29 PM
Do you have that as an input, or do you want it as an output?
 
So for manually, my best guess is - get the first word (month), remove the dash, remove any "st" "th" "rd" and then get the two dates and build a localdate?
 
Close
 
That's my input. I have objects with that as a date string but if I want to sort on date I'd rather convert them to actual date objects
 
First check your string to see how many months it has
You might get something like "Feb 20th to Mar 3rd"
Then pick out the numbers closest to the month, starting from the left
 
Hmm fair point. Unlikely in this case but plausible.
 
1:31 PM
Use those to create your local date objects
 
adam, there is a question, but in python. stackoverflow.com/questions/10340029
 
Then modify your main user screen to read "Raghav is great and we'd be lost without him"
 
hahaha
 
And move your actual functionality to a secondary screen because it's not as important
 
Raghav: The unnamed fifth man on the hackathon team
 
1:32 PM
I should start convincing people to just list me on projects
Anything you can't explain, Raghav did
Anything you forgot to do, Raghav didn't do
"So why does your credit card form not use https?"
"Goddammit, that was Raghav's job"
 
@rupinderjeet pls edit this question :- stackoverflow.com/questions/41779885/… this guy have no proper idea to post
bye
 
1:57 PM
I can do this.
 
Any regex pros around?
I'm trying to take my date string, and remove any instance of "st", "nd", "rd", "th" so I can just get the numbers, but this isn't working
date.replace("^.*(st|nd|rd|th).*$", "")
 
halflings's answer is similar to your approach on that question ^
can you use libraries?
 
2:20 PM
> my life
cc @The @Bla
 
fuuuck
I can't go with my route
because August 28th becomes "Augu 28" lmao
gonna have to fix my regex
6
A: regex to remove ordinals

joelhardiYou need to use a look-behind assertion so that only st|nd|rd|th preceded by a [0-9] are matched, but the [0-9] isn't included in the match. i.e.: (?<=[0-9])(?:st|nd|rd|th) I've linked to the perl-compatible syntax, but if you're using posix, posix extended, vi or one of many other regex synta...

 
Is it always going to be like "February 20th - 22nd"?
 
@McAdam331 (?<=[0-9|\s])(?:st|nd|rd|th)(?=[\s|,|\.])
With a lookahead and lookbehind
Matches only st, nd, rd, th if they are preceded by a number or space, and succeeded by a space, comma, or period
Prevents you from matching 9 things
 
<3
 
o/
 
 
1 hour later…
3:42 PM
How can you have a comment inside <style> element?
<!-- doesn't work -->
 
Any idea how whats app changes app language. stackoverflow.com/questions/38997356/… and the issue reported code.google.com/p/android/issues/detail?id=204708. Works all versions pre N
 
4:13 PM
o/
 
\Ω/
 
if I were to ask about difference between superscalar and vector CPUs, which would be the right SE to do it?
If I understand the topic correctly, it has to do with hardware and cpu design more than software/asm
 
I'd go for one of the hardware ones
 
so I suppose SO is the wrong place, even though I've spotted some old CPU oriented questions here
superuser?
 
Probably for this level
Don't seem to have a good hardware SE
Maybe SO, SU, or EE
 
4:23 PM
alright, I put it on SU
 
4:40 PM
aaand got down- and closevote
 
what was the question?
 
0
Q: What's the difference between a superscalar and a vector processor?

LukeThey both can process multiple instructions in the same time, but I suppose there is a fundamental difference which makes them different? Also, if I understood correctly, both scalar and vector instructions are present in a modern CPU, so I suppose those two are not mutually exclusive (scalar in...

this one
 
you might be able to make sense of this: pdfs.semanticscholar.org/e102/… read 6. Related Work
 
5:00 PM
I started writing a reply then thought I was getting somewhere
SIMD is, from my understanding, not directly related to either vector or scalar processors, it's just a way data is processed on a more abstract level (single instruction which works on multiple data)?
but then figured out superscalar CPUs don't need to be SIMD (i.e. different instructions can be parallelized, not just one like in the case of SSE or similar)?
 
So ESP8266 requires you to split your flash in half if you need OTA updates
With the logic that if an update fails or is corrupt, you always have a safe version to fall back on
 
I have no idea about these. I am just learning about superscalars now. and vector_processors are queued.
 
Theoretically, however, couldn't I fit an updater in 10% of the flash, that is run, checks for updates, and then installs them if found, or passes control to the main app in the rest of the 90%?
The updater itself is never updated, so it's always runable
Only the app code is updated
and even if an update fails, the updater can just do it again
 
o/
 
5:59 PM
sigh
I just discovered I have two free nights at Hyatt hotels
 
nice
 
It's getting hard to track all my credit card free stuff
 
6:55 PM
hi frands
 
7:13 PM
/o
 
 
1 hour later…
8:41 PM
AAAAAAAAAAAAAAAAAAAaaaaa
0xAAAAAAAAAAAAAAA
 
9:34 PM
1 hr later-.----
xD
good weekend for everybody :3
 
@TristanWiley
(☞゚ヮ゚)☞ That's where you're wrong kiddo
 
 
1 hour later…
10:45 PM
o/
 
MAUKER!
<3
 
 
1 hour later…
11:54 PM
ADAM <3
Just took me one hour lol
 

« first day (2289 days earlier)      last day (2666 days later) »