News for hackers. Stuff that matters.

efdb

H
J
Re:LiteFS Cloud: Distributed SQLite with Managed Backups on Wednesday July 05, 2023 @02:20PM (#36604749)
Did you have a look at https://rqlite.io/ ?
Re:How SQLite scales read concurrency on Wednesday August 24, 2022 @12:21PM (#32581642)
Not so unfortunate according to Socrates: 'the hardest task needs the lightest hand..' ;-)
Re:SQLite has pretty limited builtin functions on Sunday August 21, 2022 @06:31PM (#32545157)
see https://github.com/nalgeon/sqlean for 'All the missing SQLite functions'
Re:Pythonic monotonic on Friday August 13, 2021 @04:18PM (#28173995)
self documenting code ;-)

  def descending(lst):
    if len(lst) < 2:
        return False
    first, second = lst[:2]
    if first > second:
        return False
    if first < second:
        return True
    descending(lst[1:])

  def monotonic(lst):
    if len(lst) < 2:
        return lst
    result = []
    status = 0
    temp = [lst[0]]
    for v in lst[1:]:
        if v >= temp[-1] and status >= 0:
            if v > temp[-1]:
                status = 1
            temp.append(v)    
            continue
        if v <= temp[-1] and status <= 0:
            if v < temp[-1]:
                status = -1
            temp.append (v)    
            continue
        result.append(temp)
        temp = [v]
        status = 0
    result.append(temp)          
    return [list(reversed(x)) if descending(x) else x for x in     result]
i really like the syntax, very intuitive use of ->
Re:The Remarkable Number 1/89 (2004) on Thursday October 29, 2020 @09:49AM (#24930433)
In addition to this question I would like to know if you can in general say/proof that for every sequence which has some relation between the successive numbers there is a rational number whose decimal expansion is the same as the sequence.
Re:NewLisp on Tuesday September 01, 2020 @09:33AM (#24341550)
Indeed great and very simple interop with C libs. I have looked and played with CL, Scheme, pico lisp, Clojure and Janet but keep coming back to Newlisp, because 'it just works' (for me), documentation is very good and has a lot of inbuild functions. Regarding the C interop I made some bindings for duckdb, termbox and libui at https://github.com/luxint.
Zuckerberg: "We're not going to change our policies or approach on anything because of a threat to a small percent of our revenue."

Facebook Mission: "Give people the power to build community and bring the world closer together."

Please update the mission statement

how about this?: https://www.carver.earth/

electric 3 wheel car/scooter for 1-2 persons