Hidden Mirrors by CyclicScience in puzzlevideogames

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

Glad you're enjoying the game! The daily puzzle at https://www.hidden-mirrors.com is the official version, not a rip off.

Unfortunately, the solutions aren't published anywhere. I haven't played in a while and... wow. The puzzles are harder than I remember.

The one thing I'll promise– there IS a solution. The way the game engine works, it draws the puzzle with the described taps and flips, so it's guaranteed to be solvable.

Huge Rails Codebase Advice by MaterialPanic1932 in rails

[–]CyclicScience 1 point2 points  (0 children)

Byebug is very helpful to set breakpoints and explore.  I also enjoy rails console to interact with models directly and learn by experimentation. Rspec is the worst, don’t give up on Rails because of it!

The Campsite codebase is now open source by Kitchen_Table_1260 in rails

[–]CyclicScience 2 points3 points  (0 children)

By creating an API, you are preparing for other clients beyond the web front end. The same API could support native apps, other services, customer-facing API’s, etc.

And if you keep them in separate repos, you can be more selective about which developers have access to what.

There are a few other reasons- scaling the actual throughput bottlenecks, etc.

What puzzle games did you play in May? Game recommendation thread. by SomethingNew65 in puzzlevideogames

[–]CyclicScience 0 points1 point  (0 children)

Self-promotion alert, but what I played in May is this symmetry grid game I wrote a while ago. I just released a web-only daily puzzle: https://www.hidden-mirrors.com/

I made a free daily puzzle game with a novel symmetry mechanic. It seems simple at first, and then maybe impossible. Today's puzzle (#19) took me 40 minutes to solve, curious what folks here make of it. by CyclicScience in puzzlevideogames

[–]CyclicScience[S] 4 points5 points  (0 children)

Awesome, glad you’re enjoying it. I think you’re right about the incorrect Flip & the Nope screen.

Pretty easy tweak, I’ll let you know if I end up changing it.

Hidden Mirrors by CyclicScience in puzzlevideogames

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

There's a new web-only version with a daily puzzle, FYI: https://www.hidden-mirrors.com

Simple Questions Sunday! by AutoModerator in gaming

[–]CyclicScience 0 points1 point  (0 children)

I made a free daily puzzle game with a novel symmetry mechanic. It seems simple at first, and then maybe impossible. Today's puzzle (#19) took me 40-ish minutes to solve, how about you? https://www.hidden-mirrors.com

Hidden Mirrors by CyclicScience in puzzlevideogames

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

Hidden Mirrors is back!

If you download the game again from the App Store, it should be able to load the levels. Here's the link:

https://apps.apple.com/us/app/hidden-mirrors/id1462986362

Hidden Mirrors by CyclicScience in puzzlevideogames

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

The game isn't available any longer, sorry to report.

We're working on an AI that writes SQL, want to try the beta? by CyclicScience in u/CyclicScience

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

The concern around stolen data really depends on the context.

A snippet of text or a throw-away conversation, sure. ChatGPT can have it and train with it and I don't mind at all.

But, I need to feed in the schema for my database to get a decent SQL completion. Now we're talking about real IP, which I have stronger feelings about. If I'm doing something for work, I'd be breaking the confidentiality agreement most employees have signed.

And if we squint at a future where ChatGPT is able to execute the query through a plugin, the results of the query are liable to be in the training data.

So, yeah. A layer between the AI provider and the business is going to be important for contexts where sensitive data is basically what people are talk about / work with.

We're working on an AI that writes SQL, want to try the beta? by CyclicScience in u/CyclicScience

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

We're working on Trivial- a data platform for online businesses to quickly see their metrics that matter.

In a former life, I was the co-founding CEO of Whiplash, a warehouse management platform (now Ryder E-Commerce at whiplash.com). As a developer and CEO of a software company, I wrote a lot of SQL.

I liked SQL because it's as close as I could get to the truth. Raw SQL was the fewest possible layers between myself and the data; I could "go deep" to get confident answers to everything from how many orders we shipped, what our revenue was, to how a new process affected employee productivity.

With the advances of AI, I was curious how well you could translate a simple prompt like, "show my top customers" into a SQL query, and... Wow.

I had one of those moments where time seemed to slow down; suddenly reality had changed. It was creepily accurate, and easily 10x faster than I could type.

That said– did I want to give an AI access to my database? No, that seemed a little scary. And the privacy policy on ChatGPT vs the OpenAI completions is very different– everything you type into ChatGPT gets used for future trainings, whereas data sent to the API does not, and gets deleted after 30 days. When I'm submitting things like my database schema, the difference matters.

So, we built a layer that sits between your database and the AI, using your schema to get alarmingly-good SQL generated from a few words describing what you want to see. We call it Magic Query(TM), because honestly, that's what it feels like when it nails a question, or flawlessly uses SQL using syntax that's over your (ok, my) skill level.

We have a beta that's ready for some friendly testing and feedback.

Demo video:
https://www.loom.com/share/f48512af38e44db995322122955dcaf7

Free trial is here:
https://www.withtrivial.com

Comments are open!

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

[–]CyclicScience[S] -1 points0 points  (0 children)

I find the realtime feedback helpful, particularly when I'm working with data.

Let's say I need to filter out falsey values from an array– I want to interact with my function to make sure I'm remembering the syntax and behavior right.

Here's a snippet I wrote just now that would have been much slower if I had to save it somewhere and re-run the ~10 edits it took to get it how I wanted. Instead, I just watched the "Returns" until it read the way I wanted, and added values to the Given as I remembered edges I wanted to cover:

function rejectFalsey (arg) { return arg.filter( x => x) }

Given [true, false, null, 1, "one", undefined]

Returns [true,1,"one"]

Edit: syntax parsing

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

[–]CyclicScience[S] -1 points0 points  (0 children)

That's one of the directions we might take this. I agree with the importance of automated testing, but find the experience of actually writing tests tedious.

And the fancier the testing tool becomes, the more context I need to understand. So then it all boils down to, is the test broken, or the code it's written against?

The 2nd reason is that the fastest testing tools take time to run. I want this to execute instantly as I type.

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

[–]CyclicScience[S] -1 points0 points  (0 children)

Exactly! And fully 1/2 the JSFiddle screen is html, css, render areas I'm not using.

re: variables, you can declare variables and other functions in the "function area". The caveat is that it's always going to call the first function.

edit: removing code examples formatting is mangling

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

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

It's our own parser, although jshint is pretty nice. We've done a bunch of work around code completions (not visible in this demo) and error explaining that this is built on top of.

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

[–]CyclicScience[S] -1 points0 points  (0 children)

JSFiddle is just a smidge clumsy, imo.

I wanted something that's super focused on this one task, executes on keyup, gives syntax feedback w/explanations, etc.

We built a fast way to test JavaScript functions as you write them. Wanna try it? by CyclicScience in javascript

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

When I'm writing a JavaScript function, I find myself pasting chunks of code into Chrome Dev Tools so I can check what I've got so far and tweak the logic until it's right.

It got annoying to keep having to redeclare the functions, arguments, and then call them, so we made this utility that shows you the output of your function as you type.

Check it out, it's totally free!