« first day (2669 days earlier)      last day (2278 days later) » 

12:38 AM
@DSM there, a userscript for you :)
that took me way too long to write, by the way
 
1:31 AM
cbg
 
I am doing: sudo easy_install pandas
but got a lot of warnings:
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1788:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from pandas/_libs/sparse.c:526:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
is it normal?
 
cbg
@TelautonomousKitty I don't think so... try upgrading numpy first?
 
ok, lemme try
upgrade numpy still same error :(
 
1:54 AM
It's not an error
it's a deprecation warning.
 
why are you using easy_install?
why not pip?
pip installs with no warnings at all
 
@JoranBeasley Thank you. It is very interesting. I should probably apply for the Sales Director position (seriously!), but I won't; moving to the US would be complicated, although WA might be one of the places I'd love to. Other than that, you don't do remote...
I see you prefer candidates experienced with python2.7; have you got a need for a free lancer, or remote, or a small team, to migrate to python 3?
Maybe we should talk?
 
@idjaw Ok, thx, lemme try
 
DSM
2:10 AM
No time to chat, but (1) yeah, install using pip like idjaw recommended, and (2) that's actually a standard warning you get when you build pandas manually, because cython is used a lot in the code and it uses the older numpy api
also don't be messing with system python, use a local venv instead
 
Am I missing something? If you go to the top users page by reputation for the week, you'll see a user with nearly 1k rep earned just for this week (count starting from Sunday), but if you look at their profile, they've only earned 10 rep in the last 2 days.
 
2:35 AM
Hello everyone! Does anyone here use pipenv?
 
2:47 AM
I just do python3 -m venv venv and it creates a folder called venv and then I do source venv/bin/activate
holy moly why did nobody tell me about pipenv? github.com/pypa/pipenv
 
 
1 hour later…
3:50 AM
cabbage
what is the goto library for vector & matrix operations in vanilla python?
(not numpy)
 
numpy ;P
 
4:12 AM
haha
I saw you mentioned skulpt yesterday @JoranBeasley; there is repl.it that you may like for "pair" coding for interviews.
 
afaik its not shared though ... ie you write it and then share it
 
yes, I don't think you can edit simultaneously.
This is why I used "pair" in double quotes.
 
basically i made my own ;P
it took me less than a day ... hold on ill get you a link
 
Yes, I saw that; I was quite impressed.
 
4:24 AM
It did not load; I changed my VPN settings. Trying again.
 
can you see it
theres soem security related things to deal with but for now i can just spin it up and down on aws as i need it
 
5:26 AM
I am getting this:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jrTsjV/pandas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-62Ao66-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-jrTsjV/pandas/
while installing pandas (sudo pip install pandas)
 
 
1 hour later…
6:45 AM
nevermind, got it working
 
hi
wait...this isn't the lounge...@TelautonomousKitty you tricked me!
 
how are you this weekend?
I found out that Samsung sabotaged my Android app.
It cannot install on Samsung devices with Bixby because of a permissions conflict
4
Q: INSTALL_FAILED_DUPLICATE_PERMISSION with Samsung Galaxy S8

Code-ApprenticeI am attempting to install my app on my new Samsung Galaxy S8 for the first time from Android Studio. When I do so, I get the following error message: Installation failed with message Failed to finalize session : INSTALL_FAILED_DUPLICATE_PERMISSION: Package bbct.android attempting to redeclar...

 
Dev
7:13 AM
Hello people
i am working on a lambda function on aws, the requirement is to connect RDS with lambda, i am java guy, so don't know much about python, can someone please guide me to get this done.
 
7:28 AM
hi guys does anyone knows how to use float values in os.urandom()?
 
@oglox Are you sure you don't want to use random.SystemRandom instead?
 
@ArneRecknagel thanks yeah I think you're right
 
You're welcome
 
7:58 AM
Hi guys
Is anybody here who have worked with oracle ?
 
@Code-Apprentice it's Monday here already ... and I have never bothered to find out what Bixby is :p
 
This is probably a case of importing the models.py twice with distinct names... — Antti Haapala 9 secs ago
python 2: sucks.
 
8:35 AM
cbg
 
user6568562
Cbg
 
@randomhopeful cbg, long time no C
 
user6568562
@AnttiHaapala Hey Antti :) It was long, indeed. I try to pop once in a while but work and what have you kept me busy. How are you ?
 
still same stuff but not that much. Now almost 100 % independent consultant instead of a wage slave
 
user6568562
That's really nice, man. I'm happy for you.
 
8:52 AM
@randomhopeful hey!!!!
welcome back
@AnttiHaapala +1
 
user6568562
Hey Andy ( : Thank you
 
@randomhopeful would you know any IT people in Tunis or vicinity...?
 
user6568562
@AndyK A couple of acquaintances from back when I used to work in a call center.
 
@randomhopeful looking to hire someone in the vicinity of Tunis
 
user6568562
9:10 AM
@AndyK KeeJob and TanitJobs should be a good start.
 
@randomhopeful brilliant!!!
thank you very much
 
user6568562
;)
 
now that you're here :P
 
user6568562
@AnttiHaapala This is amazing :D Thank you, I didn't know about this sequel. It's good to see the drummer isn't shy anymore and Kari more rock star than ever
 
9:34 AM
morning.
 
10:12 AM
Cabbage
 
cbg
oh, room meeting today!
 
10:41 AM
cbg
do we have an attendance register? :-p
 
see the pinned message :P
who misses it won't get any waffles
 
user6568562
cbg
 
user6568562
10:56 AM
I registered as well, and it better be good, and I better not be too drunk.
 
ah, I wish I could be just-about-right drunk.
 
user6568562
The just-about-right amount of drunk is pretty quantifiable, to my experience. What isn't is the lack of self-discipline that makes one go beyond that point.
 
slow but steady :)
 
 
2 hours later…
1:11 PM
cbg
 
cbg
 
1:22 PM
Oooh, email reminder!
I feel so posh
 
Can one attend if they haven't registered?
 
of course not ;)
I'm pretty sure it'll be an open discussion with whomever wants to join
 
Oh, it's happening in this room?
(sorry, newbie here)
 
Yup, it’s here and everybody is welcome :)
 
I'm not sure, but that's an implementation detail and I'm sure there will be sufficient heads-up here
 
1:28 PM
Nice. I'll stay awake then...
 
The event registration is just for SO’s own event system to remind you to get here when it starts. It’s not necessary and you are welcome to be here and participate even if you didn’t register there.
 
okay thanks :)
 
The room meeting is being held off-line at the spot in the South Pacific Ocean that is farther from land than any point on Earth. If you're not already on our private ocean liner, The Valiant Cabbage, it's going to be tricky to get there in the next 160 minutes.
 
“The Valiant Cabbage”? :D
 
"farther from land than any pont on Earth", nice nerd snipe for unwanted third parties
rbrb for now
 
1:31 PM
Reverse nerd snipe: it already has a wikipedia article so you don't need to triangulate it yourself
 
awwww
 
@AndrasDeak First posh, now French?
 
I don't think there's any deterministic way to find points of inaccessibility in finite time, anyway
pick a random point in the ocean, expand a circle until it hits something, repeat one million times, and maybe the largest circle indicates the spot you're looking for, perhaps. Or maybe your RNG didn't give you the values you needed.
 
anyone here who knows flask?
 
I think there are better options than choosing a random center point..
 
1:36 PM
I guess you could iterate over a nicely spaced grid if you wanted.
You also don't necessarily want to stop expanding the circle when you hit a single point of land. You should "push off" of that, moving the center in the opposite direction, until you hit two more pieces of land and can't expand in any direction any more
Hmm that probably makes quite a lot of points converge on the true point of inaccessibility. The plurality of points, I suspect.
 
recbg
 
Hello all. I am trying to make a HTTP PUT request inside a flask-ask view function, I wanted to know is it okay to do it? because it's working fine locally but not when I deploy it
 
Obviously, it’s implemented in JavaScript: github.com/mapbox/polylabel
 
Great, now we just have to rewrite it so it works on a sphere.
(spheroid.)
 
1:54 PM
Hi there, I'm trying to come up with some solution for a pandas issue. Let's say I have a DF. I basically want to do the following row['newColumnName'] = row[row['columnSelector']], which will take the columnSelector value which holds the name of the column of interest and add the value present in that column as value of the newly added column. This works iterative, but I want it to work as a single line too :/
 
Why do you want things to work in a single line?
 
I was hoping for some pandas magic ;)
 
That blog links to the Wikipedia article for Straight Skeleton and I keep looking at it and thinking it's a slang term
"You got a promotion? Wow, that's just straight skeleton"
 
As opposed to an askew skeleton?
 
user6568562
@Kevin I kinda see it. It has some bees knees feel to it.
 
2:01 PM
If we interpret "straight" as "rigid", then the opposing kind of skeleton would be...
Relaxed skeleton?
 
user6568562
Or twisted, or horizontal or gay.
 
The above image may very well qualify for all of those, for all we know.
Mind you, it's not much of a twist. Maybe fifteen degrees along the entire length of the spine, in order to face the camera
 
user6568562
@Kevin lol That's true.
 
It's half an hour past when my coworkers usually arrive, and the office is still empty. Are they all hung over from Suberbowl celebrations?
I'm as pleased as anybody that my city's owl was voted most superb in 2018, but it didn't stop me from getting a proper night's rest
 
I think my office is under going the same issue this morning.
 
2:16 PM
@randomhopeful you joining the room gm? :d
gyyyyyd
 
\o cbg
 
Update: some of them showed up.
 
Oh right today's the big day :D
 
user6568562
@AnttiHaapala Yeah, baby :P
 
> I know that scratch is better than python.
Mondays...... sigh....
 
2:30 PM
Scratch?
 
It's a program that uses puzzle pieces to teach kids how to code.
 
Fig 1: my reaction looking at the pinned room meeting announcement
 
@Kevin cryptic messages are the best
 
Don't I know it. Cryptic is my default state of being
 
2:34 PM
@MooingRawr Sadly thats what I was taught in High School. I was able to make a screensaver. Thats about it. Its great for kids in Id say a middle school or elementary level.
 
I couldn't test it yet, but I am sure that getting kids hooked on Factorio is The Best Way to nourish their programming skills.
Much better than Blocks or what not, that barely teaches any useful programming and is no fun at all.
 
I was actually a pretty big fan of app inventor 2 in one of my college classes. It is made by MIT (which I believe scratch is as well) and follows the same block style as scratch. It allows you to make an android app in minutes. And you can test on your phone with the QR code it gives you.
 
Partially agree. Games that encourage forethought and logical thinking might improve programming ability as a side-effect, but Factorio is not particularly special in that regard.
 
Having some more wide spread games that involve simple programming would be awesome. My senior thesis was about teaching young kids programming and how the logic learned could help in all areas of the classroom through the early years.
 
You can create logic gates in the game with circuits but that's the kind of thing you play around with if you're already a huge nerd. "Two steps below assembly" isn't the best introductory level
 
2:43 PM
@ZackTarr Yes, a thousand times yes.
cbg all
 
Very true. Scratch is much better at that but it is not a game. I would be fun to see a scratch type language inside of a decent game. Then after a few levels or so then it would move towards like simple scripting in python?
 
The problem with all the games that have "learning" as their objective is that they are never (in my experience) fun.
 
I have a certain fondness for the model of "game does not directly involve programming, but has a vibrant and welcoming modding community"
I wonder how many kids learned Java because of Minecraft?
 
@toonarmycaptain It was super fun to research. IIRC there are some countries in Europe that are doing this already.
 
@Kevin I did not actually mean the logic programming part, more the general way of how the game is played. Modularizing, optimizing, re-thinking..
 
2:46 PM
An example of a good lesson plan from back in the day, it teaches binary search through Santa. csunplugged.org/divideandconquer
@Kevin I would assume a decent handful. Honestly its a shame MySpace died out due to the HTML coding for your homepage.
 
@Kevin too many... myself included... :\
 
@ZackTarr We learned some Logo and baby HTML at school. My parents' teaching the basics of booleans and machine logic, about pcbs and logic gates etc was an excellent primer for life.
 
@Kevin expand every point of the shoreline towards the sea. Basically the Huygens--Fresnel principle: every point on land should sound a whistle, the last place to hear anything wins
 
@ZackTarr Can you link to it?
 
@AndrasDeak Yeah, I was thinking about something like that. The Straight Skeleton approach is pretty close in implementation.
 
2:49 PM
@DJanssens I don't see the "iteration" part. MCVE?
 
Hmm, is there even a map projection that would let you do, let's call it "radial point expansion", without having to do hard spherical geometry?
 
@toonarmycaptain Heres one example I could find this morning. Im not sure if I still have my thesis or not. theatlantic.com/education/archive/2017/02/…
 
Probably not
 
off topic, but that wiki link that Kevin posted earlier on led me to read about "The Call of Cthulhu", anyone know if it's a worth while read ?
 
A random site I found on google says "No map provides true-to-scale distances for any measurement you might make."
 
2:52 PM
@ZackTarr Oh so it wasn't something that was published? No worries. My wife's a maths teacher, and I like to forward her things.
 
But that one is around the same idea of teaching kids programming logic without a PC needed. Since that is one of the huge barriers that schools have with teaching CS. But I argued raspberry pi's would help in that cause but you still have the cost of monitors, keyboards, mice and so on.
 
It's a .edu page so I find it trustworthy. Unlikely to be anti-map propaganda from GPS lobbyists.
 
user6568562
@MooingRawr It's a classic of the genre. Also, what kind of novels do you read usually ?
 
No mapping from a sphere to flat Earth will be simple
 
Maybe we could do something with that one that looks like an orange peel smashed flat
 
2:53 PM
@toonarmycaptain Yeah, that one was not. I will try and find my paper sometime to share here. Or at least the links I used as reference.
 
user6568562
@MooingRawr It's a collection of short stories with the call of Cthulhu being one
 
@Kevin Nope. At least I don't think so.
 
@AndrasDeak But isnt the earth already flat? ;)
 
@randomhopeful I have no genre, I read what ever I'm in the mood for... :\ Guess I'll see if my library has this book
 
(en.wikipedia.org/wiki/Dymaxion_map is the one I was thinking of)
@ZackTarr In that case, it will be difficult because the lizard people (in conjunction with the secret world government) will try to foil your plans
Easy to do the math, difficult to avoid their mind control chemtrails
 
2:57 PM
Gotta get the foil hats on to prepare!
 
ROs, please excuse me. I wouldn't be able to make it to the Winter meeting today. I would be travelling at that time. Sorry.
 
Consider yourself excused @thefourtheye. Safe travels! :)
 
wear your foil so you don't get foiled
 
user6568562
@MooingRawr Right on. If you'd like an immersive novel, I'd recommend The book of the new sun. By far the best one I read.
 
@Kevin this is how I peel tangerines en.wikipedia.org/wiki/Goode_homolosine_projection
 
3:00 PM
That also happens to be the top google hit for "earth map orange peel", so I guess I'm in the minority in cutting my oranges along isocahedral vertices
 
> In 1998, Locus magazine ranked the tetralogy number three among 36 all-time best fantasy novels before 1990, based on a poll of subscribers.
good signs, I'll add it to my list when I go to the library this weekend.
 
user6568562
;)
 
@Kevin def isocahedral(solid): return isinstance(solid,ocahedron)
 
Ocahedron is my favorite Metal Gear character
 
3:17 PM
@ZackTarr Hey scratch looks a lot like the Logo I used in HS, except with a pretty interface.
 
@TelautonomousKitty Bixby is Samsung's attempt to replace Siri
 
Oh look, I can see review queues again :)
 
@toonarmycaptain Ill look logo up to see what its all about now. But I did find this! Apparently scratch and python can talk through an API MIT made. wiki.scratch.mit.edu/wiki/Communicating_to_Scratch_via_Python
Would be neat to make a game like we were talking about earlier that uses scratch.
 
@ZackTarr mostly what I remember are commands like "forward 150, right 27, pickup pen, forward 28, putdown pen, forward 88" etc
 
Yep it looks like it uses Turtle which I used in my first CS class that used python.
Well first CS class in college. Some high school classes like to be labeled computer science and we learned how to use excel and word. -_-
 
3:24 PM
in 90s, we learned typing, excel, word in elementary school, and html/Logo in Highschool.
[Where I almost failed a unit because I was sitting there writing my HTML in notepad rather than using Frontpage...]
 
oh those glorious "informatics" classes
 
My high school computer class taught me to touch type and it continues to be the most useful computer class I ever took by a wide margin
 
when the students know more of the subject than the teacher
 
So. Who was responsible for bringing the stuffed cabbages to the meeting today?
 
we have a custom here that most high-school IT teachers are upgraded from craft stuff teachers (DIY? I don't know the name of the subject; it's about hammering and filing and sawing and sewing and whatnot)
 
3:25 PM
@idjaw I brought rotten cabbages to throw, noone told me they needed to be stuffed...
 
I only brought my personal stuffed cabbage as an emotional crutch. There isn't enough for everyone.
 
@idjaw stuffed cabbages as in stuffed cabbage? +1 to that!
 
@AndrasDeak Woodwork? Shop? One of my HS teachers, the one I referred to, had no business teaching computers to kids who knew more than at 13.
 
"shop" might be that, I think I've heard that before
 
I was thinking more like "stuffed animal, except not an animal"
 
3:27 PM
@AndrasDeak I remember my middle school type class, and yes learning to type was super handy dandy. But in that class they had an issue with us playing games rather than doing busy work. So they took away the IE icon so "there was no more internet." 8th grad me impressed all the guys by showing them hyper links in Word. :D
 
we didn't really learn anything useful
 
Does anyone remember Windows 2000, and being able to use task manager to open IE without logging on to Windows?
 
My middle school computer teacher was 100% jaded and pretty disinterested in teaching us anything but he must have had legit credentials because he wrote a Chip's-Challenge-esque game which was a contender for Best Game On The School Computer, against stiff competition with The Secret Island of Dr Quandary and Treasure Mountain!.
 
@AndrasDeak I was secretly hoping you would take care of that.
 
Same here. I would make the teach furious with little pranks which made me learn computers are pretty fun. Such as creating a Control Panel icon that points towards.
Shutdown.exe -f -t 10 -m "This computer is now broken due to user actions"
@Kevin I use to rock me some Organ Trail back in the day
 
3:31 PM
@idjaw we haven't tried cooking it ourselves yet...I could outsource it to my mother-in-law :P
 
user6568562
The years when we were taught screens go in the output device category were simpler times.
 
Only my elementary school computer lab had Oregon Trail, and at the time I was too dumb to live longer than like three screens, so I didn't like it much
 
@ZackTarr Nice.
 
user6568562
I thought this room's use of the word cabbage was ironic. Like the use of Satan by the Church of Satan.
 
FOR /L %A IN (1,1,200) DO (
  net send 192.168.2.124 "You don’t want to use your computer, do you?"
)
 
user6568562
3:32 PM
That stuff tastes like gluten-free responsibility.
 
@AndrasDeak It's what a proper son-in-law should do. 😀 I'll be waiting
 
@idjaw how were the side missions :D
 
@MooingRawr lol....they were actually really fun! Testament to how good the game is
it's so much fun
 
Did you make any progress on your original goal: the main story ? or did you get distracted by every little thing on the way to the main story ?
 
I did actually make progress.
I realized that the side quests are also important because that is how you end up upgrading your weapons too. So I always look to unlock the region map and then look for the large crates that have weapon pieces.
 
3:43 PM
Have you ever played Fallout 4/Skyrim/Witcher 3? Just thinking of a game where there are massive amounts of side missions and how would you survive :D
 
I stayed away from them for exactly those reasons
Those games are pretty much "Side Quests: The Game"
However, fallout 4 bored me because it was literally the exact same game except they added a Sims mod inside
 
-writes down on a sticky note: get idjaw a heavy side mission game if we played secret santa-
 
Sorry. I'm not interested in building a post-apocalyptic shack with couches
 
HYPE HYPE HYPE
 
I think I'll take an early lunch for the next 73 minutes...
 
3:47 PM
naaah it'll be fun! \o/
 
12 more minutes :D choo choo
 
Let's get this out of the way before the GM: It's me, Rawing. I finally got around to that name change we discussed months ago. And I also got a facelift while I was at it. For those who can't be bothered to keep up with my frequent changes in persona, here's a user script that changes my nickname back :)
 
user6568562
Let's agree right now, guys. Only applause, no standing ovations. I hate to always be the guy being filmed standing reluctantly because it would be more awkward if he remained seated.
 
@Aran-Fey "I'm also more handsome now." 👍
 
rawwwwr
 
3:52 PM
:D
 
I approve, as it restores the anime avatar equilibrium that has been unbalanced since coldspeed stopped being L
 
@Aran-Fey Now that’s not confusing at all.
I’m not sure if we can believe you though. Can you prove your identity?
 
who does number 2 work for
 
@poke Hmm. I'm afraid not. I could try to churn out one of my usual funny comments, but unfortunately nothing star-worthy comes to mind at the moment.
 
Hmm, did the meeting agenda fall off the star list? I guess I'll put it back up.
 
DSM
3:56 PM
[I'm just finishing preparations, and will officially arrive soon.]
 
unofficial cbg for DSM
 
(Note: I hope we can get through everything quickly, as I’ll have to leave early and can’t stay until the end)
 
Reticulating splines... Anointing rubber chickens...
 
ohhh so exciting, gotta find the optimal place to sit
 
your butt
 
3:58 PM
Getting underneath a door frame may be prudent
 
I miss meetings where you can be as comfortable as you want.
 
Taking last-minute bets on whether anyone will come in and interrupt proceedings with a Flask question
 

« first day (2669 days earlier)      last day (2278 days later) »