Better HN
topnewbestaskshowjobs
Log inSign up

ronlobo

33 karma · joined Nov 27, 2016 (10y ago) · 32 submissions

Submissions

comment 4y ago · link · parent

Promising!

Has anybody incorporated an AI into c2rust to do the heavy lifting and learning from the compiler errors to self fix the transpiled code?

comment 5y ago · link · parent

I agree. The book "Factfulness" by Hans Rosling is an excellent read about the topic.

Yes, growth in economy and population can go on and will likely result in an S-bend curve in the distant future.

comment 5y ago · link · parent

Just AI transpile to Rust: problem solved :D

No seriously, AI will take years to understand the context.

Coding is more about capturing real world knowledge into a functional program. It involves so much learning about how to translate processes, workflow and regulations into a binary that it seems naive to have an AI code generation tool we even can't understand.

comment 5y ago · link · parent

Please read this and make up your mind:

https://thebulletin.org/2021/05/the-origin-of-covid-did-peop...

The WHO can't be trusted unfortunately.

comment 5y ago · link · parent

They even had to come up with their own security scanner (https://scan.nextcloud.com/). I assume because they don't even trust their own code mess or cause you can f-up your PHP conf in so many ways that your server becomes vulnerable.

comment 5y ago · link · parent

Yeah it is, don't use it.

All the advancements on PHP are great, it's becoming a JAVA more and more, but likely any PHP legacy apps will never see an upgrade to the latest version. And starting a new project in PHP, nah, there are better more well designed programming languages.

comment 5y ago · link · parent

Timescale is what you want to go with in case of RDMSes with audibility in terms of change management over time.

It is the THING.

Thanks the timescale team for making this happening!

comment 5y ago · link · parent

The vote was actually quite close, 27:25, which means there are still 25 people that don't get it.

At the end of the day, the rulers realized that there is a huge market and billions to be made in this industry.

comment 6y ago · link · parent

That's great news and will contribute further to Rusts' adoption.

Large codebases will be able to transcode to language X at some point in the future and I am waiting for the day when it can be done for Rust with projects like https://github.com/facebookresearch/TransCoder/

comment 6y ago · link · parent

Wondering if Huawei routers have backdoors backed in as well...

comment 6y ago · link · parent

Pretty cool, thanks for putting this together!

comment 6y ago · link · parent

Very interesting read, thanks for putting that together.

I am wondering how these ideas relate to "value objects", a term formed many years ago via domain driven design.

comment 6y ago · link · parent

Look no further, after playing around with TimescaleDB, there are no updates anymore and we can put this problem into a vacuum :)

comment 6y ago · link · parent

Pretty cool, thanks for putting this together!

comment 6y ago · link · parent

Pretty cool!

Check out

https://github.com/meething/meething

dWebRTC Video Meetings MESH/SFU hybrid using GunDB, MediaSoup and Beyond!

This seems to be one of the most promising projects in the WebRTC space with support from Mozilla Builders.

comment 6y ago · link · parent

I agree to the point you're mentioning industry standard. PHP is not considered in the enterprise environment, simply for all it's flaws and it's security vulnerabilities and still has the same problems as before. Most languages don't have those problems.

comment 6y ago · link · parent

Hey Lawrence,

Thanks for this detailed comment and the historical background, it is very informational!

comment 6y ago · link · parent

It is exciting to see Microsoft is pushing so many efforts into Rust and WASM.

The Rust onboarding experience is incredibly explicit and once things start to click and code compiles, you're on the train.

comment 6y ago · link · parent

Makes sense, non-type-safe language, we can push type safety guarantees to the persistence layer by coupling the domain models to the type-safe data models.

comment 6y ago · link · parent

Agree, strongly typed languages are best suited for this as it usually allows to embed business domain invariants into the type system which can be checked at compile time.

Rust does a great job in that regard and is not too slow.

comment 6y ago · link · parent

Interesting article, also very F# specific.

A similar approach with type aliases (to be moved to value objects or structs with behaviour aka rich models) in Rust.

```rust type Amount = u128; type MoneySign = Option<Sign>; type Precision = u8; type CurrencyIsoCode = &'static str; type CurrencyName = &'static str; type Currency = (CurrencyIsoCode, CurrencyName); type Money = (Amount, MoneySign, Precision, Currency); type Balance = (Money); type ExpirationDate = &'static str; type MoneyWithdrawalError = &'static str;

enum MoneyWithdrawalResult { Success(Money), InsufficientFunds(Balance(Money)), CardExpired(ExpirationDate), UndisclosedFailure(MoneyWithdrawalError), } ```

comment 6y ago · link · parent

Curious to hear more about their deep dive into Native, Flutter and React Native as possible technology choices.

Hopefully, React Native is not a nosedive ;)

comment 6y ago · link · parent

Pretty cool, how does it compare to the Rust pendant https://crates.meilisearch.com/

comment 6y ago · link · parent

Haha, nice pun there!

comment 7y ago · link · parent

Haha, didn't expect anything else with the stack.

comment 7y ago · link · parent

I am wondering when the EU is finally giving this BS a fine.

comment 7y ago · link · parent

Epic :D

comment 7y ago · link · parent

We should sue those

comment 7y ago · link · parent

Distelli (now puppet pipelines) let's you run as many builds as you want on your own hardware.

https://puppet.com/blog/welcome-distelli-to-puppet-family

12