Giter Club home page Giter Club logo

longs's People

Contributors

ivshti avatar rrezel avatar tharindu99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

longs's Issues

The letter K bug

logicallee 7 hours ago

This is broken.
Here's the short url of http://news.ycombinator.com --> lon.gs/amk
Going to lon.gs/amk redirects me to an overstock.com address for a specific product.
The site doesn't appear to have been hacked, at least there's no affiliate link in the URL I was sent to. It just appears the site is broken.
reply

cyphar 3 hours ago

It looks like their "INSERT OR IGNORE" logic is broken, in that they don't properly retry if they ignored it.
reply

Retr0spectrum 7 hours ago

I noticed something similar. I think their id decoding/encoding may be buggy.
reply

can't build

can't seem to build longs, getting this:

Ivo-MacBook-Pro:longs ivogeorgiev$ make 
cc -W -Wall -O2 -Wno-unused-parameter -g -D NOPE_THREADS= -pthread     -c -o waferapi.o waferapi.c
waferapi.c:268:14: error: use of undeclared identifier 'BUFFLEN'
    char buf[BUFFLEN];
             ^
waferapi.c:270:45: error: use of undeclared identifier 'BUFFLEN'
    ssize_t bytes_read = read(read_fd, buf, BUFFLEN);
                                            ^
waferapi.c:271:45: error: use of undeclared identifier 'cbuf'; did you mean 'buf'?
    ssize_t bytes_written = write(write_fd, cbuf, bytes_read);
                                            ^~~~

I grepped everything for BUFFLEN but there's no such thing. Furthermore I googled the errors, again nothing

Super long header error

q3k@nihilism ~/Projects/longs $ python2 -c "print 'GET / HTTP/1.1.\r\n' + 'a'*2000 + '\r\n\r\n'" | nc 127.0.0.1 1337

q3k@nihilism ~/Projects/longs $ PORT=1337 ./longs
*** Error in `./longs': free(): invalid next size (normal): 0x000000000155a5f0 ***

Where is the api doc?

What api endpoints are supported? Can you define the base domain and change from lon.gs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.