HNHacker News
TopNewBestAskShowJobs

a-saleh

974 karma · joined February 2, 2014

submissionscomments
a-saleh··on Lilygo T-Deck: 2.8-inch IPS LCD display, mini keyboard, and ESP32 processor
Yeah, I think this is for you iff you actually want a weird little messenger. Play around with LORA or some mesh network thing, but it will never be a "look, oh I have a homebrew PDA that I actually use"
a-saleh··on Ask HN: Why aren't business rules engines more popular?
It is so hard to implement. I have seen it done well. Often there is like a spreadsheet-based language somewhere in the middle based on those actual spreadsheets the business uses.
a-saleh··on What would you do if you were me?
Yeah, if I were you I would work as as hard/smart as feasible to finish the uni. I.e. I am fortunate to live in the EU and have many friends that dropped off uni to work and now live happy lives and first time they bumped into a problem with not having a degree is when they wanted to take a stab at working in the US, because there are visa requirements and suddenly that paper is no longer meaningless.

So take the uni as an oportunity to learn to work the system. If you are not affraid about the basics (roof over your head, food, e.t.c.) it should not be as high stakes. You can figure out how to pass, where to put in effort, where to avoid, make friends, teach each other, work for each other, e.t.c. ... there might be exchange program to get yourself to more interesting university. There could be payd internship that can count towards credits to finish your program (no idea how your coursework works) There could be a way how to continue studying through the military service? My country used to have civil service alternative, where you'd work as a helper-to-nurse/janitor in hospital while being able to live at home, but thank god for professional army.

If you are affraid bout the basics, I can't help you there. My grandpa emigrated his second country in 50's, thought he'd find job in Austria through friend, but then found out some ostblock countries have stipends for farmacologists, so he finished his studies east of iron curtain. Maybe weirder adventure awaits you. Good luck.

a-saleh··on SQL as API
I half expected this to promote Postgrest or one of it's alternatives and was surprised it didn't do that by the end of the post.

I used it for this exact usecase, we had some data in postgress and front-end had limited api, and readonly postgrest was simpler than adding the api I needed to the frontend.

a-saleh··on 16-year-old Looking For Guidance
You can always start with something simple, and maybe just fork it for your own use. Do a little improvement here and there ...
a-saleh··on Tabletop RPGs we played in 2023
Microscope is one of those games that is easier to play solo than most RPGs that were not meant to do that, when you use it just like your creative writing exercise quide. And somebody even made a nice app - https://utgars-chronicles.app/ if you happen to have easier time tempting your internet-friends than your irl friends.

Another fun thing to try with the irl group, if like having longer campaigns, is to start with a session of microscope first and then play in the world you scoped out :)

a-saleh··on Tabletop RPGs we played in 2023
I enjoyed the Microscope! But that one is very much on the creative writing side. Simmilarily I did enjoy Quiet Year.

Several of those map-making/settings building should work well. I wanted to try Gun & Slinger, but that one wants to be 2 players and a GM so I didn't try that one yet.

a-saleh··on Ask HN: Give 8 year old access to Chat GPT?
I played around with my kid with supervision, and had her alone with ... midjourney, I think? Million weird dragons ensued.

I probably wouldn't give her access to chatgpt, but more for dislike of my kid's chats being stored with a corporation that will use it for something. That is the reason kid's email is protonmail and calendar is in nextcloud.

I would consider setting up https://ollama.ai/ ? You can run it locally and because it is smaller not as smart as state-of-art LLMs, it could train them better to be wary of the more advanced version.

a-saleh··on Ask HN: Can we do better than Git for version control?
Solved is a strong word. For most people, especially with git-forges geing so popular, yes.

But if you are doing binaries, because you are an artist/do 3d modeling, you probably sill use svn.

And I am still checking in on https://pijul.org/ from time to time

a-saleh··on 16-year-old Looking For Guidance
Find yourself friends and a project. When I was your age, best thing I managed to do was to help a friend create a small graphing-calculator in Java? It was fun, we learned a ton and as he already was doing odd-jobs for his dad with Java EE I could have him both as a peer and a mentor.

And these days it is even simpler. There are cool projects on github! Some are even friendly to newcommers! You could dabble with videogames and do a jam on itch.io.

If you are aiming for an internship, you could research the sorts of companies you like, and find if they have cool projects/technologies you want to learn. I.e. I got internship at RedHat over 10 years ago and as I was already i.e. using Fedora and writing for a local linux website, we did click with the interviewer quite well.

a-saleh··on Animated Unknown Pleasures in 3 lines of K (2015)
I have tried to learn J, it seems to be one of the most well documented.

And Ike itself is not a bad environment to play around with K https://johnearnest.github.io/ok/ike/ike.html

It has a repl as well in: https://johnearnest.github.io/ok/ you can find source here: https://github.com/JohnEarnest/ok and manual here: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual....

If this is the entirety of K - https://kparc.com/k.txt it does fit on a single full-screen page.

a-saleh··on Ask HN: I just want to have fun programming again
I am currently writing a small app for my partner. I asked friends what should I use. Decided on react native. It is literaly a slideshow of a praticular pdf (rules for a new dog-sport), just as dedicated app. It is maybe 100 lines. Maybe I will add some anki-like functionality if I feel like it. It was fun.

The crucial thing was, speed of feedback-loop? And the expo stuff is good. It does the bundling, it has hot reload. I don't mind typescript and the embedded xml.

a-saleh··on Known Unknowables
I think it is more along the lines of how some people reacted to the theory of relativity with moral panic :D
a-saleh··on Differential Datalog: a programming language for incremental computation
A.f.a.i.k the name is based on the underlying library and research on Dfferential Dataflow by F. McSherry https://www.microsoft.com/en-us/research/publication/differe... and https://timelydataflow.github.io/differential-dataflow/ ... I think the pitch is that this concept is enough improvement on incremental approaches it warrants a new name.

But I love these. From Functional Reactive Programming through propagator networks and embedding functional languages in datalog datafun-style, there seems to be this new-ish approach to computation that maybe somebody finally cleaves out of academia! The eve-lang guys were close but too ambitious. Maybe VMWare has less ambitious, more focused tool in mind.

Because datalogs are so cool! But only time I see them in practice are bespoke implementations for like ... compiler optimization tuning?

a-saleh··on Using your phone as a software development platform
Few months ago I took that one step further, I forgot my notebook at home, but realised I could just plug in my phone to the monitor (I have Samsung, and their Dex desktop think worked with our usb-c monitors) so I opened tmux and carried on with work :)
a-saleh··on Asus Zenbook 17 Fold OLED
Aha, the keyboard made me thing they are simmilar size, but you are of course right!
a-saleh··on Asus Zenbook 17 Fold OLED
This looks very simmilar to the thinkpad one. And I can't seem to find the price?
a-saleh··on PiBox: a tiny personal server for self-hosting
If you need low power? If you don't care about power consumption, being fanless, small, then yeah, you will find better bang for buck.
a-saleh··on The Dhall Configuration Language
Unless you count the ability to do imports from around the web. But you can still make it side-effect-less by using caching and semantinc hashes on those imports?
a-saleh··on Ask HN: How to keep my daughter busy while tickling her curiosity
I would probably get them into cooking and helping me cook.
a-saleh··on How to play tabletop RPGs by yourself: A beginner's guide to solo roleplaying
Trying to force multiplayer RPG's to work solo is a stretch, I give you that.

On the other hand, there are good, well made, solo-rpgs, aven though many are more of a creative-writing exercise than the monster-smashing/dungeon-delving/hex-exploring many of us associate with the genre.

Gentleman Bandit is great! Thousand year old vampire made me feel things!

The introverted guy you mention maybe could use some more people in his life, but that seems orthogonal to the existence of this interesting genre. Maybe if he didn't run his dungouns, he would be writing schlocky fantasy fanfic, or solving infinite number of sudoku. And while I might still slightly judge him as an introverted weirdo, I wouldn't judge him more, or less.

a-saleh··on Ask HN: Companies hiring for a 4-day workweek?
Yeah, I managed to get this last time during salary negotiation. They wouldn't give me $offer+20%, or $offer+4day week, but I managed to get $offer-10%+4day week.
a-saleh··on Tell HN: My kid's school installed spyware and I can't remove it
I have no idea how school/board/us/system/it/student thing works so I won't speak to 'how do I get rid of spyware' and 'can I call the police'. It is improbable you can. Like, where I work, if I want to use my work mail with my android phone, my IT mandates I have a remote-wipe installed ... I am hopeful, that the androids work profile keeps the work-it separate from my personal browser history, but I can live with it.

What I would do, is give my kid their own google account. I assume they don't need 'shool-mamaged-chromebook', just 'a computer that can access Google Classroom'. Then, after running the chromebook with your own account, your kid should still be able to log in with the school account in browser, without handing over admin privileges.

a-saleh··on Charm – Tools to make the command line glamorous
, I like it, but I am not sure about diving into Golant again.

Any way to use it in other languages?

Or do I just keep poking at Rich[1] in Python?

[1] https://rich.readthedocs.io/en/latest/

a-saleh··on Ask HN: Nerds of HN, did you overcome loneliness?
Well, while I did meeting a lot of tech people that had small social circles/seemed lonely, most of the people I know have small group of friends and are very happy with it, and I know even of some genuinly happy social butterflies that have large group around them.

Personally, it is hard. I.e. I met one of my closest friends when we started internship together, but it took us month before we went out together beyond work-lunch/coffee-break.

And even after few years it felt kinda awkward when I talked to him about my marital problems, and he was the one that called me on it. And I was glad he did, because I didn't really have people to talk about that ...

a-saleh··on Bottles: GUI front end to run Windows software on Linux
Afaik, this project is reasonably old as well, I remember looking at early versions when I was at the uni around 2010.
a-saleh··on Stanford Accelerated Intelligent Neuromodulation Therapy for Depression
I think some of these work up to a point.

I recently talked with my partner about this, and annecdotaly, one friend had bad enough depressive episodes, they got an antidepressants prescription. Later they complained that it really helped with the downs of the depression, but in general it felt stifling and kind of muffled the highs in life previously accessible.

But, fortunately, the medication helped enough that they started and stuck to an exercise regime and then managed to phase out the medication.

I think with mental health in general, everything comes with a great deal of your-mileage-may-vary.

a-saleh··on Ask HN: What's your current favorite programming font?
Fira Code with ligatures enabled. Mostly because I still like ligatures?
a-saleh··on Study: Most Dog Breeds Highly Inbred
Yeah, I have seen a working dog Collie compared to a bred-for-beauty-constests Collie and they could be considered two distinct breeds
a-saleh··on Study: Most Dog Breeds Highly Inbred
I think 'borderline cruel/dangerous' is overstating it (I do live in an 1 bedroom appt with 2 BOC and 1 BOM), but it certainly is true that if you have a working dog, you need to give it work. And place to expunge energy.

My partner does several dog-sports, and it seems that if you have on avg 30-90m training a day over the week, most of the day your dogs will just be happily tired and lounge around and sleep.

Or if she has more lenient training shedule, we do take them to run around in a field just outside of city like every two days.

The misconception is, that if you give a working dog big enough yard next to your house, it will be happy, but in reality you still need to train and work with it. If I were to exagerate, this kind of psychological neglect too can be borderline cruel and sometimes dangerous.

The bad thing is, even the owners might not realize. I heard several stories along the lines of "Our bordercolie is well fed, and well behaved, and has access to run around in a large garden, and take her with us every weekend on a hike, and then bites our friends child into her leg when the she tried to run away?" ... well, yeah, I am not surprised that a shepherd dog that isn't well trained and never worked would do something stupid like that.

My point probably is, that even in the sad story of the hard-to-manage presa canario, yeah, having it in an appartment didn§t make things easier, but I wouldn't see it as the primary problem.

← PreviousPage 3 of 26Next →