|
computers will never replace humans for sniping
|
# ? Jul 31, 2012 00:32 |
|
|
# ? May 8, 2024 23:15 |
|
tef posted:you can roll your own in 0mq, sure, but really, there are other options out there. HTTP makes a decent request-response protocol, and there is a poo poo ton of library support for it. if you use a good one, you can take advantage of http caches and load balancers. While glyph is certainly cool and all that, I don't want to do real-time stuff over http/xml/json. Maybe it's possible, but it seems to end in horrible disaster every time I've seen it tried. I dunno, sounds like this is just a different domain than you are thinking of. In small potatoes land, if I'm doing an internal service and I can get away with setting up one server in the corner to do everything, I'm gonna do it. The combo of being efficient in binary and handling concurrency lets that one machine scale nicely.
|
# ? Jul 31, 2012 00:40 |
|
i should write a high frequency in prolog
|
# ? Jul 31, 2012 01:02 |
|
iamthexander posted:am i missing something i thought good scripting languages could do concurrency concurrency isn't something you'd want to mix with scripting languages, because it's hard if you can't let your UNIX kernel handle concurrency (by making all your concurrence in separate processes that don't share resources except a database) the only right choice is erlang, which has crazy restrictions that make it possible to write correct and reliable concurrent code on the first try locks and mutexes: scrub tier asynchronous messaging: pro
|
# ? Jul 31, 2012 01:03 |
|
iamthexander posted:am i missing something i thought good scripting languages could do concurrency Pray tell, what "good scripting language" is this?
|
# ? Jul 31, 2012 01:16 |
|
Meiwaku posted:Pray tell, what "good scripting language" is this? PHP
|
# ? Jul 31, 2012 01:18 |
|
how do you start a new thread?
|
# ? Jul 31, 2012 01:55 |
|
call wget inside php
|
# ? Jul 31, 2012 02:00 |
|
no dont
|
# ? Jul 31, 2012 02:02 |
|
Brain Candy posted:While glyph is certainly cool and all that, I don't want to do real-time stuff over http/xml/json. Maybe it's possible, but it seems to end in horrible disaster every time I've seen it tried. I dunno, sounds like this is just a different domain than you are thinking of. in small potatoes land, http is fine. in big things, http has caches and load balancers. in real time stuff, 0mq is probably doing stuff behind your back that you don't want.
|
# ? Jul 31, 2012 02:03 |
|
Jonny 290 posted:no dont pro tip: don't pass the same session id through, this deadlocks php (I helped debug this once)
|
# ? Jul 31, 2012 02:03 |
|
As the ultimate Erlang weenie, it's kind of nice to see people sometimes advocating Erlang instead of laughing at it all the time, like they did a couple of years ago.
|
# ? Jul 31, 2012 02:17 |
|
tef posted:call wget inside php lol
|
# ? Jul 31, 2012 02:23 |
|
MononcQc posted:As the ultimate Erlang weenie, it's kind of nice to see people sometimes advocating Erlang instead of laughing at it all the time, like they did a couple of years ago. munctional
|
# ? Jul 31, 2012 03:03 |
|
tef posted:in small potatoes land, http is fine. The small potatoes stuff I was talking about is real time stuff in really big things, small efficiencies start becoming more important as dev time is relatively less valuable, a la protocol buffers. eh, real time is like anything else, if something can get you 90% of the way you try that first.
|
# ? Jul 31, 2012 03:10 |
|
tinselt0wn posted:this all brings us back to javascript. write javascript how you want. OO? great. Functional? even better. haha where is this from?
|
# ? Jul 31, 2012 03:12 |
|
yospos, sadly
|
# ? Jul 31, 2012 03:58 |
|
pro tip: don't use php (i helped debug this once)
|
# ? Jul 31, 2012 05:58 |
|
Gogey posted:pro tip: always use php
|
# ? Jul 31, 2012 06:29 |
|
let's use php... forever
|
# ? Jul 31, 2012 06:30 |
|
have u ever used php ... on weed
|
# ? Jul 31, 2012 07:28 |
|
closure compiler is nice for javascript
|
# ? Jul 31, 2012 07:33 |
|
Sniep posted:don't write programs - have programmers write programs, then you don't have to worry about any of this super boring poo poo alternately, write programs to write the programs for you
|
# ? Jul 31, 2012 07:35 |
|
i barely GNU her! posted:have u ever used php ... on weed ya the other day
|
# ? Jul 31, 2012 07:39 |
|
tef posted:dynamic and static typing are for weenies. that's pretty neat in how everything gets a really specific type, but I can't see how you could write code like that without an ide figuring the types out for you
|
# ? Jul 31, 2012 08:18 |
|
and what's with every research language having a hardon for overloading the EqualsOrGreaterThan operator?
|
# ? Jul 31, 2012 08:18 |
|
rotor posted:alternately, write programs to write the programs for you WFH is so much better when it's the computer that's doing all the work.
|
# ? Jul 31, 2012 08:40 |
|
I am in posted:and what's with every research language having a hardon for overloading the EqualsOrGreaterThan operator? why does c++ apparently bitshift cout() by "some string" what a terrible idea. apparently it's an 'insertion operation' gently caress you c++
|
# ? Jul 31, 2012 09:49 |
|
rotor posted:alternately, write programs to write the programs for you monoiconic metaprogrammable languages supremacy
|
# ? Jul 31, 2012 12:25 |
|
MononcQc posted:monoiconic metaprogrammable languages supremacy if your language can't write itself without use of the string concatenation operator then, well, get a new language
|
# ? Jul 31, 2012 14:15 |
|
The following is an email I sent to John Carmack of Id Software after having watched his 2012 Quakecon Keynote Speech. Hi John, I watched the live stream of your keynote speech yesterday, and – as every year – I enjoyed it very much. I applaud your openness; it's always refreshing to hear some insights from the gaming industry that is otherwise very secretive. Thank you! However, I believe your views on JavaScript and WebGL are short sighted. Nobody pretends that the next AAA-title will be written in JavaScript. The community understands that it's magnitudes slower than native code, but the thing is: it just doesn't matter. Many, many types of games don't need the absolute best and fastest environment to offer interesting gameplay and graphics. Take a look at X-Type on your iPad or iPhone for instance. You yourself talked about how frustrating it is that you need 200 lines of code just to set up your screen for rendering on Windows, whereas in the olden days you could just push pixels to the screen with 3 lines of code. We're there again: take 3 lines of JavaScript and you're drawing an image to a canvas element. Take 20 more lines and you have a rendering loop and a sprite that moves with the arrow keys. And all you need is a text editor and your favorite Browser. That is what JavaScript is all about. When you're new to programming and still figuring out whether you like it, you don't want to read thick books. You want to see results. Fast. You want pictures dancing on the screen. JavaScript is the language you should teach your son. I backed the Oculus Rift Kickstarter yesterday and I fully expect to see significant development for it going on with WebGL. It doesn't matter that JS is "slow" when you're just trying stuff; ease of development is far more important. Coupled with the openness of the Web, I wouldn't be surprised if much, if not most, of the research for applications of the Rift comes out of the JavaScript community. Right-Click -> View Source is what made the web so successful and it's awesome that we now have this for 3D graphics as well. Don't hate JavaScript. It's our generation's Apple II. Regards, Dominic
|
# ? Aug 3, 2012 16:48 |
Toady posted:Don't hate JavaScript. It's our generation's Apple II.
|
|
# ? Aug 3, 2012 16:55 |
|
Toady posted:The following is an email I sent to John Carmack of Id Software after having watched his 2012 Quakecon Keynote Speech. i want to put caltrops behind this person's tires every day for a month
|
# ? Aug 3, 2012 16:57 |
|
tbh that guy's prety much right on the money
|
# ? Aug 3, 2012 16:58 |
|
love his demand that javascript be taught to carmack's son
|
# ? Aug 3, 2012 17:08 |
|
I unironically thought webgl would be a cool platform until I dug a little and found a github javascript physics engine that grinds to 2fps when you crash one block into a stack of five blocks
|
# ? Aug 3, 2012 17:18 |
|
Socracheese posted:I unironically thought webgl would be a cool platform until I dug a little and found a github javascript physics engine that grinds to 2fps when you crash one block into a stack of five blocks who cares, eventually hardware will catch up
|
# ? Aug 3, 2012 17:19 |
|
I'd have totally killed that guy if the garbage collecter hadn't stopped the world as I was aiming.
|
# ? Aug 3, 2012 17:23 |
|
Tiny Bug Child posted:who cares, eventually hardware will catch up android.txt
|
# ? Aug 3, 2012 17:24 |
|
|
# ? May 8, 2024 23:15 |
|
Tiny Bug Child posted:who cares, eventually hardware will catch up - web developers for the last 15 years
|
# ? Aug 3, 2012 17:24 |