The Nvidia Shield is the best thing I've ever bought. I love it. I hope Nvidia make a new one, because i'd buy it immediately.
HN user
kalekold
Go looks nice to work with but actually is a hidden monster full of footguns.
Really? Me and my team been using it for years with no problems whatsoever.
Torvalds is ambivalent to rust he just wanted to see if it worked out.
If we're appealing to authority here's his response a few weeks after the mail you posted:
I'm pretty sure Torvalds is the one who decided to add Rust to the Linux kernel.
No it really wasn't. He just said let's see how it goes when the rust devs proposed it.
This is NOT because I hate Rust. While not my favourite language it's definitively one of the best new ones and I encourage people to use it for new projects where it fits. I do not want it anywhere near a huge C code base that I need to maintain.
Seems pretty clear cut to me.
Why do rust developers demand everything be re-written in their language? Especially one of the longest running, largest and most successful C projects of all time? It was never going to work out.
There are a few brand new operating systems being developed in rust, why not contribute to them instead?
If you use ctx.Value in my (non-existent) company, you’re fired
This is such a bad take.
ctx.Value is incredibly useful for passing around context of api calls. We use it a lot, especially for logging such context values as locales, ids, client info, etc. We then use these context values when calling other services as headers so they gain the context around the original call too. Loggers in all services pluck out values from the context automatically when a log entry is created. It's a fantastic system and serves us well. e.g.
log.WithContext(ctx).Errorf("....", err)I'm not particularly impressed by Odin but maybe i'm not the audience. If you like strictly procedural languages (or a die hard C fan) it's probably fine but it feels like a 'My First Language™' kind of project.
What I really miss are methods on structs a'la Go. Just simple receivers would be a great addition imho. Because of this choice, it's affected the entire stdlib and boy does it look old. Creating a typed variable to pass it to a stdlib init function (for allocation, etc) is terrible decision and it's everywhere. The stdlib looks muddled too.
Odin is obviously heavily inspired by Go (among others) but it's learned nothing of the lessons of the Go authors. For example, Odin is a larger language and has fewer features.
I got an ICE while compiling once and it reported something like `TODO(bill) support this`. Not a good look.
lol
The 'end of the world' scenario isn't perhaps something that we expect. We always think the end of the world will be disease or natural cataclysm. Also, humanities curiosity can't help itself.
* Imagine AI giving a terrorist network a recipe for the most toxic nerve gas ever discovered. (This has already happened to AI researches)
* Imagine AI being used for deepfake propaganda inciting a war between superpowers. (This is arguably already in progress)
* or it could be the usual sci-fi classic of an AI intelligence becomes superior to humans and just takes over (using the above methods and more).
AI has the ability to be completely undetectable and incredibly insidious. We could be destroyed by a force we don't even notice.
Use D's -betterC flag?
Node is single threaded.
No more needs to be said after that.
I still have bets on this all being a massive game of life.
You might be right!
https://writings.stephenwolfram.com/2020/04/finally-we-may-h...
This article is just a stealth extension of the so called 'open source sustainability crisis' argument.
Basically, it's just a bunch of people wanting to work on open source software and demanding to be paid for it. Like literally demanding you pay them for using their software!
I'll repeat here what I always say to them. If you demand to be paid for creating open source software, then maybe it's not for you because you don't seem to understand the license you added.
I use Ubuntu and i'm sick of having snaps forced on me. When I next install, i'm either completely ridding the system of snap or i use another distro. I'm fed up with it.
The kicker is sometimes when you use apt to install a package, sometimes it installs a snap! It's madness!
Four top lawyers in the UK have asked the regulatory authority to investigate.
In a letter to Ofcom, Lord Wolfson KC, Lord Pannick KC, Lord Grabiner KC and Jeremy Brier KC urged the regulator to investigate the corporation.
The authors of the letter said that Hamas is a proscribed terrorist organisation in the UK and “that is not a matter of debate or discussion. It is a matter of legal fact.
https://www.telegraph.co.uk/news/2023/10/11/bbc-not-calling-...
How does this make code easier to read and maintain? It all looks like gibberish to me.
Rob Pike was right: "features were being added by taking them from one language and adding it to another" "...and I realised all of these languages are turning into the same language." "we don't want one tool, we want a set of tools, each best at one task"
Packages are wheels? lolwut?
Wheels are the new standard of Python distribution and are intended to replace eggs.
Ahhh... ???
Raylib is awesome! It reminds me of the old school days of using BlitzBASIC to get things drawn on screen because it's easy and so much fun. This is how programming used to be, no fuss, just easy to use libraries.
I currently use Raylib with Go and the Go bindings[1] to create screensavers for Linux and I'm really happy with the results.
I even use it at work to draw interactive infrastructure diagrams that animate dependencies, allow controlling start-up etc. It's really flexible and simpler than anything else I've found to get stuff on-screen. I love it!
Node 20 allows you to compile your app into a single executable along with the entire Node.js core so you can run your apps on systems where node isn't installed, or your don't trust the system version.
85.8Mb for a hello world program!
Please stop mentioning neovim as if it's a defacto replacement for vim. The original vim is very much alive and much more popular than neovim.
Neovim is a cash grab by developers who forked the repo and demanded patreon payments etc. with wild claims that it will replace vim. Neovim doesn't support vim's development it only takes from it. It never pushes anything back upstream and most importantly, never contributes to Bram's charity, ICCF Holland.
I had a tour around this cathedral a few months ago which was really interesting. The cathedral is built very similar to a castle. There are window slits for archers to defend, murder holes at the doors and also two big quarters for soldiers. I think the guide said at one point two hundred soldiers lived there (along with the clergy) in medieval times.
If OOP is over-complicating your code, you're using it wrong. OOP is a tool to manage complexity.
Functional programming, in my experience, created much more complicated code because it seems like the authors like to be a clever as possible.
I've just left a startup company who's entire backend was written in a functional style using Typescript by an agency. The only reason I can fathom why is 'why not, functional programming is cool right!'. A new dev team was created to take over and it was a disaster. It was an absolute mess of piped, mapped, reduced functions everywhere and completely unreadable and unmaintainable. I remember getting lost in a hierarchy of about 30+ piped (non db framework) functions to write a JS object to a database. I didn't stay long.
Since I quit, the entire new engineering team quit and it looks like the company is going under. Functional programming is a big mistake for some real-world code.
I wish we could all go back to phpBB forums. Small, dedicated, online communities were great. I can't remember massive problems like this back then.
There had to be a rust ad in here somewhere.
Linus Torvalds disagrees.
And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.
https://lkml.org/lkml/2022/9/19/1105#1105.phpHere's Linus' take:
You need to realize that
(a) reality trumps fantasy
(b) kernel needs trump any Rust needs
And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.
https://lkml.org/lkml/2022/9/19/1105#1105.php If you cannot get over the fact that the kernel may have other requirements that trump any language standards, we really can't work together.
https://lkml.org/lkml/2022/9/19/1250I think the best reason to study FP is to get out of the OOP mindset.
Objects are excellent for data but OOP is a mess for control flow.
http://nomad.uk.net/articles/developers-who-hate-on-oop-don'...
I do the same and encrypt the file with a simple encryption tool.