Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mamcx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
811.
▲
by
mamcx
6y ago
The thing with F# is that (idiomatic) models/functions rely on type inference, and eventually is hard to see what is the flow without look at the IDE. Rust making type annotations explicit with minimal inference is much clearer. Also,
812.
▲
by
mamcx
6y ago
I have a app that have been ported from old python -> f# -> rust (e-commerce like) and the transition was great ( https://www.reddit.com/r/rust/comments/hh9tz6/does_rust_have... ). You need to pay at
813.
▲
by
mamcx
6y ago
So, this in contrast to docker? Is this for development or for deployment?
814.
▲
by
mamcx
6y ago
Yeah, lets try. If I can cut times for deployment the web sites is still a win. I could wait for the windows builds, them are for utilities... > You can't 'FROM vm/osx' or 'FROM vm/windows' yet, it'
815.
▲
by
mamcx
6y ago
This sound very tempting! I run Rust CI for Windows/Linux (on azure pipelines) and it need art least 1h to complete, with several tricks already done. When something broke the iteration is very slow to fix it (you wait 1h, then find th
816.
▲
by
mamcx
6y ago
Correct. But the thing is only a human could, manually, check the code and consider it safe. Rust can't decide it.
817.
▲
by
mamcx
6y ago
Look this way: All C/C++ programs, all of them, forever, are unsafe by default. Even if a sanitizer, linker, review by the absolute most skilled developer on earth check every line. Because C/C++ is designed without safety. So, Ru
818.
▲
by
mamcx
6y ago
I know nothing, so this instead is my theory: The universe is a VM alike smalltalk. What you have now, is the action of the chain of actions of the past. The VM of now is done. You travel back. Arrive at the VM of the past, WITH THE STATE o
819.
▲
by
mamcx
6y ago
Yeah, I think exist a lack of convergence in build the "batteries" for common web flows (auth, admin site, etc). It not help rust still lack the "#1" in some key areas but maybe what we need is to people to voice the int
820.
▲
by
mamcx
6y ago
My main problem making full use of structured logging is the lack of good visualization tool (ie: something that is not a big cluster of stuff :) ). So this look very nice. Maybe you can combine https://vector.dev that is actual
821.
▲
by
mamcx
6y ago
I'm working in a relational language ( https://tablam.org ) that hopefully will be a great way to massage data and have in-built support for "linq/sql"-like queries across all the data sources (from site):
822.
▲
by
mamcx
6y ago
Why not? I work for ERP/eCommerce, so this issue happens. But for real, I need to store historical facts anyway ie: In a invoice/order I must store the ship info at the time of the transaction. A artificial ID is useless in a lot
823.
▲
by
mamcx
6y ago
I tried many things for making sync work across devices. I tried GUIDs, and partitioning ranges of ints, and several versions of it. But what worked amazing? Use NATURAL keys (or their hash) + version field. That is all you need most of the
824.
▲
by
mamcx
6y ago
> Apple fans do love to think Apple is first at everything. This is what Apple fanboy haters always say , but is really the fact Apple say "I'm the first at everything I do"? ;) -- I think if ever, Apple try to say &q
825.
▲
by
mamcx
6y ago
This is correct, and part of "the design of Rust make it slow". The use of LLVM is part of the design, and how use it is too. Is like the people on the C-like languages (with the exception of Go) can't resits the temptation o
826.
▲
by
mamcx
6y ago
> Parent poster is referring to a full build, Yes > which are not really representative of a daily workflow. Only on Rust :). This is a "hack" that must be done to make Rust viable. In Delphi, a full compile is so fast that
827.
▲
by
mamcx
6y ago
> and in particular, that they are entirely inherent to the language. But... this is true. The design of the language is biased to make slow compiling across the full pipeline. Is possible to get into a shout contest about this :), so j
828.
▲
by
mamcx
6y ago
I wish the owners of Delphi go this route instead of whatever them do. This could have make Delphi far more popular than its now, I not cause a exodus of talent...
829.
▲
by
mamcx
6y ago
Consider Tailwind not as bootstrap, but as something to make your own bootstrap (like flask -> django). In short, is only bulding blocks with some option to pre-configure the base defaults ( https://tailwindcss.com/docs&#x
830.
▲
by
mamcx
6y ago
I think the major pain point is virtualization and/or the need to run Windows. This is my case, so instead of pay full for 16" Macbook Pro, I get a M1 Air and coupled with a small mini-desktop ( https://www.lenovo.com&#x
831.
▲
by
mamcx
6y ago
Wait wait wait! So this is actually possible? https://youtu.be/sfM7_JLk-84?t=120
832.
▲
by
mamcx
6y ago
I only wanna to say thanks for this project. I make a ecommerce platform on Rust (not yet public) and it become one of the main reason I could do this as fast as it have. Combining with tailwindcss I think is near the holy grail for backend
833.
▲
by
mamcx
6y ago
I get the Macbook Air (waiting!) to replace my mac mini, but for this and be able to run Windows instead of pay forever a remote host I buy one of this babies: https://www.lenovo.com/us/en/desktops-and-all-in-ones&
834.
▲
by
mamcx
6y ago
I think the strategy is simple: Go hard and go low to make CERTAIN that this transition is for the best. If this were the high-end, some folks could have say: "Yeah, sure cost the same than i9 but you fork $$$$$$$, when go low you
835.
▲
by
mamcx
6y ago
> learning git took a lot of trial and error, but now whatever terminal I sit down in front of This insight why git, like other tools, is stupidely designed. The "wrong" defaults and UX is the DEFAULT, and each USER must learn
836.
▲
by
mamcx
6y ago
> You can turn off the internet and freely use your Mac Interesting! Now, how I could fix the problem with the SERVER DOWN of my customer: :)
837.
▲
by
mamcx
6y ago
One thing about this: Ok, Apple is not that evil to use my data(?), is not that bad because whatever, but: My mac become ABSOLUTELY freeze. Impossible to use. In the middle of a fix that UI must have delivery (a host was down for a customer
838.
▲
by
mamcx
6y ago
This was my intuition! I was in the middle of a call to fix a problem with a customer, I need to near-panic telling them MY computer was frozen. Thanks Apple!
839.
▲
by
mamcx
6y ago
> I've spent the past 10 years maintaining and improving a finance-centric lazily-evaluated dataflow language with integrated distributed NoSQL database for a Fortune 500 financial services company I think you nail the fundamentals
840.
▲
by
mamcx
6y ago
> I'm implementing a language that's basically F#/OCaml. So it makes sense that it's easier to implement in F#/OCaml. This is the key point. When your target and host language match in semantics is easier to be d
More ›