logica VS floc

Compare logica vs floc and see what are their differences.

logica

Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite. (by EvgSkv)

floc

This proposal has been replaced by the Topics API. (by WICG)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
logica floc
19 92
1,682 928
- -
9.1 1.1
22 days ago about 1 year ago
Jupyter Notebook Makefile
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

logica

Posts with mentions or reviews of logica. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-30.
  • Prolog language for PostgreSQL proof of concept
    7 projects | news.ycombinator.com | 30 Mar 2024
    If you're interested in this I would also recommend you check out Logica[0], which is a datalog-like language that is explicitly made to compile to SQL queries.

    0: https://logica.dev/

  • Logica
    1 project | news.ycombinator.com | 21 Jan 2024
  • New welcome page for Logica language
    1 project | news.ycombinator.com | 23 May 2023
  • Introduction to Datalog
    6 projects | news.ycombinator.com | 15 Feb 2023
    > I guess the intention is to be better than SQL but then I was left with "under which circumstances?"

    Excellent question.

    Two of the most common use cases for databases are "transactional processing" (manipulating small numbers of rows in real time) and "analytical processing" (querying enormous numbers of rows, typically in a read-only fashion).

    SQL is generally fine for transactional workloads.

    But analytical queries sometimes involve multi-page queries, with lots of JOINs and CTEs. And these queries are often automatically generated.

    And once you start writing actual multi-page "programs" in SQL, you may decide that it's a fairly clunky and miserable programming language. What Datalog typically buys you is a way to cleanly decompose large queries into "subroutines." And it offers a simpler syntax for many kinds of complex JOINs.

    Unfortunately, there isn't really a standard dialect of Datalog, or even a particular dialect with mainstream traction. So choosing Datalog is a bit of a tradeoff: does it buy you enough, for your use case, that it's worth being a bit outside the mainstream? Maybe! But I'd love to see something like Logica gain more traction: https://logica.dev/

  • Mangle, a programming language for deductive database programming
    12 projects | news.ycombinator.com | 26 Nov 2022
    Interesting; a Google engineer previously published a Datalog variant for BigQuery: https://logica.dev/

    This new language seems similar to differential-Datalog (which is sadly in maintenance mode): https://news.ycombinator.com/item?id=33521561

  • Show HN: PRQL 0.2 – Releasing a better SQL
    16 projects | news.ycombinator.com | 27 Jun 2022
  • Show HN: PRQL – A Proposal for a Better SQL
    15 projects | news.ycombinator.com | 24 Jan 2022
    Looks pretty cool. I'd be interested if the README had a comparison with Google's Logica (https://github.com/EvgSkv/logica)
  • PathQuery, Google's Graph Query Language
    4 projects | news.ycombinator.com | 1 Jul 2021
    Oh wow that is neat!

    And yes, this kind of thing is why datalog is a lot more amenable to fast query plans & runtimes than prolog. This part is especially cool: https://github.com/EvgSkv/logica/blob/main/compiler/dialects...

  • Thought about Logica: Google new programming language that compiles to SQL ?
    2 projects | /r/dataengineering | 6 May 2021
    Google new programming Language that compiles to SQL (Support BigQuery and Postgres) feels very exciting. Blog: https://opensource.googleblog.com/2021/04/logica-organizing-your-data-queries.html Github: https://github.com/EvgSkv/logica
  • Google Logica Aims To Make SQL Queries More Reusable and Readable
    1 project | /r/google | 25 Apr 2021
    Going to be? It already is. In fact, one thing the article misses is right there at the bottom of the project page:

floc

Posts with mentions or reviews of floc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-26.
  • Google starts trialing its FLoC cookie alternative in Chrome.
    1 project | /r/google | 1 Apr 2022
    Draft: https://github.com/WICG/floc
  • Chrome vulnerability reported for 3.2 billion users
    1 project | /r/javascript | 28 Mar 2022
  • [D] Google FLoC and Topics API suspiciously similar.
    2 projects | /r/MachineLearning | 26 Jan 2022
    "The browser uses machine learning algorithms to develop a cohort based on the sites that an individual visits. The algorithms might be based on the URLs of the visited sites, on the content of those pages, or other factors. The central idea is that these input features to the algorithm, including the web history, are kept local on the browser and are not uploaded elsewhere — the browser only exposes the generated cohort." Source: https://github.com/WICG/floc
  • Will a VPN help me? And is Kape Technologies ruining everything?
    1 project | /r/VPNTorrents | 2 Nov 2021
    Google (or other third-party tracking) is also not effected by VPN. These groups use cookie syncing to assign you a unique ID and then collect this ID again as you browse the internet. That buyerID can then be cross-referenced (even with other buyerIDs) to generate all sorts of different demographic/psychographic information and used to fingerprint your online life for audience targeting. Google actually is in the works to take this a step forward with the FloC experiment. FloC (Federated League of Cohorts) actually deprecates the Set-Cookie header in favor of in-browser history scanning. Basically, in a year or two they plan to incorporate Chrome into their adtech stack and have it report your history/behavior to Google (regardless of whether you save history or not). Here is some good info on that: https://github.com/WICG/floc
  • Google Play Services now lets you delete your advertising ID when you opt out of ad personalization
    1 project | /r/Android | 17 Sep 2021
    Instead they propose new standards, like HTML Imports or FLoC, and the W3C decides as a whole whether or not they become official standards.
  • Google considers switching FLoC to a topic-based approach
    1 project | news.ycombinator.com | 17 Aug 2021
    With cross-site cookies, adnetwork.com has full information about what sites you've visited (among sites that incorporate their cookies). This isn't good either! But generally speaking, an individual site using adnetwork.com for advertising won't have or want access to that vector of your interests; many site operators don't even have visibility into what ads win real-time bidding, just that they're receiving money for providing their inventory. Certainly there are players that can provide demographic targeting metadata to site operators, but to my knowledge they are less widely known and certainly not cheap, and I imagine (or hope) any players with wide enough cookie reach would be discouraged from maintaining a database that could associate metadata with PII.

    With FLoC, though, the idea was that the browser would provide document.interestCohort() and the individual site's JS could react accordingly: https://github.com/WICG/floc . This means that any site, regardless of its contracts with ad networks, could immediately identify your cohort and associate it with your activity. Web developers working in good faith would be encouraged to have user.cohort or user.topic fields from day one "just so you have it" - imagine all the ways someone could use this in bad faith. Inevitably this data would leak (or be intentionally leaked) and could trivially become a target list for doxxing closeted people. It's a dangerous, dangerous proposal.

  • Trying to understand Addressability (for native mobile, and in general)
    1 project | /r/adops | 13 Aug 2021
    You can't find any info about this because there isn't really any. Josh Karlin, who is the maintainer of the FLoC working document, said at an event that it might make sense to swap to topics. It's essentially just reducing the entropy of the cohorts and giving them a more comprehensible (and probably less useful) taxonomy. That's all the info there is.
  • Apple's Plan to "Think Different" About Encryption Opens a Backdoor to Your Private Life
    1 project | /r/programming | 6 Aug 2021
    https://github.com/WICG/floc explains the overall goals.
  • Firefox Users Continue to Decrease Despite Proton Update
    1 project | /r/firefox | 30 Jun 2021
  • Amazon is blocking Google’s FLoC
    4 projects | news.ycombinator.com | 15 Jun 2021
    It's pretty complicated and my understanding could be wrong and definitely not an expert. All the stupid CIA-style names that keep changing don't help. Turtledove, fledge, sparrow lol.

    But from what I think I know that's kind of right technically, but kind of not in terms of actual real privacy.

    Yes, the actual browsing data, e.g. for the basic floc cohorts only what amazon product page you visited, is no longer 'sent' to ad networks (that's a pretty big oversimplification of how ad networks track you but for brevity). That data is parsed in your browser to generate a cohort ID for you.

    But this cohort ID is exposed to the world document.interestCohort() and is what's used for targeting and tracking.

    To me it seems that the cohorts are so small "thousands of people" + IP or UA it's basically the same as a semi-long lasting uuid.

    Here's an image from google's site.

    https://web-dev.imgix.net/image/80mq7dk16vVEg8BBhsVe42n6zn82...

    It also seems like Chrome/google might be still defaulting browser settings to give themselves even more data just like they currently do?

    https://github.com/WICG/floc#qualifying-users-for-whom-a-coh...

    BUT when you layer on the other proposals (Fledge/Turtledove/Dovekey or whatever) - which I don't understand that much maybe someone else can explain - it seems like it basically collect this page/product level data and makes it available to DSP etc for tracking/ad serving (again if not technically 1:1 basically in consequence given the sizes of these groups).

    Like one of the proposals talks about a 'trusted' key/value server which doesn't seem that different from what already happens? The original proposal wanted to move the entire ad bid/target/serve process into the browser.

What are some alternatives?

When comparing logica and floc you can also consider the following projects:

scryer-prolog - A modern Prolog implementation written mostly in Rust.

bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.

ungoogled-chromium-archlinux - Arch Linux packaging for ungoogled-chromium

malloy - Malloy is an experimental language for describing data relationships and transformations.

uBlock - uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.

prql - PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

chromium - The official GitHub mirror of the Chromium source

dbt-core - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

AmIUnique - Learn how identifiable you are on the Internet

differential-datalog - DDlog is a programming language for incremental computation. It is well suited for writing programs that continuously update their output in response to input changes. A DDlog programmer does not write incremental algorithms; instead they specify the desired input-output mapping in a declarative manner.

brave-browser - Brave browser for Android, iOS, Linux, macOS, Windows.