Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mamcx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
781.
▲
by
mamcx
6y ago
SQL, alike JS, is not a good target for the myriad of languages(and orms) than target it, and it have intrinsic limitations that are historical artifacts. Is not the cost of string concatenation, is to provide the benefits of a good byte co
782.
▲
by
mamcx
6y ago
When I get a MacBook M1 I also ponder what to do for stuff that need to run on windows and use something similar: https://www.lenovo.com/us/en/desktops-and-all-in-ones/thinkc... I found it fairly good with de
783.
▲
by
mamcx
6y ago
What is a "stable IDs"?
784.
▲
by
mamcx
6y ago
> Or is there some other use case for which multi tenant support is critical? To support multi tenants in software-as-services. I need to support "company1.app.com, company2.app.com" in my apps. > Do you mean the ability to
785.
▲
by
mamcx
6y ago
The problem is that this tables are like "foreign" to the db, in a micro-service mindset (the worst anti-pattern to date!). That is a major complication. In Django, this solve neatly, because I can point to my own table or easily
786.
▲
by
mamcx
6y ago
I'm worked on the side in a relational language ( https://tablam.org ) and have used FoxPro, that in a lot of ways is superior to any RDBMS of today. The ideas here are very good! But exist many other things that could have a
787.
▲
by
mamcx
6y ago
Exist other 2 major things that I have tried to find but is rarely missed: 1- GOOD multi-tenant support. Without extra weird hoops like with ORY. How this must be? Just passing a subdomain is all necessary to route and it need to make easy
788.
▲
by
mamcx
6y ago
So is making the UNSAFE FOR ALL, instead of unsafe for few? Defaults matter. P.D: Think if web browser were not fixed or improved because maybe somebody is using Win95. Its the same. The path to better is stop using what is proven to be bad
789.
▲
by
mamcx
6y ago
"referential integrity" is not necessary to make something relational. Is just that for some reasons, everyone on the RDBMS/relational space instantly add EVERYTHING that make a rdbms. Is like adding transactions to OO... and
790.
▲
by
mamcx
6y ago
I try to like it but it have a HARD stand against multi-tenant deployment. This is a major weak point of many solution, in special how automate it.
791.
▲
by
mamcx
6y ago
And struct extend!: struct Person { id:i32 } struct Customer: Person { } P.D: This is not subclassing, is not redefine all the same attributes again and again. Is partially supported to copy the values but not definin
792.
▲
by
mamcx
6y ago
I also wish for extensible enums and enum subset: pub enum Expr { Int, Str } pub enum Expr2 : Expr{ Bool, } fn check(??)-> Expr.Int
793.
▲
by
mamcx
6y ago
What you say is totally true. I still love using Rust for web and bet my projects on it, but is certainly the fact you will need to reimplement certain things. In the other hand, having less features have help me in re-factor not just the c
794.
▲
by
mamcx
6y ago
Interesting, this is how I actually make progres building my own lang in the side ( https://tablam.org ). I discover "early" that parsing will be at mercy of each change in direction on the internals, making a costing re
795.
▲
by
mamcx
6y ago
Switching languages is THE most efficient way to refactor a messy codebase. The past color the idea that a language switch is a waste of time, because in the past the choice of languages was from worse to bad or for same to same-ish . Bu
796.
▲
by
mamcx
6y ago
A little more information I posted back in the day: https://www.reddit.com/r/MechanicalKeyboards/comments/9wjpg0...
797.
▲
by
mamcx
6y ago
I have made for myself something alike: https://imgur.com/a/By9YN2q Is made on wood, to being on the style of MS Ergo but not curved (yet I think it feel nice as is).
798.
▲
by
mamcx
6y ago
The problem with unions/enums is that is hard to pick a subset or superset of them, despite it will be not hard to add to any language. Is similar to projection on the relational model (aka:select), sometimes I need: enum Value {
799.
▲
by
mamcx
6y ago
A logic most developers* not apply to languages, like C, JS, etc. Sadly. * ie: Defend (with passion!) the flawed tools, and resist attempts to fix or change them by something better
800.
▲
by
mamcx
6y ago
> and so everyone’s just typing with much more force than necessary This is interesting!. I learn typing in a VERY old mechanical typewriter, then in an electronic one, then in a computer keyboard. You need to hammer the keys in the ol
801.
▲
by
mamcx
6y ago
How many rows? What is the "fast" you expect? My main app sync data across ERPs and their main case is batch loading of data. This mean that I need to nearly mirror a SQL Server/Oracle/Cobol/Firebase/Etc databa
802.
▲
by
mamcx
6y ago
Oh, Fox is not like a half-crippled* rdbms of late. The "database" is the whole program! (forms, menus, the database itself, etc) * in the sense that RDBMS are relegated to data storage, when in the case of fox was open to make fu
803.
▲
by
mamcx
6y ago
And yet Visual Studio is weak against Delphi and both weak against Visual FoxPro. No mainstream debugger today is good with visualization of data structures (still you see 0xf... everywhere) and much less if have more than 10 entries. With
804.
▲
by
mamcx
6y ago
How good is freebsd to host a typical PG + nginx + docker + Rust/Python backend? ie: Can I use last versions of everything and expect to work? I have always used ubuntu.
805.
▲
by
mamcx
6y ago
> This is why no language is "just faster" than another. No, that is not what this is. Rust IS faster than most languages on earth. This is FACT. Some tools ARE better than others. You only heard the "opposite" when a
806.
▲
by
mamcx
6y ago
I use htmx, just pointing Hotwire will be similar. With this kind of library, your rust code is the same as processing regular html forms, is only the HTML that need to be annotated. MAYBE you could optimize partial rendering detecting just
807.
▲
by
mamcx
6y ago
I think is time to revive the spirit of this family of languages. I'm working solo towards it. Today things get more complicated because is necessary to cover all major 6 platforms (web, windows, linux, osx, ios, android) to keep the &
808.
▲
by
mamcx
6y ago
VFP was crippled, like intentionally, by MS. Fox was absolutely superior to Access and SQL Server at the time (ie: as for build productive apps). But the engine have so many quirks that affect their reliability (I still remember any fox app
809.
▲
by
mamcx
6y ago
I think the same, I slowly working towards it. I made a POC of a language here: https://tablam.org . My idea is add UI building to native controls with Rust and as database sqlite as the default + connectors to others.
810.
▲
by
mamcx
6y ago
I have found confusing then support for multi-tenants and your own auth tables (ie: put the auth tables in the schema of each tenant?) across the board. Exist one project where I can do both?
More ›