Better HN
topnewbestaskshowjobs
Log inSign up

BD103

150 karma · joined Oct 12, 2023 (3y ago) · 53 submissions

he/him - I program in Rust and Kotlin :)

https://bd103.github.io

Submissions

1.

Working in Groups(internet.place ↗)

2 points · by BD103 · 1y ago · discuss

2.

Some more thoughts on FOSS Sustainability(onepict.com ↗)

3 points · by BD103 · 1y ago · discuss

3.

Don't include social engineering in penetration tests (2017)(jacobian.org ↗)

2 points · by BD103 · 1y ago · discuss

comment 1y ago · link · parent

- freejs, created mere minutes before this comment

comment 1y ago · link · parent

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>

comment 2y ago · link · parent

Support for constant float operations was released in Rust 1.82! https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html

7.

Moderating with Empathy (2022)(blog.gareth-coles.dev ↗)

1 points · by BD103 · 2y ago · discuss

comment 2y ago · link · parent

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/

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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/

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

I love the link to the article on time dilation in this article, fascinating! (https://pilotswhoaskwhy.com/2021/03/14/gnss-vs-time-dilation...)

comment 2y ago · link · parent

This name reminds of an LogCat, Android Studio’s logging tool.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.)

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> Environmental historian J. R. McNeill stated that he "had more adverse impact on the atmosphere than any other single organism in Earth's history."

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

You might find SymPy Gamma interesting: https://www.sympygamma.com

comment 2y ago · link · parent

By "Minecraft guy," do you mean the person who made Minecraft? I think his name was Markus Persson, but he went by Notch online...

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

I know! The dinosaur brand is awesome :)

comment 2y ago · link · parent

This reminds of Little Alchemy, which used to be popular a few years ago

comment 2y ago · link · parent

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 :)

comment 2y ago · link · parent

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?)

29.

Doing First Grade Math in Rust's Type System(fprasx.github.io ↗)

9 points · by BD103 · 2y ago · 2 comments

12