[ home / bans / all ] [ qa / jp / sum ] [ maho ] [ xmas ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]

/maho/ - Magical Circuitboards

Advanced technology is indistinguishable from magic

New Thread

Options
Comment
File
Whitelist Token
Spoiler
Password (For file deletion.)
Markup tags exist for bold, itallics, header, spoiler etc. as listed in " [options] > View Formatting "



[Refresh] [Bottom] [Catalog] [Archive]

File:[SubsPlease] Bocchi the Ro….jpg (261.38 KB,1280x720)

 No.1883[Reply]

What kind of speaker setup do you have for your computer/room/whatever? I need a new set.
My old logitech set is about 20 years old now and I hate how bulky it is and sometimes the copper wires have an interference thing that makes a big thump randomly which freaks me out.
When doing the requisite "[thing] +reddit" google search to see what humans are saying, I heard people say that speakers are so good these days that you no longer need surround sound, which seems strange to me. I really like the idea of having music all around me, and the rare game or anime with surround sound is really cool with it (Delicious in Dungeon and the crappy Geass remake were the most recent things with surround I've watched). But, I guess if most people have left 5.1 behind then maybe I should, too. I absolutely hate bass so it'd be nice if I could get rid of the subwoofer since it's so big and bulky. I'm definitely not an audiophile so I have no interest in the gold-played anti-virus cables.
So how is your setup and how do you like it?

I guess you could talk about headphones if you want, but anything placed on my head gives me a headache so I'm not a fan.
7 posts and 2 image replies omitted. Click reply to view.

 No.1900

File:waterfox_NQNQMjQ6Cj.png (58.57 KB,978x1031)

Huh. I wonder if these are LLM posts.

>>1899
Please don't sage when answering a question of mine! I only saw this by chance because I looked back into the thread to update my research.... which I don't have much to show for.

I don't know what an active dsp monitor is, but my hearing is pretty sensitive and I've never taken a TV or speaker above like 40% unless there were issues with the source, so I think that gets me some leeway.
How often do people have surround sound these days? It seems like everything people talk about is just 2.

 No.1901

File:[SubsPlease] Puniru wa Kaw….jpg (266.88 KB,1920x1080)

After actually reading up on the speakers I do have, they're quite well regarded still today.
https://www.amazon.com/Logitech-THX-Certified-Digital-Surround-Speaker/dp/B0002WPSBC
I paid $250 for them and apparently the stuff Logitech made afterward is worse. It looks like to buy it used online it would be $400 or something if you managed to find all the parts. Someone is selling the subwoofer itself for $100 on ebay.
It's weird that a computer part I bought back in 2005 has actually appreciated in value, or maybe it's just kept up with inflation. Either way, that's neat.
But, man, I hate this giant subwoofer thing. It's a big square of annoyance.
Do I just keep these then...

 No.1902

File:9210906b978c178b4f0b91775a….jpg (440.21 KB,2048x2048)

Just a pair of LSR305. They are cheap and good.

>>1883
When you're looking into buying speakers check ASR reviews and measurements. Good sounding speakers also measure well. The website also contains lots of resources about the theory of acoustics preference and speaker setups.

>>1900
>>1895
These speakers have amplifiers built-in so you don't have to buy amplifiers yourself. I just use a 3.5mm to TRS cable directly from PC sound output to my speakers and it just works.

 No.2001

Dumb question, I have some studio monitor headphones that are 5 years old and either the quality has degraded or my hearing itself isn't as good as it used to be. Do good headphones degrade like that over time or no?

 No.2002

>>2001
Probably depends on the build quality and wear and tear. Audio wires are prone to decline if they bend and twist a lot. My old pair (from like 12 years ago) sat unused for years and I tried to use them again a while back and it was just horrendous because the wires were a mess.




File:2024_11_06_12-26__9Bv.png (102.04 KB,2189x790)

 No.1941[Reply]

So I'm trying to get Ootake to work here for playing Rondo of Blood and I'm getting stuck. I installed the bios for the PC Engine and supposedly I have the CD properly mounted, but when trying to run the game I just get "Load Error" on Ootake. Is there something else I need to be doing here to make it work?

 No.1942

Huh, never heard of Ootake. Have you tried any other emulators? I've never emulated PC Engine myself, but maybe there's some other programs to try?

 No.1943

>>1942
I guess I will try other emulators if I can't get it to work in the next 30 min.

 No.1944

If you open the .cue file in a text editor like Notepad, what do you see? Does it reference files that are missing? In that case you might want to try getting those missing files and putting them in the same directory or getting another pre-patched copy of the game. archive.org appears to have some. Or you could get a clean rip of the original Japanese disc and patch it yourself (https://www.romhacking.net/translations/846/).
If it's the emulator that's the problem, https://emulation.gametechwiki.com/index.php/PC_Engine_(TurboGrafx-16)_emulators recommends Mednafen, ares, or Mesen.
In the past I think I was able to get a .bin+.cue rip of the original Japanese disc working by using a Mednafen (beetle) libretro core. I didn't need to have it mounted as a disc on my PC like you appear to be trying to do. I think I was able to launch it by selecting the .cue file.

 No.1945

File:[SubsPlease] Sengoku Youko….jpg (230.95 KB,1920x1080)

If you get it working, make this a Let's Play thread where you offer witty commentary of every level and death!

 No.1975

>>1941
just use mednafen, no cd mounting shit needed
mednaffe is an okay frontend, or you can use the retroarch version




File:R-1730897466199.jpg (114.45 KB,479x1000)

 No.1938[Reply]

stuff I would like in my image viewer

- way to quickly edit a lot of pictures
- by censoring out parts of a picture
- basic filters and image adjustments
- adjust levels
- red eye removal
- temporarily reflect pictures so they look new
- move pictures to new folder
- without a face
- with only male, furry faces

I'm too scared to open up issues for them though.

 No.1939

>>1938
Use feh for editing pipe output to imagemagick or mv+perl/python/whatever.




File:[MoyaiSubs] Mewkledreamy M….jpg (226.8 KB,1920x1080)

 No.491[Reply][Last50 Posts]

MORE AI STUFF! It's weird how this is all happening at once. Singularity is near?

Alright, there's another AI thing people are talking about, but this time it shouldn't be very controversial:
https://beta.character.ai/
Using a temporary email service (just google 'temporary email') you can make an account and start having conversations with bots. (Write down the email though because it's your login info)
But, these bots are actually good. EXTREMELY good. Like, "is this really a bot?" good. I talked with a vtuber and had an argument and it went very well. Too well, almost. I don't know how varied the stuff is, but they're really entertaining when I talked to Mario and even a vtuber.
Sadly, it's gaining in popularity rapidly so the service is getting slower and it might even crash on you.

It says "beta" all over the site, presumably this is in the public testing phase and once it leaves beta it's going to cost money, so it's best to have fun with this now while we still can (and before it gets neutered to look good for investors or advertisers).
374 posts and 159 image replies omitted. Click reply to view.

 No.1912

File:Screenshot 2024-10-29 at 1….png (289.86 KB,945x874)

Been thinking about LLMs lately. It's really quite a challenge to sculpt a consistent character out that responds in a predictable and desirable way. LLMs are more or less a gigantic distilled compendium of all human knowledge (if flawed in presentation), which makes having a character that should intentionally be ignorant of some information extremely challenging. Hard to suspend your disbelief when you can ask a Pokemon what a Bose-Einstein condensate is and even with explicit directives that they shouldn't communicate, you'll still get at the very least a high level overview of whatever concept you could imagine asking. As a result, how do you craft a character who has eyes fresh to the world and who doesn't know what every word or concept means when in the machinery driving them is information on every topic known to man? Better yet, how do you make them include misspellings when their dataset is purged of that sort of thing? It's impossible. That character, regardless of the background information you tell it to abide by will still be able to produce the works of William Shakespeare, tell you about the Three Kingdoms Period of China, and also help you with code completion because that's all baked in whether you like it or not.

It's very easy to see the illusory nature of LLMs because they're a top-down solution rather than a bottom-up solution. They are not human intelligent because they are implicitly not a blank slate. They cannot learn. Training with every written piece of information in existence is not learning.

Hopefully at some point we'll get actual artificial intelligence that genuinely is a blank slate, and can learn.

 No.1913

File:[Piyoko] Himitsu no AiPri ….jpg (174.86 KB,1920x1080)

>>1912
Yeah, there's some pretty major flaws with LLMs when it comes to the roleplaying side of things. The big ones like Claude and ChatGPT are a lot better these days, though. It's still tremendously difficult to get it to do things that are purposely wrong, which is something I tried with the Kissu April Fool's Day bots this year. Something like "When she thinks of an anime character, she never attributes it to the correct source material" or something. It runs into patterns and it really doesn't do what you want. This is one of the things that makes ChatGPT3 more fun than the modern ones, it was very proud and confident when you lied to it and it would play along. You could ask it to create delicious recipes with grenades list the strongest Pokemon in the Lord of the Rings. Maybe extensive, fancy prompts could fix it, though. Things like sillytavern and the various ways they can inject prompts like keywords and lorebooks and things make it superior in functionality to how these things work on the actual sites.
Local models? Well... it's a rich man's domain. You need hundreds of gigs of VRAM to host the big models. But local models with LORAs/finetunes is how you'd get what you want. As long as it's reliant on massive VRAM, though, you're not going to actually get the hobbyists that create things. It's hard for people to be excited over the scraps.

 No.1914

File:GRI_qWUbEAAK0t-.jpg (108.42 KB,550x450)

>>1913
>Maybe extensive, fancy prompts could fix it, though.
I'm not so sure. They can definitely help shape what responses look like, but they can't really do much about the information they already have. Having a super long character description only works to an extent. At some point, you will have too much information, and some of it will be lost. The only work around I've found is repeating particular things. Lorebooks are also incredibly powerful because you can provide example discussions so it knows how to respond to the current pormpt, but they're limited by keyword triggers. A problem I'm having is both that my character description is too long, so it's not really paying attention to the whole thing, but then when it comes to using a lorebook, the concept I want to affect has way too many keywords associated with it for me to think of them all, and for ChatGPT to actually pick up that the lorebook entry is about that thing.

I'm sure it's technically possible with enough targetted lorebook entries to get a perfected type of output, but for as many concepts as there are out there... there would also be an infinite number of entries you'd have to write to get things just right... And even if you did undertaken the herculean task of getting example discussions for every concept, you might run into the problem of the LLM just restating the example discussion with little variation instead of creating a new response that is inspired by the example text!

It's all so tiresome to try and manage effectively and is really what's disillusioning me about LLMs. I sincerely hope there's some furry freak out there who's got a PhD in computer science and neurology who's similarly disillusioned that LLMs kind of suck for this sort and is working on creating an actual AI.

 No.1915

>>1912
My thought for that was, given the character has enough lines in all of the works that include them, you could train an LLM with just their conversational data. That should limit the amount of knowledge they have.

 No.1916

File:fool's mirror.png (291.45 KB,1251x2407)

>>1914
Honestly I think it's just a prompting deal. It comes down to what is being fed to the AI, but the trick is that you need to have full control of what is being sent and load that with the kind of "contradictory" information that overpowers the common knowledge of the model. That can be difficult if you didn't make the bot and if the service isn't sneakily injecting context on top like what most GPT services do, and having a finetuning that's good and conducive to what you're trying to do also makes a big difference. So in this example I prompted a mirror that answers questions, the first is a bumbling idiot, and the second/third is a mime (had to do a second attempt where I specified no writing), and last is one that can answer the question correctly. All total I was feeding some 200 tokens into the AI.




File:1678711573698.jpg (82.04 KB,610x700)

 No.1904[Reply]

Oh no... Mahiro's pregnant with a Rust binary...

 No.1905

heh

 No.1906

[Bloatgirls]




File:1628709616354.png (1.01 MB,1200x733)

 No.1887[Reply]

¥ new "single sign-on" service gets implemented
¥ now have to go through six (6) login screens to access my workstation
¥ same password everywhere
¥ have to enter two soft tokens, tied to the same device, same app, same screen even
¥ have to wait for them to refresh and then enter them again to access the app portal even when hardlined into the intranet
When did "security" and "inconvenience" become synonymous? Are they just hoping hackers will decide this labyrinthine series of credential checks and verification pages aren't worth the data behind them and give up?

 No.1888

pretty much
i'm forced to use a yubikey now but it doesn't work if i'm connected remotely to my desktop, so there's several things i can only access from the laptop now
connecting remotely itself of course requires a different password + authenticator code before i can access the pc
the client's platforms use okta, which requires its own password on top of windows hello's several times a day, and sometimes an authenticator too
this is not the future i chose.....

 No.1894

File:[MoyaiSubs] Mewkledreamy -….jpg (416.15 KB,1920x1080)

>>1887
>When did "security" and "inconvenience" become synonymous?
I think it's been that way forever.
I think these days companies are just trying to shield themselves from human stupidity since most "hacks" are just workers making dumb mistakes. I don't think it will have any effect.

 No.1896

>>1888
>which requires its own password
At least using multiple different passwords theoretically increases security since there are more things to break through. Having a service meant to sync passwords means that having to enter passwords multiple times is nothing but hassle. In fact, that, combined with the constant time-outs forcing you to redo the process every time you take a piss, just increases the risks of >>1894. Having scripts that fake activity to prevent timeouts is not secure, but I can't get anything done when I need to relogin every 30 goddamn minutes so I've got no choice but to create vulnerabilities.

 No.1897

The trick is to be a senior engineer so you can use root passwords that haven't been updated since 2004.

 No.1898

>>1897
whoops we're implementing a new layer and you have to reset your password once a month haha what a shame can't be helped that's how security standards work




File:[SubsPlus ] Oshi no Ko - S….jpg (271.25 KB,1920x1080)

 No.1875[Reply]

I was without computer for a couple days and had to subsist on "smart TV" youtube and it was awful. The ads pop up like every 15-20 minutes and they are LOUD. I can tolerate annoying ads, but I was pretty sure governments instituted rules about equalizing the volume of commercials? I remember this being a thing people complained about back in the 90s on cable. Maybe it doesn't apply to the internet?
All those relaxing "___ to sleep/study" whatever videos and then WEE WOO WEE WOO CLEARANCE SALE ON FURNITURE THAT HAS JUST GOT TO GO TODAY
Also it was an old TV when the "smart" stuff was just coming out so half the time the commercial (which somehow always rendered in 1080p despite the youtube video itself being like 240p to 480p) would crash the yotube "app".
I'm so glad to be on the computer again. Truly ignorance is bliss because that was a terrible way to experience things and yet it's the default for billions of people.
5 posts and 1 image reply omitted. Click reply to view.

 No.1881

File:yajirushi_(chanoma).jpg (1.55 MB,1200x1200)

When I was baking a cake at my parent's house two years ago I tried out the YT-app on my then new phone while waiting. Did not have a functional version of the app on my old (then ten years old) phone since it hadn't gotten any updates for years.
The app apparently decided on it's own to use my parent's smart-TV, which was connected to the same wireless network, to play the video (after an annoying ad of course). Was surprised to hear it's sound blaring across the hall from the living room instead from my device. Good thing I chose a recording of a concert instead of VTubers.

>All those relaxing "___ to sleep/study" whatever videos and then WEE WOO WEE WOO CLEARANCE SALE ON FURNITURE THAT HAS JUST GOT TO GO TODAY
That was a 'normie-culture-shock' I won't forget; was drifting into sleep once when HEY YOU CONSUME PRODUCT LALALAAA happened. Had not taken measures for adblocking on my phone before then because I rarely used my old phone for anything other than messaging and phone calls.
Since then I'm using a browser with adblock and the 'YouTube Background Playback'-script when watching YT-content on my phone.

Still hate small touch screens though, PC über Alles.
>>1877
Friend!

>>1878
I wonder about family members not being annoyed by constant advertisement as well. Especially when listening a radio station where they play at least five minutes of ads after 2-3 songs. Which is then followed by a short sequence where they talk about how they love music even though they usually cut songs after three minutes, disregarding the song as the piece of art it is.
My guess is that they don't really listen to anything most of the time but want a certain degree of background noise.

 No.1882

>>1881
weird knobbly ankles

 No.1891

File:IMG_5035.jpeg (347.65 KB,1611x1084)

I have YT premium but I stopped using the app when I realized that just running whatever I want to listen to in Brave at a low resolution was better for my rountine; I can turn my phone screen off without the video stopping.

Anyways, with the contractions associated with economic downturns, people are going to learn very soon that Google is first and foremost an advertising company. The beast is hungry.

 No.1892

Oh yeah, another thing is that the ads are sometimes minutes long if you don't hit the 'skip' button, which I assume is there to check that a person is watching. How devious.

>Still hate small touch screens though,
Yeah, it's weird to think lots of people watch stuff exclusively on them. But, hey, it works for them I guess.

As for family members, yeah, I mentioned it to my sister and she just put up with them. Her response was basically "Well, I could get youtube premium". Maybe I should look into installing something on her phone to bypass this stuff.

I've started to use yt-dlp to download more stuff to keep it available locally as well. It's just nice to know that even if my internet craps out I have some stuff to watch besides just anime.

 No.1893

>>1892
oops, I put a space after each line...




File:C-1728955400338.png (107.1 KB,667x440)

 No.1857[Reply]

What the F*** is Mint doing????
7 posts omitted. Click reply to view.

 No.1865

>>1862
A little digging on "Ctrl+Alt+ESC", supposedly it resets the DE, and nothing to do with wayland or Xorg.
Also, maybe you have this https://discuss.whatever.social/r/linuxmint/comments/rkxify/control_alt_escape_shortcut/hpff7k1/?context=3#hpff7k1

 No.1866

>>1865
ya, it seems like a cinnamon thing, not xorg/wayland

 No.1867

>>1864
>got it in the way that Windows or Apple gets it
The only thing that comes to mind when thinking about Windows or OSX DE is Gnome...

 No.1868

>>1867
dunno if you can replace the mint DE with gnome and not brick your system though

 No.1869

>>1868
I wouldn't even want to do that. I like Cinnamon's use-ability, but that you have to wrangle with Linux <-> DE integration always means that my efficiency with it if I were not a programmer would be so far bellow Apple/Win.

I read the last post in the thread I posted and it might be an integrated graphics quirk. I also messed up my DE by screwing around with some dependencies so it might be my fault anyways




File:f956a9994807d746af4183e4c8….jpg (655.72 KB,1161x1370)

 No.1732[Reply]

For the price of some switches, new soft pads, and a soldering iron I fixed my doubleclicking mouse. I now have a functioning mouse and a soldering iron. It's like getting a free toy. Gave the entire body a deep cleansing while I was at it, it's a lot easier to clean something properly when you've taken it apart.

Now what else I can I do with this toy...
6 posts and 2 image replies omitted. Click reply to view.

 No.1739

File:勉強.jpg (126.4 KB,1205x1111)

I found a use for the soldering iron. I want to use a CRT TV for my consoles, but despite living in Europe some of my consoles are NTSC. Many of the local PAL CRTs most likely do not accept NTSC signal on composite, but I could use RGB on SCART. Not all consoles natively display RGB.

SNES has a lot of peculiarities on the chip affecting video quality, but it does output RGB by default on both NTSC/PAL with the correct(!) cable as long as it's not the Mini which does require a mod. I have an NTSC-J regular one. No idea which chip, don't care.
https://www.retrorgb.com/snes.html

My Gamecube is PAL. It supports RGB natively unlike NTSC. I need a different cable than the N64/GC cablefor this one. If I can't find any options I might have to make my own cable, but I found both NTSC and PAL cables on Aliexpress. Hopefully they're not erronously marked as such, one was even marked EU NTSC which... Well... One marked PAL had a comment from someone saying it had capacitors instead of the resistors required for PAL and could not be used. I might have to modify my own cable if whoever I order from in the end send me one like that.
https://www.retrorgb.com/gamecubeoutput.html

N64 doesn't support RGB by default, but it should be a doable mod for anyone with a bit of practice already and the tools that make it easy (the right tools are half the job, as we say). Just need to check which N64 you have first because apparently not all of the chips are compatible.
https://www.retrorgb.com/n64.html
My N64 already has a HDMI mod installed though, I'm a bit scared to combine both mods as the HDMI modchip was quite expensive (pre-installed from used marketplace), but seeing as they're different outputs it should probably be fine. I saw some video of someone else having both mods after a bit of looking around so I'll give it a go.
A HDMI modded N64 can display both HDMI and Composite at the same time, kind of neat if one wants to play on console and record to a computer at the same time.

Fortunately since my N64 is also NTSC, I can use the same cable for the N64 and the SNES. Using an NTSC scart cable on a PAL N64/SNPost too long. Click here to view the full text.

 No.1760

>>1739
This is a pain in the ass, there's so many different sync options. I will get back to this cable hell when I mod the N64.

 No.1763

>>1733
You should invest in small air compressor instead of buying canned air. The air compressor is useful for a lot of things other than cleaning dust out of stuff. But it's also the best tool for that purpose.

 No.1764

>>1763
Should have added: They make some nice small ones now that are good to keep in your car with an inverter to power it. But for home use I suggest splurging on one of the ones with a large tank and wheels. It should last you a life time so the $200 is well spent. I've got a few myself. One is very large and I've had it for probably $30 years now. I have a really old one with an exposed belt from the 1930s-60s or somewhere in there. Could never be sold today because it would have to be covered in warning labels. But it does the job well enough.

The reason you want the large tank is because it can store more air. That way the motor isn't forced to run all of the time.

If you just need it for cleaning out electronics one of the small ones might be better suited. But those things take forever to pump up a tire with.

The reason they're so useful is because you can use them to forced compressed air into things like fuel lines, AC drain lines and other hard to reach places. Usually you can force out any kind of blockage with the air alone. They're way better than using canned air for cleaning components because there is more force and you don't have to worry about spraying cold crap all over whatever you're working on if it's in a hard to reach place. Plus people won't accuse you of being a huffing addict. I had a roommate years ago that would still canned air from the case I kept around and huff it. No idea why he thought it was a fun high but he was pretty addicted.

Of course I'm not that bright either. I use to hold the cans upside down and freeze my hand with them to see how long I could endure the pain. Not recommended but nothing bad ever happened from doing that stupid shit.

Anyway, you can pick up used air compressors pretty cheap. Check out estate sales and yard sales. Usually when an old mechanic or working man passes away his wife is looking to off load a lot of tools like that. Everyone should own one. If you have a car or anything else with tires it's a really useful thing to keep around.

 No.1855

File:n64_rgb_mod.jpg (103.99 KB,998x1331)

I ended up buying an expensive cable that works for both NTSC and PAL. Hopefully that wasn't a waste of money, but it works great on all my consoles despite region differences. The N64 rgb mod was incredibly easy. Thank god for the wizards who invent this stuff. Took longer to take apart the console than to solder it on. If I hadn't done this my poor N64 would still be in black and white.

I probably won't solder anything again until my keyboard or mouse breaks again. Using a Pinecil V2, tiny and works pretty well. I dread the day I may have to recap the CRT. There's probably over 100 capacitors inside that thing. Kinda dangerous too if you don't know what you're doing.




 No.1469[Reply]

Remove all C code from the world
27 posts and 2 image replies omitted. Click reply to view.

 No.1789

>>1788
Primagen who used to be full on Rust pushing, recently started saying he like Zig more. But it's a bunch of hopping around because Linux diehards are so against letting Rust get a chance and Windows is an unknown

 No.1790

The Rust in Linux thing is just pathetic old guys preventing new generation from getting a chance because they don't want to document their APIs
https://lore.kernel.org/lkml/20240828211117.9422-1-wedsonaf@gmail.com/

Listening to people like this is downright frustrating

 No.1791

>>1788
My biggest problem with Rust is the development model. A language, especially a language aiming for safety and security in the way Rust is, should really be defined by a stable spec. Instead, it's defined by a single reference implementation that's developed like a web browser.

But as a language, it's got too much C++ and not enough C. Way too big, way too complex, way too confusing. My ideal systems language would basically be a stricter, more explicit C with opt-out run-time safety features like bounds checking.

 No.1837

>>1469
>Alphabet inc wants everyone to code in their language that they lobby
But it's not EEE right gaiz?

 No.1842

>>1837
No, it's called Swift




 No.1796[Reply]

When people know you code so they start asking you about Excel functions and formatting

 No.1838

>>1796
Why is he at a debconf if he's unfamiliar with debian's use of his Kernel?
That's like a James Brown's drummer going to a Rap artist's interview for using his amen break for a drum sample.

 No.1840

File:Screenshot 2024-10-05 at 2….png (16.66 KB,790x120)

Is this true?
Damn. Baffling that there was a time when Debian was the Arch of Linux distros.

 No.1841

It's more baffling that all the old Linux programmers still think building from source is the norm.




 No.1829[Reply]

I'm not good with OS stuff. What's this merger for realtime linux about in less than 10 minutes?

 No.1830

>>1829
Linux has always had the ability to be a real time OS. A real time OS ensures low latency in kernel space. Here is the best way to think about it;

You know how a guitar works? Imagine a guitar plugged into a computer via an audio interface. With a normal mainline kernel there might be a slight delay when you strum the guitar. You have headphones plugged into your DAC and are strumming the guitar. With a non-real time kernel there might be a several millisecond delay delay between your strumming and when you hear the notes in your headphones.

With a real time kernel there is no delay. When you strum you will hear the notes at the exact same time.

Real time Linux kernel have been a thing for decades. They form the basis of all the multimedia/digital audio workstation distros. This e-celeb or whoever (I didn't watch the video) is just going over information everyone that works with this type of software has known for years. Maybe they finally merged the patches into mainline or something. I dunno.

The trade-off with a realtime kernel is the fact that it can cause high CPU usage in some cases. For the vast majority of users a realtime kernel isn't needed and can cause various issues with day-to-day stuff.

Realtime kernels are mainly used for things like I mentioned above (multimedia production) or for other tasks where realtime is vital to functionality (imagine a fighter jet with a stick hooked up to a small computer that controls the flaps). If you want to know more read about Real-time operating systems on wikipedia. The vast majority of them are not UNIX based and are small OSs geared towards specific tasks running on small computers.




 No.1379[Reply]

Jisaku-ing a keyboard.
Following the video, tried creating a 3x3 "keyboard" with switches on a breadboard, was pretty simple to connect and program. Won't be doing much software though, mostly just soldering diodes and wires from the switches to a micro controller.
Thinking of making some compromises with the keyboard body and switches/keys by scavenging an old keyboard I have lying around. Right now, my goal is to create a working model and implement a custom layout for the keys. Maybe if this works out, I'll look into CAD-ing a proper case for a new board, and installing some good switches (the ones I have right now are off-brand reds).
All in all, the project is looking pretty doable so far... So long as I don't mess up during the soldering phase. Going to have to do a ton of practicing before I'm confident enough to work on the switches, don't want to be ruining them. Want to spend as less as I can on this.


*Will drop the project if I deem it financially unfundable (because I'm broke)
49 posts and 21 image replies omitted. Click reply to view.

 No.1792

>>1784
The 16g (naked) copper wire (and heat shrink) he used in his build is what I'm referring to. Sure they look cool, but it was damn near impossible to have a solid connection between the pin and the copper wire. With a normal wire (like the one I'm currently using) you can wrap the copper around the pin to stabilize it, then solder it to further stabilize the connection; with the 16g copper wire, since the wire is so thick, you can't wrap it around the pin so the connection is dependent on just the solder alone, one strong push and it breaks apart.

 No.1815

File:C-1727504055620.png (10.37 MB,3760x1912)

Connecting all the rows and columns to the micro controller was way harder than it was supposed to be; my theory is that it was because the soldering iron was a cheap one. Looking further into soldering irons after the tip was basically useless (should have looked into it further before buying one...), turns out that being too hot also causes rust. Needed to keep it within a certain temperature range to be able to use it for a long time but the one I bought didn't have any temps monitoring to it, it just heated the iron as long as it was connected to an electric source.
Thankfully, the set I bought came with 5 spare tips, was able to solder all the rows and columns after going through 3 of them. Now, the keyboard works, but I don't know how stable the connections to the micro controller are. I think as long as it's just sitting on my desk, there shouldn't be any problems. The wire is a little shorter than I'd like it to be, but it's the longest micro usb-b cable I have at hand.

 No.1816

File:C-1727504927583.png (6.97 MB,3316x1857)

Here's what the finished product looks like. Had to repurpose some of the non-standard sized keys, so the + and the Shift keys you see in the image are actually LShift and SpaceBar keys. All in all, kind of glad I did it, have a working keyboard in the layout I liked, and I can now put the old one in a showcase or something. Though, there are some regrets; regret the soldering iron thing a lot. I could have easily bought a better soldering iron if I'd added the copper wires budget to the soldering iron budget... Also regret making the plate yellow......
Not the best of executions, the plate is too small to fit to the case, the case's standoffs are broken, the connections to the MC could disconnect at any time, but I can use it and it stays in place. In the end, all that matters is that it werks™.
A break down of the total costTotal expenditure on the project: ~$190
Soldering kit + helping hands cost: $38
Total parts cost: $40
Money wasted on parts I never used: $24
Total cost just for the keyboard (includes 3D printing cost, electric parts, and keycaps): $86

 No.1817

File:[MoyaiSubs] Mewkledreamy -….jpg (346.08 KB,1920x1080)

>>1816
That's not bad. Did you have fun learning the stuff? It's a skill you can apply to future projects or whatever so that's worth something.
Are you going to label the keys? Add neon lights? Personalize it at all?

 No.1818

>>1817
Yeah, it was fun. Soldering the rows and the columns were fun, seeing how clean it looked... It's just that the project ended on a low note with kuso soldering with the MC... Learned plenty of stuff about soldering, keyboards, USB, even 3D designing and printing. Fun experience, but yeah it's how something ends that sticks with you, pretty meh ending.
>label the keys
The keys are already labeled actually, it's just on the sides of the keycaps, you can kind of see them on the top row keys and some on the bottom row.
>lights
At first, my thought was to add some RGB after the fact, but now I'm too scared to open up the back (so to speak), because it might disconnect some wire somewhere on the MC...
Maybe some day, after I've saved enough again, I'll buy a better soldering kit, some better keys (want the brown ones), and re-do the connections in a better way.




File:1678643436682.jpg (48.41 KB,576x576)

 No.13[Reply]

I like Rachelbythebay. Woman who gravitates towards the underappreciated sysadmin/glue code role in tech companies and always has a bad time of it. She's built cool things in software and hardware, such as her own monitor of her city's police radio communications that listened to all of the public channels and archived the activity. You can learn about various 'gotchas' by poring over her blog backlog. For example, empty files in unix systems marked as executable still run to completion and giving an exit code of 0 (success). Or certain numbers that come up repeatedly in log files.
1 post and 1 image reply omitted. Click reply to view.

 No.22

File:1713358804056166.jpg (248.87 KB,1378x2039)

I have a lot of bloggers in my bookmarks. I could post the whole list if someone's interested.
Most of them are graphics programming related (think people who make their own game engines) but there's a lot of other random topics too.

One of my favorites is https://matklad.github.io/
He's the guy who made rust-analyzer, which is a language server for the Rust programming language. He posts a lot of random thoughts about programming languages, algorithms, etc. It's all over the place and I love his style of writing

 No.30

I like food4dogs I wanna be like her when I get older

 No.35

>>22
>I could post the whole list if someone's interested.
I'd prefer in this thread to talk about them one at a time.

 No.1321

https://tilde.town/~dozens/sofa/
>Start Often Finish rArely
>Start Often Fuck Achievements

https://tilde.town/
>is a computer meant for sharing
>we are a community of around 3000 users making art, socializing, and learning on a linux server. founded in 2014 by ~vilmibm.

 No.1787

>>16
Blogs are probably the 'old web' thing to have survived the longest, still being relatively mainstream to this day, especially among more bookish crowds. I think a lot of it comes down to their standalone nature and emphasis on individual opinion. It's a format that lends itself well to being linked on social media sites like Reddit.




File:C-1724086668538.png (811.5 KB,1999x1352)

 No.1603[Reply]

If you've gotta program an algorithm you've gotta use CSS

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors
32 posts and 9 image replies omitted. Click reply to view.

 No.1755

File:waterfox_cinzvwQ17u.png (33.19 KB,814x483)

Out of curiosity I tried it with an actual gradient image

.sidebar-container.pannel-borders.fixed-sidebar , .side-segment.pannel-borders.thread-page-layout {
border-right: 8px solid;
border-image: url(https://haiji.kissu.moe/test/src/1726185772007.png) 10 fill;
}
Changing the numbers there can effect the filling so that's kind of cool. The change from 10 to 9 is pretty drastic as it fills in the whole area below the box.
I guess it's related to pic related https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice

This mozilla page is pretty informative, I like it more than other css sites I've used in the past.

 No.1756

File:2024-09-12 19-15-40.mp4 (2.22 MB,1920x1080)

kinda weird

 No.1757

>>1756
that's how the sticky scrolling is handled for the sidebar. There's a small panel that stretches a bit. I think there's a way to make it not do that. Lets see....

 No.1758

.thread-page-layout.sidebar-container {
border: unset;
height: calc(100vh - 4px);
}


Try seeing what this does to it. This will make that sidebar box take up more vertical height

 No.1759

Hmm, don't think that did anything. But, I think we're spending too much time on this and it's something I can go back to later. There's probably a simpler answer in just adjusting the image itself.




Delete Post [ ]
[Refresh] [Top] [Catalog] [Archive] [Post a Reply]

[ home / bans / all ] [ qa / jp / sum ] [ maho ] [ xmas ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]

[1] [2] [3] [4] [5]
| Catalog