/tech/ - Technology

Technology & Computing


New Thread
Name
×
Sage
Subject
Message*
Files* Max 5 files32MB total
Tegaki
Password
Captcha*Select the solid/filled icons
[New Thread]


Onion may have brief downtime on the 22nd

Regarding recent events: >>>/meta/4978 


ms_paint_2.png
[Hide] (90.3KB, 1490x1174)
pixelated.mp4
[Hide] (700.8KB, 680x330, 00:10)
color_replacement.mp4
[Hide] (56.5KB, 150x110, 00:05)
This is a project I've been planning on doing for a long time: a cross-platform and open source image editor that completely supersedes MS Paint and all it's cheap imitators (for digital images, so no printing features). I want to hear thoughts and ideas.

The objective is to take MS Paint and polish an even better version out of it: minimalistic, extremely light weight and fast, and very easy to use. Everything should take as few clicks as possible and to just work, the feature set is intentionally limited and designed to work well even without transparency or layers. For example the brushes should all be pixelated (reasons in the attached webms), I think it was a mistake on Microsoft's part to switch to the soft brush as a default. Maybe advanced brushes can be added as a side feature, but I feel like they just don't belong into MS Paint and nobody uses them for any real purpose.

Do you see any problems from the mockup? Have other ideas or things that should be added/changed? How would (You) improve MS Paint? Does some other image editor have a feature that you like?
69 replies and 31 files omitted. View the full thread
>>15587
>alter transparency in a selection
You mean like using the color picker on the hovering image to make that color transparent? Something akin to that could be possible. Or did you have something more in mind?

I can think of very complicated features for honing the transparency on a hovering image, but at some point it's just not worth adding that complexity since the program starts instantly so you can open a second window and use that to remove unwanted pixels without having to be careful about committing the image to the canvas.

>Font outline
That depends entirely on the capabilities of Freetype. I have no idea how to turn font glyphs into pixels, so I wouldn't be able to create an outline for them either. I'll put it on the todo list to investigate.

>selection sizing with modifier+arrow
There's way too many things you may want to do. For example the right arrow key could:
- move the selection mask to the right (pixels don't move)
- duplicate the selection mask and combine them
- pad the selection mask to the right (1x2 pixel selection would become 2x2, then 3x2, then 4x2...)
- resize the selection mask from the right edge (increase size)
Message too long. View the full text
Replies: >>15598
>>15590
>using the color picker on the hovering image to make that color transparent? 
Exactly

>>15590
Ideally you'd do the steps on at a time, resize the selection mask, then once it's "selected" use the arrow keys for a transform of the selection, or if you had a modifier key to do one or the other at any time.
It's mostly an issue of selection, scaling and moving accuracy vs the mouse
Replies: >>15600
precise_transform.png
[Hide] (8KB, 501x491)
>>15598
Holding Ctrl to move/transform the selection mask without the pixels should be doable.

One idea that could be considered is the concept of "selecting" one of the handles on a selection (by right clicking or using hotkeys like C+ArrowKey). If no handle is selected, then arrow keys will move the entire selection as usual, but if one of the side handles are selected, then arrow keys will move that handle. Exactly how it works when clicking and dragging with a mouse.
I'm having second thoughts about this entire program. There's all kinds of neat little things I want to add, but the way the UI is set up is incompatible with most of it. The settings bar on top is already cramped and requires more room than I'd like it to, and I haven't even implemented all the originally planned tools and settings yet.

For example, one thing I want is the ability to copypaste whole RGB values, for example "255,140,20", not just individual channels. But where am I supposed to fit that input?
Another thing I realized is that there's a lot of selection settings, they are shared across all selection tools, and they're also mostly used by the canvas itself. It might be better to put selection/transform settings into a separate panel, especially since magic wand requires it's own settings that already take space. But where is that panel supposed to be?
I also want to be able to mark/name regions and export them as spritesheet information.

Maybe I can just use floating panels, but I feel like they're a bandaid to a bigger issue. Before this program, I had an idea for a bigger graphics editor with a much more powerful UI design (similar to Photoshop's attachable panels), and I feel like I should just switch to that. But if I do that, I'll probably also feel like doing a bunch of other things that compromise on the simpleness of this program.
Replies: >>15602
>>15601
When a tool is selected, have it replace the tool selection area with tool detail area? Re-use the space.

gamer1.jpg
[Hide] (995.9KB, 2048x1536)
ClipboardImage.png
[Hide] (83.2KB, 1552x873)
I thought we should have one of these. Someone from the QTDDTOT suggested these questions for the thread.

>best private mail host?
>best private browser?
>how do you stay private online?
>how do you airgap your phone?
 Also
>Best VPN

I imagine some people have made guides on privacy, so if you have any you can post them in this thread too.
130 replies and 27 files omitted. View the full thread
>15430
As paradoxical as it sounds, *BSD is not actually good for networking tasks. If you need niche software, chances are it wasn't ported to BSD. Unironically Gentoo is better as router OS
Replies: >>15540
>>15479
>Note on uBlock Origin: it has some additional features like element hiding and disabling WebRTC
>>15537
But what if you don't need niche software?
cucked.png
[Hide] (30KB, 640x480)
Can't even browse the 4flan anymore.
Replies: >>15596
w.png
[Hide] (6.2KB, 640x480)
>>15541
Somehow the archive at warosu.org works, even though it's also behind cuckflare (of course that means they can shut it down at any time).
And now this niggas are looking for alt chans, how quaint! I posted about trashchan /finance/ there before. Doubt they'll find it though.

1504024316530.png
[Hide] (137.5KB, 478x365)
Nobody wants to make the thread edition

See also /agdg/ at >>>/v/ for videogames.

What are you working on?
182 replies and 44 files omitted. View the full thread
>>15532
Different paradigms work for different use cases, neither DOD nor OOD are a magic bullet.
Replies: >>15535
>>15532
Let me guess, you're the kind of person who thinks ECS is peak data-oriented design.
Replies: >>15535
>>15532
Update: I had a bunch of bugs involving non-finite floating-point values that basically invalidated both results. After fixing them, the implementations seem to much closer. The DOD one is probably better, but the results have too much variance for my shitty benchmark method. 
There are obvious opportunities to further optimize the DOD approach, but I can already tell they would be painful to implement and my shitty implementation already has several usability caveats compared to the OOP one, so I think I understand the performance-implementation trade-off everyone talked about. 

>>15533
I know; I tried to pick a toy problem where OOP implementation was easy, but cache-friendliness would be relevant enough to make a difference. 

>>15534
I have never used a proper ECS so I have no idea. This is an "experiment" because I've never used these techniques before.
resize.png
[Hide] (12.5KB, 493x549)
What's the image resizing algorithm called that prioritizes cutting out flat areas? Something like pic related.
Found it.
https://en.wikipedia.org/wiki/Seam_carving

images_(12).jpeg
[Hide] (44.2KB, 739x415)
What so you think about the future
It is worth to go deeper in those fields to keep pace with progress

Or is it just a hoax that will end when the hype ends?
Replies: >>15496
>>15494 (OP) 
You're 5 years late into these memes.
sonic.jpg
[Hide] (215.8KB, 1600x800)
I'm thinking about what silver coins I'm going to buy next. That's the only interesting thing about the future. All the rest has been completely shit and they just keep finding ways to make it worse every year.

baebd4d90d0275e573244883b1248b14101033992c749b4e32bc9cf2c60a2dd9.png
[Hide] (5.4KB, 600x338)
Is it more hype than help? Overly complex or not complex enough? True internet 2.0 or already obsolete?
7 replies and 2 files omitted. View the full thread
Replies: >>15370
>>4027
>IPv6 = less privacy
Is it true, though? The CIA niggers and/or owners of the server can track your location if you use IPv4 anyway?
Replies: >>15309 >>15319
>>15248
No and read the date.The author of the post definitely won't reply to you three years later.
Replies: >>15320
>>15248
>owners of the server can track your location if you use IPv4 anyway?
Yes but you probably share that ipv4 address with other customers from the same internet service provider. And then the connection terminates at a router which you might share with other people in the building.
Replies: >>15320
>>15319
Yes, nat provides a layer of separation.
>>15309
ipv6 doesn't need nat because there are enough addresses for each devi e to have one. There is an rfc for randomizing it https://datatracker.ietf.org/doc/html/rfc8981 .
>>3971 (OP) 
The biggest issue is that they didn't just extend the address space and drop the redundant bits (like optional source routing, which nobody used anyway), they tried to introduce a bunch of new mechanics which fuck things up.

For example, SLAAC: nice in theory, but garbage when your ISP is retarded and only gives you /64, preventing you from making subnets which also work with Android (thanks Google!). I've even heard of retardation like giving out /128 only!
But even if I'd be okay with not being able to use my phone on my own subnet I can't figure out how to make the router actually give out a subnet, so I simply don't use IPv6 and just sit behind a double-NAT IPv4, which was substantially easier to set up even if it's shit.

But what I consider to be an even bigger issue is that IPv6 can and still will suffer from (severe) routing table fragmentation, as you can get some arbitrary IPv6 range and use it pretty much anywhere (on the same continent, at least, not sure what the exact requirements are). I believe the only real solution to this is to map addresses to physical coordinates and enforce that an address maps relatively close to its corresponding coordinate.
Hell, everyone uses DNS anyway and IPv6 obviously isn't meant to be typed in directly, so why bother reserving specific ranges to specific entities instead of regions?

dwj44af22og91.png
[Hide] (1.2MB, 1366x768)
What's your opnion on Haiku OS?

https://haiku-os.org
4 replies and 1 file omitted. View the full thread
Replies: >>15364 + 1 earlier
GUI and C++ so it's trash. Much better than Linux though, but then again, so is everything else.
>>15216
HaikuOS has a POSIX-compatible C programming interface and it's very complete, in fact more complete than OpenBSD in my experience.

>>15219
RISCOS also has a POSIX-compatible C programming interface, but I have no experience with this one.
>>15227
I think only the 32-bit version tries to be compatible with the original BeOS. I think Wifi drivers often contain binary blobs too.
>>15215 (OP) 
these icons are amazing; they are colourful, integrated and are well put together to immerse you into a good and pleasing system experience.
it is sad that nowdays theres no such attention to them anymore, they don't look as pleasant to interact.
Replies: >>15365
>>15364
I remember liking puppy linux for similar reasons though its less good than that up there. Things got less artistic and more clinical.

Nocom.png
[Hide] (4.7MB, 3840x2160)
Seemed like it would be a good idea for users both old and new.

[Materials to avoid]
Codecademy and other flashy looking sites (KhanAcademy might be okay)
"fishy" Youtube videos such as those from FreeCodeCamp
"Learn X in 24 hours/three days!"
Anything that deviates too far from a specification (Very obvious if you're reading a spec. in parallel with a primary learning resource)
Most blogs, especially anything on Hacker News that isn't being written by someone obviously trustworthy and/or qualified

[Searching]
You should use a metasearch engine. Not only are they better for your privacy, but I've observed better results than single engines like DDG or Yandex.
https://searx.space/
Bookmark 3-4 reliable instances at the top of your browser and rotate between them or use an add-on such as LibRedirect.

Hacker News has lots of developers and skilled people posting on it. If there's a particular project/idea you're interested in its worth looking it up with their search engine.
Message too long. View the full text
53 replies and 12 files omitted. View the full thread
842px-Standard_Model_of_Elementary_Particles_Gravity_Hadron.svg.png
[Hide] (383.6KB, 842x1199)
Photons are trans particles. The are really waves that identify as particles. 

Think about it: It's called the photo-electric effect not the photo-magnetic effect, but people still use the speed of radio waves in all these equations. Radio waves are magnetic induction and are subject to gravity so they have a slower speed the infinity. In the case of photons, they actually have infinity speed as predicted by classical mechanics. Light and Magnetism are not the same thing, but if you ask a Quantist person they insist that they are.

The Aether Theory, that space acts like a volume of liquid and allows for disturbances like photons and EMF to travel though it, is much more succinct. I've spent most of my life wonder where all the photons come from in an atom. It turns out that there are no photons, just taps on skin of drum when an Electron change it's band or is ionised. It's all so simple now.
>>10267
no such thing because theyre not waves or particles they just overlaps because both are incomplete models and no one has come up with a real unified atomic model, anyone thats done retard level highschool chemistry knows these models are only used for practical reasons not theoretical neither are even considered as anything close to reality
>>10267
I know both representations are equally (in)valid according to today's knowledge, but the particular interpretation makes more sense to me. An electron emitting a small particle when losing energy makes sense. Light being "vibrations" of nothing doesn't.
Replies: >>15342
>>15336
>emitting a small particle when losing energy makes sense
What are particles then?
>>10267
>trans particles
Keep them out the locker rooms and out of physics!

Program_in_C.mp4
[Hide] (6.5MB, 1280x720, 00:51)
Here's how you could "fix", or make a better version of the C programming language.

How would you improve C or another language?

Most important

- #import, imports the file into the program, but only makes the contents (variables, functions, types) available inside files that include it directly. It does not place the contents where you #imported it like #include does. Header files and compiler settings are unnecessary for #imported files. #defines do not have to be compatible with it, if that's what it takes. #include is still useful though, although I would probably call it #paste instead.
- Use . instead of -> for dereferencing struct members. It seems like a nitpick but it's important because of how prevalent and annoying and totally pointless (insert pointer joke) it is.
105 replies and 9 files omitted. View the full thread
I would rather start with C++ and remove don't things than build on C, but if I had to suggest improvements to C that could realistically pass comitee at some point in the future. 
>defer
>syntactic macros (optional and coexisting alternative to preprocessor)
>comptime type-functions á la Zig
>namespaces

less likely to be accepted, but I don't think they should be:
>universal function call syntax (x.foo() is the same foo(x)).
>non-nullable pointer type
>built-in slice types
Replies: >>15329
rm /usr/bin/gcc
I'm free at last. :)
>>15322
Rust won't magically solve any issues that haven't already been solved in other languages and it doesn't excel at anything.
>>15323
I'd say the most important are:
>Passing fucking arrays or at least a syntax to pass pointer and length together.
And as you said:
>Slices
>Namespaces
Replies: >>15334
>>15329
Passing arrays would be cool. We can pass structures containing arrays, but not arrays, how does that make sense?

And actually use VLA's length specification so that
void foo(size_t n, int bar[n]) {
    return sizeof(bar);
}
returns sizeof(int)*n

signal-2024-04-29-21-22-06-640.jpg
[Hide] (392.9KB, 1536x2048)
My mom just picked up a commodore PET that was given away for free by a relative :^)
Lets have a proper retro computing thread. 
Post about practical uses of this ancient computer hardware - how this simplistic architecture can be used as a learning tool.
Planned pojects: Restore this decayed machine.
Write Tetris in 6502 assembly.
Last edited by wizard
34 replies and 18 files omitted. View the full thread
Replies: >>15257 + 2 earlier
G.R.R._Martin_using_DOS_WordStar.png
[Hide] (302.2KB, 616x456)
Let me follow-up my last post >>15183 to add that MSDOS doesn't have to be retarded and gay >>15145 because they made a whole bunch of useful tools for it back in the day, so it's only lame if you're using it stock. I can't list all of them, but for starters you should look into 4DOS and QEMM/Desqview. I didn't have 4DOS back then sadly, so I hobbled along with COMMAND.COM and some aliases and command history provided by the DOSKEY program that came with my version of DOS. I also had LIST90H that was also very helpful, kinda like a mini version of Norton Commander.
For programming, the OS should already includes some version of BASIC like BASICA/GW-BASIC or QBASIC. These are actually quite good dialects, and were very popular back in the day so you'll find tons of programs written in them (as well as the older & compatible MBASIC for CP/M). I liked them back then, and now I like them even more!
Otherwise Turbo Pascal was also very popular. Something I stumled on today while searching for an old game (Island): http://blarg.ca/2018/10/14/turbo-pascal
I also had a lot of fun with TP back in the 90's. More recently I tried to use FreePascal on Linux, but it's not at all the same in practice. With DOS things were simple, everything just
Message too long. View the full text
If you go with ELKS, then maybe you should try to find out if dvtm works under it.
https://www.brain-dump.org/projects/dvtm/
Tandy_1000_SX_a.jpg
[Hide] (420.3KB, 1041x1502)
I doubt you're gonna learn anything with ELKS that you couldn't already with normal Linux. It's just gonna be more C/Unix wankery like everything that's in vogue today. You'd be better off to port CollapseOS to this computer. Or make your own Lisp if you're one of those lainfags. But obviously DOS already has assembler and huge amounts of documentation, tutorials and examples, so you don't even  need to install any fancy OS to write Tetris. Plus there's tons of good old games to play natively, which is something not many people have an opportunity to do today.
Replies: >>15254
>>15201
>porting collapse os
That's an excellent idea, anon. How would a hyperactive zoomer go about tacking a project like that?
I only have done some pic assembler and tarduino C MCU programming before.
Terry_A_Davis_3.jpg
[Hide] (155.9KB, 1232x1040)
>>13347 (OP) 
I should start reading about technical details of C64. Terry Davis recommended the book Mapping The Commodore 64

BAofeng-350x350.jpg
[Hide] (30.3KB, 350x350)
FT70-500x500.jpg
[Hide] (29.1KB, 500x500)
TX-500-Pisgah-National-Forest-GoRuck-Bullet-1.jpeg
[Hide] (372.1KB, 1000x1334)
Discuss radio-related stuff here. 

Bitch about telecom being cunts to Hams. laugh at VE7KFM's (and the rest of 14.313mhz's) continuous antics. Talk about how despite "radio's death" in the 90s-00s that radio as a technology being used even more during then and now. Bitch about how many chinkshit appliances that leak RF into the airwaves and the FCC doesn't/can't do shit. Have an existential crisis realizing that Wifi is pretty-much just radio.

I've been trying to make my own go-bag as a means of either listening/communicating on vacation trips, or in case of SHTF. Still trying to figure out my use cases and decide what I need and don't. It's so fucking hard trying to find a mobile rig that actually can listen to a wide set of frequencies and transmit only on what it needs to. Too many mobile rigs are just X amount of bands, and that's it, no FM broadcast, no AM no EMS or Airline.
14 replies and 4 files omitted. View the full thread
Replies: >>15249 + 1 earlier
MARINE_CB_VHF_FREE_BANDS_CHART_BLANK.png
[Hide] (139.5KB, 816x1056)
>>13390
Forgot my magnum opus
Hello, I'm new too and radio is banned in my country, any ideas on how to hide antennae? Anyways, what is everyone's thoughts on meshtastic since its recent gain in popularity, their discord is at 18k+ members.
Replies: >>13532
>>13516
>discord
>decentralized
Hard pass.
Jokes aside, there are a lot other projects like this and their webpage doesn't say anything different about them.
>no license

as soon as you broadcast without a license some faggot ass white boomer a day away from a dirt nap is going to rat you out to the FCC cause he has nothing better to do than to rat on his fellow white man for wanting to communicate without government control. Boomers just need to fuck off already.
>>10196 (OP) 
I recommend getting RTL-SDR because it's cheap and requires no license. Use ebay links on their site so you don't get scammed:
>https://www.rtl-sdr.com/

Show Post Actions

Actions:

Captcha:

Select the solid/filled icons
- news - rules - faq -
jschan 1.4.1