Domain: github.com
Stories and comments across the archive that link to github.com.
Comments · 4,419
-
Safari
Works on the latest version of Safari.
Much more fun than my previous favorite browser game, Kick Ass (imagine playing Asteroids but shooting all the objects on a page).
-
Re:Easily CSI
I knew I'd been hacking on screen update routines for lysdr too much when I was watching NCIS rather than CSI and they did the "flash up millions of fingerprints" thing - and my first thought was "jeez, all those blits to the screen, that could be so much faster..."
-
Perhaps germaine to the conversation
There is also an open source Flash runtime called "Gordon" that reads the SWF and executes the animation and events in a <canvas> element.
-
Re:Easy
I have just started to develop a "relationship engine" for modelling complex relationships between characters, mostly among NPCs. Sorry, no code yet, documentation is still in my dead tree notebook, but will change soon when I have the time.
https://github.com/embed/are-relationship-engine -
Re:Good news for linux?
Great suggestion! Have you ever tried it? A colleague and I were looking at Smokescreen and some other similar projects when we wanted to an old page with some Flash for a client working on the iPad.
Smokescreen looks fantastic in their demos, but they don't make it available for download anywhere and the last update to their site was nearly a year ago. This was a post "weeks" before they get the source code out. Hopefully eventually it is out eventually because it seems like a great project.
By grabbing the JS source we did try to demo it with a few pages and it croaked. It might be that our SWF files were poorly coded, we didn't create them. I suspect this might be a case similar to IE rendering bad code correctly while other browsers croak.
The other major problem is that this kind of solution needs to be implemented by the web author. I can't "install" this on my iPad and hope all Flash content magically works.
Another script we tried was called Gordon (src: https://github.com/tobeytailor/gordon/wiki/). Unfortunately this only works with Flash v1/v2 SWF files.
Both Gordon and Smokescreen render SWF files in the browser which is great if this is all you have. I certainly imagine this Adobe one that compiles some HTML5 code from the Flash source file works better.
-
Re:Graceful degradation?
-
Re:Who cares?
Also
Ghostery => http://www.ghostery.com/
Https-Everywhere => https://www.eff.org/https-everywhere
Beef Taco => http://jmhobbs.github.com/beef-taco
then you will have a chance of good browsing without telling everybody where you have been and who you ate for lunch -
obligatory
-
Re:Visual Basic
-
Re:Pardon my ignorance(and I don't want a holy war
I'm very sure, yes.
> I don't recall gcc -O3 and -O0 having a factor of 10
> difference for most tasks.They don't. My comment was quite specific: the cited numbers are simple number-crunching code. The fact that -O0 stores to the stack after every numerical operation while -O3 keeps it all in registers is the source of the large performance difference as long as you don't run out of registers and such. The stack stores are also the gating factor in the code generated by Tracemonkey, at least.
> And Javascript definitely isn't close to C
> performance, even unoptimized.For simple number-crunching code, Tracemonkey as shipping in Firefox 4 runs at the same speed as C compiled with GCC -O0, in my measurements. I'd be happy to point you to some testcases if you really want. Or do you have your own measurements that you've made that are the basis for your claim and that you'd care to share?
Note that we're talking very simple code here. Once you start getting more complicated the gap gets somewhat bigger.
As an example of the latter, see https://github.com/chadaustin/Web-Benchmarks which has multiple implementations of the same thing, in C++ (with and without SIMD intrinsics) and JS with and without typed arrays. This is not a tiny test, but not particularly large either.
On my hardware the no-SIMD C++ compiled with -O0 gives me about 19 million vertices per second. The typed-array JS version is about 9 million vertices per second in a current Firefox 4 nightly.
For comparison, the same no-SIMD C++ at -O2 is at about 68 million vertices per second. -O3 gives about the same result as -O2 here; -O1 is closer to 66 million.
> Besides, gcc -O3 can actually be somewhat
> slower than -O2Yes, it can, depending on cache effects, etc. For the sort of code we're talking about here it's not (and in fact typically -O2 and -O3 generate identical assembly for such testcases. See the numbers above.
One other note about JS performance today: it's heavily dependent on the browser and the exact code and what the jit does or doesn't optimize. In particular, for the testcase above V8 is about 30% faster than Spidermonkey on the regular array version but 5 times slower on the typed array version (possibly because they don't have fast paths in Crankshaft yet for typed arrays, whereas Spidermonkey has made optimizing those a priority).
Again, I suspect that things will look somewhat different here in a year. We'll see whether I'm right.
-
Re:Please merge with me!
Please merge with me! git pull https://github.com/nportman/dna
Sure its nice to fool around with my own local copy, but she never accepts my changes. Something about coding style and quality being below standard. I heard she's readying for v2.0 anyway. Its been pure bloatware for a while now. I recommend switching to https://github.com/mkunis
-
Re:Please merge with me!
Please merge with me! git pull https://github.com/nportman/dna
Sure its nice to fool around with my own local copy, but she never accepts my changes. Something about coding style and quality being below standard. I heard she's readying for v2.0 anyway. Its been pure bloatware for a while now. I recommend switching to https://github.com/mkunis
-
Re:It's on GitHub?
There is already an existing fork with 19 changes and a pending pull request. Why not contribute there. https://github.com/msporny/dna/pull/1
-
Re:Looking around...
-
Forks & merges
As of now, he's got already 26 forks, so he's been cloned several times.
But what will be impressive is having merges (via pull requests) accepted into the master branch. Crowd-sourced gene therapy (or mutation) anyone?
-
Please merge with me!
Please merge with me! git pull https://github.com/nportman/dna
-
Link To DNA Source
For those not wanting to find it in the sea of links, Github DNA Source
-
Re:How is HTML5 closed and patented?
Most ads aren't in Flash. Adblockers work by having a list of filters (URLs) to block images and other ads, not only Flash.
If you wanted only to block animations, you could implement click-to-play on canvas & video tags; there is already a Greasemonkey script that does just that: https://github.com/andyli/CanvasBlock
-
Re:What does possession mean?
They have decompiled source code and have posted it on GitHub.
-
Re:True, but it's only 8-bit
You CAN cram uClinux into 2M, but you have to know what you're doing to yank ore stuff out of the kernel so it's not for beginners.
You can use dynamic RAM (and even the smallest configuration available will be larger than anything uClinux would be able to fill). It can be a painful experience on Xilinx FPGA with soft MPMC (usable but takes disproportionally large amount of resources), however Spartan-6 has hard MCB, so it should be possible to stuff MicroBlaze and DDR2/DDR3 controller into a relatively cheap development board configuration. Not sure about tools licensing -- MicroBlaze is included free of charge with full (but expensive) license but as far as I know, not in Webpack, and Xilinx provides MicroBlaze development kits at less-than-insane (few hundreds to a thousand dollars) prices, however you have to choose the kit wisely, as smaller FPGA will be almost completely filled up with a minimal system, thus defeating the purpose of using an FPGA.
I work with Virtex-5 (so the above mentioned MPMC eats a considerable amount of resources), and was able to stuff a perfectly usable uClinux-based system into XC5VLX50T (see https://github.com/jdkoftinoff/mb-linux-msli and https://github.com/jdkoftinoff/mb-gcc4-msli ) No idea which development board would be the closest equivalent of my current configuration, and how much it would be justified for electronics amateur, but it is great when you want plenty of custom hardware and network-accessible Linux-based system all implemented in one FPGA.
-
Re:True, but it's only 8-bit
You CAN cram uClinux into 2M, but you have to know what you're doing to yank ore stuff out of the kernel so it's not for beginners.
You can use dynamic RAM (and even the smallest configuration available will be larger than anything uClinux would be able to fill). It can be a painful experience on Xilinx FPGA with soft MPMC (usable but takes disproportionally large amount of resources), however Spartan-6 has hard MCB, so it should be possible to stuff MicroBlaze and DDR2/DDR3 controller into a relatively cheap development board configuration. Not sure about tools licensing -- MicroBlaze is included free of charge with full (but expensive) license but as far as I know, not in Webpack, and Xilinx provides MicroBlaze development kits at less-than-insane (few hundreds to a thousand dollars) prices, however you have to choose the kit wisely, as smaller FPGA will be almost completely filled up with a minimal system, thus defeating the purpose of using an FPGA.
I work with Virtex-5 (so the above mentioned MPMC eats a considerable amount of resources), and was able to stuff a perfectly usable uClinux-based system into XC5VLX50T (see https://github.com/jdkoftinoff/mb-linux-msli and https://github.com/jdkoftinoff/mb-gcc4-msli ) No idea which development board would be the closest equivalent of my current configuration, and how much it would be justified for electronics amateur, but it is great when you want plenty of custom hardware and network-accessible Linux-based system all implemented in one FPGA.
-
Scraper
What I found most interesting was the link in the article to opengovernment.org, which I followed on to this project: https://github.com/sunlightlabs/openstates They provide the screen scrapers which feed the data to the main project. I"m sure that even with the gov't providing data freely there will still need to be formatting transformation required, and some screen scraping needed to get the full picture into some database somewhere. I'm sure there are other frameworks around that build up scraping/database/analysis applications. Does anyone have any experience with these?
-
Re:Good luck with that
Glad everything is working out for you.
Here's a comment from someone more in-line with the work I do, from an expert supporting my server configuration:
"Re: your issue - it looks weird and I must admit I'm already tired supporting Ubuntu. 95% of all issues were related to some weird package updates they (Canonical) decided to introduce over last months. At the same time there was just one and simple issue in Debian Lenny, related to broken git package. My general advice is: avoid Ubuntu at all costs! They are simply crazy and I would never use Ubuntu on any server."
https://github.com/omega8cc/nginx-for-drupal/issues/issue/166#issue/166/comment/652144
-
Re:That was fast
On the other hand, as a response to Sony's takedown notice, they started posting all of their DMCA takedown notices publicly. That's what enabled me to find this information in the first place.
-
Redcar
https://github.com/danlucraft/redcar
I'm using redcar. Gotta check out Eclipse and see if they've made much progress.
-
Re:Investing
Nice thanks. I actually did better than highlighting friends, and restored the original icons, while ensuring the icons still function as a link.
In case anybody finds it interesting: https://gist.github.com/801524
(Sorry about Gist's syntax highlighting making it hard to read, but you can click the raw link for the formatted text.) -
Re:Thoughts on KDE
Also, KDE needs a built-in (meaning no extra stuff to install, lightweight, no glitches, no elaborate tray pop-ups) no-mouse-required, minimal-keyboard-gymnastics way of entering all Unicode characters into everything that accepts text.
XCompose exists since 15 years or so, works in any desktop environment because it's a fundamental feature of X. You as an old fart should know this, but if not, look at and https://github.com/kragen/xcompose.
To enable, go to System Settings -> Hardware -> Input devices -> Keyboard -> Advanced -> Position of Compose key and pick a useless one, like Caps Lock. From the command line setxkbmap and xkbcomp are involved, here's my keymap for comparison, the important part is compose(caps).
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwertz)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+de(nodeadkeys)+ru(phonetic):2+inet(evdev)+terminate(ctrl_alt_bksp)+compose(caps)+nbsp(level4n)" };
xkb_geometry { include "pc(pc105)" };
}; -
Re:Where is Diaspora?
Appleseed is open source, distributed social networking, built on a commodity stack, and installs in a few minutes on any LAMP compatible host.
Code is available here:
http://github.com/appleseedproj/appleseedAppleseed has a main beta site, appleseedproject.org, and approx. 150 test nodes out in the wild. If you'd like an invite, just email invite@appleseedproject.org. It's still in beta, but new features are added regularly.
We've also been fundraising, if you'd like to donate, our fundraising ends in only 4 days, but every little bit counts:
http://www.indiegogo.com/Open-Source-Social-Networking
Here is our roadmap for the future:
http://opensource.appleseedproject.org/roadmap/
Diaspora is also available, here is their github. They are running on Ruby + Rails, and they were MongoDB based, but recently switched to MySQL.
-
Re:Where is Diaspora?
Appleseed is open source, distributed social networking, built on a commodity stack, and installs in a few minutes on any LAMP compatible host.
Code is available here:
http://github.com/appleseedproj/appleseedAppleseed has a main beta site, appleseedproject.org, and approx. 150 test nodes out in the wild. If you'd like an invite, just email invite@appleseedproject.org. It's still in beta, but new features are added regularly.
We've also been fundraising, if you'd like to donate, our fundraising ends in only 4 days, but every little bit counts:
http://www.indiegogo.com/Open-Source-Social-Networking
Here is our roadmap for the future:
http://opensource.appleseedproject.org/roadmap/
Diaspora is also available, here is their github. They are running on Ruby + Rails, and they were MongoDB based, but recently switched to MySQL.
-
Re:Chrome...I stopped looking for Youtube-downloading browser extensions when I discovered this python script that is updated regularly.
Run it straight from the command line, or build a wrapper around it for your browser, whichever you prefer.
-
That will come as a big surprise to those
... who've ported Linux to the iPhone. Not sure what flavor of Linux we're talking about here, but I've certainly seen Android proper running on an iPhone.
-
Re:Too little and too much, way too late
-
Re:Great..but will MS allow it?
"Drivers and libraries for the Xbox Kinect device on WIndows, Linux, and OS X"
Linux drivers for the device itself have been available the entire time (since it was 'hacked'). You are completely free to use that to make whatever style of HID you wish.
Informative... but...
those are the drivers for MS incarnation of Kinect Core. Are you sure the Asus incarnation will use the same encoding/protocol? Are you sure it will be equally easy to break by RE? -
Re:Great..but will MS allow it?
"Drivers and libraries for the Xbox Kinect device on WIndows, Linux, and OS X"
Linux drivers for the device itself have been available the entire time (since it was 'hacked'). You are completely free to use that to make whatever style of HID you wish.
-
Re:Still Crappy Code after all these years?
I still can't fathom why Software vendors can't do a better job of using tools to certify their code.
I blame C++. Hard to parse, hard to analyze, full of surprises.
So do a few other people at Mozilla, who are working on a new systems language called Rust.
-
ICQ binary chat logs
I recently consolidated all my instant messaging logs, but ICQ for Mac has been abandoned since 2003 and uses a weird binary file format that's never been fully documented. So I wrote a tool to parse the parts I could figure out, and extract them into Adium-format logs: http://github.com/vasi/icq-mac-export . Thanks to the Miranda folks for putting up docs for a related format here: http://code.google.com/p/mataes/source/browse/Miranda/Plugins/Dbx_mmap_sa/import_sa/docs/import-ICQ_Db_Specs.txt
-
Re:According to modulecounts... but then again...
The old rubyforge.org (based on GForge) had many of those features. rubygems.org (based on the gemcutter) is still rather new, and could use some more features (ranking would be nice).
-
Re:DLL hell
There is a huge push for moving away from C extensions, and towards using FFI (Foreign Function Interface).
-
Re:DLL hell
One of the reasons I moved from Perl to Ruby was Bundler and Capistrano. These really fix the problem of instant multi-server deployment AND upgrades. It's a beautiful thing! http://gembundler.com/ https://github.com/capistrano/capistrano
-
GenerationX, Mac OS X genealogy software
A month ago, I found GenerationX, an open source Mac OS X GEDCOM editor. (GEDCOM is a standard genealogy file format.) Unfortunately, the version I found was very old. It was PowerPC-only and crashed on launch on Snow Leopard.
I took the source on SorceForge, fixed many of the compiler and static analyzer warnings and removed the expiry code.
You can find my fork on github:
https://github.com/paulschreiber/generationxBe careful — this is still beta quality.
-
gpgAuth
Seriously, we have a great system for authentication via SSH. Public/Private keys work well. You have one password to remember and no one else gets it--even if they are hacked.
gpgAuth -
Re:You have nothing to fear.
Having done this recently for a relatively complex Rails application, I can say that it wasn't terrible. Fortunately, if you're using Rails' migration facility, you have a record of all of the SQL definitions you've done. We ran into three trouble spots: MySQL views, the TRUNCATE command, and foreign key definitions which have different syntax in MySQL and Postgres. This meant that we had to change a few things (we wrapped views in this gem and foreign keys in this gem). Turns out the TRUNCATE calls were not necessary, so we ditched them.
The hardest part, for me, was getting used to psql, which is the Postgres equivalent to the mysql command-line utility. MySQL's commands are SQL-like, whereas Postgres' are all prefixed with a backslash to distinguish them from regular SQL. Postgres, as you'll discover, is much more picky than MySQL in some SQL queries. The HAVING clause, for instance, requires you to be very specific in Postgres, whereas MySQL just chugged along and made some (correct, in my case) assumptions. I have mixed feelings about the switch, but we needed the PostGIS geographical functionality which is sorely lacking (or, I should say, implemented poorly) in MySQL. I'll probably continue to use MySQL for my own personal projects... at least until Oracle destroys the project. -
Re:Send the wah-mbulance.
http://www.mono-project.com/Moonlight https://github.com/mono/moon/tree/moon/moon-2-0
That's all well and good, but Moonlight doesn't support DRM-protected content.
-
Re:Send the wah-mbulance.
-
Re:Electronic currency
I'm one of the major third party developers (I wrote DiabloMiner, a OpenCL miner written in Java), and at no point has anyone in the community said they don't want to be associated with Wikileaks.
If anything, many of us have asked Julian and his associates to accept Bitcoin so we can donate to Wikileaks.
So, please, don't spread FUD.
-
Re:DIY hacking tool?
You're not looking very hard, are you? https://github.com/NewEraCracker/LOIC
-
LOIC download page
Lots of outdates links making the rounds. Get the latest LOIC here: https://github.com/NewEraCracker/LOIC. This has the "hive mind" feature. Written in C#.
-
Re:Once again we prove...
Obviously you've never heard of LOICand its "Hive Mind" mode. This may technically be counted as a botnet, but the installation and participation of the TCP flooding is entirely voluntary.
-
Re:For the better?
For all the things Apple has done right and does well, clinging on to Objective-C is not one of them.
It'd be nice if you pointed out, you know, actual reasons rather than just make snide comments. I'm sure some knee-jerk Apple haters will vote you up though.
My issues with iOS development lie not with Objective-C, but with Apple's frameworks and libraries. It's frustrating to only have header files and not be able to check out what a method actually does when debugging. Fortunately, the documentation for their classes is top-notch. The objc runtime is also a pretty wild ride, but once you know your way around you can poke at it and find out where your messages are going at least. Can check out the source for the runtime here http://opensource.apple.com/source/objc4/
Another issue of course, is XCode. I've switched to writing most of my iOS code in vim, building my code with the xcodebuild command. I still rely on XCode to do things like add files to the xcodeproj and manage the build configurations. XCode has a mind of its own, wacky completions, a completely fucked up undo buffer, strange locations for settings, and more frustrating joys. Would love to do away with that.
Check out the cocoa.vim plugin, and also, while I'm at it, you can get your vim for your local environment pimped out in minutes with Vimlander 2: The quickening. Test driving my apps with Pivotal's Cedar framework. -
Re:For the better?
For all the things Apple has done right and does well, clinging on to Objective-C is not one of them.
It'd be nice if you pointed out, you know, actual reasons rather than just make snide comments. I'm sure some knee-jerk Apple haters will vote you up though.
My issues with iOS development lie not with Objective-C, but with Apple's frameworks and libraries. It's frustrating to only have header files and not be able to check out what a method actually does when debugging. Fortunately, the documentation for their classes is top-notch. The objc runtime is also a pretty wild ride, but once you know your way around you can poke at it and find out where your messages are going at least. Can check out the source for the runtime here http://opensource.apple.com/source/objc4/
Another issue of course, is XCode. I've switched to writing most of my iOS code in vim, building my code with the xcodebuild command. I still rely on XCode to do things like add files to the xcodeproj and manage the build configurations. XCode has a mind of its own, wacky completions, a completely fucked up undo buffer, strange locations for settings, and more frustrating joys. Would love to do away with that.
Check out the cocoa.vim plugin, and also, while I'm at it, you can get your vim for your local environment pimped out in minutes with Vimlander 2: The quickening. Test driving my apps with Pivotal's Cedar framework.