Better HN
topnewbestaskshowjobs
Log inSign up

cafebabe1991

26 karma · joined Jul 7, 2014 (12y ago) · 27 submissions

Talk is cheap, show me some code.
Submissions

1.

The perils of relying on output streams in C (2011) [pdf](gnu.org ↗)

42 points · by cafebabe1991 · 7y ago · 8 comments

2.

My first JavaScript library – diver.js(github.com ↗)

3 points · by cafebabe1991 · 9y ago · discuss

3.

My first JavaScript library – diver.js(github.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss

4.

Personification of a pen(medium.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss

5.

What is a memory leak in Android Programming?(stackoverflow.com ↗)

2 points · by cafebabe1991 · 9y ago · discuss

comment 9y ago · link · parent

It catered to mine and I am sure it can cater to someone else's as well. A lot of naive users do send json objects by first creating them by writing boilerplate code.

I know the library does not do something extravagant and has been done before by others as well but it is something that I was and am excited to share with the community to make me better in js.

7.

Sending form data made easy with – diver.js(github.com ↗)

1 points · by cafebabe1991 · 9y ago · 2 comments

8.

My first attempt in creating a JavaScript library – diver.js(github.com ↗)

2 points · by cafebabe1991 · 9y ago · discuss

9.

Send form data without a fuss – diver.js(github.com ↗)

2 points · by cafebabe1991 · 9y ago · discuss

10.

How to proceed in my career?

2 points · by cafebabe1991 · 9y ago · discuss

11.

Library that I created during my startup – diver.js(github.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss

12.

Learning JavaScript , Made this – diver.js(github.com ↗)

2 points · by cafebabe1991 · 9y ago · discuss

13.

Why create json yourself use diver instead – diver.js(github.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss

14.

Sending json over http made easy – diver.js(github.com ↗)

2 points · by cafebabe1991 · 9y ago · discuss

comment 9y ago · link · parent

This works for non-form elements as well which was a necessity in my case.

comment 9y ago · link · parent

It is on github for over an year now. I was working on my own startup that time and hence could not get much time to publish it here. Now I had time so publishing here to get feedback on it.

comment 9y ago · link · parent

Would you give it a try @esaym and maybe if possible do share your issues. May be I can add something new to my library.

Here is a list of even more sophisticated libraries that might help you as well

https://www.npmjs.com/search?q=form+serialize

Someone already posted this link earlier here.

comment 9y ago · link · parent

Isn't it fair to any developer to just share what he/she has created all by themselves with the outside community ? I wanted to do the same, guys.

comment 9y ago · link · parent

Thanks for sharing this link, I have however used this library. Things that I did not like in this because of the following reasons

1. I cannot put the values of one object inside the other unless they come under the same parent.

2. Arrays in my case can be created in one go and you need not specify the array indexes hard coded in the html itself.

3. In my case some inputs were not inside any forms. This library mandates that it should be so it did not work for me.

I understand my code will be far less sophisticated but I made it to solve a problem and learn javascript as well. I did and wanted to see how many others face the same problem and can use it.

comment 9y ago · link · parent

I agree with you, but I was learning javascript and wanted to write something with it that could solve my form related problem. I tried using some libraries but some had bad notations and some did not work as expected. I wrote it on my own and thought to share it with people who have gone far beyond in js and get their feedback. That is why I shared it.

21.

Sending form data made easy with – diver.js(github.com ↗)

18 points · by cafebabe1991 · 9y ago · 13 comments

22.

Creating json from the front end is easy now – diver.js(github.com ↗)

3 points · by cafebabe1991 · 9y ago · discuss

23.

Why create json yourself use diver instead(github.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss

24.

HTML to hierarchical JSON for the REST(github.com ↗)

1 points · by cafebabe1991 · 9y ago · discuss