« first day (1383 days earlier)      last day (3563 days later) » 

@lightswitch05 Good day to you too, sir
 
hello @copy
 
I would help you, but I'm in the middle of an orgasm
 
oh, I wouldn't want to interrupt that anyways, please continue on
 
@copy wat
 
that just made me feel sick lol
haven't gotten sick on the rift in forever
 
I wish I could be sick on the rift.
 
hopefully the cv1 will be out in 2015
 
Is that the Playstation project?
That's the one I'm waiting for
 
nah not the morpheus
 
12:39 AM
Anyone feel like explaining some calculus to a noob?
 
I took it years ago. Passed by the skin of my teeth.
 
Passed Calc 2 by one point
 
I read some online materials and got about as far as learning to differentiate most equations.
Now I'm trying to learn integration, because I've done too much physics simulation in the past and all I know is Euler integration.
 
1:27 AM
0
Q: Selenium Webdriver JavaScript : Promise seems to not be resolved

user3850739In my project, to test if a column is well sorted, I used Selenium Webdriver in Javascript. I wanted to get the first column in a table and see if two by two my strings were sorted in order. Here is my code : driver.findElements(webdriver.By.xpath("//table[@id='consentsTable']/tbody//td[1]")).th...

 
m59
1:39 AM
@Loktar I put the screen up to my face as I watched that video and I didn't find it a pleasurable experience.
 
Fucking display: table-cell
 
m59
.prison {
  dispay: monners-cell;
}
 
hi people, quick question I have some js and want to apply a smarty modifier to a var in js is it at all possible?
 
1:56 AM
What's a smarty modifier?
!!google smarty modifier
 
2:40 AM
@KendallFrey what don't you get?
 
3:38 AM
0
Q: Using a thenable as a value with javascript promises

Cameron MartinI'm working with the faye browser client using promises, and I have a function that creates a browser client after some asynchronous action, like so: function fayeClient() { return doSomethingAsychronous().then(function() { var faye_client = new Faye.Client('http://localhost/faye'); re...

 
3:51 AM
OI!
everyone talk, I'm bored
 
4:02 AM
@SomeKittensUx2666 no you're not!
I'm writing a mercurial resolver for bower, what are you doing?
 
NOW I'M NOT
waiting for a plane
 
Oh, that is boring. Where are you going?
 
 
No, don't do that.
 
4:05 AM
@SomeKittensUx2666 did you lose your wooden leg?
 
4:17 AM
@phenomnomnominal but it says here diveintohtml5.info/storage.html both are similar things , i didnot know this before
 
@blackbee getItem and setItem are much more explicit that you're doing something different than just setting properties on a normal object
 
ow
 
4:41 AM
Hey, does anybody know of a more efficient way to scan text on a page than this, before I go insane?
http://imgur.com/QCdAkmk
It's for a userscript, so I don't access to the website's JS
or rather, php
I guess I could try a for loop...
 
var find = function () {
    return $('html').text().indexOf(search) > 0
};
Depends on what you mean by efficient.
 
i have two questions regarding this : jsfiddle.net/aghosh/aYvN3/2
from line 107 to 121 in javascript
 
!!welcome blackbee
 
@blackbee Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
    val = $('#text').val();
so at the time of adding , the value in the text area is added,
 but in line 118
    storage.removeFromStorage("notez",val);
its inside the callback of remove,
now this works, but why, did i create a closure there? because, how does it have access to seperate values for seperate entries in the text-area.
i obviously did it wrong right?
 
4:56 AM
You created a new function because you were defining the handler for a click event
 
because, if the second time, u page refresh , remove is not triggered , its not triggred until a new value is inputted.
 
you weren't saying "do this now", you were saying "when an element with the class of remove is clicked, execute this function"
 
yes, i know that, but suppose i have three entries, if i click on any of the remove link then :
the entry in the localStorage having a key with a value = value of val is remove and then the tr is removed .
but how , does it know about which value of val . because its only supposed to remove the recent only, which is the current value of val obtained from the textarea input
if you run it once and create a few 3-4 entries and remove one by one, maybe u will understand..
hell no, it is wrong
removing any one element and hitting refresh removes all beneath it, maybe i messed up the stack frame .
 
5:41 AM
@SterlingArcher I don't know what's worse, the question or the attempts at an answer
 
hi
 
@AliK Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
i have a object that looks like this schedule: { "8": "17", "9": "1", "10": "1357", "11": "123457", "12": "1234567" }
i can't seem to access it
tostring says its an object
can't do schedule[0]
 
5:58 AM
!!> var obj = { "8": "17", "9": "1", "10": "1357", "11": "123457", "12": "1234567" }; JSON.parse(obj);
 
@monners "ReferenceError: parseJSON is not defined"
 
yeah, unfortunately can't change the script
has to be like that
 
@monners "SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data"
 
it is however a part of another object so its actually obj.schedule
but i need the values of schedule
there must be some way of just getting an entire string and then manipulating it
 
Put together a jsfiddle that demonstrates the problem
 
6:02 AM
me?
 
Yeah
 
ok
 
how do you guys know the birthday of people? does SE allows to check?
 
6:09 AM
@AwalGarg It doesn't, but Zirak is somewhat of a celebrity, so everybody knows his birthday
 
@Kippie how?
 
@monners i have not done this before so not sure if you can access the jsfiddler link
i click on share
 
@AliK the fiddle is working properly... what else do you want it to do?
 
@AliK yeah, looking at it now. You're trying to get to the value associated with a particular key, right?
Second alert
 
yeah kind of, basically the values insside schedule
yes
 
6:15 AM
Because your keys are all strings, you've gotta use bracket notation to access them
 
actually as i mentioned i can't change the script, is there some way i can just get the entire string, i can manipulate it myself
i know i'm missing something so simple
but can't put my hand on it
:)
 
What do you mean I can't change the script?
you mean ya can't change the object? (myVar in your example)
 
basically the same script is actually being used somewhere else in another system
don't ask its a clinet thing
i can call it something else, but can't add/remove any brackets etc as it would break the other system
 
Ummm, well you're not gonna get very far by just staring at it. I assume you can modify something?
 
is not no string type method to convert schedule to a full string
?
 
6:18 AM
@AliK I;m not asking you to change the data. Did you look at my updated example? The data is the same, the method for retrieving the value is different
 
hahahaha
 
sorry you updated it?
 
Like that?
 
should i jsut refresh?
 
6:20 AM
No, you've gotta follow the new link
 
jsfiddle.net/9Upyj/3 hahaha! great, I come to this room, read some transcript, and can easily get to practice.... this is fun :D
 
@monners thanks dude really appreciate it
 
@AliK No worries. Feel free to upvote one of my answers as a show of gratitude :D (not star, upvote an answer of mine on Stack Overflow)
 
no worries
 
@AwalGarg Errr, wat?
 
6:26 AM
@monners i didn't know of the stringify thing so I used foreach.. is that bad?
 
@AwalGarg Ah, that makes sense. lol. Yeah, no need to reinvent the wheel
 
@monners I am presently looking at the mdn documentation of stringify... I learn a lot just by being present in this room :D
 
Me too.
 
@monners what was my schedule object was it an array?
as Array.isArray said no
 
@AliK it is an object... why would isArray say yes?
 
6:28 AM
It's a string that's being returned. Hence .stringify
 
makes sense, just looked like an array
 
wow thanks for the bounty @Qantas
Holy shit, it's Zirak's birthday :O
 
@Ben man you got bounty by "community"??? here didn't know that bot awards bounties as well..
 
@AwalGarg OP didn't award it so I got it automatically for having the most upvotes and posted after the bounty period started.
 
hmmm... thats interesting...
 
6:45 AM
Apropos bounty, does anyone have the time and motivation to answer a question of mine before the bounty expires tomorrow? :)
 
Exactly
 
@C5H8NNaO4 do it in two steps, you're writing a compiler.
First pass keeps the name and sets the .name property (on whatever abstract data type you use to represent a function, Vyadislav Egorov has a good article on that in V8), second pass minifies.
Wait, why do you need to minify in the first place?
Also, the closure compiler does get stuff wrong from time to time when renaming functions... it really only works when you use strict conventions and type annotations, otherwise it's pretty basic and doesn't really rename that much.
Or are you actually writing a preprocessor and not a compiler?
 
So let's assume I have each SourcecodeToken represented as an object. In the first pass I save every functions name in its representing object in the parseTree. How would I let the renamed functions in the generated Javascript code return its original name when accessing the name property.
I don't actually need minifying since there are tools available, but I would like to have written one of my own
 
You don't minify at the SourcecodeToken level
You do so much much later.
Or much much earlier.
 
6:58 AM
Yes, I realized that in the meantime. What get does is renaming the function, regardless of the name property accessed or not
 
@Zirak the definition of DSL is actually: "A language where code is written in one language and errors are given in another"
 
Technically the function.name property is not ES5, but I digress
 
@C5H8NNaO4 it's impossible to do so at that phase.
@Qantas94Heavy yeah, that too, but practically it's there.
@C5H8NNaO4 what if the next line is var res = eval("callMyFunction()")?
 
Fellas, I need some advice.
 
What if it's var res = eval(atob("Y2FsbE15RnVuY3Rpb24oKQ==")+"()") ?
 
7:00 AM
I want to make a spinning globe, where pointers or shapes on the globe over certain locations (usually, the major cities) mark some numbers (usually in the millions/billions, needs to be formatted somehow). The globe should either spin, or jump between the points. The data should update periodically (once a few minutes - once an hour).
Should be as sexy as possible, and will be displayed on a large screen TV
I was told Google Earth can do it, anyone has experience with that / can anyone offer other possibilities?
 
Could be a fun webGL project
 
Google Earth can most definitely do it, but it's not in JavaScript.
:D
 
@SecondRikudo what level of detail? If you don't ever zoom in, you could texture a sphere with a free texture
 
Sphere, map a high-rez earth skin on it, map your points, and bam
 
@BenjaminGruenbaum there's a plugin for that
 
7:01 AM
GE Plugin is an absolute pain to deal with, plus it's not really maintained
 
@JanDvorak Beat me to it
 
even from the user side, may I add
 
@JanDvorak Yeah, 3d modelling is a bit far away from my area of expertise :P
But regardless, I guess some level of zooming is required if I am to jump from point to point
 
@SecondRikudo aw, c'mon, you can't create a sphere?
 
@SecondRikudo That's a pretty simple scenario for a 3D project though. Good time to learn :D
 
7:03 AM
I have the whole code represented as an parseTree and have a Control flow graph available. Then As another optimization I perform the minification. In what phase should I rather be in? After the optimizations I generate the code from the transformed intermediate representation
And what exactly is the difference between a preprocessor and a compiler?
 
@C5H8NNaO4 a compiler outputs machine language code.
 
a preprocessor turns source code into source code
 
Aaaah
 
@monners What kind of technologies are involved?
CC @JanDvorak?
 
7:05 AM
You should not perform minification as part of the compiler as it's impossible to always do so without breaking stuff.
 
But he can perform optimizations in between as well?
 
That's true in any language that has dynamic invocation.
 
I've honestly never touched 3D in my life, so...
 
@SecondRikudo Canvas, and a library
 
@BenjaminGruenbaum are you sure?
 
7:05 AM
Cool, to know that finally. I have to update the question
 
@JanDvorak yes, you can download a string with ajax containing a function name and then eval it... I'd like to see you come up with a solution that deals with that.
 
hi
 
@SecondRikudo I've never done it, but I'm thinking about giving it a try after hearing about your project :P Sounds like a fun starter project
 
@monners Heh
 
how to search for images by dimensions using js?
 
7:07 AM
forbid any renaming in the scopes eval can see
 
in client system
 
@JanDvorak lol, "forbid naming" is an awesome solution to "how can we deal with renaming?" :D
 
@Shri you can't just touch the file system without the user giving you a directory
 
in windows
 
@BenjaminGruenbaum well, when you have eval, all bets are off...
 
7:08 AM
i have full access of all directories
 
@Shri how?
 
@C5H8NNaO4 is there any difference between what you're doing and something like the Closure Compiler?
 
@JanDvorak I don't need eval, bracket notation is enough really.
 
i want to create a program to search for particular size images in my system
to delete them
 
@Shri what environment are you using?
 
7:10 AM
@BenjaminGruenbaum I'd assume minifiers don't touch those scopes that you access with variable keys
 
@JanDvorak they do, they just fail at it constantly :D
 
@BenjaminGruenbaum well, they shouldn't ;-)
 
That's why you need to use stuff like ng-min when writing Angular, because minifiers fail at Angular so another step is required.
@JanDvorak :D
 
any idea?
 
@Shri just crawl everywhere you can
 
7:12 AM
@Quantas The key thing I want to focus on is refactoring of code through annotations. Also macro expansion. It would be a mix of a linter, closure compiler, and sweet.js
Is annotation the right term?
 
@C5H8NNaO4 Kinda, yes.
 
windows 7
 
@JanDvorak Wouldn't any dynamic property access arise similar problems like evaluation?
 
@C5H8NNaO4 as long as the minifier knows what not to touch and respects that, you should be fine.
 
@C5H8NNaO4 yes, it would.
Not to mention weirder stuff :D
 
7:16 AM
@BenjaminGruenbaum with?
 
And that's exactly where my problem lies, how to know when to not touch something in the face of dynamic accesses
Damn battery on 14% :(
Alone putting a function in an array and unshifting another is enough that I can't imagine how to detect if there would be an access to any of the functions name proprty
 
How often do you store named functions in an array, much less in one that is widely visible?
 
What's with the crappy docs for three.js :|
 
@JanDvorak such as
@JanDvorak I don't, which is why minifiers ignore those cases - they are hard and not very common.
 
They shouldn't be too hard to detect
 
7:25 AM
They're so hard to detect it's indecidable :D
 
Ok, so it's cool to ignore these cases? That's actually good enough :)
@JanDvorak How would you go on defecting that?
 
@C5H8NNaO4 it's not a matter of "good enough" as much as it's a matter of "it's really really really hard" :D
Related:
9
Q: How can I detect all dependencies of a function in Node.js?

Afshin MehrabaniI'm trying to give a broad picture of my problem. I need to write a program with Node.js that should be able to detect all dependencies a function. E.g. function a() { //do something b(); }; function b() { console.log("Hey, This is b"); }; At the example above I need to have an JSON...

(Also see my answer there)
 
But not impossible?
Cool thanks :) I look into that when back on my pic :) Battery is nearly dead
Would it be possible with some kind of Abstract Interpretation or Shape Analysis?
 
Shape analysis is not practical iirc from class.
I don't know much about abstract interpretation only what it means, so you'll have to ask someone else that.
 
You can perform generic collision detection fairly efficiently for any shape, if you assume that it is convex
 
7:33 AM
That's not shape analysis means.
It's a form of static analysis
 
Oh
Why the hell can't shape mean shape for once?
 
True Dat. I'm not sure if I would be able to implement any of those anyway , it sounds much more complex than normal static code analysis. it would rather be a question of possibility at all
:D Yeah I'm nearly finding any stuff about sca rather than graphic related things
:( 2% left
 
8:08 AM
how can I get angular to wait until a seperate requirejs project has loaded? the angular stuff is not using require.
 
@BenjaminGruenbaum are you good at profiling postgresql?
 
I have 2 script tags, one using require and one that loads the angular stuff
 
angular is weird when it comes to loading scripts
they never seem to do things the way you'd quite expect
 
@Zirak Happy Birthday!
 
@FlorianMargaine mon serveur miaou m'affiche des erreurs "read only file system"...
 
8:11 AM
If this were a birthday party, most of the party guests would be standing around with a smile on their face saying absolutely nothing. Every few hours, someone shouts out, "Happy Birthday, Zirak!" and then goes silent again
 
@dystroy oula
@dystroy where did you see that?
 
@FlorianMargaine postgres error, and everything seems frozen now
 
@FlorianMargaine not really, try Schmiddty, I'm ok I guess.
@FutuToad make it use require.
 
hi morning to all
 
@Neil isn't this how a birthday party should be?
 
8:19 AM
@dystroy oh snap
disk space is full maybe ?
 
no, it's not full. I'm trying a hard reboot
And I just got an email from OVH saying they detected a problem and are going to inspect it (the email was sent before I sent them an alert with the reboot action)
 
Women and not Woman really cause you to lose productivity.
 
@BenjaminGruenbaum I don't want to as the angular code is seperate from a typescript one, should I stick the angular stiff in the ts project too then as a module?
 
Horray!
That's a first step :D
 
@SecondRikudo It's been more than one minute and it's still loading and the screen is black - edit had to kill it after a few minutes of waiting, my whole browser was unusable
 
8:32 AM
@dystroy Yeah I used a very high res texture (30 Megs)
 
@SecondRikudo why?
 
@Kippie It will be run locally, and I may or may not need to zoom
 
Dan
2
Q: Javascript recursion completes before traversing the whole tree?

user898871I'm working on a project where one exercise asks to traverse a data structure below and returning an array containing all the files (i.e. *.js, *.css): var fileData = { dir : 'app', files : [ 'index.html', { dir : 'js', files: [ 'main.js', 'app.js', ...

 
@Dan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Oh, the image actually loaded for me, but the screen is still black
 
8:34 AM
@Dan Why are you posting this here ?
 
Dan
I want to do a similar find files with a folder name provided as an argument
 
@FlorianMargaine
Vous avez fait la demande d'un reboot hardware à distance sur
votre serveur ns38090.ovh.net. Nous venons d'exécuter votre
demande mais votre serveur ne répond toujours pas au ping.

Il peut s'agir d'un défaut de fonctionnement du système de
reboot ou bien d'un problème sur votre serveur.
Nous vous informons qu'un technicien va intervenir sur votre
serveur pour régler le problème.
 
Having server problems, eh?
 
Dan
@dystroy - i want to discuss my problem. Is it not the correct place?
 
@Kippie yes, it looks like my HDD is dead
 
8:38 AM
@Dan You haven't specified your problem. All you've stated is an intent
@dystroy Got daily backups with ovh or not?
 
@Dan there's no problem, it might be the right place, but people might not be interested
@Kippie at the worst a few days
 
@GNi33 Hard to say. I'm a programmer.
 
oh, so all of miao's history is gone? :(
 
@FutuToad TypeScript is a language, Angular is a web framework, how do they even relate?
 
Dan
I want to return all the files under a given folder name. So for the file structure in the link i provided above if i pass 'js' as the folder name i should recursively return all the files that are under that folder. So i should return - 'main.js', 'app.js', 'misc.js', jquery.js' and 'underscore.js'.
 
8:42 AM
@dystroy oh damn...
 
One more paycheck and I'll have paid off my laptop :D
 
stackoverflow.com/questions/25031076/… please see my question T.T
 
@Niang Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
wtf 60036 bus error grunt dev - Never seen that error from a grunt watch before
 
anyone using polymer in production?
 
8:51 AM
 
So SO link creation in comments is buggy. It creates a wrong link for that : en.wikipedia.org/wiki/%3F:
(it forgets the : at the end)
 
@FlorianMargaine it's missing 3440x1440 monitor and samsung's S band
 
And don't forget that testing on Chrome with emulation mode is a joke which only might give you a slight idea
 
> Just discovered my dad beats me on the amount of porn watched
// discoverd vintage stuff.. now destroying.
 
Well, he did have a head-start
 
8:55 AM
that might actually be worth something
 
vintage porn?
 
@FlorianMargaine repost
 
@Kippie yeap
@tereško destroying it off my hard disk
he can keep all he wants
 
i backup everybodies data on my 5tb HDD
so i searched for type := pictures
 
8:57 AM
@AbhishekHingnikar I was thinking more along the lines of "discovered old VHS tapes on attic"
 
So... What kind of porn is your dad into?
 
Kippie .... seems ALL
but mostly (60% ish) "matures" is what i have been seing
and deleting photos one by one is really hard
especailly since every 3rd photo i want comes with a porno screenshot or thumbnail next to it
 
0
Q: Use of dummy and empty jQuery promises

Bobby BI run multiple animations and perform some action when they're complete, using jQuery promises: $.when(foo(), bar(), baz()) .done(allDone); Each function (foo, etc.) returns a jQuery.Promise(). Now say I want to include a function which doesn't animate anything, but its...

 
@Zirak Happy birthday!
3
 
@Zirak Does that mean your finally 100?
 
9:02 AM
@Loktar Those are insane! How does he do this?! :O
 
@AbhishekHingnikar From your name, it might be possible to find who your father is. Are you sure publicly exposing this might not cause him problems ? You know, in some circles, this could be the case...
 
@dystroy who on this chat will know my father ?
 
You know this is indexed by google ? And that searches are always getting better ? We here don't care, but the employer who'll survey him next time he looks for a job will do a search
 
Haha, I think dystroy just realized that his kid might post weird shit on the internet that can be traced back to him :p
(I jumped in without context, so I don't know which message you're talking about that could cause his dad problems)
 
Yeah, I'm not going to let him manage backups for me. Not saying I'm confident right now about mines...
 
9:05 AM
@dystroy It would be weird if a potential employer googled your children, though
 
@GNi33 Good stuff!
 
@Kippie searches are getting better and better...
 
fk it i can't do this anymore
uploading 10 gb images to web :->
let my own software sort this mess for me :D
in like 2 weeks.
 
@SomeGuy it's running on repeat for me right now ;)
 
the only problem is snapick can only process images where face is > 100 x 100 px
:-(
 
9:22 AM
i search around but can't find a way to trigger show select element from other element
help me :(
 
9:40 AM
room topic changed to JavaScript :: Happy Birthday Zirak: Because being 98 is great. DO read this link: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf :: YES! Angularjs is on topic here. stop asking. [ecmascript] [javascript] [mine] [mine] [mine]
3
 
its a good think we can reach this room through javascriptroom.com
 
jsfiddle.net/aghosh/TUKLU why is that if the 'add' is triggered the .remove doesnot work , but if after page refresh, the remove is triggered as usual .
 
0
Q: Writing function with callback vs thenable function

NovellizatorI am curious which way should I design a function. Which interface should I choose and when? Either: foo(var1, var2, function (){/* my inline callback*/ }); Or: foo(var1, var2).then(function (){/* my inline callback*/ }) When should I prefer which way?

 
@blackbee the add button does nothing for me
 
9:48 AM
@AwalGarg it's a pity that blog.javascriptroom.com kinda died. would still be a great thing with all the knowledgeable people in here
 
@GNi33 the name Blogascript... eew just really ew. maybe change that name and it might live again...
 
sorry forgot to enable jquery wait
 
somebody would need to write some articles, then it would live again
 
@blackbee it is working fine now. both add and clear. what is the specific problem?
 
@GNi33 who controls it? and is it run on ghost?
 
so im new to javascript, whats a good place to learn how to integrate this guys answer into my code? stackoverflow.com/questions/24999890/…
 
@DenbyArnot Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@AwalGarg afaik it's a wordpress blog
 
no, after you add, hit the remove button..
 
9:52 AM
but I forgot who owns the domain... Neal?
 
it wont work, but if you refresh the page and hit remove, it goes
 
pretty sure it's on Neal's domain
 
Neal does
He's added Ryan and a few of the others as admins for the blog
 
@blackbee i thought you were talking about the clear button. lemme inspect.
 
RYAN! drop that guitar and get your a** over here, we need you! :P
 
9:53 AM
@AwalGarg ok
 
Noob q: Is there a way to get xpath for an element using Crome's F12 tools?
 
@JohanLarsson yeah.
 
@FlorianMargaine @anybody I'm currently on ssh on my crashed server with a rescue net boot os and I can't seem to be able to mount my disks. Can somebody help me here ?
 
@JohanLarsson Right click on it, click "generate XPath"
 
ty sir!
 
9:56 AM
Sorry, it's "copy xpath", same idea :)
 
@dystroy is that why miaou is not loading?
 
@AwalGarg yes : hdd seems dead
 
@dystroy if you haven't already, PLEASE PLEASE PLEASE clone that HDD just anyhow before situation worsens...
 
@AwalGarg It looks like I can't
 
@dystroy but you can arrange for it... can't you?
 
9:59 AM
@AwalGarg Hu ? The disk looks completely dead, I'm not sure, I'm looking for help from somebody more competent than me in linux admin
 
0
Q: Can I stop a Play Framework promise?

ticofabIs there an advisable way to stop a Play Framework promise? For instance, import play.api.libs.concurrent.Promise val timeoutFuture = Promise.timeout({ Logger.info("timeout expired.") }, myTimeoutValue) What would be a good way to cancel this future before myTimeoutValue expires?

 

« first day (1383 days earlier)      last day (3563 days later) »