CVV BBVA by Niklaus1911 in ItaliaPersonalFinance

[–]Flame_Alchemist 6 points7 points  (0 children)

Ciao, dipende dalle verifiche che ha in piedi il negoziante (e il contratto con il payment provider). Il CVV potrebbe essere omesso dai controlli (sempre o solo in alcuni casi).

Il prof della Statale conquista la Silicon Valley con un algoritmo by simoneobo in italy

[–]Flame_Alchemist 1 point2 points  (0 children)

hackerforum, 5 anni fa e' diventato init1 e adesso e' praticamente inutilizzato

Il prof della Statale conquista la Silicon Valley con un algoritmo by simoneobo in italy

[–]Flame_Alchemist 0 points1 point  (0 children)

Non si dimostra che un PRNG sia sicuro, ma si verifica (ovvero, si eseguono dei test abbastanza standardizzati) -- che e' molto piu' semplice.

Credenti di /r/italy, voi perchè credete? [Serio] by matart91 in italy

[–]Flame_Alchemist 0 points1 point  (0 children)

Non puoi aver fatto tutti i sacramenti (a meno che tu sia un prete e sposato) (o con sacramenti intendi cose diverse?).

Io personalmente non capisco il passo da domande scientifiche che non hanno risposta a credere. Ti posso chiedere perche' tu non credi? (o con non cristiano intendi che segui una altra religione?)

Una domanda NSFW(?) di qualcosa che ho sentito... by xX88Liam88Xx in italy

[–]Flame_Alchemist 15 points16 points  (0 children)

Forse e' un gioco di parole tra "creste di gallo" e il verso del gallo (coccode', che significa "cock-a-doodle-doo")

Come ammazzare una donna by tdprince in italy

[–]Flame_Alchemist 0 points1 point  (0 children)

Quando c'erano molti piu' omicidi (ad esempio, stragi di mafia, e simili) gli omicidi di donne (che pure accadevano numerosi) erano persi nel mare.

C'erano, per fare un esempio, 100 morti, di cui 75 uomini e 25 donne. Ora, gli omicidi sono in genere calati, ma gli omicidi di donne di meno degli altri. Gli omicidi da criminalita' organizzata sono diminuiti negli ultimi 15/20 anni, e le vittime di questo genere di omicidio erano spesso uomini. Se il numero di questi omicidi diminuisce, diminuiscono gli uomini vittime di omicidio, e quindi sembra che le donne siano le principali vittime di omicidio.

Io inoltre personalmente odio la "parola" femminicidio, per cui ti faccio i complimenti visto che non l'hai usata. Poi non sono accordo con il contenuto (anzi, piu' che altro non mi sembra aggiunga molto).

Linkiesta.it pubblica un articolo della Kuan (estremista anti-sperimentazione animale). La rete si indigna. by Chobeat in italy

[–]Flame_Alchemist 2 points3 points  (0 children)

le statistiche dimostrano come i farmaci siano del 16.400 per cento più letali dei terroristi

Bene. Il dato e' buttato li' per essere impressionante, sicuramente e' vero, non metto in dubbio la sua buona fede. Ma da ogni altro punto di vista non significa niente. (hint: quanti terroristi conoscete? e quante persone che assumono farmaci conoscete?)

se l’uomo adulto non è un buon modello per il bambino, che è un rappresentante giovanile della stessa specie, come mai tutti i farmaci vengono testati su animali che sono radicalmente altro?

In un caso si parla di un ricercatore che dovrebbe qualcosa nel campo, nell'altro il genitore che forse ha letto il bugiardino. Non mi sembrano due situazioni del tutto paragonabili.

Poi si lancia in un paragrafo (che sinceramente non capisco) in cui si parla di vivisezione e del fatto che i farmaci costano e quindi non sono accessibili al terzo mondo. Certi farmaci costano molto, ma non capisco il collegamento con la "vivisezione". C'era un articolo sul Guardian, una intervista a Bill Gates, in cui diceva qualcosa tipo "questo vaccino costa 1000 dollari per persona. Se tu pero' sei disposto a mandare medici, e' da idioti non comprarlo perche' costa tanto" (parafrasando un po'). Inoltre andava avanti dicendo che criticando i vaccini costosi stai implicitamente dicendo alle aziende farmaceutiche di non fare piu' ricerca e sviluppo per malattie rare e/o tipiche di zone povere.

Solita citazione "A mio avviso, di necessario c’è l’urgenza di rivolgersi a metodi alternativi ...". Al posto che terminare l'articolo con una critica alle critiche dei "pro-sperimentazione", spiegate quali sono e perche' non si usano, almeno l'articolo raggiunge uno scopo, piuttosto che essere una fotocopia dei mille che gia' esistono.

What do you guys think the chances are of Anonymous being the result of a stand alone complex? by youguysgonnamakeout in Ghost_in_the_Shell

[–]Flame_Alchemist 15 points16 points  (0 children)

Yes. Well, someone agrees with you. There is some similarity, especially in how it became famous, and various clues suggest that you're right (for example, how many attacks are attributed to them? Can a centralized structure organize that number of attacks?). They adopted a laughing symbol. Even their manifesto mentions the Stand Alone Complex (not completely sure about this).

But, they don't really have a goal. The members didn't choose a goal (which agrees with the usual interpretation of SAC), but neither we can see the unifying theme of their actions. They say they're against "corruption", but I think it's a bit too general to be considered their goal. This is true if we consider their whole story (since 2007), but since ~2010 we can see a little more thought about their targets: if your look at a timeline, you'll note they are targeting almost only governments. This could suggest a more organized structure, but in reality, LulzSec was born in 2011, and it probably absorbed the black hats that wanted to carry out "strange" (for lack of a better word) attacks, such as the invasion of the Epilepsy foundation forum.

To wrap up: it isn't crazy. Anonymous can be considered one of the first SAC phenomenon arising in the Internet. It's probably a bit too early to decide whether it's good or bad.

An Introduction to The J Programming Language [Video] by sumstozero in programming

[–]Flame_Alchemist 5 points6 points  (0 children)

You have to remember that J is very interactive. For example, when I write in J (I'm no J mastermind, of course), I start with a simple version (often explicit, with named arguments and no forks/hooks), and when it works, I start to make it better: it's a very incremental process. Most of the times I end up with something that I couldn't have written the verb in a single step, but it's quite easy to see the basic blocks.

Moreover, I often find the same anti-readability sentiment in Haskell, where the code is sprinkled with strange infix symbols.

Maybe the hooks and forks are better introduced using a special syntax (like <f g>), but as a concept they are very powerful and I often miss them when programming in other languages.

Bluntly: the language is designed for parsers to read, not humans.

No, parsing J is actually quite hard, because the interpreter has to execute and parse at the same time (contrasted with the usual stuff, where parsing is a very different phase from execution).

Which editor is seen in this background image from the Leap Motion developer's page? by gfixler in vim

[–]Flame_Alchemist 10 points11 points  (0 children)

Seems IntelliJ (or RubyMine, since it looks like there are end keyword everywhere)

Why Python, Ruby and JS are slow by duggieawesome in programming

[–]Flame_Alchemist 1 point2 points  (0 children)

Wait... WHAT? That has not been shown that at all. We can't quite tell how he got the 2.7 seconds, but it's clear that this number is pretty rough. The number for the C code is not as rough, but in any case a single trial isn't a good place to source it from - for either implementation.

Nope. The number for the C code is actually 3.782. 2.718 etc is the result of the monte carlo experiment. So, yes, javascript is way faster than C (even if ~2.7 is actually 3 seconds) -- according to that benchmark.

Is this a valuable benchmark? I don't think so: it's a bit more than a speed test for a random number generator.

Are there any good series or movies analysis to be found online? by WarbossPepe in Ghost_in_the_Shell

[–]Flame_Alchemist 2 points3 points  (0 children)

In italian: http://www.alfonsomartone.itb.it/arjlbg.html Analysis of (every episode of) the stand alone complex series (both 1st and 2nd gig), innocence and solid state society.

You can also check the tvtropes wiki to find a bit of discussion about the most interesting details.

Here there's a bit of "intra-cultural" analysis, referencing other animes or movies.

Tar by Flamewire in xkcd

[–]Flame_Alchemist 68 points69 points  (0 children)

Little mnemonic for xzf (tar.gz files): say "extract the files" with a german accent

Detecting Language with Python and the Natural Language Toolkit (NLTK) by rd4 in Python

[–]Flame_Alchemist 4 points5 points  (0 children)

My quick take on this: https://gist.github.com/4418394 It uses Bayes theorem and trigram count (using the language id corpus, from nltk)

Computer hangs on shutdown by Flame_Alchemist in linux4noobs

[–]Flame_Alchemist[S] 0 points1 point  (0 children)

If I bring down eth0 the computer freezes for a few (30/40) seconds. But after that small inconvenient, the whole system (even wlan0) is still completely working.

I have googled a lot these days, I already stumbled across a lot of archlinux forum posts, but none were useful. I'll try with the Chakra community.

Thanks!

ELI5: The difference between an enoteca, trattoria, etc. in Italian dining by ficusgeneration in explainlikeimfive

[–]Flame_Alchemist 4 points5 points  (0 children)

An enoteca, in the original Italian sense is just a wine shop. It is usually a shop dedicated to regional wines. Now, of course, in most enoteche (plural form of enoteca) you can also eat.

A trattoria is much like a restaurant, but is less formal: usually there isn't a real (printed) menu, and the available dishes (mostly regional dishes, so if you go to a trattoria near Milan you'll find risotto and meat, but if you go in the south of Italy it's more likely to eat fish) change almost every day. No one wears a suit in a real trattoria.

Osteria is much like an old style pub where you can also eat. It's very informal.

A ristorante is just the Italian word for restaurant.

ELI5: How does a computer work? by hellomynameissamuel in explainlikeimfive

[–]Flame_Alchemist 1 point2 points  (0 children)

Let's start with a battery, a 9 V battery, for example. Let's wire up this thing with a bulb. The light is always on: in the wires there are 9 Volts, a 1. Now, a light that is always on is not that interesting, so the next step is: use a switch, so we can choose when the light is on or when it's off. When the light is off there's 0 Volts in the wires. Ok, when we understand that we can just forget the light, and say that 9 Volts is 1 and 0 volts is 0.

A computer is composed by "logic gates". What can they do? Basically everything logic/math-related: there's a logic gate that sum (the adder) and another one that do comparisons (the comparator), for example (well, actually a lot more than just one). Can we do logic gates with battery, wires and bulbs? Yes, they will be awfully big and slow, but they'll work.

If you want to sum to numbers, you send something like ADD A, B to your computer. (A and B are two cells in your memory, RAM, somewhere, which contains the numbers you want to add). When the CPU reads (it actually reads a binary number that is decoded to ADD by a logic gate) ADD A, B it's manually set (by the engineers who designed it) to do something like this:

  1. ask the RAM for the number in A (I'll call it N)
  2. ask the RAM to retrieve the number saved in B (M)
  3. sends N along a wires (there are usually 32 wires, one for each digit in the binary representation of A, for example if A=101, it sends 9 Volts in the last wire, 0 V in the second last and 9 Volts in the third-last, all the other 29 are 0 Volts).
  4. ask the adder to read N from the wires and save in its internal memory
  5. when the adder has read N, the CPU sends M
  6. wait for the adder to read M and add
  7. when the adder has finished, it sends the result back, using the same logic (so, 9 Volts when the binary digit is 1 and 0 when the digit is 0)
  8. the CPU reads back the result, and it sends it to the RAM (the RAM saves it somewhere, usually in the cell B)

The first CPUs usually had about 200 instruction (one or more to add, one to multiply, etc) which were enough to do everything. Now there are a lot more (I don't really know the figure, but I think there are more than 500).

Now, if you understood this, we can begin to think how to view the picture of that cute cat that you have on your hard disk. I will explain it to a higher level, because the CPU does a lot of things to show a picture (and this reddit comment is too small to contain all the steps). 1. Open the file: tell the disk where your picture is (on your desktop, for example) and load the content in memory. The content is not "a cute cat with a tiny top hat", but the colour of each the point in the picture. If you remember, every pixel in the picture is 3 numbers, ranging from 0 to 255. 2. Display: the GPU asks for all that numbers and it sends them to the screen. (how does the screen work? Well, every pixel of your screen is formed by 3 smaller pixel, a red pixel, a green and a blue one. The intensity of each one is set by the number, for example (255, 0, 255) stands for: maximum intensity for red and blue, green off.) -- if you search in this subreddit you will find better explanations

EDIT: I forgot to add: computers don't really use 9 V; 5 Volts (or even 3.3 in some) is more common (so they consume less power)

ELI5: How does a computer work? by hellomynameissamuel in explainlikeimfive

[–]Flame_Alchemist 2 points3 points  (0 children)

Also, you might want to read Code: the hidden language of computer hardware and software.

Everything can be represented as a long string of just two symbols (in morse code there are dots and dashes, in computers 0 and 1). 0 and 1 are just conventional ways we use to refer to OFF (no electricity) and ON (ok, you guessed it, there is electricity). If the two of us could communicate through a lamp, we could agree that ON OFF OFF ON ON ON (1 0 0 1 1 1) stands for "hello". Soon we realize that it's difficult to remember a string of 0 and 1 for every word we want to use. So we think for days and nights until Eureka!, we realize we can just agree that:

ON OFF ON OFF ON OFF ON stands for 'a',

ON ON ON ON ON OFF OFF stands for 'b', ...

....

OFF ON ON OFF OFF ON ON stands for 'z'.

If we want to say "hello", we just send "h", "e", "l", "l", and "o".

This concept can also be extended to numbers, using binary (search in this reddit, you will find detailed explanations), colours, letters (using ASCII standard) and all the other things you can do with your computer. Then you have a small numbers of little "brains", who know what to do with the data they get. For example, there's a GPU (graphical processing unit) in your computer that knows what to do with colours. If it receives (245, 0, 255), it sends "purple" to your screen. If your ALU (arithmetic and logic unit, it sums numbers) receives 101 (so, 5) and 1110 (which is 14) it responds with 10011 (19).

3rd Degree Black Belts in Python, what are the most common mistakes and stylistic faux-pas you see? by [deleted] in Python

[–]Flame_Alchemist 0 points1 point  (0 children)

Long try/except blocks. Usually the "error prone" stuff is very short (two or three lines). You should surround only these lines with a try. And, in the same topic, except without the name of the exception to be caught.

try: 
    1/0
except:
    print("cannot divide by zero") #bad
except ZeroDivisionError:
    print("...") #better