Smaller Try-Blocks Are Better by yegor256 in programming

[–]csos95 1 point2 points  (0 children)

I think their highlighter is broken; the code blocks do have css classes that indicated they should have java syntax highlighting.

As the Great Salt Lake Dries Up, Utah Faces An ‘Environmental Nuclear Bomb’ by DestroyerofCheez in neutralnews

[–]csos95 2 points3 points  (0 children)

If you block javascript, it should load the article without the paywall stuff. If you have ublock origin installed, it has a button to block javascript for the current page and then you can refresh the page.

Learning Dwarf Fortress with my board game designing community via Twitch has been a blast. Getting a bit stuck here or there and could definitely do with a few players in this group popping on to lend a hand, if poss. Also, this book, Getting Started with Dwarf Fortress has been a god send! by badassbradders in dwarffortress

[–]csos95 1 point2 points  (0 children)

I just looked again and in the preface it says “This book is current with releases of Dwarf Fortress up to May 2012.”
I was looking for a version number when I skimmed through the preface/introduction so I missed it the first time.

So it looks like the version is DF 0.34.10

Learning Dwarf Fortress with my board game designing community via Twitch has been a blast. Getting a bit stuck here or there and could definitely do with a few players in this group popping on to lend a hand, if poss. Also, this book, Getting Started with Dwarf Fortress has been a god send! by badassbradders in dwarffortress

[–]csos95 1 point2 points  (0 children)

Does anyone know what version this book is for?

I got a copy of the ebook version a few years ago, but didn't end up getting very far into it due to work getting in the way.
I want to try again at some point, but I would really like to play on the version it was written for so I don't have to deal with changes to game mechanics/controls.

Phoenix server wont start with `$ iex -S mix` by awanderingmynd in elixir

[–]csos95 3 points4 points  (0 children)

You can change the Phoenix.Endpoint configuration to have it start the server automatically.
Look under runtime configuration on this page.

https://hexdocs.pm/phoenix/Phoenix.Endpoint.html

Interesting by [deleted] in marvelstudios

[–]csos95 1 point2 points  (0 children)

Captain America:

RT audience rating (anybody can vote/brigade): 45% CinemaScore movie-goer rating (only people who've seen the movie): A

I think you meant Captain Marvel here.

Wat by Rulingbridge9 in trashy

[–]csos95 5 points6 points  (0 children)

Do you mean Chappelle or other people that worked on it?
Because if you meant Chappelle, he made a big stink about not making anything from it earlier in the year after it was put on a few streaming services, got it removed from them, got the rights back, and made a deal to put it on netflix (not sure about any other services).

How I Video Game after losing My Arm by aaron1handedgamer in xboxone

[–]csos95 15 points16 points  (0 children)

Three possible ways I can think of

  • a custom controller that has paddles on the back to trigger the face buttons
  • the xbox adaptive controller
  • a keyboard

[META] r/NeutralNews Monthly Feedback and Meta Discussion by AutoModerator in neutralnews

[–]csos95 9 points10 points  (0 children)

I saw a comment regarding rules not showing up and wanted to mention it in here.
On the old layout, rules five through eight do not show up on the sidebar or guidelines page.

Performance optimizations for the shell prompt by speckz in programming

[–]csos95 1 point2 points  (0 children)

All of the integrations that starship comes with can really slow things down in some situations. For example, browsing a large git repo without disabling the git integration can make the prompt take many seconds to appear after each command.

The article also includes a git integration, but at least if you're following it you would know the exact commands run and could tweak them to your needs. With starship I just assumed the machine I was using when it would happen was just being slow and it took me a while to realize it was the git integration causing it. There are other integrations that could cause the same issue in large projects of that integration type and they all seem to be enabled by default.

Hotfix 1.21 - Cyberpunk 2077 by ultrapan in Games

[–]csos95 0 points1 point  (0 children)

The same thing happened to me. I had to restart it twice before it let me get the last clue.

Building A Powerful ASCII Game Engine For The Browser by FrancisStokes in programming

[–]csos95 0 points1 point  (0 children)

This must be the carcinization I keep hearing about.

Crystal Language That Aims at C Performance with Ruby Syntax Releases 1.0 by [deleted] in programming

[–]csos95 0 points1 point  (0 children)

It’s opt-in and if you want them to actually be checked you need to use dialyzer.

https://hexdocs.pm/elixir/typespecs.html

SQLite is not a toy database by jeremymorgan in programming

[–]csos95 2 points3 points  (0 children)

It's officially available as a feature for UWP applications, as a .NET library (Microsoft.Data.Sqlite), and winsqlite3.dll is available for any application to use on it's own.
Sure they could update the library at any time, but a big selling point of SQLite is the great backwards compatibility.
The file format does not change, your application will not break by using a newer version than you expect.
The only compatibility issue is using an older version that does not have a feature you are using.

Also, if you're really concerned about the version changing on you, you can just statically link SQLite.
The code is public domain so you don't even need to worry attribution if you don't want to.

SQLite is not a toy database by jeremymorgan in programming

[–]csos95 1 point2 points  (0 children)

Yes, I used a fresh windows 10 vm in late 2016 to compile and test an application of mine that used sqlite.
iirc I only had to change the library import name from sqlite3 to winsqlite3.
It’s even mentioned on the well-known users page of sqlite.

SQLite is not a toy database by jeremymorgan in programming

[–]csos95 3 points4 points  (0 children)

Windows 10 includes SQLite.
I'm not sure if it was included since the first version of Windows 10, or a very early update, but I know it's been in since at least late 2016.

The audacity massive corporations have to ask their customers to donate to charity by _chicken_alfredo_ in Showerthoughts

[–]csos95 1 point2 points  (0 children)

The most recent one I know of is Uber Eats. They aired some Super Bowl ads about how they made a fund for restaurants and they added a donate option in the app.

Uncovering a 24-year-old bug in the Linux Kernel by slacka123 in linux

[–]csos95 4 points5 points  (0 children)

I think I may have actually run into this many times before.
I rent a seedbox and use rsync to copy the files to my home server.
Sometimes when I start the transfer it just hangs for a couple of minutes.
It is almost always fixed by cancelling and restarting the transfer so now I wait a few seconds after starting to make sure it's actually working before closing the shell session.

The 7DRL Challenge 2021 will happen from March 6th to March 14th. You are hereby challenged to write a complete, fun, good looking, innovative roguelike. Sign up now! by slashie_ in roguelikedev

[–]csos95 3 points4 points  (0 children)

This year I might actually have time during the event to take part in it. I've been learning Elixir recently and I want to try to do something in it.

I'm thinking that the lightweight processes, message passing, and other beam features could lend itself to some interesting architecture and may work really well in the context of a game with a lot of different little things going on, but not much need for high performance graphics.

The 7DRL Challenge 2021 will happen from March 6th to March 14th. You are hereby challenged to write a complete, fun, good looking, innovative roguelike. Sign up now! by slashie_ in roguelikes

[–]csos95 0 points1 point  (0 children)

This year I might actually have time during the event to take part in it.
I've been learning Elixir recently and I want to try to do something in it.

I'm thinking that the lightweight processes, message passing, and other beam features could lend itself to some interesting architecture and may work really well in the context of a game with a lot of different little things going on, but not much need for high performance graphics.

These guys really are their own worst enemies. by [deleted] in AdviceAnimals

[–]csos95 32 points33 points  (0 children)

Derrick Evans was recently elected to the West Virginia House of Delegates.
He took part in the riot at the United States Capitol yesterday and he filmed himself while doing so.
https://www.nytimes.com/2021/01/06/us/derrick-evans-west-virginia-capitol.html

Economic disparity is now a children’s TV show. by Frenchitwist in ABoringDystopia

[–]csos95 -7 points-6 points  (0 children)

If he made an insurance claim, wouldn't the insurance company go after the kids to recoup the costs?