|
Shaocaholica posted:Does anyone know how I can something similar to this but instead of a single sequential process, spawn multiple processes/threads? xargs with -P may also work.
|
# ¿ Oct 25, 2011 09:07 |
|
|
# ¿ May 14, 2024 03:35 |
|
Master_Odin posted:I would, but I have no idea what I'd be looking at here. I say caches because that was the last topic introduced (learning about direct-mapping, full associate, set associative. point of L1 and L2. etc.) and have not in any way covered compiler stuff. Being able to read assembly dumps is a skill you should pick up sooner or later.
|
# ¿ Feb 29, 2012 01:10 |
|
Sidpret posted:I need a pointer on something cause I'm really not even sure what to google for. I want to download a large number of files from a site. Usually I would just wget but the files I need are queried by the site for download, so there aren't URLs. Why not shell out from bash/python to wget?
|
# ¿ Mar 11, 2012 00:41 |
|
YO MAMA HEAD posted:I'm trying to convert a nice C-style math expression like (t*9&t>>4|t*5&t>>7|t*3&t/1024)-1 so that it can be understood correctly by a Smalltalk-esque language with no Order of Operations. I'm sure this can be done with regular expressions, but I'm kind of poo poo at them at the best of times and it's getting late. I know the general sense of things is that parentheses will need to be inserted all over the place, but I can't quite wrap my brain around it. You can't use (normal) regular expressions to correctly parenthesize a context-free language, which arithmetic expressions are. Edit: Ugh, beaten by new page!
|
# ¿ Mar 23, 2012 06:16 |
|
the posted:Bleh. My professor assigned a numerical programming assignment for physics. He lets us use any language, but he decided this time to give us something that required such lengthy computation that using anything besides Fortran and C would be impossible. Sounds like a good simulation of the real world.
|
# ¿ Mar 12, 2013 21:18 |
|
Thermopyle posted:What type of software has a million or 20 million lines? Not doubting you, I'm just curious. Web browsers nowadays are in the millions of lines.
|
# ¿ Apr 24, 2013 12:03 |
|
Rocko Bonaparte posted:Here's a more philosophical question regarding software design. Everybody talks about "simplicity," but I feel like that doesn't entirely represent the value everybody wants. Something that is simple can be very crude. I was trying to find a better word to get to the core of this. In normal language, the best I could really find is "elegant," but that can imply it is delicate or fashionable. After floating around with this, I came across an old Italian word that only recently became popular in English: sprezzatura. I don't think "sprezzatura" is the right word. Perhaps you're looking for "parsimony".
|
# ¿ May 25, 2013 08:14 |
|
Rocko Bonaparte posted:Wouldn't that imply cheapness? I didn't think that was regarded as a good term. There are two definitions. I'm thinking #2 in http://www.merriam-webster.com/dictionary/parsimony . It's worth pointing out that Occam's razor is also known as the "law of parsimony".
|
# ¿ May 25, 2013 20:43 |
|
|
# ¿ May 14, 2024 03:35 |
|
it is posted:There's no way that doesn't exist already. It's already built in to the font selector in Word; all they'd have to do is port the work they already did to a smaller program There's already a "Font Book" app built into OS X. Does that app add anything more?
|
# ¿ Aug 6, 2013 09:46 |