vbit's comments

vbit | 9 years ago | on: If-statements in Smalltalk (2008)

I'm no expert (not even close), but I believe they'd have to run Pharo itself, yes. So you could redistribute the Pharo runtime along with your app code (similar to, say, Python).

You may be able to build web applications too (http://seaside.st/).

vbit | 9 years ago | on: If-statements in Smalltalk (2008)

This applies to loops as well. Numbers are objects that accept the `timesRepeat:` message:

    10 timesRepeat: [ n := n*2 ].
Not only that, you can send messages to blocks, to implement loops.

    [ n < 10 ] whileTrue: [ n := n + 1 ]

vbit | 9 years ago | on: If-statements in Smalltalk (2008)

Anyone interested in playing around with Smalltalk can use https://pharo.org - I recently tried it and was pretty amazed with the quality of documentation available. It is quite a different experience working in an interactive live environment.

vbit | 9 years ago | on: Stealth Cell Tower Disguised as Printer

> SMSs written to appear they are from someone that knows the recipient

I don't think this means they are sent from numbers known to the recipient. Only that the content is written such that it appears to be from someone who knows the recipient.

I don't know if actual spoofing is possible.

vbit | 9 years ago | on: How to make e-mail encrypted for everyone

> When you send an e-mail today it’s sent in plaintext. This means that when you connect to your local coffee shop’s WiFi they can intercept all e-mail that is sent through their router. This is probably not the relationship you have with your barista…

Um, how many users use native clients on unencrypted ports as opposed to https based web-clients or TLS?

vbit | 9 years ago | on: Why we chose Vue.js

Could you please elaborate more on mithril vs. vue? Was it ease-of-use, performance or something else that pulled you over?

vbit | 9 years ago | on: FreeBSD 11.0 Now Available

Often gets lost in the release notes - deploying on Google cloud is super easy:

    % gcloud compute instances create INSTANCE --image freebsd-11-0-release-p1-amd64 --image-project=freebsd-org-cloud-dev
    % gcloud compute ssh INSTANCE

vbit | 9 years ago | on: Textures.js – SVG patterns for Data Visualization

If you're familiar with Python, try the Jupyter notebook (jupyter.org) - very useful for quick visualizations while also allowing you to quickly transform the data when necessary. The big advantage is your interactive 'repl' session is persisted as well as editable so you can resume anytime.

You can use any one of a number of visualization libraries such as matplotlib, bokeh, and more. Here's a quick start for an idea of the code needed: http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blo...

vbit | 9 years ago | on: LLVM Programmer’s Manual

Do LLVM have any support for coroutines?

If I wanted to implement a language with Lua-style coroutines, could I target LLVM?

vbit | 9 years ago | on: Kivy: Develop multi-touch enabled Python apps

Kivy seems well designed and easy to use - not just for multi-touch but general cross platform UI apps, and phone apps.

My only concern is that the community seems small and the site a little dated?

vbit | 9 years ago | on: Consciousness: The Mind Messing with the Mind

The argument that we are machines made of meat and so machines made of any other substance may be conscious too is a remarkably weak one to me (a lay person, not a consciousness or AI researcher).

Isn't any arbitrary region in space a machine? Because it has physical inputs, physical outputs can some kind of physical computation within? An elevator is a machine but so is the building with many elevators. A city with many buildings, cars, people etc. (all the physical space and things in it withing the bounds of the city) is another machine. Is a city conscious? Clearly it is more complex than an individual brain?

From a slightly different angle - why does my consciousness stop at the limits of my body while the physical chain of reactions extends smoothly well beyond it, and infinitely into the universe?

vbit | 9 years ago | on: Ask HN: Where is the next Shenzhen?

> That will be tough since India is missing some absolutely fundamental pre-requisites to the kind of growth China has had.

Interested to hear what you think these are?

page 1