Better HN
topnewbestaskshowjobs
Log inSign up

vbit

344 karma · joined Sep 14, 2013 (13y ago) · 151 submissions

Submissions

1.

No ifs, ands, or buts - a new representation for conditionals(vimeo.com ↗)

2 points · by vbit · 9y ago · discuss

comment 9y ago · link · parent

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/).

comment 9y ago · link · parent

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 ]

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

There's also Kivy (http://kivy.org). Not with a sizeable sponsor like React or Xamarin, but it's Python :D

comment 9y ago · link · parent

Would be nice to have a screenshot without the red squiggly underlines.

comment 10y ago · link · parent

I have some projects in Mithril - is it worth it port to Vue?

comment 10y ago · link · parent

> 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.

comment 10y ago · link · parent

> 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?

comment 10y ago · link · parent

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

comment 10y ago · link · parent

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

comment 10y ago · link · parent

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...

13.

Grako: Python PEG/Packrat parser generator(pypi.python.org ↗)

1 points · by vbit · 10y ago · discuss

comment 10y ago · link · parent

The article mentions this.

Also you can write this as `grid[1, 1] = True`

15.

Gurbaksh Chahal sentenced to a year in jail(techcrunch.com ↗)

1 points · by vbit · 10y ago · discuss

comment 10y ago · link · parent

Do LLVM have any support for coroutines?

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

comment 10y ago · link · parent

With this you can encrypt one dataset and leave another unencrypted, on the same block device, paying the cost only or the encrypted one.

comment 10y ago · link · parent

Oh absolutely, I think Kivy is fantastic and the best option for UI in Python currently. I just wish the community was bigger.

comment 10y ago · link · parent

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?

comment 10y ago · link · parent

Heh yes.

There was also a mozilla XUL based terminal many years ago - can't remember the name though.

comment 10y ago · link · parent

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?

comment 10y ago · link · parent

Do you know if there are any updated benchmark results since the quoted ones are a bit outdated now.

comment 10y ago · link · parent

> 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?

24.

Building an IDE Over Atom(blog.cloudslang.io ↗)

2 points · by vbit · 10y ago · discuss

25.

Howl editor: A fast editor written in LuaJIT(howl.io ↗)

2 points · by vbit · 10y ago · discuss

26.

Introduction to Metaprogramming in Nim(hookrace.net ↗)

101 points · by vbit · 10y ago · 11 comments

comment 10y ago · link · parent

There is also the reduced feature free version called Komodo Edit: http://komodoide.com/komodo-edit/
123456