News for hackers. Stuff that matters.

BD103

Re:Deno vs. Oracle: Canceling the JavaScript Trademark on Tuesday November 26, 2024 @02:00PM (#42248762)
- freejs, created mere minutes before this comment
Re:The Two Factions of C++ on Monday November 25, 2024 @10:00AM (#42236817)
Also see "On 'Safe' C++", which goes deeper into many of the insights brought up by this article. <https://news.ycombinator.com/item?id=42186475>
Re:Show HN: A Mathematical Integration rust crate on Tuesday November 19, 2024 @11:54AM (#42185528)
Support for constant float operations was released in Rust 1.82! https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
Re:Rust is rolling off the Volvo assembly line on Monday October 07, 2024 @10:16PM (#41773213)
You may be interested in Ferrocene[0], a version of the Rust toolchain that is vetted for critical systems like automobiles. It's offered by Ferrous Systems, the same people who help maintain Rust Analyzer (the de-facto LSP for Rust).

[0]: https://ferrocene.dev/en/

Re:Committing to Rust in the Kernel on Tuesday September 24, 2024 @11:29PM (#41643434)
Check out the Rust's documentation page on platform support[0]. You'll be able to find the full list of supported platforms, as well as the target tier policy, and specific target requirements and maintainers.

[0]: https://doc.rust-lang.org/rustc/platform-support.html

Re:Committing to Rust in the Kernel on Tuesday September 24, 2024 @11:19PM (#41643379)
For those curious, this is the link[0] to the filesystems talk with the relevant timestamp. A bit more was discussed in this[1] article as well about Wedson Almeida Filho leaving.

[0]: https://youtu.be/WiPp9YEBV0Q?t=1529

[1]: https://lwn.net/Articles/987635/

Re:Pragtical: Practical and pragmatic code editor on Tuesday August 20, 2024 @10:30AM (#41300417)
> On my personal computer, a 2013 MacBook, it uses more like 50 and starts darn near instantaneously.

Just for clarification, do you mean 50 GiB or 50 MiB? I'm assuming MiB in this scenario, since allocating 50 GiB doesn't mix with an instantaneous startup.

Re:Bevy 0.14 – Data driven game engine on Thursday July 04, 2024 @01:36PM (#40876653)
There is a Rust tool named `generate-release` within the website repository[0]. It handles interacting with the Github API to get a list of significant changes, breaking changes, and contributors. (The main Bevy repository has pull request labels for all of these, so this is pretty easy.)

[0]: https://github.com/bevyengine/bevy-website

I love the link to the article on time dilation in this article, fascinating! (https://pilotswhoaskwhy.com/2021/03/14/gnss-vs-time-dilation...)
This name reminds of an LogCat, Android Studio’s logging tool.
Re:VitePress 1.0 on Thursday March 21, 2024 @02:04PM (#39782156)
Agreed. I built my personal website with Nuxt Content, but I'm not satisfied with it. It forces you to do a lot of things yourself and is definitely targeted towards dynamic websites. Since I am building for Github Pages, I found it quite unintuitive.

I would recommend using VitePress, Zola, Jekyll, or some other tool instead if you need an SSG.

Re:The Bevy Foundation on Tuesday March 12, 2024 @09:09AM (#39679022)
Don't worry, you still can! I've been actively contributing to the past 4 months, working on improving CI and the website. I started out doing PRs for typos and little improvements, and so can you! (I recommend looking for issues marked as "Good-First-Issue," they are the best entry-level things to work on.)
There's a lot of great servers mentioned here, but there are two that I haven't seen yet:

- QuiltMC, which is a fork of FabricMC - NeoForge, which is a fork of Forge

Both have their own benefits and downsides, and are mostly comparable with their originals.

> Environmental historian J. R. McNeill stated that he "had more adverse impact on the atmosphere than any other single organism in Earth's history."
Re:How do computers calculate sine? on Thursday March 07, 2024 @10:06PM (#39637385)
Yup, I remember watching a video about how the RAM bus is the bottleneck when running Super Mario 64 on the N64. The original implementation used trig lookup tables, but the person optimized it by instead using Taylor series (I think) and some negation / shifting.
Re:SymPy: Symbolic Mathematics in Python on Wednesday February 28, 2024 @09:57AM (#39538749)
You might find SymPy Gamma interesting: https://www.sympygamma.com
Re:Ask HN: Who are your most treasured live coders? on Thursday February 08, 2024 @08:47PM (#39310444)
By "Minecraft guy," do you mean the person who made Minecraft? I think his name was Markus Persson, but he went by Notch online...
Re:A search engine in 80 lines of Python on Wednesday February 07, 2024 @04:20PM (#39294467)
I would argue that Python does not inhibit this project as much as you imply. There are multiple benefits to Python, such as:

- A built-in dictionary type, used for indexing words

- Clean and easy to read code, which is one of Python's core strengths

- It's fast to draft code in, perfect for toy programs

- Easy async support, which the author comments on

- Plenty of libraries to do the heavy lifting of tasks not focused on by the post, such as hosting a web server, rendering template HTML, and parsing CLI arguments

Yes, Python is not fast relative to C or Rust, but it's perfect for this type of project.

Re:Command Line Interface Guidelines on Tuesday February 06, 2024 @01:50PM (#39278693)
Exactly. This is implemented by the Javascript code formatter Prettier [1] where you have to pass `--write` in order to overwrite an unformatted file.

[1]: https://prettier.io

Re:WebAssembly Playground on Monday February 05, 2024 @09:09AM (#39261345)
Rust binaries seem to be larger than they should be, though. I believe Kobzol [1] has been making some work on that.

[1]: https://kobzol.github.io/rust/cargo/2024/01/23/making-rust-b...

Re:Deno in 2023 on Monday February 05, 2024 @09:05AM (#39261313)
I know! The dinosaur brand is awesome :)
Re:Infinite Craft on Wednesday January 31, 2024 @12:11PM (#39206334)
This reminds of Little Alchemy, which used to be popular a few years ago
Re:Ask HN: Resources for kids/teens to learn programming on Wednesday January 31, 2024 @10:21AM (#39204846)
I learned programming through a mixture of Scratch and code.org. Once I "graduated" from those websites, I learned my first professional programming language using W3Schools.

I wouldn't recommend signing up for W3Schools, but the free content is a good enough primer for beginners. (Some of the examples are not idiomatic, though.)

I hope that helps :)

There's a lot of talk about Apple trying to circumvent this, but there actually are some good things from this. For instance, Firefox on Mobile can now use the Gecko engine instead of WebKit! (I think it's still Gecko?)
Re:Show HN: Better Seater: Wedding Seating Chart Optimizer on Tuesday January 02, 2024 @02:53PM (#38846239)
This is pretty interesting! A related algorithm that may be useful is Wave Function Collapse, which can be taught using seating constraints like this.

Older »