#programmers-off-topic

1 messages Ā· Page 38 of 1

crystal wren
#

Doubly so on Linux (in my experience)!

rotund violet
#

Everything else, like Pulsar and Sublime and VSCode, are editors, not IDEs. They might have some sort of build plugin but an editor + builder does not an IDE make. VSCode is definitely the best out of that group, but it's a vastly inferior choice to either VS or Rider for real coding.

#

Anyway, Visual Studio is great, and probably the reason there's not much competition is there doesn't need to be; JetBrains stuff is an exception because they just repackage the exact same IDE over and over again with different language plugins. (Yeah I know I'm oversimplifying slightly). I'm curious what bad experience you had with Visual Studio that makes you want to look elsewhere?

crystal wren
#

My concern is that it's resource usage, and if it's resource usage...

rotund violet
#

Yeah, Rider's gonna be way heavier on that.

crystal wren
#

...oh boy.

safe dragon
#

it makes me sad

crystal wren
#

I was so excited when I was under the impression it was going to target Linux.

safe dragon
#

was such a massive disappointment when I found out that when they said "cross platform" they did not consider Linux one of those

fleet wren
#

"We support Android which is literally the same thing now go away"

worn remnant
#

linux is more of a lifestyle commitment than a platform, tbh

fleet wren
#

s/linux/mac ftfy

devout vault
#

MAUI doesn't support Linux? What

crystal wren
#

That is... very not very developed at any real speed.

safe dragon
#

idk how they thought it was okay to phase out xamarin ages before maui even supports half of its features

crystal wren
#

Corporate modernisation synergy improvement money or something probably.

cinder karma
#

So many things are still bad on Wayland lil

sand frost
#

surely the socks are not bad on wayland

rotund violet
devout vault
#

How about something that's both deprecated and not ready yet.

rotund violet
#

We have those too. I've personally worked on some of them.

#

(Needless to say, I don't highlight them prominently on my resume)

devout vault
#

(unrelated to current conversation)

fleet wren
#

git-linearize uses lucky_commit which inserts invisible whitespace characters at the end of the commit message until we get a SHA1 hash with the desired prefix.

Genius, no notes, immediately adopting this for my business critical software

crystal wren
#

shit show 14

devout vault
#

Why use svn or perforce when you can just make git have linear commits too

#

(Obligatory hating on perforce comment)

cinder karma
#

Just do what we do

#

Use all of them

rotund violet
#

I had to use TFS once. Never again.

#

Maybe arguably a better experience than SVN, but only barely, and only on a good day.

safe dragon
#

at my new job my department keeps calling azure devops "tfs" which annoys the dev teams

pliant snow
#

what is a tfs

safe dragon
#

team foundation server

#

the predecessor to azure devops

#

though I assume in this case it's about tfvc, the version control system it used to have

#

well, technically it still has it

lethal walrus
#

(my memory usage is at 100% and my boot disk is at 99.2%)

rotund violet
sonic mirage
#

We've been slowing moving projects in our SVN monorepo out into projects on our local GitLab

rain apex
#

anyone have rec for mechanical keyboard brand that has support for doing keybinding on linux Bolb

#

my current keyboard requires me to boot up my old windows laptop to rebind keys but thankfully it's got onboard memory blobcatgooglyblep

crystal wren
#

Something that uses VIA/QMK or similar would probably be a good bet!

frosty echo
#

Keychron

safe dragon
#

yeah just go for anything qmk/zmk since they save the keybinds to the board itself not the OS

#

so it'll work anywhere on any device you plug it into

rain apex
#

sounds good i'll look for that

#

maybe i was just setup my current keyboard wrong tbh

sonic mirage
# rain apex anyone have rec for mechanical keyboard brand that has support for doing keybind...

My CODE keyboard has dip toggle switches for handling Mac and Linux things specifically. Mine is the older v2 though, the site for the current version (v3?) has doesn't mention toggle switches anymore, as they appear to have switched to full remapping and layers. https://codekeyboards.com/ The keyboards are made by WASD, whose site appers to be currently down. However, based on what I've seen on Short Circuit on YT, even the current CODE version seems somewhat dated with its lack of hotswap keys and other things. But it might be a good option since I know v2 had Linux-specific considerations.

rain apex
#

Hm yes excellent web design DokkanStare

ivory shadow
#

It is way too easy to accidentally sink an hour into design stuff.

#

I completely rewrote the image generator for my dice bot so it can generate fancy gradient backgrounds using SVG and composite those with the normal dice image I had been using. Before and after:

#

Was this a good use of time? ... probably not. But I decided I wanted more saturated backgrounds and it became a rabbit hole.

devout vault
#

Your dice bot generates images of the rolled dice too? Wow

ivory shadow
#

Of course. What's the point of rolling a nat 20 if you don't get to see it?

#

It starts with these images, and I use a libvips wrapper to process them into what you see above.

tender heath
#

This is VERY off topic AND specific but is there possibly anyone from Oregon that is knowledgeable about how to get help with a feral cat colony? The lady in my town isn't very helpful and there's a man abusing a few of the cats. I need a little guidance šŸ˜…

#

The "lady" I speak of is the animal control/shelter lady

cinder karma
rotund violet
#

What cats? I see a fox.

ivory shadow
#

I wish Discord would expand on its message components system. Specifically modals. You can open a modal for input, but it only supports text inputs... while normal message components at least include a select box and buttons too.

#

Being able to design a usable settings dashboard that is native rather than needing to send users off to a website would be great.

pliant snow
#

They had support in their documentation for drop downs and I think buttons, but it never rolled out, I'm not sure if it's still there. So it seems they had plans then rolled them back for some reason

devout vault
#

It would have given us too much power

pliant snow
#

mankind isnt ready for buttons

ivory shadow
#

Buttons are dope. I also wrote a bot command for controlling my media player for no real reason.

pliant snow
#

How does it plug in?

ivory shadow
#

Just hits an HTTP API. I use MPC-HC mostly, and it has an API even if it's... clunky. Then I just parse the .nfo files that come from my Plex setup to read metadata.

cyan shadow
pliant snow
#

I think it kinda runs like ass everywhere

safe dragon
#

it doesn't run quite as poorly anymore now that it's 64 bit

tender heath
safe dragon
#

in the scale of slow software I have to use at work, visual studio is far from the worst

#

visual studio with the resharper extension would be up there though

cyan shadow
#

Ah

safe dragon
#

that extension is practically like running half the jetbrains rider editor on top of visual studio

cyan shadow
#

... Why would you do that? SDVpufferfear

crystal wren
pliant snow
crystal wren
#

It's actually surprisingly manageable with ReSharper and my mods solution, at least.

rain apex
#

Do u think microsoft made any money from putting ai everywhere yet

ivory shadow
#

Yeah of course I think they lost money

Wait made money

crystal wren
#

I think Nvidia made a lot of money.

ivory shadow
fleet wren
#

feels good no longer having competition after your only competitor threw in the towels on the high end
(for them. not for us. I'm keeping this computer until it croaks)

crystal wren
#

I have the second highest end card I can possibly get that isn't Nvidia, and it had better hold out.

safe dragon
#

it would be news if nvidia released a new gpu with a very reasonable price

safe dragon
#

thank god I don't really care about having the best of the best with amd still being the better value at the range they do offer

cinder karma
#

My selfish ass likes it when Nvidia chips are expensive

#

Note that I play no video games

safe dragon
#

"suck it gamers"

worn remnant
#

i am not a Gamerā„¢ļø, so in general if it can't run well enough on my integrated video card i am not interested

rain apex
#

u can run a great number of games if its at 10fps 480p

cinder karma
#

If y'all keep paying šŸ˜›

safe dragon
#

not like nvidia even cares anymore

#

their consumer gpus are a drop in the bucket compared to their enterprise sales at this point

ivory shadow
#

I'm just concerned because prices are so high now so what are they gonna do to prices once the AI bubble pops and they aren't making infinite money with that market anymore

#

I think I'm going to have to buy one of Intel's new GPUs even if I don't have a plan for how to use it, just to encourage their dedicated GPU business to continue

crystal wren
#

Stick it in a server, and... encode things with it I guess? I'm pretty sure I recall ARC having pretty nice encoding hardware.

ivory shadow
#

Yeah, probably a good use for it.

#

Encode things. Maybe it'll be half decent for LLM stuff?

rain apex
#

time to get into 3d modeling AquaThumbsup

rotund violet
#

I did observe that VS can get very slow on single, gigantic files, where ironically it would do just fine if that same code were spread out across 20-30 files in the same project. So, if you don't want VS to be slow, get in the habit of refactoring.

#

As far as Nvidia's pricing, they always take the video clips down so I'll just have to rely on good old-fashioned text for the obligatory Simpsons quote:

Well, sure, the Frinkiac 7 looks impressive - don't touch it! - but I predict that within 100 years, computers will be twice as powerful, 10,000 times as large, and so expensive that only the five richest kings of Europe will own them.

supple ether
fleet wren
#

AMD gets my kudos for actually having functioning Linux drivers

#

alas, I still went with NVIDIA for my latest PC because AMD's performance can't compete, and I'm willing to trade Hyprland flickering to get the highest possible frames in my favorite video game ||Folding@Home||

safe dragon
#

ah yes a great videogame

#

the highest end gpus are just too expensive so sticking with AMD was just the better choice regardless of whether I used linux at the time I bought it

supple ether
#

That's kinda the thing. A 4090 is better than anything amd can make but it's also so wildly expensive that it's just not worth it for anything I would actually use it for

rotund violet
#

4080 is still great and not insanely expensive (if you get one lightly used).

supple ether
#

Since the crypto bubble I have no trust of used gpus of any flavor

#

Also I would rather have extra vram than raytracing and ai

rotund violet
#

VRAM is why I got the 4080 over the 4070; it's not as much as the 4090 but I've never managed to use all of what's there.

#

16 GB seems like enough for the foreseeable future.

cinder karma
#

But what if I want a 4ft by 4ft chip, ficus?

#

How much vram is that

#

(Yes I'm aware that is absolutely nonsense and no one has a wafer that big.)

#

4ft by 4ft pcb with 60 layers + impedance matching, though

rotund violet
#

Maybe someday we'll have GPUs with upgradable VRAM.

#

Until then, you'll either have to make do or hack together some SLI/CrossFire abomination.

#

...actually, now that I say it "out loud", I'm not sure if SLI even adds to usable VRAM or if it just acts like adding another CPU would.

crystal wren
#

At least back in the day when it was used for games, it didnt double the VRAM. Both cards just shared the exact same state, and did whatever checkerboard alternating rendering or whatever they did.

rotund violet
#

Yeah, I figured I might've gotten that wrong; I never attempted that setup myself, the only thing worse than paying $1k-$2k for a graphics card is paying $1k-$2k each for two or more cards.

#

So we are stuck with the VRAM we have. Such is life.

crystal wren
#

I think NVLink for more scientific applications might allow for that?

safe dragon
#

can you even still buy a GPU that supports SLI/CrossFire

#

SLI was replaced with NVLInk which I suppose is still around

#

crossfire is just completely dead and unreplaced as far as I know

pliant snow
#

i thought SLI was dead

#

like they dont even have the ports for it now

fleet wren
#

yeah it's gone as of 3000

cinder karma
#

Yes

#

The year 3000

fleet wren
#

darn can't believe SLI is still used for the next 900 years, truly durable technology

crystal wren
#

Almost as durable as x86.

cinder karma
#

No. Selph

#

It's the year 3214

#

At least. I feel about that old rn

rain apex
#

Do u think arm will defeat x86

#

Not within next 10yrs but in long term

crystal wren
#

I think there's a chance!

fleet wren
#

perhaps if Apple puts a little more effort behind the tech
rn they are making machines that are more powerful than mid-range x86 PCs while comsuming one half the power, but they seem to content to get mogged by the highest end x86 PCs with one half the price (hah)

worn remnant
#

RISC (arm and risc-v) seems to be enjoying an upswing that i have long thought it deserves, so that's fun

crystal wren
supple ether
#

That's a cool idea but does anything actually run on risc-v?

#

There's probably a Linux kernel for it if nothing else

crystal wren
#

There's a reason it's not available for consumers for now, yeah.

worn remnant
#

yeah, linux can boot on it and (it follows) you can compile C, so you could build yourself a source code xanadu, but nothing off-the-shelf

ivory shadow
#

RISC is cool and all but how about an arm motherboard

frosty echo
#

But? ARM is RISC, so huh?

ivory shadow
#

I thought RISC-V is a different instruction set from the typical arm64 stuff

frosty echo
#

Oh, yes, they are both RISC, but RISC-V has an unhelpful name, and is just another thing

ivory shadow
#

Yeah. And that's a RISC-V motherboard. I was just being lazy in my previous statement and not typing it all out, lol

#

RISC-V might be useful eventually for a consumer product but we're in the stage where arm64 is useful in consumer products now

frosty echo
#
PINE64

A Thin and Light Open Source ARM 64-bit Notebook for Tinkering The PINEBOOK is an 11.6″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer.

ivory shadow
#

The pinebook is, sadly, not really good enough. For one thing, it maxes out at 4GB of RAM.

#

In general I refuse to buy any computer with less RAM than my phone

rotund violet
#

It kind of goes through cycles. I distinctly recall during the PowerPC era that they thought RISC was going to overtake everything else and it just... didn't. We seem to be in a similar boat now, Apple silicon is really extremely good, but it's hideously expensive, whereas the ARM hardware used on mobile devices and streaming sticks is dirt cheap and also just dirt.

tl;dr it's not even targeting the same niche as x86, not really, not yet.

ivory shadow
#

I just want something powerful enough to do most things while being low power. I don't need it to handle gaming or intense computational workloads.

crystal wren
#

Instead, we're going to get tensor acceleration thingymabobs, and we're going to like it apparently.

ivory shadow
#

You've got to have tensor acceleration, DH. You wouldn't want slow tensors would you

#

That's daft

devout vault
#

I don't want to things to be tensor, I've got enough stress already!

rotund violet
#

Couldn't care less about low power, personally, but I do like it to run cool and quiet, and ironically hardware that is massively overspecced is easier to run cool.

worn remnant
#

for me, silence is top priority, so my current pc is passively cooled and i doubt i'll choose to use one with a fan anytime soon

rotund violet
#

Rad fans are basically inaudible unless under massive load; the pump itself is louder. Passive cooling is nice too, though does require some significant underclocking and low specs.

sonic mirage
#

The Mac Mini that just came out is kind of a steal for the base model. Just don't go adding upgrades to it or the value goes out the window quickly

rotund violet
#

I've never used a Mac desktop. The big question for me would be whether the disk and memory can be upgraded, since Apple likes to skimp on capacity and then charge an arm and a leg for upgrades.

#

Obviously not upgradable (or not practically upgradable) on the laptops, don't know about desktops.

uncut seal
#

Ok, so I'm in a LaTeX class where the assignment is to write a thesis and paper in LaTeX, and the teacher really wants us to fill the thing with ChatGPT output because the content doesn't really matter, but I hate this stuff and am 100% opposed to its use, how worth it is it to make my assignment about the negative impacts and consequences of the use of generative AI? (written by hand of course)

quasi lintel
#

You have a whole class about writing in LaTeX? SDVpuffereyes We just got a template and were told to do whatever we want with it for our thesis

uncut seal
#

half a class to be honest, the other half is SQL but I don't really need it

#

we got quite a bit of examples and documentation to do what we want

rain apex
#

Well i don't expect the prof to change way over 1 assignment protesting, chances are it's some grad student doing the grading

#

Maybe just slap lorem ipsem in there

uncut seal
safe dragon
#

lorem ipsum has been the standard for this exact purpose for quite a while

#

I think it's even a default snippet in the vscode emmet extension

worn remnant
#

aside from blanket concerns/complaints about generative AI, i'm not that upset by the prof asking for it instead of lorem ipsum. i presume whatever swill ChatGPT spits out will at least be the language of choice instead of "latin", and will probably be more like actual prose as a result (so a better fit for examining TeX/LaTeX's hyphenation, line-breaking, and spacing algorithms)

safe dragon
#

yeah I mean it would work fine for this purpose

#

it's not intended to be meaningful

uncut seal
#

Yeah, what really annoys me is :

  • the next class will be about putting our thesis ideas into GenAI to get the result
#
  • the assignment guide mentions to use it at every step in the process
#

kinda sad how learning about stuff to write isn't encouraged

worn remnant
#

ok i've changed my mind. this is bad

uncut seal
#

Lesson 8: Generative AI for Academic Writing, ok, I guess I got myself an extra 90 minutes to work on FF next week

sand frost
#

Ugh, this is lazy teaching

#

No critical thinking tasks, nothing about what to do if chatgpt is wrong

cinder karma
#

I'm surprised this is a class

#

This is the type of thing we were just expected to figure out via osmosis

sand frost
#

I learned in high school, but i think in college there were some classes that had it as an incidental lesson

#

Particularly the communication focused ones in math

#

If you hit compile and it errors, where will you be then? If the equation looks wrong and has subscripts in the wrong places, what then? This is the laziest possible way of ā€œteachingā€ latex because it will get the students through the lesson but without the skills to use the tool

safe dragon
#

I basically had to learn LaTeX on the spot for my bachelor "thesis"

#

never was taught anything about it in any course

sand frost
#

Honestly it’s not too bad to learn for basic things

#

If someone gives you a template

#

Which, Overleaf already has!!! You don’t have to ask chatgpt!!

safe dragon
#

I do like overleaf

pliant snow
#

I think this professor is trying to be hip and modern, but is going a bit overboard

cinder karma
#

Yeah

pliant snow
#

Yeah, it could just be lorum ipsum, but at the same time, it's probably better for the students to have real text to format

cinder karma
#

Tbh I use chatgpt sometimes as a "better latex package seach"

pliant snow
#

He probably shouldve written/generated a .txt file himself, then told the students to format that

#

which honestly would be easier to grade lol

cinder karma
#

Yeah

#

I'm just surprised there is a class on this

#

This is usually part of like

#

Sink or swim

pliant snow
#

Yeah, I'm not sure I was ever even told about LaTeX at all, they just assumed we'd all stumble upon it lol

uncut seal
# cinder karma I'm surprised this is a class

I'm glad that the class exists, even if this assignment's details are bad, because the classes up to this point had a ton of references of commands to use and examples on how they work.

sand frost
#

I do think it’s better to teach things that are useful than to make the students just pick them up (something something educational background disparities)…but just,,, not like this

uncut seal
#

Is there a way to have reply ping off by default?

pliant snow
#

I wish

cinder karma
#

Forgot the naming

uncut seal
cinder karma
#

This

#

It's pretty good

pliant snow
#

A lot of CS curriculum dont teach git well (including mine)

uncut seal
#

ok, no, that's on me, I forgot that I did not actually follow a CS curriculum, so it's not too bad to not have been taught git, LaTeX and other stuff I also should learn

cinder karma
#

I point interns towards this

safe dragon
#

I did not use git at all till near the end of my degree

#

we always just shared a Google drive folder

#

I knew of git but it sounded scary

crystal wren
# uncut seal

I would (disclaimer: jokingly) advise pseudo-cheating on this assignment. Write it all yourself, therefore getting higher quality writing.

It does say encouraged to use gen-AI, so technically...

uncut seal
#

yeah, that was what I was going for anyway

#

and since there's no restriction on size, I don't have to make it 50 pages

worn remnant
#

plagiarize the content from somewhere, but don't tell the prof, and see if they can tell

uncut seal
#

they said they won't read it anyway, it just has to look like a thesis

quasi lintel
#

I thought half of my classes was useless... but I genuinely see no point in putting so much effort into making some GPT slob

pliant snow
#

Yeah, I think you're missing the forest for the trees. The professor is almost certainly not even going to read the text, they're just going to look at the formatting

#

You're welcome to write a real essay, but I doubt they'll even notice

crystal wren
#

In this case, advising the use of GPT is... honestly, I'd say fine.

#

It's essentially functioning as a less-nonsense lorem ipsum.

quasi lintel
#

Or make AI write text making fun out of useless classes and lazy prof, since he "won't read" that anyway and it's not you who wrote that SDVkrobusgiggle

uncut seal
#

well, the whole point is that I am opposed to using GenAI at all, cuz climate impact, training it by using it, and all that stuff

uncut seal
supple ether
#

you could just copy a random wikipedia page

uncut seal
#

I'm just going to learn some random stuff and make a thesis about it

crystal wren
#

If there's no subject restriction, making it on the unreliability of generative AI and its tendency to hallucinate would be funny.

cinder karma
#

Please do

#

Ask it about rats

crystal wren
#

Ask it about cats, and how their cuteness can help explain quantum mechanics. I want to see if it actually tries.

safe dragon
#

wouldn't be the first time someone has tried to explain quantum mechanics with cats

pliant snow
#

In other news

#

I took a 12,000 line file at work and cleaned out all the old comments

#

Lots of ascii diagrams that used to look good but had been managled by the auto-formatters

#

Guess how many lines got removed

cinder karma
#

2

crystal wren
#

1 and a newline.

pliant snow
#

The Price is RIght betting system

safe dragon
#

y'all are very space efficient writing diagrams

#

2000

pliant snow
#

10,000

safe dragon
#

that wasn't even a code file anymore

pliant snow
#

Which is why I was able to justify doing it lol

crystal wren
#

Yeah, that's a comments file with some code.

pliant snow
#

It took me two python scripts, two vim macros, and a vim feature I'd never used before to do it

safe dragon
#

I used a vim macro today and felt like a wizard

pliant snow
#

That's their main purpose

#

Actually getting things done is a happy accident

safe dragon
#

what magical feature did you end up using

pliant snow
#

I ran :g/^$/d

#

figure out what that does lol

safe dragon
#

uh

#

delete every empty line

pliant snow
#

Correct

safe dragon
#

ez

pliant snow
#

Which I was surprised that Vim's normal find and replace wouldn't handle well

supple ether
#

I'm convinced that everyone who thinks regex is impossible never actually tried to learn it and just gave up immediately because it was scary

safe dragon
#

it can be arcane shit but a basic regex script ain't bad

supple ether
#

yeah like the more advanced stuff can definitely be headache-inducing, but the majority of the time it's... not that complicated

cinder karma
#

Yeah

safe dragon
#

C#'s source generated regex even generate an explanation of what the regex does these days

cinder karma
#

And if you're doing something that complex you need a parser anyways

sand frost
#

My main problem with regexes is that I use them so infrequently that I have to relearn the syntax every time

cinder karma
#

I realize you're trying to be nice but this seems lkem the wrong place for it

sand frost
#

And I learned regex first from mathematicians so I’m not sure I have the right symbols

supple ether
safe dragon
#

I get really confused with regex when I actually want to use capture groups

rain apex
ivory shadow
#

Regex is (?:fun|awful)

rain apex
#

Groups are just () when u want it!numbered and (?:) when u don't

supple ether
rain apex
#

Sometimes u can name the groups tho

#

Fun times

fleet wren
#

hmm I love capture groups though, they are so specifically useful

supple ether
#

I mean when I'm just using them to group sequences, that's fine, but back/forward references I struggle with

rain apex
#

I ran a multiline replace to change all my namespaces to file scope the other day

#

I'm sure real ide has refactoring option for this but it worked blobcatgooglyblep

cinder karma
#

(I just right click and told VS to do it)

safe dragon
#

maybe I'll challenge myself to use regex parsing for AoC this year instead of relying on good ol string.split

uncut seal
#

I see some good regex appreciation in here, such a good tool

supple ether
#

I mostly use it for validation rather than parsing

safe dragon
#

yeah that's really only what I use it for normally

supple ether
#

parsing is often much easier to do with a state machine

uncut seal
safe dragon
#

wouldn't be a challenge otherwise

#

šŸ™

pliant snow
rain apex
#

Oh but u can use it for lexers

safe dragon
#

I'll use Nim's parsing library in c#

fleet wren
#

that's just sscanf with extra steps

uncut seal
ivory shadow
#
  1. Regex is the absolute best thing to use when parsing something regular.
  2. Humans kind of suck at determining if something is regular.
supple ether
#

oh side note- it drives me INSANE that java's string methods ONLY support regex

rain apex
supple ether
#

like I could see it as one of several options but really?? no string literal or char support?

fleet wren
#

dang didnt notice the "PERL!" sound effect til now

rain apex
#

I was under impression that regex is one of those basic osmosis things u just pick up as a cs person

pliant snow
#

the PERL effect gives away the age of the comic lol

fleet wren
#

exactly lmao

fleet wren
safe dragon
#

btw how would you write a regex to recognize addresses

#

they're probably one of the most variable least structured things to attempt to regex parse

#

"damn they're on vacation in a different country that doesn't have zip codes"

crystal wren
#

The answer to that is: I wouldn't.

worn remnant
fleet wren
#

as someone who read "Falsehoods Programmers Believe About Names", my answer too is to give up

crystal wren
#

Or where, for example:

äø­å›½ļ¼Œå±±äøœēœļ¼Œé’å²›åø‚

é¦™ęøÆäøœč·Æ6å·ļ¼Œ5å·ę„¼ļ¼Œ8号室

ęŽå°ę–¹ ļ¼ˆå…ˆē”Ÿļ¼‰ę”¶

#

the country, province and city are on the top line; the building and street information are on the second line; and the recipient’s name and title are on the last line.

safe dragon
#

sent someone a package once where the address was essentially just a rough description of the location of their house based on nearby recognizable landmarks

rain apex
#

for newer housing in china there's usually a neighborhood name

uncut seal
cinder karma
#

It's a fun game to send a postcard to "sipb, mit" and see how long it takes for the post office to figure it out

#

Just that

#

Those seven letters

rain apex
#

So it'd be like
(China) Province City District Road Neighborhood Building# Unit#

safe dragon
rain apex
#

I have 0 clue what my chinese home postal code is cus no one includes that

#

Unlike NA

fleet wren
#

I particularly enjoy this example from my home country

rain apex
#

Wow

#

Is the Tree structure they live on balanced

#

Probably not

rain apex
#

There was a manga I liked called the dragon the hero and the courier

safe dragon
#

even when only dealing with Dutch addresses, which are very strictly structured and well defined we had to deal with some places differentiating between "house number" and "house number extension" and others not. So like house number 34 room 12

rain apex
#

It is fantasy setting but a lot of info about actual medieval courier systems

#

And medieval stuff in general

rain apex
fleet wren
#

cant believe Vietnam is a medieval fantasy country

safe dragon
#

in the Netherlands your exact house uniquely identifiable by purely your zip code and house number

cinder karma
safe dragon
#

I was surprised when I learnt for other places a zip code wasn't remotely as specific as it is here

rain apex
#

I think for most of NA it's as specific as Netherlands

#

But it'd be post code + street + street number

safe dragon
#

if I gave you my zip code you'd basically know the exact street I live in

#

sometimes even what section of the street

rain apex
#

Yeah same here Bolb

#

If u look up a postal code googly maps helpfully circles the area

safe dragon
#

it's convenient for address forms. You just fill in your zip code and house number and it instantly fills the rest for you

rain apex
#

The edge cases tend to be the really rural areas where street is ambiguous

crystal wren
#

Yeah, my postcode gives you my exact street.

safe dragon
#

no edge cases here as far as I'm aware

#

barring illegal homes

#

if your address is actually registered to be a home it should work

rain apex
#

Very disappointed that googly doesn't recognize H0H0H0

sand frost
#

Post codes in the uk seem very localized

frosty echo
#

The outward code indicates the area and district, while the inward code specifies the sector and delivery point, typically encompassing about 15 addresses.

safe dragon
#

meanwhile my ip doesn't even tell you my city for some reason

#

every tool I've ever seen that estimates location based on ip is always wrong

#

my old ip was fairly consistently placed in some random small village

#

my current one has no consistency

#

I've even been placed in Amsterdam

cinder karma
#

Being placed in Amsterdam seems fun

safe dragon
#

is it

pliant snow
#

something something red light district

worn remnant
#

my ip comes up as a different state than the one i live in. this causes problems from time to time (last time i tried to buy something from GOG, their checkout asserted that i lived in the other (wrong) state and wanted me to confirm that. there was no way to tell it that it was wrong. i complained to them about it, they said "???", and i did not ever buy the thing)

pliant snow
#

Really? Does that mean they'd block people from buying over a VPN?

devout vault
#

My city is wrong too apparently SDVPufferThink

worn remnant
pliant snow
#

I thought they used your billing address for that

worn remnant
#

i would have thought so. maybe they fixed it and they do now (this was at least months ago, maybe a whole year). but their customer service response was approximately "there's no way to override IP == your state"

pliant snow
#

huh

crystal wren
#

Well that's pretty dumb, unless there's some weird regulatory nonsense reason?

pliant snow
#

It is weird your IP address doesn't correspond to you

#

Does windows know how to handle zstd archives

#

either natively or thru one of the common programs like 7zip

#

from what I can tell it doesn't, but I'm not sure

rotund violet
pliant snow
#

I have just been told that Windows 11 is able to recognize it and open it

#

which surprised me

cinder karma
#

Somehow vscode decided my markdown notes to self was sql

safe dragon
#

code injection in your markdown

worn remnant
indigo mistBOT
#

Check the pinned messages for useful info and links!

ivory shadow
#

People who reverse engineer complex C++ applications are crazy. (Yes I have been hanging out in the FFXIV Dalamud server for the past couple days being over my head while updating my two plugins for that.)

devout vault
#

Yeah, that scares me

#

I did technically made a small mod for a (probably) c++ game before

#

(Kirby Air Ride)

#

And that was so painful

pliant snow
#

ive always wanted to mod games like that, but yeah its impossible to get into

tender heath
#

I really want to start programming. I have no idea where to start. I could Google it but I'd rather ask individuals

rain apex
#

making a mod is decent way to start

#

it helps with learning to have some project to motivate you, feel free to drop by #making-mods-general

sand frost
#

Picking a language is a good start

#

C# (Stardew language) isn’t a bad choice, though there are pros and cons to any language

safe dragon
#

other than rust of course which has no flaws

#

(you probably shouldn't start with rust)

cinder karma
#

Real men start with verilog

crystal wren
#

VBA for first language. /j

cinder karma
#

You can end up as fucked up as I am SDVpufferthumbsup

safe dragon
#

the dream

supple ether
#

My first language was gml. My first real language was Javascript, to my eternal regret

#

(Javascript is very easy but it also teaches really terrible programming habits if you don't already have experience with other languages)

crystal wren
#

I just can't get along with JS because I've come to it so... late.

rotund violet
#

It's always amusing talking to the JS supremacists who believe that unit testing solves all problems that static typing could solve. Not that they ever write tests, you understand, but they could, and that would solve all the problems.

ivory shadow
#

My first language was Basic.

crystal wren
#

VBA and QBASIC 4.5 that was hidden away on school computers for me.

cinder karma
#

Brb making an antityping language

rotund violet
#

Turbo Pascal FTW. (Although I did actually fool around in Apple BASIC before that.)

devout vault
#

My first language was technically Lua (for Roblox, like 15 years ago), then GML. Though I didn't do "serious" attempts until I moved on to C++

fleet wren
#

Turbo Pascal gang
though it's less because "I'm old" but more because "the people making our CS curriculum are old"

cinder karma
#

I'm not sure what turbo pascal is

ivory shadow
#

You take regular pascal and you add a forced induction device that compresses the intake so tha--

Wait no

It's an arcade character named pascal who left his game

Wait no

It's pascal running on an Intel 8086 CPU running at its original clock speed and not the reduced compatibility speed

Wait no

It's actually stupider than all of that. It's just the name of a specific IDE/compiler for Pascal

rotund violet
#

Borland (RIP) was like that. They really wanted to make programming cool and high-status, in their own misguided and silly way. I respect them for that.

#

This was, mind you, back in the... 1990s, I think? So it may as well be called ancient history.

pliant snow
#

the average server user's parents were born in the 90s

rotund violet
#

I'll guess that the average in this channel and the modding channels is slightly older, though many probably still born after 2k.

cinder karma
#

...what is borland

rotund violet
#

They built most of the original compilers and IDEs before Microsoft took over and before JetBrains even existed. They had a C++ version too.

#

Surely you've heard of Delphi? There's still a decent amount of software built with it, especially in modding (though more in the Bethesda space I guess).

pliant snow
#

I didn't realize Delphi was still kicking

cinder karma
#

1995?

rotund violet
#

But no one really calls it that, even if they have to use the newer tools. And some people still literally use the ancient Delphi 7 IDE.

#

Bonus trivia: they actually went through a .NET phase, there was a Delphi.NET that emitted IL. I think it was abandoned after .NET 1.1, though it might have lasted up to 2.0.

pliant snow
#

Wasn't there a Turbo C++ compiler? Was that theirs too?

rotund violet
#

They had a "C++Builder" IDE if memory serves, I'm not sure if there was a product literally named Turbo C++, although there very well might've been.

#

If there was such a product, it was probably Borland's.

pliant snow
#

Turbo C++ is a discontinued C++ compiler and integrated development environment originally from Borland. It was designed as a home and hobbyist counterpart for Borland C++. As the developer focused more on professional programming tools, later Turbo C++ products were made as scaled down versions of its professional compilers.

#

There was indeed

cinder karma
#

....my dad tried to teach me c++ with vim and gcc lol

pliant snow
#

haha yeah who would use C++ with vim and gcc in this day and age haha

ivory shadow
#

aquova do you use vim and gcc in this day and age

pliant snow
cinder karma
#

(I use vim in this day and age.)

rotund violet
#

I still use vim for git commits, though that's about it.

pliant snow
#

I'm using it right now

#

well, neovim

cinder karma
#

Newfangled

safe dragon
#

I use vim keybinds does that count

pliant snow
#

depends if its a microsoft product or not

rotund violet
#

The latest Visual Studio version shows linked GitHub issues and titles for # references in commit comments, and can do autocomplete search in the commit box. I'm not sure whether it's cool or creepy.

rain apex
cinder karma
#

ADORABLE

rain apex
#

Mean kot

cinder karma
#

STILL ADORABLE

cinder karma
#

Anyways. Anyone have any good book recs?

pliant snow
#

for programming or in general

cinder karma
#

In general

#

But if you have specific analog design books I won't say no

rotund violet
#

Let me dig up my old solid state mechanics textbook for ya

uncut seal
silent sky
#

not really programming but you lot are all really clever (far more clever than me at least) so i was wondering for anyone’s opinions on this:

Looking for some direction in a project I’m planning

I’m planning to do a project after christmas; a mountable screen and pi to go outside my door for me to send things to from my desktop PC.

I’d send a message (or click a button to activate a preset) and it’ll display the message(s) I have sent over to tell people when I’m streaming so not to come in / busy so don’t disturb.

I’ve never made a pi project before but I’m a proficient programmer in C# so I’m confident I’ll be able to handle the software end of it. Just need some direction in what parts to pick up to get started as I’ve found a bunch of weird and wonderful products out there. Thanks a lot all !

same as what i put on a reddit community but had no responses so thought i’d seek some guidance here! thank you all :) @ me if you respond xxx

lethal walrus
#

i mean, if you're planning to jsut use a hdmi screen all you'd need is the pi's power supply and an appropiate hdmi lead

pliant snow
#

Yeah, hardware wise it should be pretty simple. A raspberry pi, it's power supply, and a screen to plug into

#

Software wise I would look at running a small web server on the device. Set up the Pi to start up its web browser at boot, and open a simple web page that just says "STREAMING" or not. You could then connect to a different page on that web server to send updates to it. You could even set up a discord bot or some other UI if you wanted. The first page would update its status whenever it received a change

silent sky
cinder karma
#

Pi will do hdmi

silent sky
cinder karma
#

Might be fun to do seven segment

silent sky
#

is it mini hdmi?

silent sky
#

but might be a pain in the arse to draw longer messages

lethal walrus
silent sky
#

ah right

lethal walrus
#

well, the pi 5 is micro

#

the pi zero is mini

silent sky
#

so which pi would you recommend?

lethal walrus
#

for this, anything but a pico/400

#

and maybe not pi 1/base zero

pliant snow
#

pi 5 is the hot newness. If youre just going to display a simple message, then pi 4 would be more than enough. Zero would probably be too, tbh but not good for much else

silent sky
pliant snow
#

raspberry pis have wifi chips

silent sky
#

so it’d just be like ā€œnewā€ to me

silent sky
pliant snow
#

you just connect them to your wifi

#

note that not all the zeros have wifi if youre going with those, you'll need to buy the model that does (the "W" model)

#

honestly, for this i might go with a pi zero W

#

theyre like $7

silent sky
#

oh that’s easy then, and then i just localhost:whateverport the website? i’ve never done web stuff either tbf

silent sky
lethal walrus
#

or the pi's hostname, depends on your network setup

pliant snow
silent sky
#

and i’d use like some kind of web app on /update to send the changes to my-pi?

#

i’ve never done any of this web stuff it’s all brand new and exciting to me. tried to do it before but hosting has just been expensive and scary

pliant snow
#

Yeah, you would set up the /update page yourself to do whatever it needs to, then you could go to that page on your phone or desktop or whatever and access it

#

For a proper website where you're going to have visitors, yeah this wouldn't cut it

#

for just you, eh it would work fine

silent sky
#

hm, sounds simple enough. this Pi Zero W is HDMI then ?

lethal walrus
#

yes

#

but mini hdmi

pliant snow
#

It's HDMI mini or micro or whatever

silent sky
#

and i could just get some generic little mini HDMI monitor screen

lethal walrus
#

micro is the pi 5, mini pi zero

silent sky
#

ah i see thanks

pliant snow
#

Yeah, probably get an adapter from mini HDMI to proper size

silent sky
#

i’ll have a little look for a bundle and come back to you to see if you think i’ve got the right stuff

lethal walrus
#

if you wanted a keyboard/mouse for debugging you'd also want a micro usb OTG thing

#

since there's only 2 micro usb ports

cinder karma
#

Is pi zero the one that is on a coupon board?

pliant snow
#

what is a coupon board

silent sky
#

OTG?

lethal walrus
#

on the go

#

USB On-The-Go (USB OTG or just OTG) is a specification first used in late 2001 that allows USB devices, such as tablets or smartphones, to also act as a host, allowing other USB devices, such as USB flash drives, digital cameras, mouse or keyboards, to be attached to them. Use of USB OTG allows devices to switch back and forth between the roles ...

silent sky
#

oh right

pliant snow
#

it doesnt have a full size USB port, so you'll need an adapter if you want to plug a keyboard into it

silent sky
#

ahh i get you

pliant snow
#

you can also set it up so you can connect into it from another device without needing to plug into it

lethal walrus
#

(the raspberry pi imager can set that up automatically ^)

pliant snow
#

yeah its useful, i recommend it

silent sky
#

i’ll have a look for a list of components yeah and see what i can conjure up and if you think i’d need anything else

pliant snow
#

idk what the best way to get one page to update based on info entered into another would be actually... the simplest would be to just save the data entered in into a database, then on a timer have the first page just re-read the DB and update

lethal walrus
#

tbh could just have a single variable in the server

#

and then the display page auto refreshes

pliant snow
#

Can you have state extend beyond a single page?

silent sky
#

what about a Windows forms app? i’ve used that loads but i know pi is ARM so not sure if that’d run

lethal walrus
#

because if it crashes, worst case you just check the box/enter the text

silent sky
#

nvm im stupid pi has its own os doesnt it

lethal walrus
#

its debian based

pliant snow
#

The pi will be running a version of linux, yeah

silent sky
#

ah

#

another thing i’ve never used pahahaha

pliant snow
#

And since you're going to be updating it remotely, the easiest way would be to have something web-based

silent sky
#

yeah

lethal walrus
silent sky
#

(is this js?)

pliant snow
#

Is express some web framework thing

silent sky
#

i’ve never heard of express

#

but tbf i don’t know anything about all this

lethal walrus
#

you don't necessarily have to use it, it's just that I remember the syntax well enough for an example

pliant snow
#

there will be lots of ways to do this, software wise, yeah

silent sky
#

would i need to solder anything for this project out of curiosity

#

don’t have a soldering iron that’s all

lethal walrus
#

no

#

even then, most pis come with the headers anyway (the pins)

cinder karma
#

(Yeah, except there is one that is only on a coupon board and doesn't have headers.)

#

These are coupon boards

lethal walrus
#

ahh

#

yeah the pi zeros can come without headers

cinder karma
#

Yeah get the ones with the headers soldered on for you

silent sky
#

so other than that and the screen, what other kit will i need?

lethal walrus
#

the hdmi adapter and usb otg adapter (if going with a pi zero)

silent sky
#

that’s it ?

#

sounds like im missing something

#

what cables will i need

#

sorry for the spoonfeeding i have no experience in any of this but really want to get into it all

lethal walrus
#

it usually (i think) comes with the power supply

cinder karma
#

A lot of this has to do with how fancy you want to get

#

I think pi comes with a power supply and also ethernet

lethal walrus
#

and i guess you would want a hdmi lead, but you may have one with the mini adapter depending on its design

cinder karma
#

I would get a little case for it

#

One with big heatsinks and a fan

lethal walrus
#

the pi zero does very little that needs big heatsinks and fans

#

it's not very powerful

silent sky
#

so:

  • pi zero W with headers
  • zero W case
  • little screen with mini HDMI cable
  • power supply (included?)
lethal walrus
#

the power supply might be included, it depends what you get specifically, but any old micro usb phone charger would work otherwise

silent sky
#

what’ll i need to utilise the gpio pins on the board? cables or anything?

pliant snow
#

You probably don't even need the version with headers if you don't want it

#

Only other little raspberry pi boards you want to buy and plug into it

#

If you're just using HDMI, its unneeded

#

Doesn't hurt to have them I suppose

cinder karma
#

it's six dollars more and maybe we can talk harvz into doing seven segment for fun

#

tbh, seven segment WOULD be fun....

silent sky
#

it would look cool i suppose

#

also for the uhh website thing we talked about, will it be hosted on the pi 24/7 then ?

pliant snow
#

yep

silent sky
#

what kind of power usage will that kick out ?

pliant snow
#

less than a phone charging

silent sky
#

ah that’s all good then

lethal walrus
cinder karma
#

the new ones we got wanted 25W

silent sky
#

and i’d use a little app on my pc to POST the new text to the site ?

lethal walrus
#

or just your browser

#

have a page with a simple html form/js doing it on the pi's webserver too

silent sky
#

that would be cool

#

that’s the mounting spot

#

just so yall have a picture of what im going for

pliant snow
#

Mounting the display will probably be the hardest part tbh

silent sky
#

double sided sticky?

lethal walrus
#

would have to be some strong tape

#

and some strong paint

silent sky
#

what about those little white double sided foam sticky things people use for crafts / hanging pictures

pliant snow
#

depends how heavy your display is

silent sky
#

if all else fails i’ll have to nail it in or something

pliant snow
#

mount a little shelf to put it on

silent sky
#

that’d be a cool idea

frosty echo
#

Seems a little overkill for the use... could just have something (3d printed? Or just made of cardboard) with a word/message and LEDs behind it, or even just a light of some kind you turn on?

pliant snow
#

its about the journey

lethal walrus
#

and you can have seasonal decorations with a screen!

cinder karma
#

(which is why I keep on bringing up seven segment šŸ˜› )

pliant snow
#

seven segment is even more overkill lol

rain apex
#

Nixie tubes

cinder karma
#

get some relays in there šŸ˜›

pliant snow
#

speaking of which, I should put my overkill christmas lights back up

lethal walrus
#

i just use my fancy new addressable led strips for christmas lights

pliant snow
#

ive got addressable christmas lights

#

like 150 of um

lethal walrus
#

nice

pliant snow
#

what are the odds the firmware I wrote still works

lethal walrus
#

mines only 60 leds
but a metre long

#

haven't tried my own code for them yet, only WLED

silent sky
#

i can’t find any good mini hdmi monitors :/

regal ingot
#

what counts as "good"?

lethal walrus
#

mini as in small or mini as in mini hdmi?

silent sky
#

something that isn’t like Ā£70 😭

lethal walrus
#

just get a small normal hdmi one and get an adapter

silent sky
silent sky
lethal walrus
#

reviews are mixed wther it works with a pi zero

silent sky
#

ah

#

rip

#
The Pi Hut

Combining the convenience of capacitive touch input with the low power usage of ePaper technology, this ePaper display + case combo for the Raspberry Pi Zero is the ultimate compact front-end for your monitoring projects. The display in the kit is a 2.13" 250x122 touchscreen ePaper HAT which clips straight onto your Ra

#

nice little e paper display

#

might look sick

lethal walrus
#

oh that does look quite nice

silent sky
#

i might do that that would be sick

#

this is the current component list then:

https://www.adafruit.com/product/3708

https://thepihut.com/products/2-13-touchscreen-e-paper-display-case-for-raspberry-pi-zero

https://amzn.eu/d/hX84PBF

anything else you think i’ve missed? thanks for the help btw guys

The Pi Hut

Combining the convenience of capacitive touch input with the low power usage of ePaper technology, this ePaper display + case combo for the Raspberry Pi Zero is the ultimate compact front-end for your monitoring projects. The display in the kit is a 2.13" 250x122 touchscreen ePaper HAT which clips straight onto your Ra

crystal wren
#

Harv about to come out with a Raspberry Pi Stardew companion gadget!

silent sky
#

that would be sick af

#

if i get this simple project im doing done then…. maybe ;)

#

remind me in 18 hours to review this

heavy daggerBOT
#

grumbles, mutters some vulgarities about humans...xxharvzbackxx in particular... fiiiine. (#6367776) (18h | <t:1731949951>)

sonic mirage
#

Note that the linked e-paper display is only 2 inches, which seems significantly smaller than the display outline in your reference photo.

frosty echo
#

And e-paper isn't exactly bright or flashy, so not really ideal for something you want people to take notice of

ivory shadow
#

You could add in a red LED too, power it with gpio

#

If flashy is a problem

cinder karma
#

got it

#

one 2in e-paper display, one 40 inch led thing with 3d printing

#

and a 7-segment display that can hold four letters

ivory shadow
#

Perfect

cinder karma
#

I'm making a seven segment display

#

The only thing it needs to say is FUCK OFF

worn remnant
#

thinking about rendering a K on a seven-segment

#

i guess if it only has to say one thing you could move the segments so it works

cinder karma
#

Actually I kinda enjoy those click clack displays train stations have tbh

#

Kinda want a clock like that

safe dragon
#

what

#

click clack displays at train stations?

#

oh

#

a split flap display

#

I don't think I've ever actually seen one at a train station

#
Vestaboard Europe

With Vestaboard, inspire family or team members by easily sending messages from anywhere. iOS, Android, and cloud apps for use. Not a digital screen. Designed to connect and inspire people. Displays up to 132 characters at a time including all the colors of the rainbow.

#

a very affordable 3800 euros

#

actually, I have seen these

#

it has just been a lot of years

cinder karma
#

To be fair I don't think I've ever seen one of those in person but

#

I can dream

heavy daggerBOT
silent sky
#

might have to rethink the eink screen, didnt realise it was that small

sand frost
#

I feel like it could (depending on your interests) be fun to experiment with DIY LED screens

#

Just buy a bunch of LEDs and wire em up together

#

Also depending on your access to soldering iron

#

And potentially you could make like an acrylic holder or something, if you had access to a laser cutter

#

If it doesn't sound fun though, this could be incredibly tedious

silent sky
#

yeah it all sounds a bit rock hard for a first project, just want something i can set up easily as i don't have 3d printer / laser cutter access or anything like that

pliant snow
#

Yeah, I would just settle for a regular display for now lol

silent sky
#

can't decide on a good case to put a normal display in ://

#

it's like 5"

#

and there are no good looking / under £100 suggestions showing up for me

sonic mirage
#

Pretty sure there's a whole range of available displays meant to be used with a RPi that should be somewhat affordable

thin estuary
#

uh. did anyone doing black Pintail magic encounter this before?

#

(it's in another game)

#

the code is pretty simple

thin estuary
#

accessing typedArgs.State is the part that crashes

#

it looks perfectly normal though...

#

even crashes in the debugger if i try to evaluate it myself

#

the Pintail-generated IL also looks fine (although definitely could be shorter, it's probably something to do with some unused here cases)

#

(State is known on both sides)

#

double checking locals

thin estuary
#

I’m actually not even sure how MonoMod is ending up in that stack trace…

safe dragon
#

this was a very satisfying day of work

#

3761 lines removed, 32 added

#

no functionality lost

#

functionality gained in fact

pliant snow
#

commits where you get to delete thousands of lines is the best

cinder karma
pliant snow
#

I had a commit last week that was like +2000 -12000 because I deleted all the pointless comments lol

safe dragon
#

the previous guy here was implementing a whole custom authentication system for this api due to a perceived limitation in our standard auth stack.

Spent the last two days with IT getting things set up correctly and now I can just delete the entire half finished broken auth system he was building

#

šŸ™

#

this is going to fix a lot of nasty stuff around this api too

#

it was a good day

pliant snow
#

the previous guy here was implementing a whole custom authentication system
That's a red flag if there ever was one

safe dragon
#

yup

cinder karma
#

Oh wow

safe dragon
#

I mean he was following the oauth protocol at least

rain apex
#

Prev guy: I hope the next guy takes good care of my custom auth :)

pliant snow
#

I'm so excited for the next guy to enjoy my hard work :>

safe dragon
#

hey this was super satisfying to do

cinder karma
#

Hey aquo I'm just gonna roll my own crypto real fast

safe dragon
#

I invented my own encryption algorithm just for this

cinder karma
#

I don't meant cryptography, I mean shitcoin

pliant snow
#

"you take all the numbers and add one"

safe dragon
#

and then cycle the characters by 3 steps

pliant snow
#

they'll never crack brvpxb's code

cinder karma
#

Lol I'll just generate a one time passkey the same length as the data for each thing

#

(Don't ask me how passkey sharing is going to work SDVpufferthinkblob )

pliant snow
#

You email it to them

safe dragon
#

just like I do for passwords

#

a nice "please email my password I forgot it" button

#

your current password will be mailed to you immediately

#

wish I hadn't seen that in production before

fleet wren
#

very secure, very mindful

safe dragon
#

😊

fleet wren
#

salting passwords? we don't do that here, we prefer letting our passwords' natural flavors shine

cinder karma
#

Do you pepper your passwords

#

Also, just as an aside, I've been going through a crash course for like, hashing and prng etc

#

It's super interesting and I will not be implementing my own any time soon lol

safe dragon
#

me neither

#

I'm glad others do that for me

silent sky
# sonic mirage Here's some from Adafruit: <https://www.adafruit.com/category/804>

unfortunately none of those (below $100) appear to be in stock. i found this one which looks very similar: https://www.amazon.co.uk/Waveshare-2-8inch-RPi-LCD-resolution/dp/B01N3YNQ9W but idk how the display transfer works - it's not mini HDMI and i can't find any other information listed about it other than 'SPI' and i couldn't find any conclusive answers to my questions about it online. any help ?

rotund violet
thin estuary
#

(Aka this works)

#

Also this is on a self-contained runtime, but I guess that self-contained runtime came from my machine in the first place

rotund violet
#

ĀÆ_(惄)_/ĀÆ

Unfortunately it's in a similar league to AVEs, one of those errors that could mean just about anything depending on the context.

cinder karma
# silent sky unfortunately none of those (below $100) appear to be in stock. i found this one...

Serial Peripheral Interface (SPI) is a de facto standard (with many variants) for synchronous serial communication, used primarily in embedded systems for short-distance wired communication between integrated circuits.
SPI follows a master–slave architecture, called main–sub herein, where one main device orchestrates communication with one or...

#

Make sure to use the faster of the pair

pliant snow
silent sky
#

yeah

#

i just want something like the size of my stream deck

#

like this big

lethal walrus
cinder karma
#

Yup

#

Raspi has two sets of spi

silent sky
#

so all i'd do is slot the screen onto the headers of my GPIO pins on the board ?

#

seems simple enough ?

cinder karma
#

Hopefully is plug and play

#

But with spi you never know

pliant snow
#

They probably have some driver/set up youll need to run too

silent sky
pliant snow
#

The manufacturer will have install steps, if you need them

silent sky
#

i'll have a look at that screen model see what it says

lethal walrus
#

Waveshare has the software on their documentation page and it works flawlessly

From the reviews

silent sky
#

oh nice

#

how do i install that to the pi then ?

#

also will i need to buy some of these brackets or will they come with the screen?

lethal walrus
#

I assume it comes with the little pin in-between thing

#

If you get a pi zero WH there's no soldering

#

Yep looks like the headers are the right type on the screen

silent sky
#

sound this looks perfect then

#

how will i install the drivers though? do i just whack it on a usb stick and then OTG it into the pi ..?

lethal walrus
#

Check the docs the review was talking about

silent sky
#

ALSO will i need to get a micro SD card to run the OS off ? so much to think about 🤣 🤣 think

silent sky
silent sky
#

nice nice

lethal walrus
#

A blank one

silent sky
#

yeah

lethal walrus
#

Idk minimum size but you should be fine with 32gb+

silent sky
#

and i'll need to flash it with the debian thing won't i so i'll need a micro sd to USB adapter

lethal walrus
#

Raspberry pi inager

#

Program

#

But yes it has to connect to a pc

cinder karma
#

If you need to buy them

silent sky
#

ah right

#

thank you

cinder karma
#

Iirc pi is m2.5 standoffs, they are there to provide support for the board and aren't electrically active

lethal walrus
lethal walrus
silent sky
silent sky
#

that’s fine i’ll just have to re-flash it

lethal walrus
#

You can't use the pre flashed part of it

silent sky
#

yeah

lethal walrus
#

You can use it just need to reflash

silent sky
#

sound thank you

#

thanks for your help šŸ™

#

thank u everyone you’ve been a great assistance to me

frosty echo
#

Which makes it a very expensive blank card

silent sky
#

i’ll get a blank one instead then 🤣

cinder karma
#

Yeah you can just buy a blank fron microcenterr for literally $0 if you hit the right coupons

silent sky
#

swapped to the pi zero 2 WH because they’re pretty much the same price and it means i can use a pre-flashed one šŸ˜

lethal walrus
#

Also has better specs

thin estuary
#

It would be right… except it’s proxying a struct here

rotund violet
#

Ah, value types give me no end of grief. But I haven't run into an execution error like that, it's usually a BIF if lucky and AVE if unlucky.

thin estuary
#

yep, seems to be working now, after conditionally emitting ldflda instead of ldfld in that one bit of Pintail code

#

probably worth pinging @dreamy vigil - the tl;dr is Pintail combined with MonoMod/Harmony was causing fatal crashes when proxying structs to interfaces. fixed that in Pintail 2.6.1, which i've just pushed to NuGet

dreamy vigil
#

Updated in the upcoming SMAPI 4.1.8. Thanks!

rotund violet
#

Does Pintail do any initialization? Value types have to be initialized differently too. And the parameter passing is different. Not sure if all of those are already handled.

thin estuary
#

it takes an existing value, then emits IL to implement various methods, which essentially call same-named methods on the value it took

#

it does already handle value types in different positions

rotund violet
#

I know what the library does, was just bringing that up in case it ever has to initialize a value type, such as for passing in a default parameter.

thin estuary
#

i guess no one tried to use it with a struct + interface pair yet before

#

until i did, 2 days ago

rotund violet
#

It is pretty weird to implement an interface with a struct.

#

The semantics are confusing since it would always have to be boxed, and thus lose its value-type semantics.

thin estuary
#

i guess i've been doing too much Swift, where that's very common

#

it's only an interface here so i can add extra members without breaking mods already using it

#

even kinda related to some recent Pintail talk

rotund violet
#

I ran into that one last week.

thin estuary
#

(although i do think adding new optional params works nowadays?)

#

it wouldn't work in standard C#

rotund violet
#

It didn't work for me last week, so I'm thinking no.

thin estuary
#

huh

rotund violet
#

Unless nowadays today is different from nowadays a week ago.

#

In my own library I just went all the way and implemented duck typing, so class, record, interface, optional params, doesn't care.

thin estuary
#

ah no, i'm misremembering

rotund violet
#

(it took a long time to figure out)

thin estuary
#

but it's probably doable

#

it's just that i never had a use for that

rotund violet
#

It's definitely doable, since I'm doing it haha

thin estuary
#

"it"? as in, implementing that in Pintail?

rotund violet
#

No, in Stardew UI.

thin estuary
#

ahhh

rotund violet
#

For constructors, mind you, not methods, but pretty much the same thing.

full reef
#

i really really want to get into coding and programming what do yall recommend to start, should do a boot camp or try teaching myself or what

cobalt solstice
supple ether
#

different things work for different people, but there's a lot of options depending on how you prefer to learn things
You'll want to start with the foundations, though- boolean logic, breaking down problems, and likely also working with objects. Language (mostly) doesn't matter for this part, so you can pick whatever seems most accessible to you. Then, you'll want to find resources for that language- most languages have websites with documentation and some example projects, and you can find video guides on youtube for nearly anything.

Scratch is also a good option for learning foundations if you don't feel ready for raw code- it's a mostly-visual language that's extremely beginner-friendly

cobalt solstice
supple ether
#

Gamemaker i also great for visual scripting because it lets you mix it with regular code and is very easy to use, but unfortunately gamemaker is... expensive

cobalt solstice
#

Turbowarp is a great visual language and when you’re ready to make the jump it interfaces with JavaScript flawlessly

safe dragon
#

for the absolute start, yeah just read or watch through some basic explanations of how programming works. After that I'd say you have two routes

  1. Find structured exercises to work through that are essentially just small programming assignments to get to grips with things (leetcode, previous years of advent of code, exercism etc)
  2. Find some goal you want to work towards. Like an actual project. Ignore how scuffed all of it may feel and how slow or bad it might seem at first but just keep working on it. The biggest factor to success is simply maintaining motivation to continue
rain apex
#

i think starting with a bootcamp thing is good, gotta grasp concepts like if/else, loops, variables, etc

safe dragon
#

I wouldn't fuss that much about the actual language more what you can do with it

rain apex
#

as for what lang just do C i guess C's good

supple ether
#

one of my go-tos for learning new language is to write dice-rolling programs

worn remnant
#

joining the chorus: learn the basic stuff by hook or by crook. the fundamentals will transfer easily to any language

cinder karma
#

I would only pay for a boot camp if I thought the boot camp would motivate me to learn

rain apex
#

oh not a paid course but just one of those online code academy things

supple ether
#

I would not recommend a paid bootcamp unless you're trying to get a job

rain apex
#

where they walk u through stuff Bolb

cobalt solstice
worn remnant
cobalt solstice
supple ether
rain apex
#

i would never joke about my grandpa C

safe dragon
#

I'd argue youre probably better off picking golang as far fairly simple on the surface languages that are at least kind of in the C ballpark

supple ether
#

compared to managed languages, anyways

cobalt solstice
#

I know, there are no guardrails, I guess GoLang is a good alternative in that case

supple ether
#

start with rust, I promise lifetimes are simple and easy to learn :)
<- lying

safe dragon
#

but again. I think the actual language is the least of your worries. First step is to simply learn how to think about problems like a programming problem. That skill transfers to whatever language you might use

cobalt solstice
safe dragon
#

explicit lifetimes has fucked with people I know who write rust for a living and have for years

cobalt solstice
#

It’s horrible

safe dragon
#

you usually just want to avoid ever reaching the stage where you have to start manually marking lifetimes

#

because it's a problem that cascades down to everything

full reef
#

THANK YOU ALL

cinder karma
safe dragon
#

hmmm

pliant snow
#

ed is the standard editor

floral parcel
#

Does anyone here like notepad++?

rain apex
#

it's ok/5

safe dragon
#

like is a strong word but I use it somewhat regularly just as a place to dump random text I need to keep around for a bit

#

I like that it remembers everything from the last time you had it open so all the random shit I pasted into there will still be there even if I never saved it to a file

#

I don't use it beyond that though

lethal walrus
#

It's conveniently in my right click menu and has nice colours
I don't use for actual things though, aside from quickly reading things

safe dragon
#

it also opens a whole lot quicker than something like vscode

#

the dread I feel when I accidentally open a text file in visual studio

floral parcel
#

For a while, I just replaced the standard windows notepad with it.

rotund violet
#

I use it. I have VSCode too, but Notepad++ is just more convenient when all I really want to do is edit text with a little syntax highlighting.

#

Surviving closes/reboots is a definite bonus as well.

cinder karma
#

how have we made the art of getting ONE FILE OFF MY PHONE this hard

rain apex
#

sending stuff to yourself always works

worn remnant
#

phones do not have files. if you think they do, you're using it wrong

rain apex
#

it was email and now it's me sending stuff to myself over discord

cinder karma
#

I'm trying to email a word file from wechat to myself

#

because apparently people cannot do the wise thing and EMAIL ME THE WORD FILE

#

next time I'm refusing to review anything anyone wechats me

#

just refusing

#

sorry

#

that's a chat engine, not a work platform, please send to me via email

pliant snow
#

Are they on the same network

rotund violet
#

I always refused to load work chat on my phone. And for transferring files I just use GDrive.

cinder karma
#

they are on the same network. I see this fancy little thing known as "file share" and "phone link" and it...doesn't work

#

go figure

pliant snow
#

I use this all the time just for simple files or photos, its a godsend https://pairdrop.net/

Instantly share images, videos, PDFs, and links with people nearby. Peer2Peer and Open Source. No Setup, No Signup.

cinder karma
#

we are trying plan b, putting wechat on my laptop

rain apex
#

oh there's a web wechat

#

u can scan it but i think it lacks chat history

pliant snow
cinder karma
#

...oh maybe in google docs...

#

yes finally stupid thing

#

wechat on computer worked

thin estuary
#

but it looks like one is a fork of the other?

crystal wren
safe dragon
#

depending on the packages that can take anything from like 20 seconds to 2 hours

#

I have only 60 packages to update today it seems

#

which took 33 seconds

#

I was not aware I had vivaldi installed

crystal wren
#

I used Vivaldi for a period of time!

pliant snow
#

I used linux-6.12.1-arch1-1 for a period of time

safe dragon
#

how about linux-6.12.1-arch1

pliant snow
lethal walrus
#

before i zoomed in on the bottom text i thought this was an xkcd

safe dragon
#

how would this look if you filtered out WordPress

#

random sources seem to claim that 43% of all websites are WordPress websites

#

oh the source is the same as that graph

cinder karma
#

I enjoy this YouTube

crystal wren
#

I hope this one has a lot of numbers in kilograms.

safe dragon
#

the nerd

#

low effort november is getting us a lot

rotund violet
# safe dragon how would this look if you filtered out WordPress

Had the same thought... it's kind of a silly graph, comparing twenty bajillion cookie-cutter blogs and storefronts that happened to be based on wordpress to giant behemoths like Google, Amazon and Facebook, and even the many smaller sites that qualify as apps like Discord, Canva, Trello, GitHub or the sites of major companies. It'd be a lot more interesting to look at, say, the top 100 most-visited sites or even top 1000.

safe dragon
#

many of those aren't even server side anymore

#

still neat to see how php kinda "dominates" in a way despite absolutely not being what most web developers use

rotund violet
#

I guess you can use JavaScript as a server-side language (e.g. Express) but practically no one does.

safe dragon
#

things are getting a little muddied now with more and more frameworks being some funky hybrid thing

lethal walrus
cinder karma
#

The electrons? But they are so fun to watch wiz around!!!!

safe dragon
#

damn you have good enough eyesight to watch electrons fly?

cinder karma
#

I'm a quantum mathperson

safe dragon
#

didn't know that came with superpowers

rain apex
#

i thought electrons r funny shaped orbitals now

#

did they update the model again

pliant snow
#

thats ages ago, now theyre just clouds of math

safe dragon
#

electrons have changed

cinder karma
#

We only use floating point numbers now to simulate the universe

safe dragon
#

quantum mechanics is just the result of inconsistent floating point errors

cinder karma
#

Sorry, the universe only has seven digits of entropy

rotund violet
#

Who is using Electron on servers?

safe dragon
#

I don't know. I don't even know what that would mean

cobalt solstice
#

Ppl aren’t using electron

#

Node.JS is actually a really good server side framework + typescript support is wonderful

pliant snow
#

I'll install electron on my server, who's gonna stop me

safe dragon
pliant snow
#

if i had common sense i wouldnt have a server

safe dragon
rotund violet
#

Already acknowledged NodeJS with the "e.g. Express" earlier. It's still pretty unpopular as a server-side platform, and not just because of the recurring security issues.

pliant snow
#

NodeJS is unpopular?

rotund violet
#

As a server-side framework for delivering web apps? Yes.

#

You don't have to believe me personally, it's showing in the same graph you posted earlier.

pliant snow
#

Looking at the chart, it looks like one of the fastest growing examples, syphoning users even from decades of php-written projects

fleet wren
#

finally decided to switch Arch yesterday, even made a boot USB... and then I learned hyprland made it to Ubuntu universe in 24.10
sigh... perhaps in another 2 years

ivory shadow
#

Alright, which one of you was triggering over 1,500 events on a single GitHub repository in a 10 second window?

#

What an insanely high sounding rate limit, lol

safe dragon
#

had all these worries whether I was going to use entity framework or Dapper only to in the end just use raw odp.net

cinder karma
#

Real question: people learned pascal in HS?

#

I never had programming in HS, I self taught

fleet wren
#

My home country teaches pascal in grade 8 as part of the national curriculum

#

heck it might be earlier now

floral parcel
#

In highschool, I was taught Java haha

supple ether
sand frost
#

No one I’ve ever met in the us learned pascal in school in high school

#

It’s usually Java

#

Sometimes python

devout vault
#

AP Computer Science was Java for me

#

(Online since I was homeschooled)

#

I didn't get the impression my teeacher knew the language very well, since they didn't realize you could use something other than a single string literal for the first printf argument (like using a variable instead, or doing some string manipulation for the argument)

cinder karma
#

Ah. I forget because I didn't have AP classes

rotund violet
devout vault
#

It kinda annoyed me because the college I went to taught C++, so my AP Computer Science classes didn't let me skip the intro CS class despite getting 5 of 5 for my AP course šŸ˜›

rotund violet
#

Technically, they didn't teach us Pascal. They tried to teach us something worse, so I breezed through the crap assignments and spent most of the time tinkering in Pascal instead.

#

For the life of me I cannot remember how I got introduced to the thing in the first place. But it was on all the school computers, despite not being part of the curriculum

sand frost
cinder karma
#

Babies

rotund violet
#

Frankly, I think Java really ruined a generation of young programmers, but that's mostly a rant for people even older. And what Java started, Python turned up to 11.

cinder karma
#

Got it, teaching the new generation brainfuck

#

Although I did joke about perhaps considering raising any potential offspring in an anti technology cult

#

(I'm probably likely to never have children.)

rotund violet
#

Brainfuck would obviously be silly, but only in the sense that all esolangs are silly.