Beep Boop Bip
Subject   (new thread)
BB Code
File URL
Embed   Help
Password  (for post and file deletion)
  • Supported file types are: BMP, C, CPP, CSS, EPUB, FLAC, FLV, GIF, JPG, OGG, PDF, PNG, PSD, RAR, TORRENT, TXT, WEBM, ZIP
  • Maximum file size allowed is 10000 KB.
  • Images greater than 260x260 pixels will be thumbnailed.
  • Currently 900 unique user posts.
  • board catalog

File 150448609042.jpg - (110.47KB , 1280x720 , mpv-shot0028.jpg )
1547 No. 1547 hide watch expand quickreply [Reply] [Edit] [First 100 posts] [Last 50 posts]
It doesn't matter if you're a beginner or Dennis Ritchie, come here to talk about what you are doing, your favorite language and all that stuff.
I've been learning python because c++ was too hard for me (I'm sorry nenecchi I failed to you), reached OOP and it feels weird compared to the latter one, anyway I never got it completely.
182 posts and 46 images omitted. Click Reply to view.
>> No. 2689 [Edit]
That is awesome. Are the previews baked into the html server-side and then done via :hover?

Also for the image expansion, I'm curious does the checkbox approach correct for the scroll position after collapsing the image? What I mean by that is if you expand an image, scroll down to view the image, and then collapse it again, if you don't correct for your scroll position then you wouldn't end up back where you started. I ran into this when implementing a image collapse/expand script and once I noticed it, it was annoying until I fixed it.
>> No. 2690 [Edit]
File - (140.57KB )

>Are the previews baked into the html server-side and then done via :hover?
Pretty much. CSS variables, the + selector, and :hover, ::before and ::after pseudo classes are used. Included file is a copy. I wrote all of this by hand, but a reverse proxied server could write to the correct files automatically.

>does the checkbox approach correct for the scroll position after collapsing the image?
No. I didn't notice that. It doesn't bother me much.

edit: tc doesn't have this feature by the way. So using that as a benchmark, it can be lived without.

Post edited on 2nd May 2022, 5:06pm
>> No. 2726 [Edit]
File 165317361291.png - (234.69KB , 1263x794 , prevv.png )
I've finished my styling. Pretty happy with this. I'm a little worried the jp is too small, but I don't want the english text to be overly large either.

Post edited on 21st May 2022, 3:54pm
>> No. 2727 [Edit]
Looks nice!

File 129592276815.jpg - (141.99KB , 716x742 , millenium_tan.jpg )
165 No. 165 hide watch quickreply [Reply] [Edit] [First 100 posts] [Last 50 posts]
Need help with computers? Post your questions here.

ME-tan will do her best to help (with the help of other users, ofc).
390 posts and 58 images omitted. Click Reply to view.
>> No. 2701 [Edit]
Maybe I don't understand exactly what you want to do but you can hide or remove columns and lines and have different colors for both and text on Excel. Anyway I use OpenOffice, it does those things too.
>> No. 2702 [Edit]
>but you can hide or remove columns and lines and have different colors for both and text
>> No. 2724 [Edit]
I want to use the sheets to record words with meanings and sources for new languages.
>> No. 2725 [Edit]
I think both Excel and Libre Office can do that. It has been a long time since I used either, but I think you can change the amount colums/rows by right clicking on the margin. To change the colors, you need to select the whole colum/row and just change the color.

File 141555304836.jpg - (250.53KB , 640x692 , Emperor_Penguin_Manchot_empereur.jpg )
1183 No. 1183 hide watch expand quickreply [Reply] [Edit] [First 100 posts] [Last 50 posts]
Why use linux?
114 posts and 32 images omitted. Click Reply to view.
>> No. 2720 [Edit]
Can you honestly say that there has been anything new in computing in the last 10 years? That 10 year old OS works perfectly fine, and I feel is probably better than any OS that has since come after it. Even the 15 year old 10.6 is perfectly fine functionality wise and rock solid (although a bit too "Aqua" for my taste).

Which is again why I said it's a shame that they're taking the piss with the newer releases. A decade since their last decent release and what do they have to show for it? Nothing but visual redesigns no one asked for, "protections" that make you fight your own computer, and bugs so egregious that you both question the competency of their developers and wonder if anyone there even uses their own OS.

Oh and don't forget that they've given up on the developer facing side as well. 10 years ago they had some pretty decent documentation on not only cocoa APIs but also the kernel side, such as kext programming, IOKit, etc. Good luck finding any of that these days, it's all been archived and left to linkrot. Instead they offer up autogenerated header files for libraries you don't even have the source to: good luck doing anything meaningful with that.
>> No. 2721 [Edit]
I mentioned the time because I was surprised how long ago the "last decent version" came out.
>Can you honestly say that there has been anything new in computing in the last 10 years?
In a literal sense, yes. You probably can't use the latest version of wine on 10.9. If you meant innovation, there's been incremental improvements in various fields and hardware. Like vulkan, which had its first release 6 years ago. I also have doubts about 10.9 hackintosh's support for newer hardware. I also doubt 10 year old apple hardware is that great. Their laptops have always had issues with questionable design(planned obsolescence).

Post edited on 14th May 2022, 3:19pm
>> No. 2722 [Edit]
>Wine on 10.9
Looks like WineHq supports down to 10.8. Also most userspace software that doesn't link against Cocoa frameworks works just fine. Also yes true on Vulkan, but osx never supported that anyway in favor of Metal (I guess there's vulkan on metal wrappers though). And osx's OpenGl support had never been good anyway.

10.9 probably won't run on newer processors at all, at least not unless you start tinkering around with the kernel (which is feasible I guess since that part is open sourced, someone was able to get it to work on ryzen). But unless you're willing to use an old GPU you won't have graphics acceleration either, and I don't think anyone has reverse engineered the graphics stack.

Post edited on 14th May 2022, 3:20pm
>> No. 2723 [Edit]
Oh another thing I just discovered. Apparently you can't even get coredumps of processes that crashed in the newer OSs. All you get is a helpful message from the kernel "AMFI: denying core dump" that even Google doesn't have useful results for. And this is a program I compiled myself, what the fuck. I'm surprised that there still any developers willing to put up with this platform.

File 128926287224.jpg - (1.68MB , 2592x1944 , DSC00437.jpg )
1019 No. 1019 hide watch expand quickreply [Reply] [Edit]
Gravitational Potential Energy: described by the equation

Ep = -G*m1*m1/r Where G is the universal gravitation constant, m1 is mass of planet 1, m2 mass of planet 2, and r the distance between the center of mass between planets. For various reasons, they put a negative sign in front of this equation. But you can't have negative energy! Can you figure out why theres a negative sign?
4 posts and 2 images omitted. Click Reply to view.
>> No. 1024 [Edit]
if the force is being constructed as a vector the negative sign simply indicates its direction.
the direction being down toward the earth.
>> No. 1025 [Edit]
But this isn't force, but potential energy.

As distance between the two planets increases, the potential energy should increase. But the equation dictates that the potential energy will simply approach zero from the negative side. Whys that?
>> No. 1026 [Edit]
Because it is supposed to be negative.

>This potential energy is more strongly negative than the total potential energy of the system of bodies as such since it also includes the negative gravitational binding energy of each body. The potential energy of the system of bodies as such is the negative of the energy needed to separate the bodies from each other to infinity, while the gravitational binding energy is the energy needed to separate all particles from each other to infinity.
>> No. 2709 [Edit]
It's a good question, the answer is that potential is always relative to a point of reference, and here we choose r = infinity to be the point at zero potential. Then since potential is just the negative integral of work done in bringing that point from infinity to zero, and the work done is positive (because we're going with the gravitation field, not against it), the potential energy is negative.

As for why we don't choose r = 0 to be the point of zero potential, I think it's because the law of gravitation isn't entirely accurate for small distances (since the force blows up to infinity there), and moreover for r=0 they'd need to occupy the same point in space anyway.

That is an increase. It goes from more negative to less negative. Hence the delta is a positive increase.

Post edited on 13th May 2022, 9:04pm

File 14269825194.gif - (43.50KB , 120x90 , sAWJYKX.gif )
1280 No. 1280 hide watch expand quickreply [Reply] [Edit] [Last 50 posts]
A bit late with this one, but whatever. To start off:
81 posts and 11 images omitted. Click Reply to view.
>> No. 2676 [Edit]
File 165091854141.jpg - (28.08KB , 1200x630 , ubuntu-logo-comparison.jpg )
>> No. 2677 [Edit]
Amazing, graphics desginers these days get paid for minor modifications that could be done in paint. Gone are the days of timeless Saul Bass logos.
>> No. 2691 [Edit]
File 165205745779.webm - (331.79KB , demoout.webm )
Source is an animated png with transparent background. First is converted to gif, second is to jxl.
>> No. 2699 [Edit]
Seems they finally gave in, though it's "just" the kernel-mode driver (userland components stay closed source). Seems there's still some work to be done before it could get absorbed into the kernel tree, works only on Turing+, and support for consumer cards is in alpha for the time being; I wonder how much will Nouveau benefit from this, or whether there will be any work to get the drivers running with open-source userland components (something like mesa, I imagine), but this is great news nevertheless.

Post edited on 11th May 2022, 4:01pm

File 165090443116.jpg - (125.98KB , 1920x1080 , close-up-photos-of-valves-steam-deck_rh8j.jpg )
2670 No. 2670 hide watch expand quickreply [Reply] [Edit]
what should I get under 1000 bucks; a laptop, a steam deck or a dsktop?
6 posts omitted. Click Reply to view.
>> No. 2694 [Edit]
I would get a desktop. You can buy less RAM at first (then buy another identical stick of RAM) or you could get a CPU with integrated graphics and upgrade it later. Also using a HDD instead of a SSD is a good way to save some money. Don't save money by buying a cheap PSU. I recommend that you don't get a Nvidia GPU if you are planning on using GNU/Linux. Actually, Steam Deck uses GNU/Linux (SteamOS), so the experience with using another GNU/Linux distro (like Xubuntu) on a desktop isn't that much different if you don't need the extra portability. You could test first using GNU/Linux only and installing Wine/Steam, because Botnet 10/Botnet 11 costs money.

Also, even if you wanted more portability, I would get a laptop instead of Steam Deck. And remember that you need a screen and keyboard+mouse for your desktop computer, while a laptop already has those.

>I don't know how to change things on a desktop
You just need to look at the motherboard's manual and see where is slot X located and plug the part in. Watch a tutorial on YT before assembling your first PC. The only thing you can mess up is the CPU. You need to read the manual of the MoBo and CPU extra carefully.
>> No. 2696 [Edit]
can I get a good pc under 1000 bucks? If no should I geg a steam deck then

Post edited on 10th May 2022, 12:04pm
>> No. 2697 [Edit]
>can I get a good pc under 1000 bucks
Sure. But you need to post some example software that you expect to run. Would using GNU/Linux be a deal breaker for you? The Steam Deck uses it and you should get the exact same software compatibility if you ran GNU/Linux on a desktop PC that you assembled yourself.

>If no should I geg a steam deck then
I'm worried about Deck's battery life and I personally think that a laptop would be better, if you want more portability. And, in my opinion, a desktop is better if you need more power. Do you have a screen for your desktop PC? If not, you need to take into account the cost of a screen if you are going to assemble a PC. If you don't have a screen, you could also use a TV as your screen, though.

The GPU matters than the CPU when it comes to video game performance.
I would get the cheapest ATX or EATX case that has dust filters. And I think that an AMD Ryzen 5 3600 or AMD Ryzen 5 5600 CPU is a good for the price. Note these models do not have integrated GPU. I would get G.Skill Ripjaws V, 16GB DDR4 3200MHz RAM sticks (Buy a package that has 2x8GB RAM sticks). I recommend getting a Western Digital or Toshiba HDD(s) instead of a SSD (this is a good way to save money). I don't know which motherboard you should get (I think getting a Asus or Msi MoBo that has AMD AM4 socket for the CPU is a good choice). I would get a Corsair or Seasonic PSU (there are PSU calculators online. I recommend getting a slightly better PSU than you need).
>> No. 2698 [Edit]
I can provide the screen (one from 2007)

File 165143717050.jpg - (34.80KB , 564x451 , lovelive.jpg )
2684 No. 2684 hide watch expand quickreply [Reply] [Edit]
I've been thinking about starting to learn about programming and game dev and it looks super complicated!
any tips?
1 post omitted. Click Reply to view.
>> No. 2686 [Edit]
This is good advice but let me present you another alternative if you've never coded anything at all. I'd say don't be afraid to pick up RPGMaker or GameMaker or similar engines, because it will provide you with easy accomplishments that you will desperately need to keep yourself motivated in the months and years to come. Imho nothing is more important on the long run than keeping yourself motivated, and even though they will have their own logic you will also learn programming by the general structure of conditionals and loops and such.

Afterwards you can get into "deeper" territory with easy languages like python libraries and such, Love2D is lua but it's quite popular too.
>> No. 2687 [Edit]
These posts so far have offered solid advice. Sooner or later though, if you're serious about games, C++ is kind of a must. C++ is the absolute, uncontested king of game dev.

edit: even Love is written in c++.

Post edited on 2nd May 2022, 12:34am
>> No. 2693 [Edit]
I recommend you pick a high-level language at first. Since you are interested in game development, I recommend you pick Lua. Lua can be used for scripting in your future game projects (for example Gmod uses it), and you can use Love 2D to make 2D games in Lua.

After Lua, you may want to learn C++, I guess? If so, read PPP2.
>> No. 2695 [Edit]
File 165220056753.jpg - (163.50KB , 571x500 , __saya_saya_no_uta_drawn_by_yuyuzuki_yume_usagi__c.jpg )
I think it kinda depends on how driven / motivated you are, really.
As >>2686 said, if you're a total beginner not knowing how you feel about programming I would say just look into things in a casual way where you can choose what you want to look more deeply into and whether it's for you or not.

If you already decided you want to dedicate a solid amount of time I would recommend
Yeah okay it's Java but the course is really well structured and gives a lot of exercises you can submit which will give you a really solid foundation with a lot of concepts that will be relevant in pretty much any programming language.
When you have key concepts down it mostly just comes down to syntax / quirks of different languages that need to be learned.

I'd be a bit wary about the above if you aren't already feeling dedicated because honestly it will probably kill your motivation, I just found it useful when I was in that stage of kinda intermediate beginner wanting to know more without wanting to delve into books too much back then

File 163596998821.jpg - (174.99KB , 800x600 , 1eeb51f6cf2715c267711df9c30ef94f.jpg )
2467 No. 2467 hide watch expand quickreply [Reply] [Edit]
I've been thinking about how windows programs could be run on linux. The consensus is pretty pessimistic, but I figured I'd make a thread anyway. The goal is to painlessly run programs like VNs on linux without the need to port them or write any custom scripts for each., and instead be able to put them in a small box and have them run flawlessly.

Wine's approach seems overly complicated and unreliable. Virtualization just works. Windows virtualization is heavy as hell though. Booting up a windows vm is annoying and slow. It would be nice if you could have the reliability of virtualization, but in a way that's much faster and smaller than how it is now.

Docker supports linux containers on windows by emulating a really tiny linux distro(as far as I understand). So why couldn't the opposite be possible? There's no official, really tiny version of windows that can run win32 apps, but ReactOS's iso is only 145 MB. I looked and found practically no information comparing the reliability and ease of use of wine compared to ReactOs in a vm. So I'd like to know about that.

Alternatively, the windows xp source code was leaked recently. All I'd like to know is if there is any possible better path forward, regardless of legality, because Wine seems like a dead end.
14 posts and 2 images omitted. Click Reply to view.
>> No. 2568 [Edit]
File 164161268869.png - (483.21KB , 1056x772 , nnnn.png )
Nah. The problem seems more likely to be related to drivers and hardware acceleration. I didn't have Mesa-32bit installed.

After I installed that, it would immediately crash and give some sort of registry error I can't understand in the slightest. It's possible on real hardware this wouldn't be an issue.

Maaaaybe, proton would somehow rectify this, but I don't even feel like trying. This was on void linux.
>> No. 2578 [Edit]
Wine 7 is out. Any improvement using this newest release?
>> No. 2680 [Edit]
You're making life a lot more difficult than it needs to be
Just use Bottles, it's on Flathub
Basically a wrapper for handling wineprefixes at its core with a bunch of other useful features
Since I moved my desktop back to Linux a few weeks back I've been using it and have had basically no issues running VNs with it
The only real issue that you can't handle through the GUI in terms of dependencies is Windows fonts, but if you just grab those somewhere yourself and dump them into the wineprefix I've had good success with a lot of things just running out of the box
>> No. 2681 [Edit]
For context, that was my experience using wine in a void virtual machine. Since then, I've learned there's a big difference between a real gpu and virtualized one. I've also started using vmware instead of vbox, which has been quite the improvement.

I haven't tried cavestory in wine again, but nxengine works easily. And following this(admittedly lengthy) guide (minus the lutris steps) has led to good results with visual novels, even in a vmware virtual machine(kubuntu).

I haven't seen a case where Bottles would improve things. Just using the same prefix for everything seems better to me.

File 164771051026.jpg - (269.25KB , 850x1097 , prev.jpg )
2645 No. 2645 hide watch quickreply [Reply] [Edit]
Most discussion related to "darknets" and p2p revolve around overlay networks, which as anonymous or distributed as they might be, still rely on traditional internet infrastructure. If you don't pay an isp, you can't use them.

So how about a thread specifically about alternative infrastructures? Something that's wireless, works long-distance, and fast would obviously be ideal, but may not be feasible.

You might have heard of broadband hamnet, which uses the same radio frequencies that ham radio does. This is unfortunately limited by legal restrictions on radio encryption among other usages, and connection distance (receiver to server).
Explanation of restrictions:

Then's there's Li-Fi, light based communication. This is appealing in its potential speed and accessibility. But its range is inherently limited.

Message too long. Click here to view the full text.
>> No. 2646 [Edit]
Great thread idea! (Here's an existing one for Ham >>2130 although not much in there).

Post edited on 19th Mar 2022, 11:30am
>> No. 2647 [Edit]
Delay-tolerant networking is a proposed way of compensating for low bandwidth, such as in a typical meshnet.

File 163077248017.jpg - (1.25MB , 974x1324 , 19cd3e1a0cd2d6965d56358ed1c09dac.jpg )
2400 No. 2400 hide watch expand quickreply [Reply] [Edit]
Lets talk about tools. Text editors, IDEs, color schemes, version control, etc. What does tohno use?
15 posts and 6 images omitted. Click Reply to view.
>> No. 2465 [Edit]
I wish it had parentheses matching. Maybe that feature is in there, but I haven't seen any documentation on it.
>> No. 2603 [Edit]
I recently switched from vscodium to Sublime 4 on my ThinkPad primarily due to performance issues. Having never used Sublime for more than a few minutes, I was quite interested in seeing how it stacks up.
In short, well enough. As implied, VSC doesn't play well on my laptop because of Electron and the machine's poor graphical power, but I've used it nonetheless due to it featuring the best support (via an extension) for the language I use. Sublime, on the other hand, is quite snappy, and its startup times are great.
Without additional packages, Sublime supports my favored language's with syntax recognition, okay-ish autocomplete, locating of definitions, snippets, and basic integration with the standard build tool. Very much of a pleasant surprise, and unlike the VSCode extension, nothing breaks, forcing one to reload the window.
Sublime is not without faults, of course: no built-in terminal, the best 3rd-party package providing terminal panes/tabs isn't that good, the built-in vim emulation and third-party packages providing it leave much to be desired, and there is no support for the language server protocol as far as I know. The latter would allow me to use much of what the VSCode extension provides, but I'm sure implementing the LSP is quite the task, and one wants to ensure it won't affect performance.
Nonetheless, I find Sublime to be pretty good, and I'd buy a license if I wasn't a poorfag. Even without LSP support, if the developers added a built-in terminal, and there was an updated third-party package that integrates with neovim, I would be a very happy camper.
>> No. 2604 [Edit]
>the machine's poor graphical power
I hope you didn't buy a really old model just for the memes.
>> No. 2605 [Edit]
Can't argue with $100, anon.

File 163970052862.png - (27.85KB , 700x580 , 5afa4ffd353ce5f76f73155f2d41c72f.png )
2536 No. 2536 hide watch expand quickreply [Reply] [Edit]
People have been doing calculus for hundreds of years, and yet there is still no place where you can easily find any kind of calculus problem, in any form, and how to solve it. Why?

This applies to pretty much any stem field except maaaaybe computer science. Finding problems is already hard enough because there's no simple, standard way of typing math notation, and which search engines would be able to understand. When you try searching for most problems, you often only get general tutorials as results. It's maddening.

Windows can be used to type Chinese, which has thousands of characters, yet there is no built-in math notation support.

Students have basically no choice but to pay for services which provide solutions to problems their customers post. And they find problems on those services(assuming they've been posted) by copying the part of the problem statement without any special notation. God help anybody trying to self-learn.

Why are we still stuck in the 90s when it comes to this stuff? How does nobody else have an issue with this state of affairs?

Post edited on 16th Dec 2021, 4:43pm
17 posts and 5 images omitted. Click Reply to view.
>> No. 2556 [Edit]
>Why are you saging and being cagey? It comes across as elitist.
One sages when his post isn't pertinent to a thread's topic, or his post is unsubstantiated. It has nothing to do with being cagey, nor should you infer it as elitist behavior.

>I guess you could argue they don't really teach.
They don't teach well, because if they did, homework wouldn't be assigned. Instead, it would be optional. I agree on this point. My original posts pertained to those paid services and their userbase.
>> No. 2557 [Edit]
Unrelated but it's disappointing that people (read: the current crop of users from 4chan) have forgotten sage etiquette and treat a sage as some sort of mark of disapproval.
>> No. 2728 [Edit]
Whether properly or not, most of those users don't use sage. Some even improperly state it's not enabled on 4chan, and that was years ago. I'm sure it's gotten worse.
>> No. 2729 [Edit]
>Some even improperly state it's not enabled on 4chan, and that was years ago. I'm sure it's gotten worse.
I guess that only means no one ever read the rules. I checked again and to my surprise it even mentions the proper intended usage (I don't know if that addendum was always there)
>What is "sage"? Entering "sage" (by itself) into the [Options] field while replying will cause the thread not to bump to the top of the page. Contrary to popular belief, a sage is not a downvote, and should not be used as one. "sage-bombing" or announcing that you've saged a thread may result in a ban.

View catalog

Delete post []
Report post
Previous [0] [1] [2] [3] [4] [5] [6] [7] [8]

[Home] [Manage]

[ Rules ] [ an / foe / ma / mp3 / vg / vn ] [ cr / fig / navi ] [ mai / ot / so / tat ] [ arc / ddl / irc / lol / ns / pic ] [ home ]