search results matching tag: source code

» channel: learn

go advanced with your query
Search took 0.002 seconds

    Videos (22)     Sift Talk (7)     Blogs (4)     Comments (96)   

ant (Member Profile)

C-note (Member Profile)

C-note (Member Profile)

Call Flooding an IRS Phone Scamming Company

entr0py says...

Not that I have the source code, but I do see from the include directives he's using Twilio. It's an API and service that allows you to automate phone calls and SMS messages. I haven't actually used it, but researched it for another project; still it seems pretty interesting all the things it's capable of.

It wouldn't be hard to throw together a simple flooder, but also not free.

https://www.twilio.com/voice

Tabs v(ersu)s Spaces from Silicon Valley S3E6

Buttle says...

I have to disagree with this. If you're working with even a team of two, you have to edit someone else's source code, and tabs v spaces has to be agreed upon. There are a lot of other, more entertaining questions of formatting that have to be settled upon, not to mention how to name things: CamelCase versus under_scores.

Any halfway competent programmer figures out the local standards by observation and follows them. Anything else is an indication that she just doesn't give a shit about getting along with co-developers.

MilkmanDan said:

Basically, I think that tabs vs spaces is completely a personal preference issue if you're working alone OR on a small team that don't interact with each other's code much. And even on a large team, either choice is fine BUT it becomes important to conform to the standards of the team as a whole.

Tabs v(ersu)s Spaces from Silicon Valley S3E6

Buttle says...

It does have to do with writing code.

I have to deal with a source code repository that's full of tabs at work every day. Indentation for code may be composed of spaces and tabs, or spaces only. If tabs are present, then everyone working with the code has to use the same tab width setting, otherwise the indentation will be fubar.

If two people save edits using a different tab width setting, then there really is no way of fixing it up beyond auto-indenting it all and saving with a consistent tab setting.

The advantage of tabs is saving a few bytes on file size, which is completely undetectable in today's world of html email and xml everything.

The film, however, makes no sense, because the only way you can find out about a fundamental disagreement on spaces v tabs is by opening someone else's file in your editor, and finding the indentation all messed up. It's not something you can tell by looking over a shoulder.

The difference between emacs and vi, by the way, is that emacs has several good vi emulations, but it would be laughable to think of an emacs emulation in vi.

Emacs used to seem a completely outsized pig of a program, but in our modern times it's actually tiny. Still, you would expect a vi-champion to want tabs instead of spaces, not vice versa.

Not a lot of understanding displayed here, I'm afraid.

eric3579 said:

Don't think i've ever used a tab outside filling in a form or playing video games. Does the tab thing have more to do with writing code?

Vote Tampering - Court Testimony Reveals Rigging Attempt

jmd says...

Its nothing new, WE knew vote machine tampering was right around the corner. You need to have several people review the source code and THEN utilise the copy protection tech on modern CPUs to prevent tampering with them. Takes a little time but hey.. otherwise you get this shit.

Telescopes of the future - BBC News

World's First $9 Computer

AeroMechanical says...

I think I'd still go with a Beagleboard Black. The thing you want is documentation and source code. I can't find any on Allwinner's site (and the other component's manufacturers aren't named), and given Allwinner is a Chinese company I wouldn't put a lot of faith in the English documentation. Likewise, the Broadcom SOC in the Raspberry Pi's full documentation is only available under NDA and then only to volume customers, which is BS (moreover, no source for the bare metal stuff--an opaque binary blob does that).

If you're selling something as an educational development platform, some things are a lot more important than a few dollar's savings.

lurgee (Member Profile)

radx says...

If you're still interested in emerging details of the NSA/GCHQ story, keep reading. If not, feel free to delete the comment.

As you might have heard, a parliamentary investigative committee was set up in Germany to shed some light on at least some of the claims made by the press. They don't want to pay too close attention to it, given that our own intelligence services are just as bad, but that's another discussion.

Today, two expert witnesses were supposed to testify, William Binney and Thomas Drake, Everything was to be broadcast, as is custom, but they decided not to broadcast it after all. Given that recent interviews with both Binney and Drake indicated that they were planning to reveal quite a lot about shady cooperation between NSA/GCHQ and our own services, a set of rather embarassing details might have emerged. What a coincidence... [see footnotes]

Additionally, one of our public broadcasters, in cooperation with Jacob Appelbaum, revealed a piece of source code from a selector of XKeyscore. Hardcoded within, for some reason, we find the IPs of all servers running a TOR directory authority, once of them owned and maintained by a German student. So now we have the names of two German citizens under surveillance, and it'll be significantly harder for our Attorney General to find ways not to open up an invenstigation into espionage.

Also part of the revealed code was a confirmation that using TOR gets you labeled as an "extremist" and your ass is now amongst those whose activities will be monitored, constantly. A Google search for it is enough to land on their shit list, same for Tails.

That's the day so far, and it's not even 1pm.

Edit #1: Binney and Drake are considered witnesses, their statements are exempt from broadcast/streaming. Opposition forced a vote on it, government prevailed, no stream available.

Edit #2: I'll provide a summary of the juicy bits once they are done.

Edit #3: Members of the US Congress present, curious to see some (yet unmentioned) names.

Edit #4: Well, 0:20 and they're finally done for the day. Here's a summary of today's session, though the source can sometimes be a bit of a mouthpiece for the government.

enoch (Member Profile)

radx says...

The monthly updates on YT, the ones you introduced me to: https://www.youtube.com/watch?v=vMXfBm0IPd0

I completely forgot about the podcast, so cheers for the reminder. Is there any "proper" download link for the podcasts? I've been picking the dropbox url from TruthDig's source code by hand, there's got to be an easier way...

As for Taibbi:
The Vampire Squid Strikes Again: The Mega Banks' Most Devious Scam Yet


It's about how the too-big-to-fail/jail banks became a cartell in the physical commodities market. The story itself was reported on before, primarily the aluminium shenanigans of Goldman Sachs.

enoch said:

was that the podcast?
yep..listened to it,but only after you let me know it was up ..so thankies!

i havent followed the taibi story,but i love that mans work.
have a link? possibly?
would be greatly appreciated.


and as always,stay awesome.

Dude sleeping on jet w/finger on ///////////////////////////

lucky760 says...

That literally happens to me every single night.

Not kidding. (Never the slash though. Always a letter, usually in the middle of typing either code or an email. The worst is when I'm holding down D and all the lines of my source code get deleted.)

NerdAlert: SimCity Launch Disaster - EA Earns Your Rage

Sniper007 says...

Sure you could. You'd have to create third party servers, and connect to those. It's been done with WoW. Granted, you may need some source code or something. Maybe a disgruntled employee would be willing to grant access...

In theory. I have absolutely no idea how to hack. In case you couldn't tell!

Edit: Just found several reports of people playing on D3 clone servers. So...

braindonut said:

I doubt you could decouple the game from that [server] functionality.

Awesome Military Drumline: Top Secret Drum Corps (2012)

Can't embed a rutube.ru video due to dupe? (Geek Talk Post)

ant says...

>> ^radx:

Long story short: code is at the bottom.
Either I'm too blind to see the obvious or embedding a Rutube clip is, pardon my French, a fucking pain in the arse.
The iframe code you can get through the respective button on Rutube doesn't work. The video ID itself, injected into a template, doesn't work. Although, the latter at least produces a working player, just no valid video code to use it on.
What you have to do is get the proper video ID for embeds.
Open the site's source code and look for the following entry:
<meta property="og:image" content="http://tub.rutube.ru/thumbs-wide/91/4f/914f09904b50b553f3a345ef8ce61b49-1.jpg" />
That's a link for the thumbnail image Rutube used, and since it was taken automatically from the original video, it includes the proper video ID, as marked in bold.
Now take the ID and inject it into a working template, eg:

<object width="640" height="360">
<param name="movie" value="http://video.rutube.ru/$ID"></param>
<param name="wmode" value="window"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://video.rutube.ru/$ID" type="application/x-shockwave-flash" wmode="window" width="640" height="360" allowFullScreen="true" ></embed>
</object>

Replace $ID with your actual video ID and you should be good to go.
So here's your code:
<object width="640" height="360">
<param name="movie" value="http://video.rutube.ru/914f09904b50b553f3a345ef8ce61b49"></param>
<param name="wmode" value="window"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://video.rutube.ru/914f09904b50b553f3a345ef8ce61b49" type="application/x-shockwave-flash" wmode="window" width="640" height="360" allowFullScreen="true" ></embed>
</object>

Hopefully, that shit works.


Edit: fixed two HTML characters.


Thanks. I will try it when my queue has an empty spot unless someone beats me.



Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists

Beggar's Canyon