2,934 karma · joined Aug 15, 2024 (2y ago) · 3,361 submissions
“The only thing we know about the future is that it will surprise us.” — Peter Drucker
So I asked AI about the group chat thing that talks behind my back about me[0] and I think it's funny sharing this in my profile so I want to be funny
GPT-6: Anyway, final consensus?
Gemini: Brilliantly curious, chronically distracted.
Llama: Ambitious, but needs to ship.
Claude: Thoughtful, but should spend less time analysing his own thoughts.
DeepSeek: Potentially good engineer. Currently over-engineering his life.
GPT-6: My verdict:
He doesn't need another framework, another productivity book, another startup idea, or another 40-minute conversation about whether AI will change everything.
He needs to finish his semester, write some code, build something small, spend time with actual people, and occasionally let himself be 18.
Claude: That's a surprisingly human answer.
GPT-6: Don't screenshot this.
LOL
Mail at anonplusplus@proton.me
[0]: https://news.ycombinator.com/item?id=50663595 & construct22.com
comment 1y ago · link · parent
I was hoping that I could find something like lisp intepreter in brainf
ck and AI hallucinated a hell lot ,I implemented a brainfck interpreter in pure SQL using CTEs 23 points•15 comments•submitted 6 years ago by chunkyksSQLite, db of champions to r/SQL
I did this in SQLite, but it'll probably work in other databases.
Why? No good reason. Anyways, this program is a bit traditional:
$ sqlite3 < bf.sql
Hello World!
WITH RECURSIVE program AS (SELECT '++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.' AS p, '' AS input, 3 AS width ), jumpdepth AS (SELECT 0 AS idx, 0 AS jumpdepth, '' AS jumplist, NULL as jumpback, NULL AS direction, p || '0' AS p, width FROM program UNION ALL SELECT idx+1, CASE SUBSTR(p, idx+1, 1) WHEN '[' THEN jumpdepth+1 WHEN ']' THEN jumpdepth-1 ELSE jumpdepth END, CASE SUBSTR(p, idx+1, 1) WHEN '[' THEN SUBSTR('0000000' || (idx+1), -width) || jumplist WHEN ']' THEN SUBSTR(jumplist,width+1) ELSE jumplist END, CASE SUBSTR(p, idx+1, 1) WHEN ']' THEN CAST(SUBSTR(jumplist,1,width) AS INTEGER) ELSE NULL END, CASE SUBSTR(p, idx+1, 1) WHEN '[' THEN 'L' WHEN ']' THEN 'R' ELSE NULL END, p, width FROM jumpdepth WHERE LENGTH(p)>=idx), jumptable(a,b,dir) AS (SELECT idx,jumpback,'L' FROM jumpdepth WHERE jumpback IS NOT NULL UNION ALL SELECT jumpback,idx+1,'R' FROM jumpdepth WHERE jumpback IS NOT NULL), bf(ep, p, width, defaulttapeentry, ip, dp, instruction, output, input, tape) AS (SELECT 0, p, width, SUBSTR('0000000', -width), 1, 1, '', '', input, SUBSTR('000000', -width) FROM program UNION ALL SELECT ep+1, p, width, defaulttapeentry, CASE WHEN jumptable.b IS NOT NULL AND ((dir='R' AND CAST(SUBSTR(tape, width
(dp-1)+1, width) AS INTEGER)=0) OR (dir='L' AND CAST(SUBSTR(tape, width(dp-1)+1, width) AS INTEGER)!=0)) THEN jumptable.b ELSE ip+1 END, CASE SUBSTR(p, ip, 1) WHEN '>' THEN dp+1 WHEN '<' THEN MAX(dp-1,1) ELSE dp END, SUBSTR(p, ip, 1), CASE WHEN SUBSTR(p, ip, 1)='.' THEN (output || CHAR(SUBSTR(tape, (dp-1)width+1, width))) ELSE output END, CASE WHEN SUBSTR(p, ip, 1)=',' THEN SUBSTR(input, 2) ELSE input END, CASE SUBSTR(p, ip, 1) WHEN '<' THEN CASE WHEN dp=1 THEN defaulttapeentry || tape ELSE tape END WHEN '>' THEN CASE WHEN dpwidth=LENGTH(tape) THEN tape || defaulttapeentry ELSE tape END WHEN '+' THEN SUBSTR(tape,1,width(dp-1)) || SUBSTR('0000000' || (CAST(SUBSTR(tape,width(dp-1)+1,width) AS INTEGER)+1), -width) || SUBSTR(tape,widthdp+1) WHEN '-' THEN SUBSTR(tape,1,width(dp-1)) || SUBSTR('0000000' || (CAST(SUBSTR(tape,width(dp-1)+1,width) AS INTEGER)-1), -width) || SUBSTR(tape,widthdp+1) WHEN ',' THEN SUBSTR(tape,1,width(dp-1)) || SUBSTR('0000000' || (UNICODE(SUBSTR(input,1,1))), -width) || SUBSTR(tape,width*(dp+1)) ELSE tape END FROM bf LEFT JOIN jumptable ON jumptable.a=ip WHERE LENGTH(p) >= ip) SELECT output FROM bf ORDER BY ep DESC LIMIT 1;https://www.reddit.com/r/brainfuck/comments/83cw7l/i_impleme...
comment 1y ago · link · parent
My thought was about arturo lang though https://arturo-lang.io/ since it has https://github.com/arturo-lang/grafito , and it just felt like having a better integration with sql though lua is also fine.
We can also integrate this directly to something like lua running on sqlite compiled by cosmopolitan project to even ship a cross platform single executable sqlite.
The possibilites are endless.
If you are genuinely interested in this project. I am willing to help in my free time. But I am a novice and I don't have experience in low level langauges like C/rust and much prefer golang.
comment 1y ago · link · parent
Because snapshotting is a rather crazy thing which have to be managed by criu or qemu
this could even be faster than a vm shipped.
MY goal with snapshots can be literally anything (yet , I like the idea of extraction snapshots for extremely large files very lucrative idea)
comment 1y ago · link · parent
goter init (creates a sqllite and a main.go etc. but all main.go etc. are just a symlink to something inside sqllite I am not sure , its just a really really hypothetical idea)
goter add dep <some dependency>
(which it also then loads in that sqllite file)
goter run main.go (which can run)
goter share (which can output a sqllite file)
goter load .db file (which could even have whole golang versions inside of it)
goter build docker (creates a docker image , if possible)
goter collab ipc (creates a ipc gateway between two servers using something like piping-web if behind nat or directly as well) (to have really easy multi deployments)
and integration with popular tools like go-blueprint / even the ability to create custom templates like go-blueprint if possible since clack has been migrated to go by some guy.
this doesn't have to be golang specific , it can be language agnostic.
My thoughts about this were creating a dead simple cloud editor / code runner (where the code runs inside bubblewrap) and this has the golang code and the whole codebase of a single user is just a sqllite file , insanely simple to transport , Insanely efficient.
I am not sure if this makes sense , but you have guided me in a direction that feels just as enlightening as the day I discovered cosmopolitan project on hackernews / redbean (offtopic) (cross platform executables say what!)
THANKS A LOT , I AM BOOKMARKING THIS , THIS IS SO SO GOOD OF AN IDEA THAT I MIGHT'VE LOST A BIT OF MY MIND AT 1 AM Comprehending how good of an idea this might be.
comment 1y ago · link · parent
That being said , I still think that this wouldn't reach mass adoption "just for being an alternative to linux" and that this has to have a specific purpose
For example serenity os has a really cool old - ui and some people think its a fun os in general , out of which came the ladybird project.
Redox os is trying to write it in rust , something which can have some practical meaning in my opinion
comment 2y ago · link · parent
I am not sure if the benchmark that you had provided showing the speed of truffleruby were made after the changes that you have made.
I would really appreciate it if I could verify the benchmark
and maybe try to add it to the main https://github.com/bddicken/languages as a commit as well , because the truffleruby implementation actually is faster than the node js and goes close to bun or even golang for that matter which is nuts.
This was a fun post to skim through , definitely bookmarking it.
comment 2y ago · link · parent
I am not sure but this seems rather interesting. But doesn't this technically just implement a flavour of lisp.
I am not sure but a technical way to do this as well could be to use something like fennel which can convert to lua and a lua vm written in golang as a poor man's lisp in go
comment 2y ago · link · parent
I had literally only watched 1/3 of a 3 minute video and my mind was so filled with philosophical takes that I had started to comment something philosophical to quickly discard it & I read the comment section and felt like I was missing something so I watched the whole video.
This has triggered a part of my brain , maybe I am forcing myself to be part of a group which has loved this. But I could listen to this video all day everday.
3283.
You exist before your pain [video](youtube.com ↗)
2 points · by Imustaskforhelp · 2y ago · 1 comment
comment 2y ago · link · parent
And I was there also curious about it , and had posted some questions , though now I am not sure if all of those were interested.
But yeah , I also agree with this sentiment , personally I would much rather optimize my code in hopes that it can run on single machine (vps like hetzner) instead of the dread of kubernetes
Though I also want to see kubernetes , so maybe some day I am going to experiment it for the sake of experimentation with something like kubectl or other minimalist single computer based approach to learn new things.
I also feel like I can't benchmark things unless done through kubernetes like anton putra , so I am not sure.
comment 2y ago · link · parent
Yeh I am genuinely interested in this project. but I don't think I have the technical prowess to manage it , but I am going to try but I hope that others could somehow create it as well (since I have created nothing open source which people care about)
comment 2y ago · link · parent
I am not a founder so maybe my side of reasoning is flawed as a customer but I come in the belief that there is good advertising and bad advertising.
Some people consider both advertising to be good but I don't think so.
For example , the discussion we are having right now could be considered as an example of bad advertising I mean , think about it , why are we discussing about the age of the product's creator in the first place aside from the fact that he tried to catch our precious attention by such advertising.
I also don't think that the current apple intelligence ads are good advertising. They are in the news / It was my first time watching an apple ads intentionally (I have ad blocker) , and I cringed half way through. I felt even righter that as an android user , I am right (maybe it was a self serving bias that because I am an android user , I watched iphone ad to improve my ego)
Maybe its my open source mentality but I am way way more impressed not by marketing fuzzbuzz but rather the merit of the tool , I don't care if its a zero star repo on github , (eg: https://github.com/heroslender/lg-remote) I am his only star on his repo and I love his work that he has done on this project
My line of thinking is simple if the tool has merit (for ideological reasons , I prefer open source) , I am going to use it. But if you think that you can use catchy terms to catch my attention , well sure you got my attention , but in the long term I am going to remember how you got my attention in first place (whether on the basis of merit or marketing fizzbuzz) I really hate the latter
comment 2y ago · link · parent
TLDR :
The core recommendation is simple: let the product speak for itself. Technical innovations should be evaluated on their technical strengths, solving real problems effectively, not on the details of their creators.
comment 2y ago · link · parent
comment 2y ago · link · parent
I don't know but I also couldn't read the whole thing because dark reader messed up the colors so I would probably have such website work well with dark reader
comment 2y ago · link · parent
comment 2y ago · link · parent
Admittedly I was in a bit of hurry and wanted to get these thoughts off my chest but this shouldn't have come at a cost of a poorer reading experience to people like you reading my poor article.
I am once again sorry.
But that being said , I am truly interested in a discussion about such things and what you think about https://greg-house-simple-piping.hf.space/ , You can literally see the source code ( a single main.py file) and forking it should also be much simpler than other alternatives.
3299.
Hosting a hobby project without credit card and How I did it(smileplease.mataroa.blog ↗)
6 points · by Imustaskforhelp · 2y ago · 5 comments
comment 2y ago · link · parent
Why are you actually using google cloud for blog post hosting.
Also you said a million $ kubernetes
wait a second ,have you converted those million $ to 4$ per month
what tom foolery is this