160 karma · joined Mar 29, 2015 (11y ago) · 40 submissions
comment 1y ago · link · parent
comment 7y ago · link · parent
[1] https://developer.mozilla.org/en-US/docs/Web/API/AbortContro...
[2] https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
https://github.com/google/closure-compiler
https://github.com/BuckleScript/bucklescript
https://github.com/fastpack/fastpack
Seems like on the average it does offer a boost in performance.
And there is some aditional work providing javascript parsers for rust (which you could build tools like babel on top of): https://github.com/dherman/esprit
comment 8y ago · link · parent
I really love the political aspects and cultural differences between the various factions though.
comment 9y ago · link · parent
ツ - tsu
シ - shi
ソ - so
ン - n
The reason these are difficult to learn is because the tiny differences in stroke angles (especially when handwritten) make it easy to confuse them.
comment 9y ago · link · parent
Does this actually work? I tried it out in the Chrome Debugger and it didn't work. It looks like the author is confusing it with Rusts match statement.
comment 9y ago · link · parent
All-in-all this hardly seems like a reason to feel "violated"...
comment 9y ago · link · parent
In short, as a starting learner of Japanese I acknowledge that the problem you describe exists but think that 'really bad' is an overstatement and it is almost inevitable that your brain associates your old knowledge of English (or other languages) to the new language.
comment 9y ago · link · parent
Maybe it's an idea to make this a native Typescript compiler as it will profit much more from being compiled than pure JavaScript will?
This way it would probably still be possible to compile pure JavaScript but providing type information would allow the compiler to apply many more optimisations.
If I'm not mistaken V8 already does something similar to this with WASM (and I think asm.js).
comment 10y ago · link · parent
I'm still not sure how I feel about that bit of code though but it sure is clever...
comment 10y ago · link · parent
children(el => [
el.email = input(props({ type: 'email' })),
el.pass = input(props({ type: 'pass' })),
el.submit = button(text('Sign in'))
])
Can someone explains what this does and why it is used here?
As i understand it this function both modifies the `el` object (whatever that is) and returns an array containing the input elements, but why would you want to do both those things at the same time?comment 10y ago · link · parent
In that document it states that most of EU's research funding for the UK ends up going to higher education, and it accounts for 9.7% of their total budget. This doesn't sound like much but it's a considerable amount of money and it isn't spread equally over all areas of research.
Of course there is also pan-European research in/from the UK which will be hit by far the hardest (and one could argue is among some of the more important research).
So depending on their area of research your PhD student/professor connections might have a good reason to be upset.
Of course it is bad for anyone to take out their feelings on other people by making up stories/insulting them. But then again I question what your own motives are in posting this comment online. Especially considering that there are plenty of people who seem to have the opposite experience.
With your last sentence i wholeheartedly agree (as sad as it makes me). These days it seems that most people aren't even aware that they place themselves in a position where no one disagrees with them (see Facebook).
comment 10y ago · link · parent
Also if you'd have taken a few seconds to open the link to the book and skim through the opening paragraphs you might have read this sentence:
> There are no formal prerequisites to this book, and the Ruby on Rails Tutorial contains integrated tutorials not only for Rails, but also for the underlying Ruby language, the default Rails testing framework (minitest), the Unix command line, HTML, CSS, a small amount of JavaScript, and even a little SQL.
comment 10y ago · link · parent
my $php_code = 'eval(\'
header("X-Accel-Buffering: no");
header("Content-Encoding: none");
header("Connection: close");
error_reporting(0);
echo file_get_contents("/etc/passwd");
ob_end_flush();
ob_flush();
flush();
\');';
1. they seem to be using php to code the exploit (solely based on the $ before the variable name) but i've never seen the 'my' keyword before, what exactly is this language?2. if i understand the exploit correctly they got remote code execution by finding the pointer to 'zend_eval_string' and then feeding the above code into it. doesn't that mean the use of 'eval' in the code that is being executed is unnecessary?
comment 10y ago · link · parent
I'd like to get into Rust development and maybe help out with Servo (because it seems like an awesome project) but i have very limited experience with c/c++ (arduino and openframeworks). What is a good way/place to get comfortable with Rust?
(I am using Windows, can you even develop with Rust on Windows?)
comment 10y ago · link · parent
Although i get why the person above is frustrated with people spouting lies about immigrants their reaction is indeed not favourable to a healthy discussion :S
comment 10y ago · link · parent
From their site:
> LICEcap can capture an area of your desktop and save it directly to .GIF [...]
> LICEcap is an intuitive but flexible application (for Windows and now OSX), that is designed to be lightweight and function with high performance.
comment 10y ago · link · parent
Always and never are strong terms that I'm not sure of in this context but I understand and agree (to an extend), thank you for explaining :)
As far as whether OP's reaction was justified I guess we'll have to agree to disagree or something...
EDIT: Although I'm not sure that your "solution" to the problem (looking at picture galleries of hot males) is one that works...
(just kidding)
comment 10y ago · link · parent
Although I do question whether OP meant the same thing as he specifically mentioned the gender of his co-workers which in such a scenario would be rather irrelevant.
Since I'm in the comfort of my own home I totally overlooked this option :S