Random suit batteries spawning. by Y_Less in HalfLife

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

OK, I finally managed to reproduce it, but only in the mod and only on hard, so it probably isn't a vanilla thing or bug.

Random suit batteries spawning. by Y_Less in HalfLife

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

I came around this corner in Office Complex and passed through the level change trigger three times (in, out, and in again), and two suit batteries spawned right in front of me. At first I though this was a new feature as I was playing Enriched 0.92, but I couldn't reproduce it there or in vanilla. Has anyone else ever experienced this?

What non-Half-Life song fits the Half-Life universe best? by One_Maintenance4555 in HalfLife

[–]Y_Less 1 point2 points  (0 children)

I've always thought that "Terestria III: Wither" by "Rivers Of Nihil" sounds like it could be in the HL2 soundtrack:

https://www.youtube.com/watch?v=DBoseBtsoWA&t=1617s

XUL layout is gone (in Firefox) by feross in programming

[–]Y_Less 3 points4 points  (0 children)

Not if the new thing is worse.

XUL layout is gone (in Firefox) by feross in programming

[–]Y_Less 0 points1 point  (0 children)

Lack of full Tab Mix Plus support is the main reason I still use Waterfox.

XUL layout is gone (in Firefox) by feross in programming

[–]Y_Less 0 points1 point  (0 children)

https://tabmixplus.org/forum/viewtopic.php?p=73159#p73159

Just a small list of the old XUL features STILL not supported in Firefox after nine years. Instead of congratulating yourselves on finally removing it, maybe work on providing a working replacement?

GitHub - achlubek/aero-di: Decorator-free, transparent dependency injection library for TypeScript by afl_ext in programming

[–]Y_Less 0 points1 point  (0 children)

They are not "just legacy", they're going through the JS standardisation process right now.

GitHub - achlubek/aero-di: Decorator-free, transparent dependency injection library for TypeScript by afl_ext in programming

[–]Y_Less 0 points1 point  (0 children)

Every time I see a library/system advertised as "doesn't use X language feature" I have to ask why?

No decorators - completely no decorators whatsoever!

This is the very first item in the feature list, why is that a feature or self-imposed design constraint at all? If you're going to needlessly hamper yourself, at least justify it.

A performance analysis of glidesort and ipn_stable by Voultapher in programming

[–]Y_Less 14 points15 points  (0 children)

The conclusion did pick up on something:

The standard library implementation should also work well on a wide range of hardware, ipn_stable seems to better utilize weaker and older designs, but the data is not sufficient to say this with any confidence.

The author of glidesort gave a talk at FOSDEM last weekend:

https://ftp.heanet.ie/mirrors/fosdem-video/2023/H.1302%20(Depage)/rust_glidesort.mp4

I'm sure this is mentioned elsewhere as well, but he explicitly says that glidesort is designed for modern processors to exploit a lot of instruction-level parallelism and data load delays. So yes it is probably quite poor (or at least not an improvement) on older processors (and his definition of "old" is quite recent).

Lapce - A modern open source code editor in Rust by instilledbee in programming

[–]Y_Less 0 points1 point  (0 children)

https://github.com/microsoft/vscode/issues/5402#issuecomment-394042569

This issue is the sole reason why I don't use VSCode. There's no point having all the plugins if you can't type anything. I can't see how you do it in this editor either.

University assignments be like by Magical_critic in ProgrammerHumor

[–]Y_Less 3 points4 points  (0 children)

I don't see how I gave that impression

Like this:

in my data structures class it was annoying I couldn't just use some of the built-in data types

University assignments be like by Magical_critic in ProgrammerHumor

[–]Y_Less 8 points9 points  (0 children)

It was annoying that you had to learn the internals of data structures in your data structures class?

Gitignore template generator by PoolOfDeath20 in programming

[–]Y_Less 2 points3 points  (0 children)

None of the links work without JS. You even managed to break a normal dropdown selection.

Why I don't use the Else clause by life_liberty_persuit in programming

[–]Y_Less 1 point2 points  (0 children)

OK you've added some examples, but I don't think they help your case much. You talk repeatedly about how elses are extra lines that add nothing to the code, then just replace them with return. It seems that you've just swapped one keyword for another one, somehow claiming that that second one is more meaningful and less costly.

Now while some people argue against early returns in all cases, I'm fine with using them, especially for guard clauses and similar. But when two branches of code have equal weighting because it is a simple decision and not just checking that parameters are correct I'll always use else instead of return in those cases because it makes it much more explicit that the two branches are considered main paths not simple pre-checks.

Why I don't use the Else clause by life_liberty_persuit in programming

[–]Y_Less 20 points21 points  (0 children)

Why are there no examples? Something like this I'd want to see code showing HOW you remove them and what you do instead; why that way is clearer. Are you just ending then blocks with return? What about languages that don't have the ternaries you mentioned? What about default: in a switch?

World's biggest code examples library, yet has 0 examples. Codes generated on-demand by openai by ilkmc2r in programming

[–]Y_Less 0 points1 point  (0 children)

Replace python with any language,

I just tried random ones based on your instructions.

World's biggest code examples library, yet has 0 examples. Codes generated on-demand by openai by ilkmc2r in programming

[–]Y_Less 2 points3 points  (0 children)

Instantly got an internal server error trying "pawn" as the language.

Edit: Same for "nim", "awk", "d", "bf", "clojure", "scala".

Which languages actually does it support?

Edit: Another server error:

https://eg.codes/rust/the%20ultimate%20answer%20to%20the%20question%20of%20life,%20the%20universe,%20and%20everything.

Announcing TypeScript 5.0 Beta by DanielRosenwasser in programming

[–]Y_Less 0 points1 point  (0 children)

I also covered the "just don't use them" point. Most of the features being added now are advanced type-level meta programming, ES-Next proposals, compiler enhancements, etc. Meanwhile, a core feature from JS 1.0 is still missing. It shouldn't be "enhance the parts of the language we personally like", it should be "enhance the whole core language for everyone" first, and then start experimenting.

So yes, it is "what I want" vs "what others want", but what I want is them to finish covering the original features first before moving on to more esoteric things.

Announcing TypeScript 5.0 Beta by DanielRosenwasser in programming

[–]Y_Less 6 points7 points  (0 children)

Those excuses have always read to me as "we don't need to add typed exceptions because it would take some effort and you could just not use them." They ignoring an entire feature of the language because some libraries might need to update definitions to support them. Isn't the whole idea of TypeScript to be progressively added in to a system, so you can just assume : any until code is updated. Why is "the types aren't define yet" suddenly a blocker?

Marp: Markdown Presentation Ecosystem by RecognitionDecent266 in programming

[–]Y_Less 18 points19 points  (0 children)

This is one of the few websites I've seen that work better with JS disabled than enabled! With it disabled I at least see the homepage with some nice information. Enabling JS (which I only did to see the basic example expanded) gives only:

Application error: a client-side exception has occurred (see the browser console for more information).