|
vapid cutlery posted:are you seriously blaming the library for your shortcomings ahahaha Not [usually] my code. Led to a few "why does this only crash on an iPhone XX with a [faster/slower] processor" style bugs, though.
|
# ? Feb 22, 2013 06:34 |
|
|
# ? Jun 11, 2024 02:36 |
|
Carthag posted:pro tip: dont share objects between threads
|
# ? Feb 22, 2013 07:01 |
|
Carthag posted:pro tip: dont share NSMutable objects between threads whoa thnks
|
# ? Feb 22, 2013 07:02 |
|
its totally find to share immutable objects dude
|
# ? Feb 22, 2013 07:45 |
|
Bream posted:How about the c++11 thread features? standardizes a lot of things for threading/synchronization/atomic operations, asserts thread safety of certain types of operations on standard containers, and the futures library may or may not be a pile of dicks. imo it really just makes it easier for others to create 3rd party concurrent programming libraries.
|
# ? Feb 22, 2013 08:25 |
|
http://www.dadhacker.com/blog/?p=1911 <clownspace>programmer hero gives up his thanksgiving to save his company money. working for free instead of being with his family is one of the high-points of his career.</clownspace>
|
# ? Feb 22, 2013 09:25 |
|
if he didnt at least parlay that into some kind of promotion or at least a raise or at the very least a huge bonus, hes a giant pussy and a useful idiot
|
# ? Feb 22, 2013 09:34 |
|
Who needs instructions? https://github.com/jbangert/trapcc
|
# ? Feb 22, 2013 10:17 |
|
I showed Nate how to multiply by ten, a hundred, and one thousand using a little inline recursion trick, and he called me a sick gently caress.
|
# ? Feb 22, 2013 10:24 |
|
Zombywuf posted:Who needs instructions? https://github.com/jbangert/trapcc thats p cool and i think this is p cool too http://groups.csail.mit.edu/mac/users/bob/sliding-blocks.pdf
|
# ? Feb 22, 2013 10:26 |
|
protips from Tandem regarding reliability in Why Computer Stops, and What Can Be Done About It?. It's not all about avoiding errors while writing code, it's about dealing with them when they inevitably happen in production, too:quote:System administration, which includes operator actions, system configuration, and system maintenance was the main source of failures — 42%. Software and hardware maintenance was the largest category. The paper also reports that only 1/132 bugs were not Heisenbugs: quote:most production software faults are soft. If the program state is reinitialized and the failed operation retried, the operation will usually not fail the second time. It then goes into a full recommendation of process pairs with persistence and transactions in terms of the best solution available, as it can greatly help get the same failover/takeover reliability guarantees hardware can get. Read that paper.
|
# ? Feb 22, 2013 14:09 |
|
MeruFM posted:Engineering reliability of real world parts seems very different than software reliability. As noted before, bridges are not safe because they are made out of beams and bolts that are individually perfect, they are safe because the larger structure is designed taking flaws into account. Formal verification in the small, trying to take assembly and verify its correctness, is rightly an increasingly dead field of research. Even if perfect programs are written random cosmic radiation will still cause unpredictable errors now and then. Instead system interactions are studied, doing things like designing protocols where it is ensured that any global error states are transient, or that certain operation sequences are impossible, and so on. It is also pretty fun stuff, where raw code verification was always a bit Quixotic stuff like handling byzantine failures in distributed state machines and such all seems relatively manageable.
|
# ? Feb 22, 2013 14:27 |
|
has anybody said "bro do you even test" yet
|
# ? Feb 22, 2013 15:50 |
Jonnty posted:has anybody said "bro do you even test" yet test on production
|
|
# ? Feb 22, 2013 15:52 |
|
Zombywuf posted:Who needs instructions? https://github.com/jbangert/trapcc https://github.com/jbangert/trapcc/blob/master/trapcc/trapcc.rb Ruby code:
|
# ? Feb 22, 2013 17:28 |
|
http://www.mysqlperformanceblog.com/2012/07/05/impact-of-memory-allocators-on-mysql-performance/ tee hee
|
# ? Feb 22, 2013 17:30 |
|
tef posted:http/0.9 this turns out to be a known bug with nginx request a url with 5k characters, nginx refuses to parse it as http/1.0 or above, and so drops the headers from the response. as a result you get a blank line and then some html as a response. browsers still support http/0.9 so no-one notices. so i'm implementing http/0.9 support to crawl tumblr. computers
|
# ? Feb 22, 2013 18:03 |
|
Holy poo poo that's terrible
|
# ? Feb 22, 2013 18:21 |
|
This is how the web really works.
|
# ? Feb 22, 2013 19:29 |
|
Carthag posted:its totally find to share immutable objects dude actors are the way to go imo. yes sharing immutable state is a problem
|
# ? Feb 22, 2013 20:07 |
|
Nomnom Cookie posted:yes sharing immutable state is a problem how!!
|
# ? Feb 22, 2013 20:13 |
objective-c is 30 years old today it is a good language
|
|
# ? Feb 22, 2013 20:58 |
|
Nomnom Cookie posted:actors are the way to go imo. yes sharing immutable state is a problem wth is immutable state
|
# ? Feb 22, 2013 21:14 |
GrumpyDoctor posted:wth is immutable state a state which is immutable
|
|
# ? Feb 22, 2013 21:16 |
|
Nomnom Cookie posted:sharing immutable state is a problem tell me why i might be really dumb and have missed out on some insight but i dont see a problem
|
# ? Feb 22, 2013 22:38 |
|
If your shared immutable state lives in a garbage collected heap, isn't it suddenly kinda mutable Edit: or maybe it's refcounted Vanadium fucked around with this message at 22:52 on Feb 22, 2013 |
# ? Feb 22, 2013 22:48 |
|
tef posted:this turns out to be a known bug with nginx ??? i just sent a request with way more than 5k characters and it gave me http/1.0 back
|
# ? Feb 22, 2013 22:56 |
|
Vanadium posted:If your shared immutable state lives in a garbage collected heap, isn't it suddenly kinda mutable in objc its refcounted and will be around unless you done hosed up and declared something weak that should be strong
|
# ? Feb 22, 2013 23:10 |
|
yaoi prophet posted:??? i just sent a request with way more than 5k characters and it gave me http/1.0 back 5K in the request body or 5K in the URL?
|
# ? Feb 22, 2013 23:10 |
|
qntm posted:5K in the request body or 5K in the URL? and are your "characters" just boring ol' single bytes or
|
# ? Feb 22, 2013 23:34 |
|
i sent a request for tumblr.com/tagged/5500 q's, got HTTP/1.0 400. same with 5500 カs
|
# ? Feb 22, 2013 23:39 |
|
Vanadium posted:If your shared immutable state lives in a garbage collected heap, isn't it suddenly kinda mutable Is there a problem if weakreferences are accessed as options or maybe types?
|
# ? Feb 23, 2013 00:00 |
|
a way way way underused trick in programming languages is using reference counting and allowing mutating only objects with a reference count equal to 1, all other mutations are copy-on-write reference counting only has two issues; it is expensive and it requires acyclic data structures. the above already enforces all data being acyclic, and various language design tricks, such as proper vector support, encourages sufficiently large objects that efficiency can be maintained i only know of one language that does this, and the guy that designed it is mad rich now.
|
# ? Feb 23, 2013 00:11 |
|
yaoi prophet posted:i sent a request for tumblr.com/tagged/5500 q's, got HTTP/1.0 400. same with 5500 カs http://www.tumblr.com/impixu?T=1361...d1f660891bfbee4
|
# ? Feb 23, 2013 00:32 |
|
MononcQc posted:protips from Tandem regarding reliability in Why Computer Stops, and What Can Be Done About It?. ah, the crazy 80s quote:The keys to this software fault-tolerance are: quote:There is considerable controversy about how to modularize software. this is a nice paper to measure how far we've come in almost 30 years or not.
|
# ? Feb 23, 2013 00:44 |
|
xf86enodev posted:how far we've come in almost 30 years
|
# ? Feb 23, 2013 00:44 |
|
my theory of computation class prof threatened to make us program stuff for one of these: https://www.youtube.com/watch?v=E3keLeMwfHY&t=8s that rig is pretty sw8 tho. it can compute anything that's computable
|
# ? Feb 23, 2013 00:48 |
|
Carthag posted:in objc its refcounted and will be around unless you done hosed up and declared something weak that should be strong No I mean the refcounts are shared between threads and mutable aren't they
|
# ? Feb 23, 2013 00:52 |
Socracheese posted:my theory of computation class prof threatened to make us program stuff for one of these: holy poo poo
|
|
# ? Feb 23, 2013 00:53 |
|
|
# ? Jun 11, 2024 02:36 |
|
So is this a bug regarding query strings or urls in general?
|
# ? Feb 23, 2013 00:56 |