405 points · by spolu · 12y ago · 169 comments
EDIT: And I'll grumpily admit that this also bugs me because Windows is me favorite OS and Breach looks like a thing I would actually use. I hope its just circumstance. And not some goal in itself to not support it out of some far fetched principle.
A modern, HTML5-capable browser which performs well on a A2000, A3000, A4000, or A1200 running AmigaOS 3.1, with 128mb of RAM, a 33-50mhz 680030+ processor, and a 2 or 4mb Picasso video card would make one "seem a bit down to earth". It would also make a lot of us old-time Amigans happy.
What would you write in that button?
I'm impressed how something as simple as reading "only available on $NOT_MY_OS" in a nicely laid out box gives me the complete opposite emotion than what you intended. My comment got a large number of upvotes, so apparently many felt the same. And still, if you look at it, there's nothing wrong with the text in and of itself. Only on this and that OS. Fine, good to know.
So apparently, writing it with that word ("only"), with the OS logos instead of the names maybe, and so happily and centrally and proudly laid out, was what changed the perceived intent. I really thought that you guys were some kind of anti-Windows crusaders. And probably, the exact same text elsewhere, or slightly different text in that spot, would completely change that.
Damn, copy is hard!
EDIT:
Downvote all you want--how many times have you had to deal with packages that magically only build on Windows, OSX, or Linux? Or only on a particular version of Ubuntu?
On Windows, VS debugger beats everything else I've seen hands down.
It's not hard to support Windows if you're writing good cross-platform code; there are a lot of libraries (Qt, Boost, etc.) that make things much easier than they used to be.
Again, I see lack of Windows support mostly as programmers being lazy (and I've said the same thing about lack of 'nix support, so don't think I'm being biased).
If you don't write portable code you're doing it wrong.
I'm pretty sure Chromium and Node build just fine.
https://github.com/joyent/node/wiki/installation
http://www.chromium.org/developers/how-tos/build-instruction...
EDIT:
https://github.com/breach/exo_browser/wiki/Building-the-ExoB...
What else am I missing from your package.json?
Since it seems like the developers are posting in this thread, could you talk a little about the differences between Breach's approach and Firefox's? I suspect they must exist mostly in the node.js layer - which tasks is that layer responsible for?
(Edit: I see you replied to the parent comment while I was writing this one. =)
Basically, the idea is to take the Chromium Content API and expose it to JS (that's similar to Firefox).
Doing it we figured, why not add some APIs to do interesting stuff in JS as well... and that's how we embedded NodeJS and exposed the Content API within a NodeJS tread....
So you have access to all the nodeJS modules while building your own modules for Breach... makes it fairly convenient :)
Is it covered by something like links/lynx in a JS based RISC emulator¹ or the Firefox OS web browser app²?
[1] http://s-macke.github.io/jor1k/
[2] https://github.com/mozilla-b2g/gaia/tree/master/apps/browser
The basic motivations are totally the same. I also believe that is's probably way simpler to rewrite an entire web browsing experience on top of Breach.
Chromium/Chrome Build Process: https://code.google.com/p/chromium/wiki/LinuxBuildInstructio...
Firefox Build Process: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
The pages are in fact different, but the latter in the case of Firefox is what I used to complile it myself (disclaimer: I considered building Chromium from scratch but never found the time interest). As build tools go, I know gyp/ninja are more hip, but I see gyp and mach (both Python based build management tools, I will compare those instead of Ninja which is slightly different) as both good, but do things differently enough to make it an apple-oranges comparison. Keep in mind Chromium people started from scratch, but Mozilla/Firefox devs were building a system on top of autoconf (which everyone hates gathering my reading of many such comments on HN) to simplify the build process.
Can someone who is familiar with both explain why gyp/ninja is superior?
Interestingly, though, the new menu introduced with Australis doesn't appear to be functional unless it's in the top-level window; the menu buttons in nested windows don't seem to do anything.
I think people here are missing the point. Firefox and XUL is also a JS-scriptable UI over a browser, but it's a terrible environment to work in.
The UI is the main thing that differentiates web browsers. Our tabbed browsers have looked the same for years now. This is going to enable all kinds of awesome experimentation and customization. I'm super excited to see where this project goes.
Sidenote: It's a huge pet peeve of mine when people put up "blogs" without RSS feeds. How are people supposed to follow your updates?
What eventually killed uzbl [1] was the difficulties working with IPCs; I hope you overcome this and build something even greater !
[0] http://www.uzbl.org/readme.php
[1] http://dieter.plaetinck.be/luamail_a_mail_client_built_into_...
If a browser can be shown to be a lightweight dev tool with integrated toolchain servicing CPython, C, and JavaScript, rather than a glorified porn watching device, then there is hope for civilization.
It is really very nice that the source code is available. I do hope that open source will eat Capitalism alive soon. Not to mention copyright law. Right now, the tech industry looks like a bunch of crackpot inventors and psychopath totalitarian wannabes.
Am I wrong?
Is a similar concept since all apps on Firefox OS are built on HTML, including browsers.
last sentence.
It's a really cool concept, though, I look forward to seeing where it goes. It would be super cool if it became stable enough to be my main browser, because I love the customizability.
Something I've been very interested in over the last couple of years is the idea of creating once off, task specific, development and introspection tools. Breach seems like the perfect environment for that kind of thing.
Contrast that with Google Chrome wich has "only" 388 files and 577 directories in its application bundle. (a lot of empty directories apparently)
I raised an issue here: https://github.com/breach/breach_core/issues/95
dunno if anyone else had this problem but I had to manually set $CHROME_DEVEL_SANDBOX on arch
CHROME_DEVEL_SANDBOX=`locate chrome-sandbox` ./breach
opened an issue with stack trace here: https://github.com/breach/breach_core/issues/59
The interest here is learning, and it looks like Breach is very good on this point.
I hear a lot of firefox hate, and while it certainly used to be true that it wasn't very good, it's no longer true.
Really, every browser is slow as heck and buggy, so to each his own ;)
To bad Mozilla abandoned that project years ago!
PS- Spell check doesn't work... Module?
As soon as Node OS is done, I'm set ^.^
The result is an executable exposing a NodeJS REPL with a special API to control browser windows and frames direclty from Javascript. Some people will note the resemblance with node-webkit. Well, the building blocks are very similar but the overall architecture is fundamentally different: here we expose the Content API into a NodeJS context to have the necesary semantics and security model to build a browser using only Javascript code. Node-webkit, on the contrary, exposes nodeJS API within the renderer of a trivial browser (one window, one webcontents view) to make it super easy to build native apps using Javascript code.
I appreciate that Breach is not entirely written in JS, but it's as much a browser as Opera is and qualifying it of a "Browser UI" does not convey a realistic image of the project.
Maybe we could edit the title again to something like: Show HN: Breach - A new modular Browser built on top of Chromium/NodeJS
Breach - A new modular Browser UI written in JS ?
Cool hack though.