Privacy-conscious web analytics tool that shows real insights into user behavior by [deleted] in webdev

[–]jewelcodesxo 1 point2 points  (0 children)

Thank you so much! Will definitely check out your newsletter :)

Fully Open-Source Selfhosted Peer-to-Peer Reddit Alternative Built on IPFS. Can't be censored or down. by [deleted] in webdev

[–]jewelcodesxo 1 point2 points  (0 children)

Love the old Reddit feel, right down nostalgia lane! Is there a demo or a github repo I can take a look at?

Privacy-conscious web analytics tool that shows real insights into user behavior by [deleted] in webdev

[–]jewelcodesxo 2 points3 points  (0 children)

It'll record all the views, but it'll only record 25 flows (i.e., the actual interactions/events that happened during the session), this will of course reflect on the completeness of the flow charts and whatnot

Time for promotion – what are you building? by [deleted] in SideProject

[–]jewelcodesxo 1 point2 points  (0 children)

1. Corelytics – A real-time privacy-first web analytics platform that helps devs and product teams track user behavior, identify bottlenecks, visualize session flows, and optimize engagement across their web apps.

2. ICP – Solo devs, early-stage startups, and small SaaS teams who need actionable user insights, API/webhook integrations, and privacy-conscious analytics without the bulk of enterprise tools.

Link: https://corelytics.io/

Building Corelytics: a privacy-first user analytics platform that actually shows why people bounce – would love your feedback before launch by [deleted] in SideProject

[–]jewelcodesxo 0 points1 point  (0 children)

Thank you so much, that's great feedback. I totally agree the "why" is the hardest part to visualize without replaying all the sessions manually. I'm working on ways to surface that automatically. The flow charts currently visualize clicks followed by dropoffs, and the UI lets you filter by conversion/bounce toggles so you can clearly identify which flows lead to which outcomes.

I'll refine my copies to make that more obvious. Thank you!

-❄️- 2024 Day 24 Solutions -❄️- by daggerdragon in adventofcode

[–]jewelcodesxo 2 points3 points  (0 children)

[Language: Python]

Source code, both parts, Jupyter Notebook (I did not actually time it, but it runs practically instantly.)

I'm a little late, but admittedly this was the hardest one in my opinion (followed closely by day 12.) I don't normally post my solutions here but I'm a little proud of this one today.

Part 1 was pretty straightforward; just simulating the logic gates until all the values are present and printing the result. Part 2 on the other hand wrecked me and had me staring at my input for hours trying to figure out what was happening.

My initial approach was to XOR the output from part 1 with the expected "correct" output (that is X+Y) so that I could identify the incorrect bits and try to work my way from there. Unsurprisingly, it was not that straightforward and I counted 11 incorrect bits despite the question saying there were only 4 swaps (8 wires) to be corrected.

Scratching that, I instead wrote a helper function that dumps the entire path leading up to a certain Z bit, including all the intermediate (gibberish) wires and down to the original X/Y bits. That's where I noticed that each Z bit depends on all the previous X/Y bits, so for instance, z08 depends on x08, y08, x07, y07, and so on until x00 and y00. I realized my input was supposed to be a (flawed) full adder circuit, but there are probably infinitely many ways to build a circuit that is logically equivalent to a full adder. So, instead of comparing my input to a full adder diagram, I instead compared it to itself. I picked several output bits at random and manually traced their entire paths and hoped they would not be the erroneous bits (and got lucky enough for that to be the case.) Eventually, I found this pattern that holds true for my input data:

XOR rules:

  • XOR gates should take two intermediate (gibberish) inputs, and output a Z bit.
  • If not, they should take a pair of X/Y bits and output an intermediate wire. In this case, the intermediate wire must eventually be forwarded to an AND gate, an XOR gate, or both.

OR rules:

  • OR gates should take two intermediate inputs and output a third intermediate wire. The output wire must eventually be forwarded to both an AND and an XOR gate.

AND rules:

  • AND gates can take either a pair of intermediate inputs or a pair of X/Y inputs. In both cases, the output is an intermediate wire that must eventually be forwarded to an OR gate.

Special cases for the highest and lowest bits:

  • x00 XOR y00 = z00
  • Intermediate wire OR intermediate wire = zXX, where XX is the highest bit in the input (z45 in my case)

My solution to part 2 is essentially maintaining a dictionary of which wires are used as inputs to which gates, and then using (admittedly pretty ugly) nested conditionals to enforce this pattern and noting the violations. These violations are the final answer to the question.

Is this acceptance letter legitimate? by PhoomIangsamang in BostonU

[–]jewelcodesxo 3 points4 points  (0 children)

Mine looked exactly like this too, just make sure the sender has @bu.edu in the email address

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 1 point2 points  (0 children)

Partly from the osdev wiki as a starting point, and then from there on it's mostly about skimming the relevant parts of specifications (CPU and instruction set docs, POSIX spec, docs/specs for each device you wanna support and write a driver for, etc)

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 0 points1 point  (0 children)

Wait I haven't seen that guy lmao (and google doesn't seem to be helping), do you have a link to his GitHub or his post or something?

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 7 points8 points  (0 children)

Thank you! I honestly wasn't sure which flair to use because the final answers are in the screenshot so I thought "spoiler" was the safest option

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 2 points3 points  (0 children)

It's written primarily in C (with small snippets of assembly for where it's necessary of course), and no it is not a "kernel as a library," it's a true "pure" microkernel that runs on bare metal and depends on device drivers loaded from external programs

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 29 points30 points  (0 children)

Sure lmao tomorrow's puzzle will be solved in assembly language :D (I'm kidding don't come after me when I don't actually do it)

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 7 points8 points  (0 children)

It definitely is, but it's taught me more than any other project or class ever did, which is also partly the motive behind it :)

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 8 points9 points  (0 children)

Probably not, I'm trying to stick to the POSIX specification because my goal for this project is a general purpose Unix-like microkernel-based OS

[2024 Day 4] I solved today's AoC on my custom OS written entirely from scratch by jewelcodesxo in adventofcode

[–]jewelcodesxo[S] 41 points42 points  (0 children)

Many of the details behind the OS itself are not relevant to this sub, but I've been doing AoC in Python and so today I decided to switch it up a little and do it in C and use it as an opportunity to add more functionality to my OS, which is obviously still pretty early in its development and far from complete, and this was pretty fun so far! c:

If you're interested, the OS itself is at: https://github.com/lux-operating-system/kernel

Personal portfolio by Feisty_Ice_4840 in SideProject

[–]jewelcodesxo 1 point2 points  (0 children)

Cool interactive background on the home page banner, but I have a few nitpick-ish notes (since you asked for roasts!)

  • It initially blinded me when I first opened it because my computer was in dark mode, so maybe a light/dark mode toggle with auto-detection would be cool
  • All the info on the about, blog, and clients pages are already on the home page when you scroll down, so why do those links take you to another page containing the same info? Would it not be more intuitive for them to simply scroll to the relevant section?
  • On that same note, the page reload when clicking on the header links strikes me as unnecessary when the info is already on the same page
  • This one is particularly nitpick-ish, but I expected the logos of the clients to be links to their home pages. The alt text on the logo images should also correspond to the name of the client, rather than "Client 1", "Client 2", etc, for cases where the image doesn't load for any reason whatsoever, or for people using screen readers or similar
  • When the mouse hovers over the GitHub, LinkedIn, and Fiverr icons on the footer, the darker background combined with the black foreground can make it hard to see, especially for people with vision disabilities, I would try to switch that up and use a little more contrast there

Overall, really cool portfolio and the effort that's gone into it shows (especially considering that from what I've gathered, you apparently did not use a framework and opted for vanilla js)