« first day (2206 days earlier)      last day (2734 days later) » 
01:00 - 18:0018:00 - 00:00

user559633
 
rhubarb:)
 
user559633
night :)
 
and it's only half past 2! (post-daylight-saving:D)
 
quick pop-in before heading out again. :D GO TO BED ANDRAS
/kick
 
1:41 AM
@idjaw :D
 
(French/Breton folk rock band)
 
this is all reminding me of Dead Man's Bones
Shockingly good album
 
user559633
different video, but better song
 
not necessarily the music....I guess just the bones, halloween, whatever whatever
 
user559633
1:44 AM
damn, Toto has some hits
 
user559633
gf can't talk tonight because of some yoga teacher thing, so i think i'm going to run with it and get wasted and have a sing along to Toto
 
Time to go to church the hockey rink and pledge my allegiance to the ice god.
 
user559633
Ice Church
 
I like that. Ice Church.
 
2:00 AM
@tristan That sounds like a great night.
Can you stream that?
 
DSM
#sweatervestsofly cabbage for all.
 
user559633
@MorganThrapp lol. not actually going for that. disappointed that Overcooked didn't work for my usb SNES controller :[
 
> chaotic couch co-op cooking game
Wat.
 
user559633
ya. going to see if i can get it working tomorrow by finding/writing a new driver for the USB controller.
 
@DSM That hash tag took me a surprisingly long time to parse.
 
user559633
2:14 AM
sweatervest so fly? sweatervests of ly?
 
I kept wanting it to be Sweater Vest Softly.
I don't know what it means, but it sounds vaguely sensual.
 
DSM
Could have been #sweet-Erv(ing)-sets--oh-flee, if I were an ABA fan and a terrible speller.
 
user559633
Easy there, smart guy
 
DSM
Hey, it took several solid minutes of thought to come up with that.
 
Look at Mr "I know words" over here.
 
user559633
2:23 AM
Hey, just because you're good at math, know more better words than I do, and don't consistently let people around you down doesn't mean you're better than us
 
user559633
I'm hoping that I can get Overcooked working with some non-xbox controllers because it totally looks like the perfect "party" game
 
Yeah, just because your Saturday night doesn't consist of drinking Manhattans and crying doesn't mean you can judge us.
I've got a Logitech F310. I wonder if that would work.
 
user559633
I have a feeling that because it's unity, it expects an xbox or PS4 style controller
 
DSM
I'm middling sick, so crying is a real possibility tonight. Hopefully all the illness will leak out.
 
The f310 does have a "Pretend I'm an xbox control mode".
 
user559633
2:28 AM
hoping playstation style is adequate because that's what i'm willing to pick up
 
user559633
@MorganThrapp i'd imagine that would work then.
 
user559633
@DSM oh no, i hope you feel better
 
@DSM Oh. :( Feel better!
 
user559633
i totally thought i'd get more work done today, but then i remembered writing javascript for react stuff doesn't interest me, so i rewatched season 3 of 'halt and catch fire' and played team fortress 2 for hours. total work done ~30 minutes.
 
How is Halt and Catch Fire? I've heard good things.
 
user559633
2:30 AM
it's.. okay. expect little and it's good wallpaper
 
DSM
Whenever I don't get enough sleep (as I didn't this week) my lazy immune system lets me down and I get some virus. Nothing to be done for it but to make better rest-related decisions.
 
Fair enough. I need some shows like that for background noise while I work play video games.
 
user559633
@DSM Or identify the virus carriers and isolate them.
 
user559633
just realized i did an hour of design work with my browser set to 90% viewport zoom. (;-_-)/
 
Just tell your users you're courageous enough to use more of their screen, and it's their fault if they don't want to zoom.
 
user559633
2:33 AM
 
user559633
lollllll i wonder if people will see the search buttom
 
DSM
What's the arrow mean?
 
Use my location, I assume.
 
user559633
vestige of old design, but "use my location"
 
user559633
testing showed that if you just prompt for location, people will hit "deny" or dismiss. give them agency in the location setting choice, and the accept rate goes steeply up
 
DSM
2:35 AM
Fair enough, that's probably what I'd do..
 
user559633
Same. Part of it is that the prompt for "HEY RANDOM SITE WANTS YOUR SPECIFIC LOCATION +/- 3 METER ACCURACY. COOL?" happens before you get a chance to even say hi to the user
 
user559633
 
user559633
my main "where are ya?" question looks like this. autocomplete when typing, "Find me" is geolocation
 
DSM
Okay, I think I'd know what to do there.
 
user559633
browser geolocation sucks from a developer and user perspective. the modal for "site wants your location" looks like a normal message bar that users dismiss and clearing the setting is non-obvious to even power users
 
user559633
2:50 AM
It would be nice if there was a "yes, but not exact" because that's what most applications need, but the ask is basically "let an arbitrary website know where you sleep"
 
4:22 AM
Morning
 
4:36 AM
cbg
 
4:53 AM
MacBook Pro: $2499 3-month Welding Boot Camp w/ job placement assistance to switch careers & never have to use computers again: $2199
 
 
2 hours later…
7:16 AM
and the no shame aware goes to: stackoverflow.com/questions/40326820/…
 
 
2 hours later…
8:53 AM
wintertime cbg
 
 
2 hours later…
user6568562
10:28 AM
Cbg everyone
 
11:34 AM
 
cbg
 
 
1 hour later…
1:03 PM
I earned a badge for deleting my own question
amazing
 
which one? (the badge)
cbg
 
"Disciplined"
 
I thought that was for answers with more than 3 downvotes
I guess it's questions too
 
yeah
 
oh wait other way around
Delete own post with score of 3 or higher
it says post. So yeah, makes sense now
 
user6568562
1:21 PM
F*ckin' life, man, never what it looks like on tv
 
yeah I know....I'm still waiting for programming to be as fun as it is in crime shows.
hope all is well.
 
user6568562
Thanks dude [ : Just a temporary dip, nothing unusual
 
user559633
did you know that traceroute automatically teleports you to a laboratory?
 
I want to hack into police cameras by furiously typing for 2 minutes
and say "I am in"
 
user559633
enhance
 
user6568562
1:27 PM
Haha : D
 
or write a GUI interface in visual basic to trace an IP
 
The Internet is a large and complex aggregation of network hardware, connected together by gateways.
This summer get routed....get tracerouted
I love that that's the first line in the man page for traceroute
 
> IRC, internet relay chat: that's how hackers talk when they don't wanna be overheard
 
user559633
How feasible would it be to create a separate internet? It would be a different set of route tables, no? Thinking if it would be realistic to rename the current internet "Normalnet" (for facebook, instagram, tinders, garbage IoT devices, and the rest of that boring stuff) and do a new one.
 
1:33 PM
are we making our own internet?
 
@khajvah luckily I speak 1337
not exactly what I was really hoping to find. But something did exist with that title
 
user559633
@khajvah Oh, this just looks like a new protocol that obscures the source of the traffic. I have no interest in being raided by the police to help a child predator or some neckbeard that thinks his USA dystopia fiction is somehow a documentation of factual events or just wants to not pay for media.
 
user559633
> Users contribute to the network by giving bandwidth and a portion of their hard drive (called the "data store") for storing files. Files are automatically kept or deleted depending on how popular they are, with the least popular being discarded to make way for newer or more popular content.
 
user559633
nonstarter.
 
user6568562
1:39 PM
I wonder what those popular files would be
 
user559633
I'm talking existing protocols on new routing tables.
 
@tristan well you want a new internet
 
user6568562
@tristan My ignorance tells me that it would be very feasible if you have quite the money to spend
 
Or you can become an ISP and block corporate BS
and facebook, instagram crap
 
user6568562
That doesn't sound like a sound business model
 
user6568562
1:42 PM
But I join you on qualifying fb and instagram as mankind crap
 
user559633
@khajvah That's dangerous territory, legally. Here in the US, you have to be a big company to break common carrier
 
user6568562
Rather, amazing technology used to transfer mankind crap
 
it's really interesting that if it wasn't for facecrap and instacrap and stuff like that, this whole war for privacy and internet anonymity wouldn't exist
 
user559633
Running last mile cable is a non-starter, and unfortunately, you'd have to multiplex the traffic coming back from users to Normalnet and Newnet for customers that signed up for Newnet (unless they only wanted Newnet).
 
user6568562
@tristan Sounds like some hardware hell
 
user559633
1:47 PM
@randomhopeful Yeah, it would be on the scale of upgrading intermediary routers for IPv6, but for a more niche audience.
 
1:59 PM
stupid, more stupid, flask-admin :(
I have a field named "id" that is not the pk.
screws up falsk-admin completely
 
@AnttiHaapala how would you have a field named id that's not a pk?
 
because my model is so.
the docs do not say otherwise
what happens is that it now a) puts the pk value as "id=<pkvalue>" in the query string, the form has <input name=id>... and what is the strangest is that it then concatenates these 2 values..
 
@danidee I have such table too
 
`well you can patch it yourself and reach out to the developer(s)...or change your model...if it doesn't lead to a disaster :)
 
or get rid of this tshi
what I don't get is why in hell did it work just a moment ago
 
user559633
2:11 PM
 
@tristan you ruined my joke.
 
user559633
make more resilient jokes
 
@danidee You have quite big growth of reputation
last time I saw you, you had <1k
 
user6568562
@tristan Super troopers is goddamn funny, man : D
 
user6568562
I just arrived at the "enhance" scene
 
2:20 PM
@khajvah yep! that was some months ago
Has anyone been hurt by chrome's "replication caching" (that's the best name i could come up with)
sorry chromium, but i believe it should be the same on chrome but i haven't tried yet
Basically i have two instances of a web app (Odoo) that runs on different ports...with two different database users for each instance, One is the Production environment while the other is for testing
But for some strange reason...It's like the Test environment replaced the Production environment in chromium (they both contain different data in the database but i can only see the Test environment no matter the port i visit)
 
2:35 PM
@danidee chromium can't cache stuff coming from your db
sounds more like a server related
 
I've cleared my cache, used incognito mode and even re-installed....it's still the same, surprisingly this problem doesn't occur on other browsers
 
@danidee check the network tab of developer tool and see to which urls(to see the port) the chromium is making requests
 
@khajvah Yeah that was why i created two db users and made sure none had access to the other's db....i'm blaming chromium also because this problem only occurs when i'm using it
 
@danidee what server are you using?
 
@khajvah done that....but i'd do it again just to be 100% sure
 
2:38 PM
@danidee if it is making the correct requests and you are still getting wrong data, it is server related
 
was using Nginx, but i've stripped it out to the default HTTP server that comes with Odoo
Don't know the name specifically (i don't think it has).....It's just a thin wrapper around werkzeug
 
@danidee are you proxying both apps from a single nginx?
 
Yeah i was
 
@danidee so the initial url is the same? then how are you differentation between testing and production?
 
different suburls that redirect to different ports e.g hostname/production ==> 8080 and hostname/test ==> 8090
but that doesn't matter again since i disabled nginx and i'm now using the hostname:port directly
 
2:54 PM
and hostname:productionport still gives you testing data?
 
@khajvah Yeah :( and what bothers me is that a colleague just reported the same behaviour this morning...but this time the Production replaced the Test environment on the same CHROMIUM
 
@danidee this can't be a chromium caching issue
seems to be a problem with odoo server
 
I understand that this problem is highly localized for now (except i can reproduce it reliably or it happens with another browser)....just wanted to know if anyone had experienced something similar in any form
 
I suspect you are running both, production and testing, from a single odoo server?
 
No two different server instances, two different codebases,
 
3:00 PM
did you check where the requests are going in dev tools?
anyways, I feel like I am wasting both, my and your time here. There isn't enough info from here to debug the issue(unless somebody had the exact same issue)
 
Does anyone know what might cause this error?
TypeError: __init__() should return None
I'm explicitly supposed to be returning a ValueError in my function and I do that and it returns. This gets raised in the test code itself I think
in my class not my function. the function is the init but I think this has something to do with something different
 
@khajvah Yeah....but i feel a little bit better now :) thanks all the same (if i ever find out what went wrong i'll let you know)
 
:)
 
@ZachThompson :-| Are you really trying to return a ValueError from the class constructor?
 
That's what the test code wants
I'm really just trying to make it pass my instructors test code
 
3:06 PM
@ZachThompson maybe throw instead of return
 
Ah, I see. I'm an idiot as per usual. Thanks
 
shouldn't that be raise?
 
@khajvah raise...
@ZachThompson and yes, __init__ cannot return anything (else besides the implicit or explicit None).
 
yes, excuse my c++ past
 
__new__ can return anything
 
3:07 PM
yeah it should have been raise, but I understood what was meant. I was actually being an idiot and using return there.
 
@khajvah there is no excuse.
 
I like the word throw better
 
 
@VeeeneX closing as typo, one ) parenthesis too many
 
@AnttiHaapala Hm?
 
Hmm?
 
@VeeeneX ))) -> )) and one after the append.
 
@AnttiHaapala That wasn't a typo
 
it was a typo.
next time when you ask for a question please do a proper MCVE and inspect it closely.
 
Please could you be more clear?
 
3:18 PM
    tableNameCamelCase=("".join(x.title() for x in components[0:]))),
    tableName=table_name
)
to
    tableNameCamelCase=("".join(x.title() for x in components[0:])),
    tableName=table_name
))
 
@AnttiHaapala Thanks, true
 
user6568562
Hey @Antti I watched a piece on Katajanokka. Very impressive, man !
 
@randomhopeful which piece is that :d
 
user6568562
@AnttiHaapala It was featured on a Tunisian channel. It must have been translated from an international news outlet and translated but I couldn't tell you which one
 
yeah but what was it about exactly :D katajanokka is a small cape in Helsinki
but doesn't tell much more :D
 
user6568562
3:33 PM
Oh, I get you : D On the high tech companies there. Work conditions, etc
 
user6568562
Also the port, magnificent
 
hmm, haha don't know which documentary that could be, or haven't seen it...
 
user6568562
No, it wasn't a full documentary. About 15 minutes of footage and some lazy translated voice over (arabic being redundant and all). Still, very beautiful spot
 
hmm :D
did it talk about the history?
or just newer stuff
 
user6568562
No, not much of history. Not much information, actually. Many companies, having many offices. Many styles of architectures spanning many years of construction.
 
user6568562
3:37 PM
Many naval workshops for many boat construction destined to many fields of maritime usage
 
yeah, so did it talk about the data centre there?
 
user6568562
Nah, it didn't specify much about what those "many high tech companies" do.
 
ah
because I am not sure there are many hightec companies really :D
 
user6568562
Well, I liked the piece is what I'm saying : D
 
user6568562
3:42 PM
That's impressive. Also, I recognize the logo. There was an ABB headquarter not far from where I used to work
 
well, doesn't help Finland much, as many known brands from Nordics, this too is from Sweden originally
now HQ'd in Switzerland though
we had Nokia... now we still have Nokia... and that's mostly it :D
 
@AnttiHaapala I like the accent (not the brit one)
 
user6568562
That underground city is f*cking impressive
 
@khajvah lol we call it "Rallienglanti", "Rally English" :D
 
user6568562
@khajvah The mayor of Helsinki's one ? I dig it too
 
3:46 PM
@randomhopeful from 3:00
 
user6568562
: D
 
user6568562
@AnttiHaapala I remember a Finnish company manufacturing tractors that look like batmobiles
 
user6568562
Can't remember the name, though : /
 
@AnttiHaapala Nokia :(
 
yeah, what a waste...
 
user6568562
3:50 PM
I blame Symbian for that
 
user6568562
Check out this bad boy
 
user6568562
 
@randomhopeful I blame windows
 
what is even more astonishing... the Economics Nobel was this year awarded to a guy who was in Nokia Board of Directors until 2012...
 
user6568562
@khajvah Well, maybe but Symbian was buggy as sh*y
 
3:51 PM
... because of his contributions to the theory on contracts and how to reward executives...
 
they took a stab with windows and drowned with it
 
user6568562
Well, what's done is done but 3310 will live on forever, man
 
... so he must have been there making the contract with Mr Eflop.
symbian used to be a damn fine platform earlier
but the internal politics were that destroyed Nokia, and lack of forward-thinking.
 
cabbage
 
And bad project management
 
user6568562
3:53 PM
cbg
 
@BhargavRao speaking of accents, do you speak English with Indian accent :D
 
Might be, @Antti. I got 24 in TOEFL speaking :/
 
@AnttiHaapala at one time....symbian mobile games were the best!
 
I got 30/30 in all the rest. Total was 114/120 ;)
 
3:54 PM
mine was 76 5 years ago
 
user6568562
I got 10000 in Hood TOEFL
 
are there TOEFL equivalents for whatever language is native in a particular country?
 
We dined in a Chinese restaurant yesterday in Helsinki, there was 2 most probably Indian guys speaking with the heavy rolled R's, took quite a while for me to realize that they indeed were conversing in grammatically perfect English. :D
 
user6568562
@idjaw Yes, but I doubt it's as well standardized as the TOEFL or the IELTS
 
@i
@idjaw in Finland there is an official (government regulated) test.
 
3:58 PM
@AnttiHaapala Ah, That must be the far south ones.
 
@AnttiHaapala How long would it typically take a foreigner to get to a point where they could consider taking that test
 
The funny thing is 100 is the TOEFL cut-off score for many univs. So if I had got 11, (a very poor score) in speaking, I would have still got through ;)
 
user6568562
I don't mind foreign accents except probably Frenglish, and I actually found Indian women speaking English quite lovely. There's an Indian woman doing Python tutorials on youtube, can't get enough of her voice.
 
so that's also for foreign languages, but the Finnish or Swedish exam is needed for citizenship
@idjaw dunno, there are many levels :D
 
4:00 PM
@randomhopeful I like french accent :(
 
but I'd say it takes 1-2 year to reach to the level that the result is of any use.
 
user6568562
@khajvah Well, if we'd meet in an international bar, some day, we won't fight over whom to hit on : D
 
:D
 
then, 1 of my vn friend has lived in Finland for, what 6, 7 years now, and is not yet even half-way there towards the level required for citizenship.
the problem is, if you hesitate in your Finnish, then people are so "happy to help you by switching to English"... and you never learn anything.
 
I suspect, French don't have that problem
 
4:04 PM
lol :D
there is another problem...
 
user6568562
Haha : D True
 
I guess bad French isn't any good either...
 
Could you make the class callable and do something similar in __call__() ?? — wwii 7 mins ago
I don't agree with this at all
I find that not explicit enough doing that
if anyone is interested in chiming in
 
the question is how does tell work with text files :D
 
You could add this just for completeness
Along with some warnings about the approach
 
4:10 PM
@idjaw "tell returns an opaque number for text files"
 
@AnttiHaapala I don't understand what you mean by opaque.
 
ah np,
it works for seeking
 
I kinda like my solution :P
 
@idjaw but I don't really agree with your solution either,
what is the reason for not keeping the file open
 
Oh please. Critique it! :)
I figured it would be better to just not have the file open throughout whatever duration the application will be running.
 
user559633
4:12 PM
@idjaw I use call, especially if it's being set to something that takes an argument
 
user559633
#e.g.
my_instance = SomeObject(...)
my_instance("cabbages")
 
hmm...I see. Let me try it out.
 
@idjaw added my solution
 
user559633
in this case though, i'd walk away. They're asking for a chunk by chunk reader, and once you give that, you'll get a "well what about blah"
 
so, with using call would be more appropriate to change the design of the class I have currently, or would it be just as good to as easily just change next to call
and invoke by f()
 
user559633
4:20 PM
I'd just do what you're doing as it allows for closing a file (assuming that data changes will only append to the end of the file) and yield
 
user559633
next(whatever) is less surprising than having to call f() in a loop, imho
 
@AnttiHaapala Maybe there is something I'm not quite getting with your solution, but if you have a file:

0
1
2
you have to call next() twice to get to the next line
because of read(1)
 
@idjaw loool
 
?
 
newline
 
4:24 PM
yeah
exactly
 
op also says:

"0123456789"
 
user559633
hey guys i have this issue with my python code not being implemented in golang. if i post a question do you think you could boutique code for me too?
 
@AnttiHaapala I thought their edit was wrong with the formatting and it was actually newline separated. DOH!
I assumed wrong....
 
yam it....I was really happy with my solution too
well...I should delete it then. It's not good
 
4:28 PM
@idjaw do you have [discipline] yet?
 
@AnttiHaapala I think...let me make sure
 
upvoted :D
 
haha thanks. @AnttiHaapala I do have discipline though. Now it's even more painful to delete those 30 internet points
But..it is a wrong answer
so I'll remove it
 
@idjaw why did you delete your answer i was still reading it
 
@danidee It was wrong. My whole solution was based on the false-fact that it was a newline separated string
If it was newline separated it is a good solution. But the OP does not have that
I'll keep it for a rainy day if this comes up with a newline file :P
do you think it would be helpful to have it as a "if you have a newline you can do...."
?
 
4:32 PM
Of course
 
the constant open/seek etc is the antipattern...
it is really an xy problem, they want to keep track of the current position, and modern OSes have a mechanism for that, called open files and file pointers...
 
user559633
I don't think it's an antipattern.
 
you don't?
well, I can't fix you.
 
user559633
Who's to say that the script doesn't sleep for an hour between iterations?
 
user559633
If it's meant to consume it as quickly as possible, well, obviously.
 
4:34 PM
I think there is an argument for both, but we don't know enough about the real problem OP is trying to solve to know which approach would be better.
 
I have used an LRU cache (or lru_cache!) for opened files too...
though it relies on CPython refcounting semantics
 
user559633
yeah that's way better ;)
 
opening/closing in a shorter time span is more costly. But keeping a file open for a very long period of time has its cost as well.
 
user559633
17 mins ago, by tristan
in this case though, i'd walk away. They're asking for a chunk by chunk reader, and once you give that, you'll get a "well what about blah"
 
It's Antti's problem now
:P
hehe
 
user559633
4:36 PM
if i hire someone, i'm going to ask him/her for his/her stackoverflow account. if he/she is active in a chat or has more answers than questions, i'm going to filter SO in the office
 
good plan.
 
@tristan yes... but then...
 
user559633
@AnttiHaapala the employee will be more productive. doing actual work instead of the needful, ASAP
 
@idjaw aside from memory (for huge files) or some other process trying to manipulate the same file...is there any downside?
 
@danidee running out of filedescriptors,
or, you can't delete the file in between...
 
user559633
4:38 PM
general code smell if it's long running but not very active
 
^^ Yeah. That was the approach I took for my solution.
 
@tristan but sometimes the needful makes actual work easier :)
 
user559633
I was mostly kidding, but I'd say that time spent doing others work vastly exceeds time saved on mine. Even on the few answers I have written.
 
cbg
again
 
5:05 PM
@tristan yeah....I have my own motivation for continuing to answer....but. I'm also at a point where...OK, I'm not investing more time than I need to in to a particular question(s).
well there is a lot of wrong written in there....too late. aw well.
 
user6568562
5:50 PM
Did anyone use the Google Drive API ?
 
not me
 
user6568562
I found a name for my future company : My blod and sweat, ltd
 
01:00 - 18:0018:00 - 00:00

« first day (2206 days earlier)      last day (2734 days later) »