#programmers-off-topic

1 messages · Page 17 of 1

sand frost
#

I like C# better than Java now

sonic mirage
#

Luckily I've only had to read Java (to port an Android app to iOS), but man was it verbose and annoying to read

#

C#'s types are also pretty standard so their use ports to other languages pretty easily

cinder karma
#

I agree with c# being a good choice for a first language

#

It is fairly high level, with a GC, and a well developed ecosystem

crystal wren
#

I have super strong feelings about Python/JS being recommended as a first language.

sonic mirage
#

JS is like the opposite of that. Lots of weirdness to have to account for, no standard IDE with something like Intellisense to help beginners, no compiler with useful errors, no strong typing

cinder karma
#

Tbh I feel the same about python

#

The first ide people tend to start with - IDLE - is trash

#

Vscode is good though, as is pycharm

#

While you can type your python and you should many people don't

worn remnant
#

i will never develop character. python can stay in hell where it belongs /lh

sand frost
#

I don’t know any JS but I’m still wildly against it as a first language

#

I will begrudgingly concede that it’s clearly useful to some people but it’s such a weirdly structured language that I expect people to take away some very weird lessons about programming if they only know JS

pliant snow
#

I think it depends what the language is used for as well. I agree it should be a statically typed language, but Im more lenient if theyre using some visual or game engine to help convey concepts. Then I think you can used dynamic stuff more

sand frost
#

I agree that if someone has a clear goal in mind my stances on which language is best can definitely change. I also think having a goal can be very helpful when learning, as it gives direction and motivation.

worn remnant
#

i wouldn't recommend javascript as a first language either.
it has some very good things that i like (expressiveness is quite high, map/filter/reduce, etc.), but it also has a lot of wat.mp4 and poor choices from the 10 days that we are still stuck with. basically the newer parts are pretty good, lol

pliant snow
#

We used Processing quite a bit when I first got started, which was in Java, its not a bad way to go

cinder karma
#

I kinda feel similar about c/++

#

Precisely the "newer parts are pretty good"

worn remnant
#

(also take "newer" from me there with salt. i haven't done javascript in any real sense for a few years so it's probably got a bunch of new stuff again that i don't know about)

safe dragon
#

just pick a language and stick with it unless it's bash then pick something else

lethal walrus
#

I'd did js first and turned out fine

strange copper
#

My first language was processing js for the hour of code haha but I'd probably recommend python even though it's weird

#

A lot of courses start off in Java

viral kettle
#

My favorite ice cream is graham central ice cream because it has graham crackers and it reminds me of a train station in New York City grand central station. I have to take lactose pills to eat it for toppings m&m whip cream and hot fudge sauce and rainbow sprinkles

worn remnant
#

uh

cinder karma
#

I did python first and did not end up fine

ivory shadow
#

I did BASIC first

sand frost
#

I feel like doing Scheme first didn’t have much impact on me 😛

slender furnace
#

I can just say, when you will start learn to code then start without IDE and Intellisense, because you will never learn the language properly. Also did this "helpers" often do a lot of garbage. When I learned coding did IDE's not exist and the same on Intellisense. My first language was Basic & Z80 Assembly for Amiga. At this time we hadnt online repositories like Git or Turtoise. We had to sync and manage the project by ourselfs. Also the code which was written at this time hasnt any framework or something like that. We had to write our stuff like that on our own. Was a different time, but the programms which was written was 100 times more efficient.

crystal wren
#

Writing a game for my Amiga is a genuine bucket list item.

slender furnace
#

Programming on Amiga is funny and its like a bit you would work with Batch with a good amount of more power.

crystal wren
#

I just wish I could think of a pun like the lore behind Guybrush.

#

That would make it perfect.

worn remnant
#

i should dust off the super famicom 65816 assembly and make something one of these years

pliant snow
#

some of those old consoles have pretty robust toolchains these days

slender furnace
#

Yep, for GB I can recommend to use GBStudio. Its like working with Unity just for GB. Also not much Z80 Assembly knowledge needed. As I know is the compiled ROM usable on real hardware.

slender furnace
crystal wren
#

I feel like for me, half the fun of making games for older systems is not having access to all of the modern tools.

pliant snow
#

to a point. compiling to some of those system can be a royal pain

crystal wren
#

Oh, absolutely to a certain point!

#

No way I'd want to go all the way back.

slender furnace
pliant snow
#

i made a really shitty pong game for game boy years ago

slender furnace
#

Its a lot easier when you have a counter system to get H-Blanks and other timing related stuff which is otherwise not accessibly through software.

pliant snow
#

i know the tools have gotten much nicer since then

#

is the H blank value not stored in a register somewhere

slender furnace
#

Nice. I just tried if Im able to show a picture on the screen. Then I dont get further.

#

No, because H-Blank is time discrete and can be calculated. On PAL 50 Pics/s and NTSC 60 Pics/s. Some people will not understand that Frames per Second is not equal to Frame Rate.

#

But Im also not a professional at this point. Its just what I listend and learned over the years about that topic.

pliant snow
#

I've written game boy emulators in the past, but thats the extent of my knowledge

slender furnace
#

Thats impressive. Respect for this. 👍

#

If someone would learn a bit about that topic in a good understandable way. Go to Youtube and search for "Retro Mechanics Explained". The videos are pure gold and easy to understand. Also did Retro Mechanics Explained videos about really exotic gaming systems as the ATARI QuadraScan.

pliant snow
#

That's a great channel

#

I wanted to make a tempest emulator after seeing their video, but I have no idea where they got their documentation, I couldnt find anything

#

And i dont exactly have the means to reverse engineer a tempest cabinet lol

slender furnace
#

Most old arcades using Zilog Z80 processors. You can get good sheets for the instruction set online.

cinder karma
#

(Fwiw, I don't buy that intellisense makes you a bad programmer)

pliant snow
#

Tempest 6502 I think

#

I guess I meant more for how quadrascan instructions were encoded and such

pliant snow
#

intellesense doesnt make you bad, but I've definitely seen teachers rely too much on it. I had a course in Java that was more like fill in the blanks than actually learning how to program. Honestly, most of my Java schooling was like that

candid pilot
#

ah ok

slender furnace
#

Sorry for the missunderstanding and my sometimes broken english or not able to find the right words. Im a trained english reader, but my sentence building abilities are crap. XD

#

What I mean is what aquova said. Also did I experienced when you take Intellisense and the IDE away are a lot of people not able to programm anymore, because they never learned the language properly. They just learned how to use the IDE and without the IDE they can do nothing. Programmers just needs a computer, a text editor and an interpreter/compiler. That other stuff is just to speed up the workflow.

dapper sinew
#

huh, i just learned that AGI doesnt exist yet? or didnt as of 2023 idk about now though

#

(Artificial General Intelligence)

#

wonder what that'll be like when its made

pliant snow
#

it wont be made lol

dapper sinew
#

interesting!

#

i wonder whats stopping it

supple ether
dapper sinew
#

im just now finding this out LOL, i thought cluster AIs where AGI

#

but ive found out they are different(dont know the offical name)

supple ether
#

"AI" we have now is not "ai" in the sci-fi sense

#

It does not think

dapper sinew
#

oh yeah i fully know that

#

i thought that AGI was like our AI but just "bigger and more"

#

learning something new everyday!

pliant snow
#

AGI is what theyre calling real AI

dapper sinew
#

Ahhhh ok

pliant snow
#

because theyve overloaded the term AI already lol

dapper sinew
#

they really have :(

supple ether
#

The main reason AGI is so difficult is that it requires a complete understanding of the physical mechanics of abstract reasoning, which we don't have, and a practical way of converting that to a reproducible hardware design

dapper sinew
#

like what is AI even now :/
everyone just throws the term around like nothing

supple mountain
#

I hate LLMs with a burning passion lmao

dapper sinew
#

i wonder if they will be made once quantom computers come into a thing

dapper sinew
marble jewel
#

Umm... AI stands for Apple Intelligence /s

supple ether
dapper sinew
#

(at least from what ive seen)

marble jewel
#

Apple Intelligence is so smart you can now move icons from the of your home screen

supple mountain
#

I've been asked more than once if I'm using chatgpt to write my dissertation and I was like. I would rather launch myself, and also you, directly into the sun

dapper sinew
#

im down for friendly banter but dont mean to upset anyone btw

supple ether
supple mountain
#

the hypothetical, general "you", not directed at anyone here specifically

dapper sinew
marble jewel
#

There are legitimate ethical reasons

worn remnant
#

welp, now that i'm back i should probably vacate this channel for several minutes

supple ether
supple mountain
#

I get why lots of folks have the gut reaction that "AI" is cool. cool =/= useful, accurate, reliable, ethical, etc

dapper sinew
dapper sinew
dapper sinew
crystal wren
#

(We're about to get the Wren/Quill combo explanation I think! SDVkrobusgiggle)

dapper sinew
#

hey the more info the better lol

cyan shadow
#

(I can't exactly contribute from a programmer pov, but hoo do I have things to say as a lawyer)

crystal wren
#

I say say 'em! It's relevant to the topic.

dapper sinew
#

knowledge!

#

i like learning lol, even more so when it helps others(or helps others through me not being stupid laugh)

supple mountain
#

how convenient there's such a wide range of professionals in here rn

cyan shadow
#

from a legal perspective, the likes of ChatGPT and other LLMs are extremely problematic from a copyright and privacy perspective, which ties into the cool =/= ethical etc comment made by magitek earlier

dapper sinew
#

i opened a port on my PC and dear lord the amount of IPs that have tried to access it is astounding. thank god for whitelists sweaty

cinder karma
#

I think intellisense mostly stops me from making stupid mistakes

#

(Quick what is python for make directory?)

crystal wren
#

And even ignoring all ethical issues, the primary concern for the person using generative transformers (not calling 'em AI, screw perpetuating that) is that (at least in the US), anything produced by such technology is inherently not copyrightable because it wasn't created by a human.

cyan shadow
#

the element of consent is absent in scraping, because very few companies actually ask before scraping work available on the internet, or they try to force you to agree to said scraping - which, in the absence of actual legislation... is not good.

#

and yes, anything created by Gen transformers isn't copyrightable at all

cinder karma
#

Often I know what I want to do already it is more the last mile of "and what was this function named?"

cyan shadow
#

there's no human element anywhere, which is a necessary element to copyright something in the first place

#

(this is more or less universal - most countries are signatories to the assorted IP conventions, which standardises things somewhat.)

crystal wren
#

Which would technically still apply if you trained your own model 100% from scratch exclusively on content you own.

dapper sinew
#

what if a human hand wrote all data for the generation? would it then be copyrightable?

supple ether
# dapper sinew ok!

so, to start off, I want to say that in technical terms, LLMs/neural nets are not a new idea- the idea has been around for decades, it's just that up until this point, we weren't capable of producing hardware that could actually running it. (partially.) Conceptually, it's a simple idea, and there's nothing ethically wrong with it- the basic way that it works is that "correct" output data is used to create a kind of mathematical prediction matrix, so when you feed an unknown input, the prediction matrix calculates the most likely matching output.

In practice, unfortunately, there are ethical problems with all of the LLMs that exist. Because LLMs are essentially brute-forcing, you need a huge amount of training data to get any kind of even remotely accurate results, and that doesn't come from nowhere. all image llms are based on literal decades of online sweatshop work labeling images. Of course, most old-school captchas were also helping with that, but it was only a small part of og a MUCH bigger project. The use of so much underpaid labor is a problem, but unfortunately, while the original image set was broadly licensed/free use images, later data sets, in particular for artistic LLMs, came from scraping petabytes of unlicensed art and photography from... basically every website.

This usage of unlicensed content without permission, unfortunately, extends to EVERY LLM currently on the market. All of them. Even the ones that claim to be ethical. (cont...)

dapper sinew
#

i wouldnt copyright my stuff if AI made it any ways, doesnt seem right to

#

cause i didnt do the work, the machine did

supple ether
cyan shadow
#

because the human element was the creation of the software, there

#

the actual software doing stuff is not considered "human intervention", because entering a prompt is considered negligible as a catalyst for creation

cinder karma
#

I can't say anything about college programming programs, I be the E in ECE

dapper sinew
crystal wren
cyan shadow
dapper sinew
dapper sinew
crystal wren
#

The more high quality data they're fed, the better they are.

cyan shadow
#

we use a lot of latin

marble jewel
#

Can you imagine how crazy it's gonna be when computers can operate at the same scale/complexity as human neurons, and there is a debate over whether AI is sentient?

cyan shadow
#

sometimes I think code is easier to understand

supple mountain
#

an additional problem that's happening now with the art/conversation-focused LLMs is that they've metastasized and are now feeding each other garbage data, producing increasingly garbage results

indigo mistBOT
#

@supple mountain You leveled up to Cowpoke. You can now speak in our voice channels and share images in all channels!

supple mountain
#

thanks, gov'na

cinder karma
crystal wren
dapper sinew
cinder karma
#

Tbh I can see the value of llms sometimes for pcb layout- trying a bunch of shit and seeing what works is great

dapper sinew
cinder karma
#

Making my power and signal traces the same size though

cyan shadow
supple mountain
crystal wren
marble jewel
#

I wonder how much can AI improve at this point, it's already been trained on the majority of useful data that exists, and new (real) data is not being created at the pace necessary to outrun garbage data being created by AI

supple mountain
#

but from an ethical (and legal) standpoint they're untenable simply because they're plagiarism machines

cyan shadow
#

What I'm waiting to see is the effectiveness of the new AI regs in the EU - and whether or not other jurisdictions will catch up.

dapper sinew
supple mountain
marble jewel
#

The problem is it's already consumed a significant portion of the useful corners of the internet

supple mountain
crystal wren
#

It just a big ol' system to predict what's most likely to follow the last thing.

cyan shadow
marble jewel
#

So as it continues scraping sites like reddit, it's getting content which was produced by itself

#

Garbage in, garbage out

supple mountain
#

idk maybe the fact that every chatbot has to have anti-nazi baby rails put around it is a bad sign 🤷‍♀️

supple ether
# dapper sinew ok!

What's worse is that the data they are fed is indiscriminate- meaning it includes things that aren't correct, and things that may appear to be correct, but are actually biased. For example, AIs tasked with determining whether or not someone is likely to commit a crime consistently rated black people at higher likelihood than white people. In a sense, it's just bias/misinformation automation unless you're very careful about what you're feeding it.

The other problem is not so much ethical as it is a flaw with how LLMs are used. I mentioned before that LLMs are essentially just overgrown prediction engines, which is fine for some applications, like autogenerating captions for video, removing video backgrounds, real-time machine translation, etc. Those things are fine with approximations- if the prediction is wrong, it's no big deal. Unfortunately, LLMs are being used for more than just that- they're being used as a source of "information", and for making important decisions. But they don't "know" anything, they only make predictions, so they often hallucinate lies (bad) and predict what someone else would tell you to do, regardless of whether or not it's actually good advice (worse). It's easy to humanize them because their prediction capibilities allow them to output natural language, but it's extremely important to understand that they don't understand what you are saying or even what they are saying. And it's somewhat concerning when they're being used for things like "driving cars" and "military/police applications".

marble jewel
#

I feel like the technology has potentially peaked for now

crystal wren
#

Improvements in it are going to vastly slow down for now. Almost guaranteed.

cinder karma
#

Yeah

marble jewel
#

I used to read articles on Medium, and I've noticed it's become trash lately

#

Like I can tell that the majority of content being produced on Medium is AI generated, it's obvious

crystal wren
#

The improvements will come from filtering the training data to exclude incorrect information, which is... going to be a ridiculously tedious task.

cinder karma
#

Imo the best use of AI for me is "take this paragraph i wrote and make it sound professional"

#

"And not like I'm two inches from losing my shit"

dapper sinew
dapper sinew
supple ether
#

yeah again like, training set stuff aside, llms are fine to use for low-stakes things where approximations are fine, but the rate at which it's just being blindly shoved into everything for investor money is... somewhat concerning

dapper sinew
#

cause fancy words be fun

supple mountain
# supple ether What's worse is that the data they are fed is *indiscriminate*- meaning it inclu...

yes, and:

  1. the very idea that we should let the plagiarism machine make life-or-death, highly nuanced decisions for us is dangerous and stupid

  2. the very idea that we should let the plagiarism machine do the jobs of highly skilled professionals, but worse, is silly and inefficient at best... and dangerous and stupid at worst

  3. the "AI" tools that are actually really helpful are, like you said, very specific algorithms that do very specific, high-volume, low-risk things

cyan shadow
#

to add on to the point of how the data fed to LLMs is indiscriminate, and magitek may be able to confirm what I'm saying - sensitive medical information, private information that should not under any circumstances be used this way, is being scraped, and I cannot for the life of me understand what good someone's medical records are for any use cases of LLMs.

supple mountain
#

DEAR GOD KEEP IT AWAY FROM MEDICINE AND PUBLIC HEALTH

cyan shadow
#

Keep it away from anything protected by personal data protection statutes, tbh

crystal wren
#

What I want to know is how in the hell that data was scrapable in the first place...

dapper sinew
#

AI should not be allowed medical info... google is already bad enough

marble jewel
#

LLMs are probably not the right application for medical data, but there are good data science applications for medical records.

dapper sinew
#

money does buy a lot

marble jewel
#

I hope that we get off the LLM bandwagon and invest in other interesting areas of Data Science/Machine Learning

dapper sinew
#

looks to windows recall in the future

cyan shadow
worn remnant
#

(i came back)
using LLMs to make important decisions is bias laundering. whatever bias is baked into the training data becomes bias in the output, which output appears (without further scrutiny) to be neutral because a computer produced it

crystal wren
#

I think the topic's... mostly died down at this point?

supple ether
cyan shadow
dapper sinew
supple mountain
marble jewel
#

Like, LLMs for interpreting language/instructions from conversation/text, yes, but it needs to be paired with special-purpose secondary applications to do anything useful

crystal wren
#

Recall is an idea I absolutely love, that I want Microsoft or any company to have absolutely NO say in its creation or implementation.

cinder karma
#

Recall scares me

crystal wren
#

If it's 100% open source and I can be sure it's all local and sescured properly, fantastic!

cyan shadow
#

recall caused my bp to spike, which isn't good post-surgery

dapper sinew
cyan shadow
#

so I've forced myself to stop looking into it

supple mountain
#

the case with medical records is a little different because, like, retrospective studies exist. once the data is de-identified, blinded, etc., machine learning to wrangle your data is fine

dapper sinew
crystal wren
#

I actually saw that!

supple ether
supple mountain
#

though it probably shouldn't be an LLM doing the wrangling because you want the results to be replicable lol

cyan shadow
dapper sinew
crystal wren
cyan shadow
#

EVEN WORSE

crystal wren
#

That's much... better...?

supple ether
#

oh yeah that's so much better /s

cinder karma
#

Re: ai and medical data

marble jewel
#

I've been using LLM tools as a aid to programming for awhile now, and I feel like it's gotten worse at its job over time

cyan shadow
#

WHO DESIGNED IT
A TEENAGER ON BABY'S FIRST SQL PROJECT?

cinder karma
#

It is useful in being able to find possible correlations

#

But they need to be checked again in a proper study

supple mountain
marble jewel
#

I really think the thing is in a downward trend, and the tech industry is heading into another bubble

supple mountain
cinder karma
#

I've never used an AI assistant

marble jewel
#

Like the same situations I ask it for help with are producing worse results

crystal wren
dapper sinew
supple mountain
#

if you're doing exploratory analysis, then having something dredge up the most interesting stuff in your data is fine and encouraged (though imo it's far better for everyone if it's done by you, with skills you are practicing)

marble jewel
#

I was around for the dotcom burst, albeit a child, but I hope we're not heading into that territory when it comes to "AI"

cinder karma
#

I was also a child during the dotcom burst

#

A teensy one.

supple ether
#

I just don't see the point of using LLMs for programming tbh. I rarely have trouble designing solutions to software problems, and when I do it's almost always something like "how does this library with zero documentation actually work, functionally" or "where's the error in my transpiler" and copilot or w/e is... not gonna help me with either of those things

supple mountain
#

for confirmatory analysis you absolutely should not be looking for "possible correlations", you should have hypotheses ahead of time and test them appropriately

cinder karma
#

Oh god

supple ether
#

I mean for me personally. I've seen other people use it as a learning aid

cinder karma
#

I always enjoy having to decompile a library to understand it

marble jewel
#

I wouldn't say ChatGPT has programmed for me, but I've asked it for ideas/approaches that helped me research solutions more quickly than just a blind Google search

supple ether
#

hey, at least harmony and avalonia are both open source

dapper sinew
#

like ive learned a good bit from messing about with AI outputs and reverse engineering the hiccups to work

supple mountain
marble jewel
#

Early on, it did seem to help me to get solutions faster, but now I think I spend more time refining the questioning to get any useful suggestion

#

I'm like, "No that's not what I meant, and I already said that earlier"

supple ether
cinder karma
#

Huh

#

Google works fine for me

supple mountain
#

i think some of it comes down to how you use google

supple ether
#

google only ever gives me horrible slop unless I'm looking for minecraft mods on curseforge

marble jewel
#

Google rarely has the most useful result on the first page for me. SEO has ruined it.

cyan shadow
#

bog standard google sucks, google scholar is chef's kiss

cinder karma
#

(Granted, well, half the time I'm googling things like "sn65lvds048a")

cyan shadow
#

carried me through my thesis fr

cinder karma
#

Which

cyan shadow
#

google scholar

cinder karma
#

Well. Has one valid search result

cyan shadow
#

is good shit

supple mountain
#

i am technically gen z and have adopted the bad habit of just typing "keyword verb question" instead of treating it like pubmed or whatever

cinder karma
supple ether
#

part of it is that I got used to using google's special search syntax stuff years ago and now the only thing that seems to still work is site:

marble jewel
#

I've actually been using Kagi lately

cyan shadow
supple mountain
#

maybe if you use the google search bar special syntax it's still fine

supple ether
cyan shadow
marble jewel
#

I've become a bit of a privacy nut lately, trying to get off of services where I'm the product

supple ether
#

also all the results are just full of SEO slop unless you're searching something super common. (and even then...)

supple mountain
#

anyway, i gotta go do some real work, but i think one of the fr most insidious parts of the AI craze is that people want to use it to bypass learning skills and information

dapper sinew
supple mountain
#

there is no substitute for the human brain when it comes to nuanced thought. agi is science fiction

supple ether
#

this search is not super useful but it is a really great way to discover buried pages
https://search.marginalia.nu/

worn remnant
#

grass fed, free range HTML
these are my people

cyan shadow
#

wrt to Linux... I have many questions and almost all of them are for the purpose of convincing my folks that my next laptop really doesn't need to be a windows machine froggie_sob

supple mountain
#

machine learning tools can be great for learning aids, especially for folks who are on their own, but the goal needs to be critically thinking and learning to do the thing yourself

supple ether
worn remnant
dapper sinew
#

cause, i cant find em anywhere

cinder karma
cyan shadow
cyan shadow
dapper sinew
supple ether
marble jewel
#

rainmeter, that's a name I haven't heard in a long time

dapper sinew
#

i want an SAO theme

#

but they dont exist

#

id litteraly PAY SOMEONE to make one but i aint got the money yet

marble jewel
#

Anyone remember Konfabulator?

supple ether
#

Rainmeter is incredibly easy to make stuff for. there's probably guides on the forums

cyan shadow
# crystal wren (Arch, by the way.)

that's what I told them but "don't be stupid" was my dad's response lmao
he thinks there are too many compat problems
I suppose he would know more than I do but surely it can't be that bad

cinder karma
supple mountain
#

before i deleted twitter, i saw a thread by a phd adjunct somewhere and his whole thing was INSISTING that chatgpt was going to replace statisticians. wow, look at the chat bot making a pivot table for me! wow, watch me click a button to make the computer generate a model (something many statistical software packages already do for the CLI-averse)! wow, watch me ask openai to write the background and discussion sections of my manuscript!

#

the pivot table thing legit had me cackling

crystal wren
supple ether
#

side note but the number of people who are terrified of CLI for no reason is just sad

supple mountain
#

you have a whole doctorate and you're so brain-dead you can't make a PIVOT TABLE?

dapper sinew
#

i use ai for css sometimes... magic that stuff is(or HTML coloring)

cyan shadow
cyan shadow
cinder karma
supple mountain
supple ether
dapper sinew
#

i wanna do a Linux Distro built purely for coding envs

cyan shadow
supple mountain
#

as for the "have chatgpt write the discussion section" thing, statisticians are generally not known for being great communicators

marble jewel
supple mountain
#

hard to be math wizard and word wizard at the same time

#

but like, the AI isn't going to present the paper for you, bud

#

you have to work on that skillset

dapper sinew
#

like python, exept python sucks still in my mind

cyan shadow
marble jewel
#

The CEO of my company called the people in IT the "computer guys"

supple mountain
#

what pissed me off the most about that thread, though, was the idea that statistics is a fully automatable field

#

uh

marble jewel
#

This is as they're laying off a bunch of people, and saying it's our mission to become an AI company

supple mountain
#

the point of the job is not to calculate the p-value, it's to 1) design the experiment so you end up with data that is usable, 2) justify all the assumptions necessary to run the test that calculates the p-value, 3) explain what the fuck is going on, in context, accounting for nuance. a computer can't do that for you

dapper sinew
cyan shadow
dapper sinew
#

im using this search thing forever now

supple ether
cyan shadow
#

deviantart is a strange place, but they have so many rainmeter skins

cyan shadow
#

(I fail to see a reason for this useful thing to not be pinned)

#

(who knows, someone might wander in here one day wanting to make a steam skin or smth)

supple ether
#

oh right steam uses electron now

dapper sinew
#

Me wanted to just do html coloring Cry

#

thanks this will be handy

supple ether
#

seriously though MDN is THE reference for front-end web technologies of any kind

dapper sinew
#

given ive been trying to TURN A STUPID THEME INTO DARK AND ITS NOT WORKING RAAAAAAAAH

candid pilot
#

oh i know someone who's been working on an extension for a website and wanted to make a recolor but the site... doesn't use css variables. so it'd have to replace every occurence of a color manually in the code. please use css variables

supple ether
#

YES PLEASE USE CSS VARS FOR COLORS

#

working without them is like pulling teeth

worn remnant
#

memories of sass/less to compile down to old css for old browsers

supple ether
#

thankfully IE is more or less dead and everyone else supports css vars

candid pilot
#

it's cohost to be clear

cyan shadow
#

now that's no excuse

supple ether
#

wtf

#

cohost is so new why

supple mountain
#

the trial i've been on as a GRA for the last five years is coming to a close, and the extra data collected for the experimental arm was all done and managed by a CRO

#

oh, CROs. what are they even doing over there

cyan shadow
supple mountain
#

i've been told i get to wrangle what some late-career PIs have described as the messiest data they've ever seen

supple ether
#

oh no

supple mountain
#

probably a lot of extremely time-consuming, manual checking of cells

#

i'm looking forward to it as a........ meditative process, let's say

#

since the only other things on the burner are my literal dissertation and screaming about having to find a job

supple ether
#

oh yeah... job hunting right now sucks. good luck <3

gaunt wadi
#

The whole 'constant updates = instability' thing has def not been my experience

#

to be fair the significant issue was that my entire desktop was very broken in a weird way

#

in my experience using non-megacorp/open source/free software requires spending time figuring out problems - with big tech things you're paying for them to figure that out for you

#

so far, doing so has been worth it for me, but it's not for everyone (I say this non-judgmentally, wanting stuff to just work is valid)

pliant snow
#

I use arch for my laptop, desktop, and home server lol

#

The only issues ive ever had is intel has twice broken their own drivers, but it was fixed within a day

#

And i just had to use the LTS kernel and went on like normal

#

Im not sure id recommend it for beginners tho

gaunt wadi
#

yeah I think if anything I have forgotten what it's like to be a beginner

supple ether
#

I mean there are absolutely lower-maintenance distros for linux as well

#

popos is really popular, as well as ubuntu

crystal wren
#

And now I want to switch back to Arch...

worn remnant
crystal wren
#

Yeah, it's definitely not specific to Arch!

worn remnant
supple ether
#

lmao

worn remnant
#

(i fully understand how petty this is, do not @ me)

supple ether
#

valid concern

crystal wren
#

I still just feel like Debian is a solid default for most people.

#

I do miss Slackware, though...

pliant snow
frosty flower
#

Hey there!
Does anyone know how to update a mod? ^^°

I really love the Social Network mod, but it's not working with the 1.6 anymore. Could anyone maybe explain me how to do it?
The creator isn't active anymore and I really miss that mod in my game so bad.
I'm not skilled in programming at all, but I thought maybe it's not too hard, as I would just try to update it >.<

It's this one:
https://www.nexusmods.com/stardewvalley/mods/8255?tab=description

Nexus Mods :: Stardew Valley

Becoming friend with a NPC will affect your relationship with their family and friends, making the social aspect of the game feels more alive!! When you gain/lose a heart with a NPC, you will gain/los

sand frost
#

I want my things to just work

frosty flower
#

Nope, but if it's not too hard I thought it could be possible to do it. Sorry if the idea did sound stupid

supple ether
frosty flower
gaunt wadi
fleet oriole
#

Looking the code, doing some stuff, thought, This is a very specific number.

if (monster == null && this.generationRandom.NextDouble() <= 0.20000000298023224)
{
                monster = new HotHead(Utility.PointToVector2(spawn_point) * 64f);
}
#

like, why not 0.2???

supple ether
thin estuary
#

because it's not possible to represent

supple ether
fleet oriole
#

That is wild!!!

#

Thanks!!!

#

I bet this makes banking software fun!

supple ether
#

banking software worth its salt uses fixed point rather than floating point

cinder karma
#

Or Decimal

supple ether
#

isn't Decimal just a particular flavor of fixed point number?

cinder karma
#

It Depends TM

supple ether
#

oh no

thin estuary
#

and if they do, i'm out

safe dragon
#

can confirm, I don't think we have a single float in our entire codebase at work

#

it's all decimals and integers

#

decimals in the database too

#

and we still deal with the nightmare that is rounding errors every day

#

but at least with don't have to deal with floating point errors

ivory shadow
#

If you're working with currency and you don't have a good decimal type, just use integers.

thin estuary
#

yep. store cents

ivory shadow
#

If you ever use float for currency you are officially crazy

thin estuary
#

this somehow reminded me of the time i was trying to do some C(++?) for Nintendo DS homebrew, where floats were super slow, so it was recommended to use integers instead. every 8 a single pixel on screen, for example

safe dragon
#

storing cents does work as long as you're not dealing with something that should be able to handle partial cents like interest rates

ivory shadow
#

Thanks I hate it

safe dragon
#

you could in theory scale up the integer by another factor and still use an integer

#

which is probably the performant way to do it

#

using a decimal type is easier though and has more tools available out of the box

#

especially when dealing with rounding error differences that you have to redivide across the transaction for something

ivory shadow
#

Using a decimal type is just using integers with the compiler doing magic behind the scenes.

safe dragon
#

I can't understate how incredibly annoying rounding errors are to deal with in a financial application

ivory shadow
#

All the fun of a rounding error but now you have the kind of shitty people who only care about money whining about it

marble jewel
#

All currency should be measured as a bigint with satoshi as the unit /s

safe dragon
#

especially annoying are things that have to be divided among several items in proportion to their value. Like if you get 150 loyalty points for a transaction but then you return one of the items in that transaction, some of our clients want a part of your loyalty points to be taken away again and then you have to know what proportion of the transaction was returned. And even more fun that if they then later return the rest of that transaction that you don't end up accidentally subtracting one more or one less loyalty point that they originally got due to rounding

supple ether
#

all currency should be unsigned longs and measured as a decimal percentage of total money that exists

#

there are no possible problems this could cause

ivory shadow
#

I'm glad I don't deal with financial software. I have a couple friends who work at Squarespace and some of the stories... yeah no thanks

crystal wren
#

SquareSpace, you mean the new... owner (runner? Host? Manager?) of Google's custom domains out of nowhere?

supple ether
#

uuugh dont remind me

thin estuary
#

i've worked in such software a bit... we had a backend, an iOS app, and an Android app... and we've had taxes, tips, split payments, etc to work with
and of course the calculations were getting out of sync between the platforms

safe dragon
#

the amount of bugs we have where its just that we have breakdown of the amount of tax someone paid in each different tax bracket but then due to some of the calculations not being available cached we have to recalculate and accidentally end up with 1 cent not being accounted for. Then we have some customer very angry again that their invoice's tax breakdown is 1 cent off from the total (even if the actual totals given are correct)

ivory shadow
#

At least it was a good reason to migrate my domains to Cloudflare

marble jewel
#

Why did the internet ever leave Geocities? That was enough for everything imaginable

crystal wren
#

Oh no, but Cloudflare!

#

They're in some hot water lately too.

gaunt wadi
#

Cloudflare is also an evil megacorp SDVpufferpensive

safe dragon
#

I use cloudflare soz

supple ether
ivory shadow
supple ether
#

the corporate internet must die

gaunt wadi
#

I use github and now squarespace

ivory shadow
#

You're not gonna have a registrar that isn't a corporate thing

thin estuary
gaunt wadi
#

evil megacorps are hard to avoid, because they worm their way into everything

ivory shadow
#

At least Cloudflare already handles my DNS

supple ether
ivory shadow
#

Because JS famously evaluates the same everywhere

supple ether
#

SDViconyobaBEGONE FOUL DEMON! THE POWER OF YOBA COMPELS YOUSDViconyoba

crystal wren
#

Domains are the one thing I wouldn't trust Cloudflare with in a million years at this point. Everything else on the free plan, sure.

supple ether
thin estuary
#

that was 10 years ago, i hope they changed that logic since

gaunt wadi
#

seo has ruined every single internet search already

ivory shadow
#

My domains are mostly on iwantmyname right now I think? Just one on Cloudflare, formerly on Google

crystal wren
#

I just like Gandi personally.

safe dragon
thin estuary
#

we needed our stuff to work offline too

safe dragon
#

our cash registers are the same unfortunately

lethal walrus
crystal wren
safe dragon
#

cash registers need to continue working when the internet dies and if the electricity dies it needs to flawlessly come back online later as if absolutely nothing happened

#

it's a difficult problem

gaunt wadi
#

easy solution actually

#

abolish money

crystal wren
#

Just trust it blindl-

#

That's better.

gaunt wadi
#

it really is

safe dragon
#

smart

pliant snow
#

I dont think i have anything tied to cloudflare anymore

marble jewel
#

Wait, I'm supposed to leave Cloudflare? I have them hosting all of my domains currently

thin estuary
#

i have no clue how to move a domain somewhere else anyway

marble jewel
#

I have 8 domains, which I actually moved from NameCheap to Cloudflare

thin estuary
#

i have Google Suite set up on my domain, and i'd be so scared of screwing that up

gaunt wadi
#

you don't have to, no one can avoid bad companies entirely, me complaining about it isn't to shame people who still use them, more at the state of the world

marble jewel
#

I'm just not in the loop about why, need to do some searching

ivory shadow
#

Cloudflare does provide some pretty neat services.

gaunt wadi
#

do what you can, don't be mean to people who don't

safe dragon
#

fun fact I can say cause it's not true anymore. For like 12 years our cash registers had a file with all the login details in plain text for every cashier so they could still log in when the internet died

gaunt wadi
#

anyway I use proton mail now 😎 it's great 😎

ivory shadow
#

It's just frustrating because big companies are bad.

marble jewel
#

Same here, I moved all of my custom domains from being hosted on FastMail to Proton

gaunt wadi
#

dang i love radicalizing my local farming simulator video game community chat room

safe dragon
#

I too use protonmail

marble jewel
#

I have the Proton family plan, and use their VPN, Email, Calendar, and File storage

safe dragon
#

and once proton ends up being evil I will move once again

gaunt wadi
#

such is the cycle of life

marble jewel
#

How about instead of moving, you just grow an evil mustache and join them?

safe dragon
#

unfortunately I grow a very poor mustache

gaunt wadi
supple ether
safe dragon
#

it has a lot of issues yeah

gaunt wadi
#

yeah, I was already concerned I'd have issues using proton mail

supple ether
#

I have a raspi I could use that in theory

gaunt wadi
#

it is really that google doesn't like it, google serves like 70% of all email traffic

safe dragon
#

your emails will often just end up in people's spam folder

supple ether
#

surely there's nothing wrong with wren@<some_ip>? surely that is not at all sketchy? /jk

crystal wren
marble jewel
#

Email is the one thing that I never went the self-hosted route with. Too much trouble than it's worth.

crystal wren
#

(Sorry, enterprise plan.)

marble jewel
#

And I self-host a lot

safe dragon
#

I don't even use that many things

gaunt wadi
#

wow neat

ivory shadow
#

Honestly I'm surprised one of our projects is coasting by on Cloudflare's cheaper plan.

gaunt wadi
#

what dashboard/service is that?

supple ether
#

I've been thinking of setting up self-hosting for my ebook library and maybe a personal internet radio

marble jewel
#

It's called Homepage

safe dragon
#

got a fancy dashboard while my server is just a funky thing I ssh into

supple ether
marble jewel
#

It's really simple, you just setup some yaml config to point to each of your services

pliant snow
#

I did set up a personal domain for email, so if i do switch again i can keep the same email address

marble jewel
#

Before Protonmail and Fastmail, I was using Microsoft's Outlook hosted emails and then they discontinued that

crystal wren
#

I have a few custom email addresses, and one specifically for E4ward use for disposable throwaway virtual mailboxes.

gaunt wadi
ivory shadow
#

I'm involved with a project that sees about 100 TB of bandwidth a month, but it's across 10 billion+ requests, and Cloudflare seems just fine with having us on the basic pro plan. I know it's not a ton in the grand scheme of things, I've just expected them to be annoying about it because... publicly traded company.

gaunt wadi
marble jewel
#

Every company -
Phase 1: Do no evil
Phase 2: Profit
Phase 3: Evil

gaunt wadi
crystal wren
ivory shadow
#

I have prepared a simple flow chart.

crystal wren
#

Yes.

pliant snow
#

Basically

#

Its weird how i cant delete custom emails with protonmail tho, ive got a few i dont really plan on using

pliant snow
gaunt wadi
safe dragon
#

oh no

pliant snow
#

Profits are up cat!

#

Thru the roof!

gaunt wadi
#

profits were a mistake

crystal wren
#

WHAT?

pliant snow
crystal wren
gaunt wadi
#

do it!!

pliant snow
#

I think it happened this week

ivory shadow
crystal wren
ivory shadow
#

Good news: Raspberry Pi doesn't have a monopoly on lil computers

marble jewel
#

Yeah, was about to say that. They're no longer the only game in town.

ivory shadow
#

Honestly you haven't been able to buy them at a reasonable price in forever anyway

#

Feels kind of like little of value was lost honestly

marble jewel
#

There are arguably better options than Raspberry Pi that just aren't the brand name

pliant snow
#

They have some of the best arm support, but yeah theyre not really cost effective

gaunt wadi
marble jewel
#

At least Nvidia wasn't able to acquire ARM, that would have been very upsetting

ivory shadow
#

Honestly all my little hacking projects lately have been on ESP32-S3 boards too, instead of using RasPi's

lethal walrus
ivory shadow
#

I am so ready to be able to buy a Snapdragon based system to run all my home server stuff on.

pliant snow
#

Speaking of which

#

If someone knows of a board/microprocessor that has zigbee support, that would be great. I use zigbee for a bunch of smart home stuff, and i want to be able to create my own things without having to put them on wifi

#

But i havent found anything

ivory shadow
#

Does an ESP32-C6 not support zigbee?

#

Yeah, a C6 should.

The ESP32-C6 SoC (System on Chip) supports Wi-Fi 6 in 2.4 GHz band, Bluetooth 5, Zigbee 3.0 and Thread 1.3. It consists of a high-performance (HP) 32-bit RISC-V processor, an low-power (LP) 32-bit RISC-V processor, wireless baseband and MAC (Wi-Fi, Bluetooth LE, and 802.15.4), RF module, and numerous peripherals. Wi-Fi, Bluetooth and 802.15.4 coexist with each other and share the same antenna.

pliant snow
#

I honestly dont know much about esp32

#

.img esp32-c6

heavy daggerBOT
pliant snow
#

Oh maybe thats exactly what i want

ivory shadow
#

You can get a dev kit for like 10 USD, they are very low power, programmable via USB.

gaunt wadi
#

they don't run linux right? only rtos's?

ivory shadow
#

Yeah.

pliant snow
#

Im used to arduino or rpi pico

#

Whats a rtos

#

Real time is

ivory shadow
#

Yeah.

pliant snow
#

I did it

ivory shadow
#

If you're used to arduino, then you're set.

gaunt wadi
#

same as an arduino, yeah

pliant snow
#

Is it same arduino c?

#

Or its own c api i guess

marble jewel
#

I can't wait to get into more home automation stuff. I've been researching smart light switches, but I really want to wait until there is a good Matter/Thread one.

pliant snow
#

Ive been very happy with zigbee

#

Matter will come in only 15 years

gaunt wadi
#

is zigbee worth it over wifi? all of mine is wifi and works fine

ivory shadow
#

I'd imagine so.

marble jewel
#

If I didn't care about having my light switches augmenting my thread network, I'd probably just get Lutron switches

ivory shadow
#

Lower power + not poluting wifi

gaunt wadi
#

I assume they use less power, but I don't know any other benefits

ivory shadow
#

Granted it's less of an issue with modern wifi tech, but you still want to minimize traffic on those bands for the best performance.

pliant snow
#

Benefits are not having 100 things on wifi

#

Not having to use their app once to get them onto wifi

#

Not knowing who theyre talking to

ivory shadow
#

Your light switches don't need IP addresses and HTTP servers

lethal walrus
#

even the arduino IDE

pliant snow
#

I also have my zigbee stuff forward to MQTT, which is can parse much easier

#

Zigbee is all local

gaunt wadi
deep drum
#

@silk narwhal
In a powershell window

# Go to user home
cd ~
# Create ssh directory. It's ok if this exists, don't forget the '.' at the beginning
mkdir .ssh
cd .ssh
# Create your key, just press <enter> through all the prompts
ssh-keygen -t ed25519 -C "GitHub Key"
# Print the public key, make sure it's the public key!
cat id_ed25519.pub

Copy the output and add an ssh key to your github
https://github.com/settings/ssh/new

pliant snow
#

Ive replaced a few switches

#

Theyre nicer than bulbs since they have a physical interface still

marble jewel
ivory shadow
#

If/when I do smart home stuff, I will absolutely be replacing switches instead of bulbs.

#

Replacing lightbulbs seems so stupid given the failure rate of bulbs.

#

Not to mention that you can then turn off the switch and oops, no more worky

pliant snow
#

Its a lot easier and cheaper tbf, but theres benefits yeah

ivory shadow
#

My only issue with smart switches is that I'd need a lot of three way switches and, last time I looked at least, they... didn't do that part so well.

marble jewel
# marble jewel I've looked into dozens of options, but what I like about Lutron's is they have ...

Here's a video I watched about it. Tempted to go with this if a better option doesn't come up anytime soon https://www.youtube.com/watch?v=bHxIi79tRG0

Lutron just announced new smart light switches that solve a LOT of the problems with the older Caseta switches!
Lutron Diva Smart Dimmer switches are available at Home Depot: https://homedepot.sjv.io/a1gx1Y
(affiliate link)

DISCOVER MORE
I just spent thousands on Lutron: https://youtu.be/GBWtmJPCyGc
Smart Light Switches- I'm Rethinking EVERYTHI...

▶ Play video
crystal wren
marble jewel
#

I just don't like the unresponsiveness of holding down up/down on the switch to adjust dimming

thin estuary
#

but i'm not sure i can recommend them

#

i have 2 of these... 1 is perfectly fine.

#

the other one... discharges any batteries i give it within a week

#

the other one has been working for half a year if not longer now, and is still on the same batteries

marble jewel
#

That looks cool, but batteries are a deal breaker for what I'm looking for

thin estuary
#

i really need to message their support, but i just never felt like doing it

marble jewel
#

I'm trying to replace the existing switches in my house

pliant snow
#

I wrote a blog post about my smart home, I completely forgot

marble jewel
#

My only problem with Lutron is it needs a Hub, and I'm trying to reduce my hubs

thin estuary
#

yeah... i have two hubs right now

pliant snow
#

Home assistant

marble jewel
#

Although I suppose, once I set it up, I'll no longer be using the Hue hub

pliant snow
#

Remove hub

marble jewel
#

Lutron hub integrates with Home Assistant, but it's still required for their switches

thin estuary
#

Philips Hue hub, Flic hub... and then my server that runs HomeBridge

crystal wren
#

I still want network-controlled lights that I don't need to worry about being on wifi.

marble jewel
#

They don't use standards, it's proprietary

pliant snow
#

Then what does the integration do?

silk narwhal
silk narwhal
#

Gotcha

ivory shadow
#

I do like the idea of a rotary switch a lot. It works great for non-smart dimmers. But having one that needs batteries is ridiculous.

marble jewel
#

The Lutron Hub makes their switches controllable from Home Assistant, Alexa, Google, HomeKit, etc. but it's responsible for communication between the switches.

deep drum
#

@silk narwhal The stuff from git config -l is all the configuration options for how you use git on your computer, like who to mark as the author when making a commit (name + email)
The credentials come from the actual protocol you use to access the repository
If you cloned with https://, then you'll be asked for your username and password
If you cloned with ssh:// it'll try to use your ssh key
(btw you'll need to update your remote for the repos you use if you start using an ssh key)
In your directory where you have the git repo:
git remote --set-url origin <the ssh url not the https url>

silk narwhal
#

Ahhh, okay

thin estuary
deep drum
#

if you have an ssh key, you should clone with the ssh method

ivory shadow
#

Yeah, that's understandable. I am fortunate enough to own my home while a lot of people don't.

#

Fuck landlords

crystal wren
#

My favourite thing about my git config: commit.gpgsign=true.

marble jewel
#

I own a home now, but I've done "apartment hacks" prior to owing a home

lethal walrus
ivory shadow
#

Wow look at this overachiever who took the time to set up signing for commits

crystal wren
deep drum
#

imma keep it a stack with you I think I lost my gpg key

#

like a year ago

pliant snow
#

Yes... i, a renter, have not replaced my light switches

deep drum
#

I don't remember what computer it's on

pliant snow
#

No sir

marble jewel
#

Like, I've gotten away with anything reversible that doesn't cause damage at different places

crystal wren
gaunt wadi
#

dang what an asshole

#

I don't get how ceos can be so uncaring/unkind/mean to people

lethal walrus
#

there's a reply after it but you need to be signed in to see the thrread

gaunt wadi
#

does the money really alter your world view that hard

crystal wren
#

I think it's more that it's mostly the type of person who doesn't need to change to become that who becomes a CEO of a massive corporation.

crystal wren
#

Rather than becoming one changing people.

pliant snow
#

Heres the secret

#

You dont become a ceo unless youre already an ass

gaunt wadi
pliant snow
#

Oh you beat me to it

ivory shadow
#

I absolutely understand needing to force people onto a private IP in that situation to protect all the shared IP users. But I don't understand why it's so damn expensive for Cloudflare to give you a private IP. IP addresses are effectively a software thing and they already have crazy routing tables

silk narwhal
crystal wren
#

Yeah, requiring BYOIP there is 100% fine.

#

But the way they went about it is... horrendous.

ivory shadow
#

Having a private IP should be like a... $5 a month thing not a $120,000 thing

#

The requests are going to the same machines anyway just with a different number

crystal wren
#

Oh and Pillow, did you see Raspberry Pi going public?

#

That's fun.

lethal walrus
#

mhm

deep drum
silk narwhal
#

Mm, I'm getting either fatal: not a git repository (or any of the parent directories): .git or error: unknown option 'set-url' when I try stuff that I think are the git repo directory

pliant snow
#

Sounds like its not a git repo

deep drum
#

Oh wait I typed it wrong

lethal walrus
#

The git repo is the directory with a .git folder

deep drum
#

git remote set-url origin <url>

#

You don’t need the 2 dashes I put

silk narwhal
#

Ahh gotcha

deep drum
gaunt wadi
silk narwhal
#

Going off the adage that no news is good news, seems like it worked! yay

gaunt wadi
#

i.e. in regular switches down is off and up is on, but with those it can change?

marble jewel
gaunt wadi
#

ahh I see

thin estuary
#

so more like buttons

marble jewel
#

The rail part is like a hardcoded presetting that you can override with the app

silk narwhal
#

Seems right, it's got the url I put in

deep drum
#

Yahoo

marble jewel
#

It has a traditional look that fits in well without looking too smart, which is something I like about it

deep drum
#

Then just git fetch —all to make sure things work

cyan shadow
silk narwhal
deep drum
#

Yes

#

I’m on my phone lol

silk narwhal
#

I'm getting something about the authenticity of the host not being established

#

Ah, looked it up and it seems fine

crystal wren
#

If you don't get that for the very first time you ssh into anything, that's when you should be slightly spooked.

cyan shadow
crystal wren
#

And yes, it absolutely bloody is.

cyan shadow
#

I've been meaning to mess around with a raspi for years though

cyan shadow
deep drum
silk narwhal
#

Yippee!

silk narwhal
deep drum
#

Whatever branch you’re on in git status

#

Don’t run push -f until you’re sure everything is ok, I don’t want to be responsible for losing all your work lol

#

The f is for force

#

Everything before that is able to be undone

silk narwhal
#

It's fine! I've got the actual fixes on a local copy and don't care about the readme

deep drum
#

Ok cool lol

silk narwhal
#

I made the changes to the readme on the github website itself, so it looks like my local stuff is still on the commit before changing the readme

silk narwhal
# deep drum Ok cool lol

Big success!! Thank you so much, now to hope I don't forget all this next time I screw up ahaha (the messages will still be here I suppose)

deep drum
#

Also for the future you don’t have to make that temp branch, just wanted you to have a backup in case something went wrong

gaunt wadi
#

seo rant: i look up words to get the definition and i get fuckin brand names for things

#

makes me angery

frosty echo
gaunt wadi
#

i would not like to include "define" in my search query or visit a site for definitions

#

I want products and brands to be abolished

#

thank you

deep drum
safe dragon
#

not an seo rant but sometimes when I search something for a game I'm playing I forget the word is totally normal and then none of my results are related to my game.

Like I'll search "clockwork" with no further words fully expecting to be given the runescape wiki page for clockwork

pliant snow
# gaunt wadi I want products and brands to be abolished

Here at AquoSoft, we understand your frustrations. We too experience human emotions towards things on a daily basis. That's why we created AquoAI™️, the all-in-one solution to literally everything. With AquoAI™️, all of your problems will be solved by leveraging the power of the internet in its infinite wisdom.

safe dragon
#

incredible

#

what does a world without products even mean

#

just... nothing

#

nothing that is produced in any sense of the word

pliant snow
#

I'm glad you asked Crumble. With AquoAI™️ tangable objects are a thing of the past, because you won't own any. All of your physical items and cherished memories will reside inside the Cloudova™️ where it can be harnessed for all humanity to enjoy

cinder karma
#

Sata USB enclosure under ten dollars

#

That was for AquoAI

pliant snow
#

Sure thing citizen! With the power of AquoAI™️ your wish is our command!

#

Processing...

#

Processing...

supple ether
pliant snow
#

Processing...

#

Done!

#

Here is your Sata USB enclosure under ten dollars

cinder karma
#

That's amazing

pliant snow
#

You're right, with AquoAI™️, everything really is amAIng!

#

That'll be $39.95/month

sonic mirage
#

Only the best version control

pliant snow
#

youre an animal

sonic mirage
#

Woah there pardner.. not my doing. Colleague's shenanigan's.

#

I'm not a monster

#

My favorites are the ones with the 'a' for - ostensibly - alpha that also are a beta or final

#

Plus using dates that don't keep them in any kind of natural order

sand frost
#

I’ve seen worse tbh

#

My grad school collaborator liked to forget what his folder names did, and he never put dates

sonic mirage
#

ISO dates or don't bother imo

safe dragon
#

what do those numbers even represent

#

I thought dates but that makes no sense

#

oh wait is it american date format

#

why would you ever use the american date format for files names man. Use the ISO format cause it would correct be ordered by date even when sorting by alphabet

#

in this case 080125 for the top one hc_pensive 2008 January 25

pliant snow
#

how are those dates

#

are these files from 2008?

#

YYYYMMDD is the way to go

marble jewel
#

The best versioning system needs a few "Filename (Copy) (Copy)" in them as well

safe dragon
#

_1

#

I'd assume they're dates from 2008/2009...

#

idk what else they could possibly be

pliant snow
#

HHMMSS

#

really quick iteration time

safe dragon
#

and they started at 1 am

sand frost
#

I mean MMDDYY does sort by date within a year

#

I’ve considered changing my folder date system to sort better, I’m using MM/DD/YY like an American heathen

cinder karma
#

Year Month Day or death

safe dragon
#

YYMMDD or YYYYMMDD the only two options

cinder karma
#

Crumble

#

I'm gonna make my system do YYMMDD or MMDDYY or DDMMYY

#

But randomly

#

Chooses a different one each time.

safe dragon
#

gotta get more creative, YMYDMD

#

2018-05-13 is now 108153

thin estuary
#

md5(MMDDYY)

safe dragon
#

at that point you might as well use uuid v4 for your names hc_pensive

#

not uuid v6 cause that actually encodes a timestamp

#

nor 7 I suppose

supple ether
#

Just use epoch time in base64

cinder karma
#

Got it

#

Using epoch time, cast to uint8

sonic mirage
# pliant snow are these files from 2008?

Yes, from 2008. I have to catalog someone's files so we can get it under actual version control. And this is some of the best I've found so far, believe it or not, where they're all in the same folder with somewhat of a versioning format.

#

Plenty of other codebases where there's just endless copies of folders with nothing renamed; just some differing modified dates

pliant snow
#

Just throw a folder in as a commit, then the next one as the next commit, let versional control figure out its own stuff

#

Idk if you can spoof the date tho, that would be neat

safe dragon
#

I had to do a lot of funky git stuff today

#

I both did a git revert and a cherrypick

#

unrelated to each other

lethal walrus
#

weirdest git thing i've ever done is delete a file from history

gaunt wadi
#

strong desire to have smart window shades now

#

ignoring the fact that I don't own a home/cannot install them SDVpuffertriumph

pliant snow
#

I want some so badly

#

They aint cheap tho

gaunt wadi
#

they're not thaaaaaaaaat expensive in the grand scheme of things

#

but yes they are expensive

gaunt wadi
pliant snow
#

So long as you put the old ones back...

gaunt wadi
#

maybe I should buy a house

#

aquo do you want to go in on a house together

pliant snow
#

Yeah ill do it

#

Smart shades cant phone home if dns doesnt work SDVpuffersmart

safe dragon
#

wait what's the point of smart window shades

#

what do they do

pliant snow
#

They go up

lethal walrus
#

close automatically ig

pliant snow
#

Without me touching them

#

Like magic

safe dragon
#

wow saving yourself a 3 second excursion to a button

#

my mom does have some shades thing that detects when it's really sunny and then automatically goes down

#

that's nice

#

but I assume that's not what it means cause smart seems to have become synonymous with connected to your phone

pliant snow
#

I would set them up to open/close at certain time of day, have phone control, ideally detect brightness

#

Right now, I have a button that if you push it, all the lights in the apartment turn off

#

its great

gaunt wadi
pliant snow
#

Stand in living room, press button on phone, and all the shades open in unison

#

light shines down upon you like the God you are

gaunt wadi
#

presence detector: I walk into my office and sit in my desk and all the shades open

#

the universe beckons to my call

#

my whims are reality

pliant snow
#

I got a presence detector, the lights in my office come on now

gaunt wadi
#

oh shit

#

which one?

pliant snow
#

It was like $7 at ikea

gaunt wadi
#

oh shit

pliant snow
#

ikea lowkey has p good stuff

#

my button is from there too

safe dragon
#

this is one of those things where I am of the boomer mentality and just want it to be its own separate thing with some physical switch/button I can press. I don't want smart lights or smart blinds or a smart home heating system or all that stuff

gaunt wadi
#

don't boomer yourself people have different interests without being boomer

pliant snow
#

the secret is i dont use any of its advertised features

gaunt wadi
#

also the beauty is that you have physical switches too

pliant snow
#

I'm the one giving it instructions on when to do stuff

safe dragon
pliant snow
#

when i press the lightswitch lol

gaunt wadi
#

every time aquo blinks, to save power, and then on again when his eyes open

safe dragon
#

ah yes

pliant snow
#

i didnt get around to programming that

gaunt wadi
#

power bill: $0

safe dragon
#

tbh I don't know how to do it

pliant snow
#

Yeah, it detects the room is empty if i dont move enough

#

so instead its just pointed at the door

gaunt wadi
safe dragon
#

we used to have presence detectors for the lights at the office and without fail it'd turn off a few times when I was there cause I don't really move while at my desk

pliant snow
safe dragon
#

so I just gotta start waving my arms or something for the lights to go back on

pliant snow
#

If i actually had a house i wouldve done it

#

but i dont wanna mess around with the apartment shades...

gaunt wadi
#

buying a house to have somewhere to install smart shades

pliant snow
#

plus if i move who knows if the windows would be the same sizes

gaunt wadi
#

yeah, same, they're pretty in the wall

safe dragon
#

for blinds just give ma funky chord I can pull to move it up or down it doesn't need access to electricity at all

#

pure mechnical

pliant snow
#

ive got...

gaunt wadi
pliant snow
#

thats the older one i think

#

mine is more square

gaunt wadi
#

it does say last chance to buy/assume it's no longer in production

pliant snow
#

$9

gaunt wadi
#

oh shit

#

do these need a hub?

#

or can HA talk to them natively

pliant snow
#

I use home assistant, with a zigbee dongle yeah

gaunt wadi
#

hot damn

pliant snow
#

you'll need a USB antenna thing to have zigbee support, but they're like $30 and then they work with everything

#

I've got...

#

9 zigbee switches

#

8 plugs

#

motion sensor

#

door sensor

#

button thing

#

air quality sensor

gaunt wadi
#

omg

#

which door sensor do you have I want one of those too

pliant snow
#

Mine is thru aqara, i dont necessarily recommend it, it really likes to disconnect and not play well

#

I think ikeas got one, but i havent used it

marble jewel
#

I used to use the Nest Secure door sensors SDViconrip

gaunt wadi
#

oooh they do

marble jewel
#

Those were discontinued, but otherwise worked well for me for years

#

So now I'm in the market for a replacement

#

Also had them on my windows

pliant snow
#

The biggest brain move I made was some sensors are only one way and usually require some proprietary hub to work, like weather sensors

marble jewel
#

I have Ring on my windows, but I want to replace them. Looking for something I can self host without a subscription.

pliant snow
#

turns out all of those typically communicate on the same frequency band, and if you get a USB antenna, you can just pick up their signals

gaunt wadi
#

that's hacker shit

#

real hacker shit

pliant snow
#

its great

#

at my old apartment, I used to pick up tire pressure sensors as they drove by, since they also used the same frequency

gaunt wadi
marble jewel
#

The holy grail of home automation is having accurate presence detection that knows who is where

safe dragon
#

it's also mildly creepy

marble jewel
#

But like everything I can possibly want to automate is only limited by my ability to know where I'm at in my house, and for it to be responsive enough

pliant snow
#

the holy grail of home automation is being able to turn on the ceiling fan without getting up

#

if you want to impress the lady in your life, give her a button to turn on a ceiling fan

gaunt wadi
#

what zigbee dongle do you have mr quova

pliant snow
#

itssss

safe dragon
#

I'd feel rich just having a ceiling fan

pliant snow
#

If only I was a complete nerd and wrote an actual blog post about my home set up

#

It needs more links to the actual hardware tho, I might add that later

gaunt wadi
#

omg incredible

#

how did I not know you did that

marble jewel
#

We need a smart home enthusiasts channel

pliant snow
#

I do many things I dont advertise well lol

#

Yeah I'm gonna add more pictures and links this afternoon tho, its a bit sparse rn

gaunt wadi
#

neat I will be eager to read it

#

i have planned to blog more for a while but life gets in the way

marble jewel
#

I really like the YT channel Smart Home Solver. I get a lot of ideas from him.

gaunt wadi
pliant snow
#

I did buy the RSP32-C6 as well, hopefully I'll be able to write my own Zigbee firmware for stuff

gaunt wadi
#

@ green beans

pliant snow
#

I wondered why I didnt know about it before -- it only got support in the arduino libraries 2 weeks ago lol

safe dragon
pliant snow
#

Can i make a thread

#

no

#

dang

#

can i give myself the permissions to make threads...

gaunt wadi
#

I think so

pliant snow
#

ugh no

safe dragon
#

can your bot make one for you

pliant snow
#

...interesting

gaunt wadi
#

tbh just ask the green beans

pliant snow
#

this sounds like a gross violation of authority

safe dragon
#

yes

gaunt wadi
#

privelage escalation would not go over well, yeah

pliant snow
#

is that part of the charm? maybe

gaunt wadi
#

oh for sure

safe dragon
#

it is

pliant snow
#

but i also cant be bothered

safe dragon
#

a bunch of ex junimo talking about how it'd be fun to violate the rules

lethal walrus
#

sounds fun to make the bots do things they shouldn't, again

safe dragon
#

hey aquo can I borrow your bot's api key for a prank...

pliant snow
#

whats the worst that could happen

safe dragon
#

well assuming permissions are set up correctly now

#

not quite as much as last time

thin estuary
#

i can't stop thinking about that guy who discovered an exploit that allowed anyone to edit any device issued by their ISP, to any user, remotely

#

This is truly one of the craziest scenarios I've ever seen. An API endpoint left wide open lets you hack anyone's router.

Thanks for letting me make this video Sam!

Article: https://samcurry.net/hacking-millions-of-modems
Sam Curry: https://twitter.com/samwcyo

🏫 COURSES 🏫 Learn to code in C at https://lowlevel.academy
👕 MERCH 👕 Like the shirt...

▶ Play video
lethal walrus
#

that sounds.. not good

thin estuary
#

and get anyone's personal data while they're at it, i guess

ivory shadow
thin estuary
pliant snow
#

oh i read that

#

it did not inspire confidence in their ISP

safe dragon
#

Things like these make me wonder how incredibly unsafe our work software is if anyone knowledgeable actually cared enough to try and find a vulnerability

#

we get pen testers but I know for certain they keep missing things that I know about

lethal walrus
#

oh that's quite a major vulnerability

safe dragon
#

well ok I don't think we have this...

gaunt wadi
#

that vulnerability is just that they didn't have any authorization or authentication on the api?

marble jewel
#

@cinder karma I'm about to play with electricity, please tell me how I don't kill myself

gaunt wadi
#

incredible

safe dragon
#

the actual vulnerability seems fairly basic

#

it's not some crazy manipulation

lethal walrus
#

well, major in impact, rather than 'size'

safe dragon
#

yeah

#

it's interesting

#

idk how you end up accidentally disabling authorizaton on your endpoints

#

we have authorization on even for debug builds

lethal walrus
#

might have just assumed nobody would find the endpoints in the first place

safe dragon
#

this does make me feel validated in my hesitance to go with the client side framework logic we were doing at first at work

marble jewel
#

I really want to up my DIY game, but I'm terribly afraid of things that can electrocute me or chop my appendages off

pliant snow
#

Maybe start with just a lightbulb

safe dragon
#

I'll start with the lock to my house

#

no fallback

cinder karma
#

Please tell me you're not planning on playing with wall voltage

#

What are you doing

marble jewel
#

Replacing a light switch

cinder karma
#

Oh, nbd

#

Make sure to cut power at the breaker

marble jewel
#

Yeah I think I'm prepared, I know the breaker to switch, I have a multimeter, electrician's glove

ivory shadow
#

Installing a smart switch?

#

Replacing switches is pretty easy stuff.

trim relic
#

And that was the last time we ever heard from Matt 🙁

ivory shadow
#

eLeCtrocutedMatt

marble jewel
supple mountain
#

speaking of qol features in IDEs

#

say a prayer tonight to all the statisticians who are within a metaphorical arm's reach of the fda because sas looks like this

#

it's such an eyesore and you can't change it

marble jewel
#

I'm glad Databricks added dark mode, made staring at a screen for hours a day at work much more tolerable

supple mountain
#

rstudio is awesome by comparison but now i'm gonna be checking the forums every few months to see if they ever add the rainbow bracket thing because people have asked for it

deep drum
#
public class Program
{
    private const int NumIterations = 1000000000;
    private Stopwatch _stopwatch = new();

    public static void StaticAddTwoRef(ref int input)
    {
        input += 2;
    }

    public static int StaticAddTwoRet(int input)
    {
        return input + 2;
    }

    void AddTwoRef(ref int input)
    {
        input += 2;
    }

    int AddTwoRet(int input)
    {
        return input + 2;
    }

    public static void Main(string[] args)
    {
        new Program().RunTests();
    }

    void RunTests()
    {
        RunTestStaticRef();
        RunTestStaticRet();
        RunTestInstanceRef();
        RunTestInstanceRet();
    }

    void RunTestStaticRef()
    {
        var num = 0;
        _stopwatch.Restart();
        for (var i = 0; i < NumIterations; i++)
        {
            StaticAddTwoRef(ref num);
        }
        _stopwatch.Stop();
        Console.WriteLine($"Static Ref Finished. Time: {_stopwatch.ElapsedMilliseconds}ms. Num: {num}");
    }

    void RunTestStaticRet()
    {
        var num = 0;
        _stopwatch.Restart();
        for (var i = 0; i < NumIterations; i++)
        {
            num = StaticAddTwoRet(num);
        }
        _stopwatch.Stop();
        Console.WriteLine($"Static Ret Finished. Time: {_stopwatch.ElapsedMilliseconds}ms. Num: {num}");
    }

    void RunTestInstanceRef()
    {
        var num = 0;
        _stopwatch.Restart();
        for (var i = 0; i < NumIterations; i++)
        {
            AddTwoRef(ref num);
        }
        _stopwatch.Stop();
        Console.WriteLine($"Instance Ref Finished. Time: {_stopwatch.ElapsedMilliseconds}ms. Num: {num}");
    }

    void RunTestInstanceRet()
    {
        var num = 0;
        _stopwatch.Restart();
        for (var i = 0; i < NumIterations; i++)
        {
            num = AddTwoRet(num);
        }
        _stopwatch.Stop();
        Console.WriteLine($"Instance Ret Finished. Time: {_stopwatch.ElapsedMilliseconds}ms. Num: {num}");
    }
}
supple mountain
#

these two screenshots were taken on two different monitors, sas would look extremely fuzzy on my desktop