|
|
# ? Sep 9, 2013 07:33 |
|
|
# ? May 28, 2024 15:28 |
|
http://resthooks.org/ because polling socks, let's reimplement everything TCP or TLS, but over HTTP over TCP/TLS, and with an ad-hoc description rather than an actual spec. The docs includes use cases for:
They even acknowledge the existence of things like websockets that could be better and lighter (given they're just a way to tunnel TCP-equivalent poo poo but over HTTP), but declare that (instead of writing a websocket->rest proxy, or whatever else) it's just better to have all these entire patterns to do poo poo and reimplement it all over again because CRUD.
|
# ? Sep 10, 2013 18:14 |
|
quote:Over a representative time period, Zapier polled for changes 30 million times but only took action on 460,000 of those polls (1.5% efficient). lol
|
# ? Sep 10, 2013 18:56 |
|
MononcQc posted:http://resthooks.org/ looks like it's just a brand name and a smug web page about something zillions of services already do fitbit, withings, etc. have had subscriptions for years at this point
|
# ? Sep 10, 2013 18:59 |
|
what if i wish to use the superior SOAP
|
# ? Sep 10, 2013 19:30 |
|
SOAP isn't web scale!!
|
# ? Sep 11, 2013 21:20 |
|
has anyone ever used soap over a non http transport
|
# ? Sep 12, 2013 00:27 |
|
I don't think so
|
# ? Sep 12, 2013 00:34 |
|
soap was created to make corba look good
|
# ? Sep 12, 2013 00:36 |
|
soap is fine.
|
# ? Sep 12, 2013 00:36 |
|
its just a bummer theres no replacement or new work being done on messaging standards.
|
# ? Sep 12, 2013 00:37 |
|
Nomnom Cookie posted:has anyone ever used soap over a non http transport I think Microsoft use it over MSMQ for some of their other terrible software. I've certainly seen SOAP on MSMQ on PGM.
|
# ? Sep 12, 2013 00:48 |
|
i used soap once to serialize a .net application's settings to disk
|
# ? Sep 12, 2013 01:01 |
|
work uses mysql as a message queue
|
# ? Sep 12, 2013 01:03 |
|
lots of message systems use volatile storage
|
# ? Sep 12, 2013 01:08 |
|
Nomnom Cookie posted:work uses mysql as a message queue i used to work on bunch of in-house software that used mysql for all ipc but data was passed to/from customers using ibm mq and xcbl and soap the original devs just couldn't make the conceptual leap to use that poo poo internally i guess
|
# ? Sep 12, 2013 01:10 |
|
oh i forgot the best part it was mysql 4, so there was no meaningful way to lock rows or anything. jobs just had to be very precisely scheduled not to step on each other's toes. with a homebrew job scheduler. can't make this up who needs transactions data integrity is for enterprise-y firms
|
# ? Sep 12, 2013 01:32 |
|
Hiya cpphiles I have a question regarding cpp pointer-to-members. Why?
|
# ? Sep 12, 2013 11:04 |
|
For member functions, the reason why is pretty obvious. For member fields, to be consistent with member functions.
|
# ? Sep 12, 2013 12:06 |
|
pointer to members are v useful to do things like serialization, scripting language bindings, using methods as callbacks for listeners and such
|
# ? Sep 12, 2013 12:33 |
|
Thanks for the answers. I haven't thought of those applications
|
# ? Sep 12, 2013 12:42 |
|
Shinku ABOOKEN posted:Thanks for the answers. I haven't thought of those applications this thread is frequently a place where you wind up saying "oh, i hadn't thought of that"
|
# ? Sep 12, 2013 12:50 |
|
Nomnom Cookie posted:has anyone ever used soap over a non http transport over JMS, yup
|
# ? Sep 12, 2013 13:28 |
|
std::bind is really cool and i wish java wish java had anything like it
|
# ? Sep 12, 2013 13:39 |
|
Nomnom Cookie posted:std::bind is really cool and i wish java wish java had anything like it java 8 includes lambdas to make this not painful (you could hack around it now but the syntax would be so nasty it wouldn't be worth it) edit: it just dawned on me that the hacky way to do this in java today is basically what std::bind does -- abuse generics with a special class that exists only to compose functions
|
# ? Sep 12, 2013 15:42 |
|
i doubt that java generics would let you do java.lang.PartiallyAppliedFunctionFactory
|
# ? Sep 12, 2013 18:03 |
|
Nomnom Cookie posted:work uses mysql as a message queue Shaggar posted:lots of message systems use volatile storage Nomnom Cookie posted:i doubt that java generics would let you do java.lang.PartiallyAppliedFunctionFactory java generics won't, but MethodHandles should, with the caveat that the code is really ugly this short demonstration calls Throwable.printStackTrace from another thread the traditional way and by adapting a MethodHandle: Java code:
|
# ? Sep 12, 2013 21:32 |
|
Nomnom Cookie posted:i doubt that java generics would let you do java.lang.PartiallyAppliedFunctionFactory uhhh something like that trigger warning: this is worse than c++ http://www.drdobbs.com/jvm/functional-programming-in-java/184406320
|
# ? Sep 12, 2013 21:47 |
|
Partial.java is too big to paste w/ comments so here's a github gist it's really, really ugly. with lambdas this entire file would be like five lines. using generics, it's a clusterfuck https://gist.github.com/anonymous/6543643 here is a sample Java code:
|
# ? Sep 12, 2013 21:55 |
|
|
# ? Sep 12, 2013 22:17 |
|
abusing generics is always ugly
|
# ? Sep 12, 2013 22:19 |
|
someone somewhere is using that in production code
|
# ? Sep 12, 2013 23:02 |
|
Notorious b.s.d. posted:trigger warning: this is worse than c++ well duh
|
# ? Sep 12, 2013 23:06 |
|
i think i found tbc's g+ accountquote:Types were invented by compiler writers to make their job easier. They do not make programming easier. quote:I program a lot in Perl. It has only one simple type, scalar. You can stick anything in it, a number, text, or a reference. quote:For every programmer I worked with, every time they had a problem with types was in a strongly-type language.
|
# ? Sep 12, 2013 23:13 |
|
natural programming just got strongly typed!code:
gonadic io fucked around with this message at 23:39 on Sep 12, 2013 |
# ? Sep 12, 2013 23:35 |
|
a compelling alternative to cucumber
|
# ? Sep 12, 2013 23:42 |
|
quote:I program a lot in Perl. It has only one simple type, scalar. You can stick anything in it, a number, text, or a reference. Perl has three built-in data types: scalars, arrays of scalars, and associative arrays of scalars
|
# ? Sep 12, 2013 23:56 |
|
uG posted:Perl has three built-in data types: hash, weed, and pound sign
|
# ? Sep 13, 2013 00:03 |
|
uG posted:hash weed and pound friday night motherfuckers
|
# ? Sep 13, 2013 00:47 |
|
|
# ? May 28, 2024 15:28 |
|
protobuf: if i add values to an existing enum will it break the protocol or will old versions just set the enum to default if an unknown value is encountered?
|
# ? Sep 13, 2013 20:14 |