HNHacker News
TopNewBestAskShowJobs

bromagosa

474 karma · joined March 3, 2011

Smalltalker from Barcelona.
submissionscomments
bromagosa··on Coursera blocks access to students in Cuba, Iran, Sudan and Syria
Except that Cuba is not an uneducated country... the other way around actually, with universal and completely free access to university.

By the way, unlike Coursera, they even offer free college education to other third-world countries. Something to think about.

bromagosa··on Fake Name Generator
Indeed. Tried like 15 times and not a single Hispanic first name didn't make me wiggle.
bromagosa··on Show HN: Akiva – A simple NLP, question-answering artificial intelligence
Thanks! I should have researched a little bit more before commenting.
bromagosa··on Smoking is Worse Than You Imagined
Still wouldn't sound good enough to me... if it's so clear cigarrette companies are to blame, they should be the ones paying for the damage.
bromagosa··on Show HN: Akiva – A simple NLP, question-answering artificial intelligence
Same here... I tried really different kinds of questions and couldn't get an answer.

  $ akiva ask "Is the empire states building higher than the eiffel tower ?"
  Sorry, Akiva can't answer that question for now.
  $ akiva ask "How far is the Earth from Mars?"
  Sorry, Akiva can't answer that question for now.
  $ akiva ask "How old was Bob Marley when he died?"
  Sorry, Akiva can't answer that question for now.
  $ akiva ask "What kind of music did Janis Joplin play?"
  Sorry, Akiva can't answer that question for now.
  $ akiva ask "What kind of questions can akiva answer?"
  Sorry, Akiva can't answer that question for now.
bromagosa··on Smoking is Worse Than You Imagined
So, briefing:

  «There is no doubt who is to blame for this mess, the report says. It is the tobacco industry»
And then:

  «The new report rightly calls for more vigorous tobacco-control efforts, including an increase in cigarette taxes to drive up the average price of cigarettes to at least $10 a pack to prevent young people from starting to smoke; an antismoking mass media campaign by government agencies that would run year-round; and new rules extending smoke-free indoor protection to the entire population, double the current level.»
Let me understand... the solution is not to punish the ones who undoubtedly are to blame for this mess, but the general tax-paying public and the smokers themselves?
bromagosa··on New release of Self programming language
Any big company with that kind of money and connections can bring pretty much anything into the mainstream, not a big merit IMHO...
bromagosa··on Show HN: I made an easy-to-understand 6502 emulator in pure C
When most people hear OO they understand C++... NesTalk is a good, real OO aproach to a machine emulator:

http://smalltalkhub.com/#!/~zeroflag/NesTalk

bromagosa··on Vim.js - JavaScript port of Vim
Same here, Chrome on Debian.

Backspace and ESC not working, so after I enter a mode I'm stuck in it forever.

bromagosa··on Show HN: tyto
I like it, my local Trello! :)

Just one small suggestion, it'd be nice if columns were draggable as well.

bromagosa··on Show HN: CaaS - Coffee as a Service
OK, that how pretty much we all brew coffee in southern Europe, cool!
bromagosa··on Show HN: CaaS - Coffee as a Service
What kind of pods are these? I think you should specify which coffee machine do they work with :)
bromagosa··on If (false)
All Smalltalk ones are valid code that will be executed though.

#ifFalse: is a message that is sent to a boolean and takes a closure as an argument.

bromagosa··on Illegal Prime Numbers
These stupid scenarios are direct consequences of software patents.

I remember an article that used Haskell to show how absurd software patents are by showing how any piece of software is actually just a mathematical formula that turns some input (however big) into some output.

bromagosa··on Delivery By Drones

  > Mail, pizza, and Starbucks all delivered by drones which saves everyone money and creates more happiness
I liked the article until I read this. I don't think you can link the existence of Starbucks with creating happiness at all.

[1] http://www.beyondbars.org/starbucks_private_prison_labor

[2] http://sabbah.biz/mt/archives/2006/07/16/dear-starbucks-cust...

bromagosa··on Pharo: A malleable and powerful platform
Unless you're used to the Smalltalk way, you'd never think serializing the debugging context of a running program would have any use at all.

I'd never had dreamed it'd be possible to do what I do regularly in my deployed web apps. When the error handler catches an error, it serializes the error and emails it to me in a fuel file. I can then fire up my _local_ Pharo environment, materialize the error, debug it with all its context, fix whatever code I need to and push the changes to my monticello repo.

bromagosa··on Pharo: A malleable and powerful platform
You forgot Iliad: automagic AJAX, plus clean and short codebase you can read and understand in under a day (vs. thousands of packages in Seaside).

There is of course a downside: a really tiny community... took me a while to get used to the Iliad way, but I'm not going back unless Seaside shrinks to 1% of its current size and makes AJAX integration as easy as Iliad does :)

Anyway, I guess the future is not about server-side frameworks, but something like Amber + some sort of Pharo REST service (kinda like Seaside-REST) + some sort of magic persistence (kinda like Voyage).

bromagosa··on Pharo: A malleable and powerful platform
This is valid Smalltalk code, but not the way you'd program a door in Smalltalk.

You'd probably prototype this in a Workspace, then create the method suggested above, which would force you to specify keys for the arguments, thus forcing you to make your code cleaner and more readable.

bromagosa··on Pharo: A malleable and powerful platform
IMO, it's not an OS, but the living proof that OSes are the wrong approach to computing! :)
bromagosa··on Today’s Smalltalk: A Second Look At The First OO Language
Well, I wouldn't take it as gospel, but as a definition coming from the person who actually invented and first used this term.
bromagosa··on Today’s Smalltalk: A Second Look At The First OO Language
True, they're partially image-based.

   In all I haven't seen ST implementation with good development tools that is not at least partially image based.
But what about Amber?
bromagosa··on Today’s Smalltalk: A Second Look At The First OO Language

  But only by leaving the image model behind.
There are many Smalltalks without an image actually... GNU-Smalltalk, Smalltalk/X and Amber, for instance. GemStone/S uses a mixture between image and filesystem, so it can't be regarded as a traditional image-based system either. The only Smalltalks that still use an image paradigm (that I know of) are Squeak derivatives (Squeak, Pharo, Cuis) and VisualWorks.

That said, I believe the image is a very valid model, and I prefer working on a Pharo environment than anywhere else. However powerful text editors, IDEs and debuggers may be, you can never reach the same level of integration between tools and system if your tools, your language and your system are not the exact same thing.

bromagosa··on Today’s Smalltalk: A Second Look At The First OO Language
Correct. Although Smalltalk is generally regarded as the first one because the concept "object orientation" was first used in it.

Still, the big thing in Smalltalk are not objects, but messages. That's something many later OO languages missed on completely.

From Kay:

  «OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I’m not aware of them.»
bromagosa··on Ask HN: How do you control piracy of your products?
I'm both a programmer and a musician.

As a programmer I think bits are bits, they are meant to be replicated. I make my software free (open) and charge for the service, not the product.

As a musician, pretty much the same thing. I make most of my earnings from gigs. I see albums as marketing, a polished support for what you could get in a digital form for free. Some people still prefer the physical form, especially if you offer something more original than a classic plastic case digipak. I'm actually genuinely happy when I see my albums shared in online forums.

So my advice would be: provide a service valuable enough that users are willing to pay for it even if they could find the contents somewhere else.

bromagosa··on Web Development Has Never Been So Beautiful
First thing I see:

http://i.imgur.com/HZitOzl.png

Still a long path to make webdev beautiful...

Oh the irony :(

bromagosa··on Ask HN: Are websites hosted via Github pages down?
Nope, all my gh-pages are up. See http://s4a.cat/ for example.
bromagosa··on Show HN: A Collaborative Art Canvas (experimental)
I'm loving abusing this! The only problem is there are too many people trying their scripts at the same time, but it's really cool you left it completely hackable!

  for (i=0;i<60;i++) { for (j=0;j<60;j++) { firebaseCanvasData.child(i+':'+j).set("rgb("+(255-i*2)+","+(255-j)+","+(i*j)+")") }}
Edit: Ok, definitely too many people abusing it...
bromagosa··on Smalltalk: Swimming with the fish
Yep. AidaWeb and Iliad (plus many other smaller ones).

Although Iliad is not about generating clean URLs (it can, though), but more about being small and understandable, plus having Ajax for free and being pragmatic.

bromagosa··on Smalltalk: Swimming with the fish
> Well, you ought to know that Smalltalk is focused on relatively small snippets of code, held together in consistent OO structures. There's hardly any point in fancy text-editing features when your methods are generally 8-12 lines long!

This! And also, in Pharo 3.0 there's being a huge push towards better text editing, although I've never ever needed more than what Pharo 1.0 did already provide...

You don't work with text in Smalltalk.

bromagosa··on Smalltalk: Swimming with the fish
Yes. And seriously, when I saw the first Light Table demo and everyone was so amazed with it I thought "man, that's how we code every day in Smalltalk... what's so new about it?"
← PreviousPage 2 of 6Next →