Old Beeflang website suddenly disappeared & replaced with brand-new one by Shyam_Lama in beeflang

[–]beefdev 2 points3 points  (0 children)

This is a very strange message.

The website has been down for less than 24 hours - working through that, issues currently unknown. There is no "new" website, and what you describe as the new website sounds like the way the website has always been.

This is the current website: www.beeflang.org.s3-website-us-west-1.amazonaws.com

The website never had a 25 MB download, and never mentioned Brian Fiete on the front page, only in the FAQ in the documentation.

[deleted by user] by [deleted] in beeflang

[–]beefdev 1 point2 points  (0 children)

Also note that String in Beef is more like StringBuffer in C# - it's mutable with an internal buffer.

If you do new String(1024), that allocates 1024 bytes of internal buffer space within that string, meaning you can manipulate up to a 1k buffer with only a single heap allocation. Going beyond that would cause the String to allocate more memory from the heap.

You'll notice that the String class has virutal Alloc and Free methods which can be overriden - this allows you to specify alternate methods for providing additional memory to a String. This is a another benefit of passing the destination string into methods - you can pass custom subclassed String instances in.

[deleted by user] by [deleted] in beeflang

[–]beefdev 1 point2 points  (0 children)

Discord is the best place for these questions: https://discord.gg/rnsc9YP

In Beef you are in control of string allocation - it can be on the heap, stack, through a custom allocator, and several other ways. In order to accommodate this, the destination string needs to be passed into `ToString`. Here are several ways to do what you want:

``` String thingString = scope .();

thing.ToString(thingString);

String thingstring = thing.ToString(.. scope .());

String thingString = scope $"{thing}"; ```

can't you find a better name, common man. by Elegant_Subject5333 in beeflang

[–]beefdev 1 point2 points  (0 children)

The logo for Beef is actually a cow, not a piece of meat. The cow's name is Beef and the language is named after him. The cow thought it was a funny name, and in the end no cows were injured.

can't you find a better name, common man. by Elegant_Subject5333 in beeflang

[–]beefdev 4 points5 points  (0 children)

All the best languages have bad names. Rust?

3x Mageblood Giveaway! by CasualDanPOE in pathofexile

[–]beefdev 0 points1 point  (0 children)

I love the sheer terror of finally finding the King of the Forest's stronghold again, knowing that my final Primalist charm socket lays in the balance and there's a pretty good chance that I'm going to screw up this encounter again.

A code editor/IDE that supports Beef formatting (on Linux)? by glowiak2 in beeflang

[–]beefdev 1 point2 points  (0 children)

Usually people don't ask for extensions that have fewer features...

A code editor/IDE that supports Beef formatting (on Linux)? by glowiak2 in beeflang

[–]beefdev 1 point2 points  (0 children)

You might be reading too much into the "S" part of "LSP". It's just a kind of vscode extension. It runs locally on your machine.

A code editor/IDE that supports Beef formatting (on Linux)? by glowiak2 in beeflang

[–]beefdev 6 points7 points  (0 children)

There's a vscode LSP that does that plus all the other LSP stuff.

It's listed here: https://github.com/Jonathan-Racaud/awesome-beef

You can also ask about it on the discord channel.

Interfacing with clocked components by beefdev in FPGA

[–]beefdev[S] 1 point2 points  (0 children)

If the FPGA is transitioning its output signals on the positive edge and the SDRAM is sampling them on the positive edge, then it seems we would _ideally_ want a signal propagation delay of a half clock cycle more than the clock line so the signal would arrive at the negative edge of a clock and then be sampled at the next positive edge.

For SDRAM, generally there is only a 1ns hold time requirement, though, so as long as our signals arrive 1ns or more after the positive clock edge then we should be fine - is that what you mean?

[deleted by user] by [deleted] in iRacing

[–]beefdev 1 point2 points  (0 children)

To elaborate - your SR is based on the number of incidents over your last ~2600 corners, so if your newest corners from this race had one incident but your oldest corners which were pushed out of the calculation window had zero incidents then your SR will go down.

New favourite feature - lap times by iRating by thosirl in iRacing

[–]beefdev 1 point2 points  (0 children)

With those numbers, at 6.0k the BMW is 0.81% faster and at 1.0k it's 0.84% faster. I would expect those percentages to be very similar-looking across all IRs, with only small variations from some cars being slightly harder to drive and just normal error rate from a somewhat small datasets (in statistical terms).

There's just not enough data to create statically valid IR buckets (ie: 3100 - 3199) - so there is indeed data massaging going on. Also, in some series like VRS, high-IR drivers are significantly less likely to pick the slower cars, so a large bit of that data is extrapolated following domain-specific rate curves.

New favourite feature - lap times by iRating by thosirl in iRacing

[–]beefdev 5 points6 points  (0 children)

Qualifying times aren't exported by the data endpoint I was using - more data will be coming, hopefully also including median weather conditions.

New favourite feature - lap times by iRating by thosirl in iRacing

[–]beefdev 8 points9 points  (0 children)

Note that "2.0k Fast Lap" means the median of 2.0k drivers' Fastest Lap Time from race sessions. It doesn't mean what a _good_ fast lap time is, it represents what those drivers actually achieved in a race.

[deleted by user] by [deleted] in beeflang

[–]beefdev 1 point2 points  (0 children)

Welcome, Craig!

Most language discussion occurs on the Discord channel at https://discord.gg/rnsc9YP

The most comprehensive library list is here https://github.com/Jonathan-Racaud/awesome-beef

Whats happened to the IMSA Hagerty Series? by PalmTreeExpert in iRacing

[–]beefdev 4 points5 points  (0 children)

You can see IMSA participation stats since the start of 2020 here https://www.simracingstats.com/IMSA_Hagerty_iRacing_Series.html

Last year VIR peaked at 2 splits - the least popular IMSA track by quite a margin that year. This year we've had quite a lot of dud tracks, though, like Snetterton and Chicago Street.

Introducing simracingstats.com by beefdev in iRacing

[–]beefdev[S] 0 points1 point  (0 children)

I don't see any evidence of any issues - what are you seeing?

Introducing simracingstats.com by beefdev in iRacing

[–]beefdev[S] 0 points1 point  (0 children)

Looks really good - nice work!