« first day (466 days earlier)   

2:33 AM
@Rishav i wasn't
now i am
 
 
1 hour later…
4:00 AM
Hm. I've recently encrypted my passwords file with GPG, and now I can't figure out how to make sure my password is required every time. It asks for my password, but doesn't give me time to type it before it spits out the whole file. Oh, well. It's time for bed. Good night all! (if anyone is here.)
 
 
1 hour later…
5:18 AM
Night, zondo
 
hows it going
 
bad, man
I have $0.148 left.
 
buy cheetos
:P
 
5:29 AM
lol
 
5:57 AM
@zondo Try using pass, it's what I use.
@littlepootis CHECK THIS OUT imgur.com/a/we5QA
lmao
@SiddharthVenu how are you
 
im great
u?
 
Me too thanks.
 
6:32 AM
@Rishav lol
 
7:34 AM
My language now supports arrays yay
What other useful features should I add?
Functions are hard.. but doable.
 
is it Typed
 
No, everything's a string
 
...
Wat
 
(⊙_◎)
 
7:50 AM
yes, it converts to numbers/booleans when needed
 
Like JS?
 
No, like nothing else
 
What's 2 + "Hello"?
 
NaN
You can't really add them, but
 
How do you distinguish between 2 the number and 2 the string?
 
7:55 AM
there are no numbers to begin with
add: function addHandler (args, state, code) {
    if (!helpers.checkargs(code, args.length, ">", 1, "add")) return -1;
    return helpers.resolve(args, state).reduce((acc,cur) => +acc + +cur);
  },
 
There are no numbers?
Ok
 
DId you implement this yourself?
Or is it a byproduct of JS?
 
the latter
 
have you considered turning on antialiasing in your terminal?
 
8:05 AM
hey bois
 
xD
Real smooth @J-Carder
 
(no homo)
 
O-<   <--  you
-------  <--- the line
this chat
 
Yes.
 
pls help
im computer illitreate
 
8:08 AM
@Rishav I'm fine with that
It's xterm, btw
 
btw spycy is my boi but hes computer illiterate
 
So, he's like Slacker.
 
yup
 
Wow, Slacker hasn't been around lately.
 
hes also memer
 
8:12 AM
Dank memer?
 
what sucks on OS X is that you hav eto launch a login shell everytime
 
what sucks on osx is the osx
 
pls
 
 
1 hour later…
9:46 AM
Ubuntu pls.
 
10:47 AM
lmao
 
11:28 AM
@drowZ uwotm8
 
11:44 AM
@Rishav That looks pretty good. Once I get GPG to ask me for my password, I'll probably do that. It sat overnight, and it still doesn't ask me.
 
Why doesn't it?
 
I don't know. That's my problem.
 
@Rishav sudo apt update -y && sudo apt upgrade -y
 
12:05 PM
@loading... you safe?
 
12:55 PM
Hello mates
 
Hey, @loading....
 
how are you doing?
 
Just great. I finally have no obligations to get up early.
 
1:12 PM
@littlepootis what do we do if we want to add "-1" and "0" to get "-10"?
in the lang u are creating
 
@zondo How did you install gpg
Just try installing pass and using gpg thru that.
 
It was pre-installed.
 
Try installing pinentry
 
I tried using pass. It doesn't ask for my password.
Package pinentry is a virtual package provided by:
pinentry-qt4 0.8.3-1ubuntu1
pinentry-curses 0.8.3-1ubuntu1
mew-bin 1:6.5-7
mew-beta-bin 7.0.50~6.5+0.20140128-1
pinentry-gtk2 0.8.3-1ubuntu1
You should explicitly select one to install.
 
@SiddharthVenu Isn't that just adding strings together?
 
1:19 PM
Try installing any one of them.
You need a pinentry program to input your pw.
Maybe your OS doesn't have one.
 
yeah but in his language all are considered as strings , and whenever it is reqd it is converted to numbers. so it would produce -1 as result instead of concatenation
 
Hiya @loading...
 
or maybe there is a method in his lang for concatenation. idk just asked for reference
 
Oh, I already have it installed.
 
hey @Rishav
 
1:20 PM
I have pinentry, pinentry-gtk-2, and pinentry-x11.
 
have you tried any of the various google results of "gpg not asking for password"
 
Yes. Some said that it's because gpg-agent is storing the password, so I tried the various ways of telling gpg-agent to set the cache length to 1 second, and I also tried using --no-use-agent when encrypting the file. So far, nothing has worked.
 
It just gives you a prompt?
Lol sucks.
 
Yeah. It prints the prompt, but then prints everything else without letting me type in the password.
 
Is there something funky with your setup?
 
1:24 PM
Not that I know of.
 
You should ask a question on U&L probably.
They'll help you out.
@littlepootis Does it deal with external sources?
 
It would probably be closed as a duplicate of something that doesn't work. I have the same symptoms as many other people; it's just that their solutions don't work for me.
 
No harm trying lol.
Have you tried setting a pinentry program in your gpg-agent config?
 
No. How do I do that?
 
8
Q: How to make gpg prompt for passphrase on CLI

Mayank PundirThe encryption tool of gnuPG package gpg prompts for passphrase using a GUI dialog box when invoked by a regular user, however when invoked by root it prompts on CLI. How to make it use the CLI even when invoked by a regular user. version:GnuPG 1.4.12

 
1:33 PM
Maybe it is because I have two key-ids set up. I tried one, and in all the effort to get enough entropy, ... I forgot the password :(
Now I've deleted it with GPA, and suddenly none of my files can be decrypted, even though I told gpg to use the other ID.
And I can't re-encrypt with the other ID either.
gpg: can't open `/home/commandant/.gnupg/pubring.gpg'
gpg: keydb_search failed: file open error
gpg: [email protected]: skipped: file open error
gpg: misc/pas: encryption failed: file open error
 
@SiddharthVenu -1 and 0 add to -1.
The function add is not for strings.
I'll write a string concat function later.
I wrote a repl for it, so you can download it, chmod +x bin/iris && bin/iris and try it yourself
The repl supports everything but labels.
The reason it that it's actually saving the state and running each line as a separate program depending on the state of the previous one.
So, yeah, this state saving lets you do crazy things like running half the program today and the other tomorrow.
@Rishav external sources?
This is how the repl works, lol:
state = iris.evaluate(iris.parse(data), state);
 
2:01 PM
I Mean the google ppa
 
Woo! I got it working. Now, pass asks for a password every time.
 
@Rishav yes
 
@zondo what was the problem?
 
I don't know. I deleted both GPG keys; re-added one; re-encrypted the file; re-started pass; and now it works.
 
ah the good ol have you tried turning it off and on again
 
2:16 PM
Yeah. I guess the problem might have been having two GPG keys. Oh, well. It works now, so I'm happy.
 
You could sync your passwords to github, it's what I do.
 
Hm. I might end up doing that. For now, I just want to put all my passwords into pass.
This is also a cleansing process. I'm not adding the passwords that I don't need.
 
@littlepootis cool
 
 
2 hours later…
4:01 PM
it haj come a long way
 
4:42 PM
array.init a
array.push a 4 2 1 4 0
array.length a
let n %retval

let i 0
loop1:
  let min :i
  add i 1
  let j %retval
  loop2:
    array.get a :j
    let a[j] %retval
    print reached
    array.get a :min
    let a[min] %retval
    if :a[j] < :a[min] let min :j
    array.get a :i
    let temp %retval
    array.set a :i :a[min]
    array.set a :min :temp
    add :j 1
    let j %retval
    if :j < :n goto loop2
  add :i 1
  let i %retval
  if :i < :n goto loop1

array.tostring a
selection sort.
doesn't work :(
 

« first day (466 days earlier)