/tech/ - Technology

Technology & Computing

New Thread
Files* Max 5 files32MB total
Captcha*Select the solid/filled icons
[New Thread]

[Hide] (31.4KB, 161x161)
OpenRC Embraces The CoC

The OpenRC maintainer https://github.com/williamh, together with the user https://github.com/vapier (nicknamed vapier) discuss how to be handle their incoming megaqueer reports with the new pull request which is titled add CoC based on the Contributor Covenant project #453

The community manifests their disagreement, but the repository owners completely ignore it.

29 replies and 3 files omitted. View the full thread
>All the big ones do.
All the big OSes do*
>Your incompetence
Oh, don't be idiotic now, there's a reason so many different init systems exist and why SysTemDicks became so popular in the first place. Difficulty in interfacing with and modifying poorly designed, archaic software with barely any documentation isn't "incompetence", and actually managing to work with it isn't competence either despite what so many autists believe about their abilities to make Linux eventually bend to their wills.
Replies: >>9037
>It doesn't matter if you believe me or not
I fully believe that you tried to configure an init system without even knowing which one it was, failed and rage quit. It doesn't mean anything except that you're an idiot.
Replies: >>9038
>Your incontinence
>I fully believe that you tried to configure an init system without even knowing which one it was
You're allowed to believe whatever you'd like, even if its braindead and entirely wrong. I've always selected Sysvinit when configuring Devuan. Its shitware and a relic of time, but guaranteed to work as the default. You potentially being better at using it than me, assuming you're not just an annoying troll, doesn't mean a thing for your intelligence or competence which is obviously lacking based on your posts in this thread. I wouldn't expect someone like you to understand though since you're probably the kind of person who gains a false sense of pride and accomplishment in dealing with the inane like so many others in Linux circles. How sad!
To end this point less arguing, I ( >>9024 )  think that sysvinit had to go but systemd is even worse (but for different reasons). Also, I want to clarify one thing. All *BSD operating systems use init, too. But instead of using SysVinit, they use BSD init (/etc/rc). That being said, almost no one says that sysvinit is better than BSD init (or better alternatives, like OpenRC, Runit, S6, dinit or GNU Shepherd). A problem with sysvinit is that's it's even messier than BSD init. But both are worse than something like Runit or OpenRC because they are slower (they don't start services in parallel) and they don't do any kind of service supervision.

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

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

What are you working on?
9 replies and 2 files omitted. View the full thread
>do subpixel font rendering
>can barely tell a difference
>it's 9-30x slower
Well that was disappointing. 4 different size comparisons, subpixel renderer on top, cached glyph sprites on bottom.
Replies: >>9011 >>9015
[Hide] (103.4KB, 878x568)
Forgot image.
Replies: >>9012 >>9013
[Hide] (11.1KB, 2012x120)
You'd see some rainbow colors in the zoomed in versions if that was subpixel font rendering.
Replies: >>9013
Realized that I forgot to do proper alpha blending (which is why one of them seemed brighter), that made it slightly faster (the difference doesn't go above 20x anymore). I guess it's because my blending function has a much faster branch for fully transparent and fully opaque pixels.

I mean subpixel positioning, so the glyph starting point isn't aligned to pixels.
How is the initial rendering done? I just thought of this quickly, but if this isn't being done already would it potentially be faster and better looking?
>Assess screen size, scale, window dimensions, etc.
>Select closest size of the chosen font available to the rendered size ("A" of font X has (clean) sizes 1, 2, 4, 8, etc... A scale approximately 6.5 times larger than size 1 would select size 8 and scale it downwards)
>Cache the font approximation for speed (You could have 1000+ extremely high quality sizes of font Xs character set due to how cheap storage is nowadays...)
>Insert characters according to the arrangement of the text
>Combine characters together into one massive, static texture that only needs to be translated whenever a page is moved rather than rendered frame-by-frame game-engine style (Think of my entire posts body as being one single image with interactivity imposed on top of it like buttons (cursor "collision"? (If that's the right term to use here)), text "highlighting", etc.)
As far as I know, browsers render game engine style with each frame independent of one another, right?

[Hide] (4.7MB, 1280x720, 01:03)
Discuss methods to remove >systemd.
232 replies and 38 files omitted. View the full thread
Wait a minute, I just realized that this thread was the first post in this board.
Perfect way to found a /tech/ board.
Replies: >>8773
systemd removal thread won't work if it doesn't get started as thread 1
Replies: >>8794 >>8833 >>9014
[Hide] (89.3KB, 695x467)

[Hide] (62.9KB, 2556x1401)
[Hide] (898.4KB, 2556x1383)
>have imperfect vision
>sit about 1 meter (3 feet) from the computer monitor
>be in video gaming clan
>they use mumble
>pic related is mumble
>can't just scale up fonts and elements by ctrl + scroll up like i can with my terminal emulator or web browser
>have to lean in every time I need to do something with the program

Is this why javascript and web apps are subsuming desktop application development? It is trivial to define a general page layout and theme and let the user zoom in as needed. Is it not the same for GUI frameworks?

second pic is comfortable reading siz except for the URL and title bar.
18 replies and 1 file omitted. View the full thread
[Hide] (219.9KB, 960x828)
I made my own UI library and scaling the UI should be as simple as multiplying all the size values with the current zoom level when calculating the element positions. Pic related, the library a bit more complicated than just drawing text and buttons. I haven't implemented scaling due to not needing it myself, but I don't foresee it being difficult at all.
Replies: >>7861
This looks good, what did you use? Also is the source available?
It's a bit tricky if the layout of the window didn't account for it to begin with. I implemented a "dumb" scaling feature in my program by stretching the window contents by an integer factor (pixel perfect 2x, 3x, 4x...etc) so not the best approach but it gets the job done on my screen.
Replies: >>7862
[Hide] (3.1KB, 121x185)
>what did you use
I'm not sure what you're asking. Win32 api for the window/input, stb_truetype for font rendering, stb_image for loading images, language is C.

>It's a bit tricky if the layout of the window didn't account for it
My UI system is inspired by HTML/CSS so it works very similarly. You nest nodes together, give them parameters like padding and minimum width, and then you can just call a function that recalculates all the element positions and sizes automagically to whatever boundaries you give it. Multiplying all the margins and font sizes and such by 1.5 somewhere along the way would scale it all up exactly as a webpage would.

>is the source available?
Not at the moment. I've wanted to make a good UI library and release it, but it's a struggle (pic related) to make something I'm truly happy with.
Replies: >>7897
>Win32 api for the window/input, stb_truetype for font rendering, stb_image for loading images, language is C.
That answers my question, thanks. I like the minimal dependencies but was hoping for something cross-platform.
>it's a struggle (pic related)
Write down the goals for your project and stick to them, put limits on the features so the project doesn't grow too big. You don't have to make a "full featured" GUI lib, just something that works fine for a given purpose.
[Hide] (337.7KB, 1280x720, 00:12)
I made an immediate mode GUI library for my own use in the past, but as of now I haven't used it for anything at all.
It has fractional scaling (the fraction I pass to all widgets is just the display's DPI multiplied by the scaling factor), supports IMEs, and has basic text & image clipboard support. While it does work well and the architecture is quite simple, I have only implemented text, buttons and text edit fields so far, nothing else.
Bloat-wise, it currently hard-depends on Skia, ICU and X11, but all three can be refactored away with zero effort because I kept the code reasonably organised. Not like I really want to actually refactor away Skia, since while it is responsible for 95% of the binary size, it is extremely fast, saves me from having to bother with any OpenGL headache, I get to render vector graphics for basically free, and I can easily port this to a platform with no GPU.

[Hide] (16.1KB, 300x292)
Any ideas on how to shield internet discourse from highly proficient, Turing-Test-passing chatbots sicced on given economical, political and cultural goals set by an unchecked and unbalanced third party?
Replies: >>8994
>>8993 (OP) 
community wireless networks brah

[Hide] (153.3KB, 640x966)
Title gives my conclusion from empirical events I witnessed and inside info. PSP runs on the same circuit, but isn't the backdoor per se, which has been around for much longer.

The same way AMD was able to change the crypto algorithms for the Zen chip they licensed to China, they can change how the CPU behaves at any system, even those already deployed. This can also be used to sabotage any program or computation, making BadBIOS vastly nastier than Stuxnet.

American military made a grave mistake to partner with the morons of the Brazilian military, who are letting knowledge of this spread like a fire (and misusing it for petty profit and inside jobs to justify a police state). Israel, UK and France also have access, but are much more professional.
5 replies and 2 files omitted. View the full thread
Replies: >>1585 + 1 earlier
>>1509 (OP) 
>what is network monitoring and DPI?
[Hide] (56KB, 744x744)
They probably just rootkit the uefi-bios. Most uefi can boot to network, so they must have network libraries to read and decode packets. You're telling me the Fed CIA can't implant someone at one of the 3 companies that make motherboard software?
[Hide] (2MB, 1000x1600)
*laughs in ARM Cortex-A7*
Replies: >>8952
Isn't ARM has something similar like PSP or ME? They called it the TrustZone and I quite skeptical about what it does. Also, just few years ago ARM processor has some major outbreak of CVE related to side channel attack.
Replies: >>8953
It's not equivalent to ME/PSP, which is why I bought an ARM system. :-)
Some ARM processors are vulnerable to Spectre class attacks, and others that exploit the speculative execution nature of the affected processors. Most newer ARM Cortex-A series are speculative, in fact, which is why I avoid them.  But Cortex-A7 and Cortex-A53 simply do linear fetch/decode/execute, without any kind of speculation.
That's not to say there can't be other CPU bugs, but I'm not aware of any major processor exploits for those two (A7 and A53) or older ones like ARM7 & ARM9 (but those ones are much less powerful).
And of course, other components can be attacked, like for example as Rowhammer does the DDR3/DDR4 memory. I thought about buying an old board Olimex sells that has non-vulnerable DDR2 memory, but it's a pretty big drop in performance from my 1 GHz dual core Cortex-A7 to that board's ARM926J clocked at 454 MHz, and since it only has 64 MB RAM the board can only run very old kernels specifically built for embedded Linux (and forget about OpenBSD, they just don't support it at all!)

[Hide] (3.5KB, 180x180)
What is the final document format? Not text file (unformatted). I am asking for formatted text document, with tables and embedded images. What is the final solution?

-ODF (.odt)
-Rich Text Format (.rtf)
-DOC (.doc)

-is the format simple, efficient, small?
-is it open source, free, or at least without patents or some other shit
-is it supported by large amount of software? for import and export
-is it malware? has hidden metadata and other shit? complex and proprietary?
-does the format allow for huge documents?
Message too long. View the full text
69 replies and 10 files omitted. View the full thread
Replies: >>8834 >>8942 + 4 earlier
>>7441 (OP) 


+ Simple and efficient. Human readable. Plain-text based
+ Many Free implementations
+ Any text editor can view and edit, but you probably want a WYSIWYG interface and there are software capable of that.
+ No hidden metadata
+ Huge documents? Sure.
+ The features supported depend on the flavor of markdown. CommonMark is attempting to standardize and has been quite successful with many platforms adopting it, although there are still issues and missing features. https://commonmark.org/help/ 
+ As simple as editing/viewing a text file. Even without a fancy interface, it's still very usable and readable
+ There are many editors out there, lean and bloated, you choose

Message too long. View the full text
Replies: >>8836
What are some nice GUI editors for markdown that aren't bloated? I'm looking for something with live preview.
Replies: >>8850
I've used ghostwriter before, I think it was pretty light.
>>7441 (OP) 
It's just hype no software.

[Hide] (1.6MB, 320x240)
Are you employed in a technical capacity? What job is it? How did you get it? What does your daily wokload look like? Are you looking for a different line of work?
59 replies and 7 files omitted. View the full thread
[Hide] (10KB, 200x211)
>not paid enough to care
>don't care enough to get paid more
Replies: >>8886
I'm all too familiar with this feeling. Looking back, I have gotten significant pay increases by working harder than necessary. It's a gamble but it can pay off. Nowadays though, it feels like I barely have enough energy to get out of bed. I've been working lower and lower amounts of tickets and somehow I still managed to let a couple slip.

On top of that, my employer seems to have a boner for making my life harder. They're trying to force us all to be on incoming calls whenever possible (in addition to our ticket work), and they just announced a draconian new spying system wherein they'll literally be recording our screens and audio devices, both on and off calls. It's such a shame, I had hopes that this could be a comfy job where I could coast, but my justifications for staying seem more and more like sunk-cost fallacy than anything when they keep doing shit like this. I do fucking hate job searching too though.

I even directly asked about the promotion which was mentioned to me as a possibility last month. All I was told in response was "we haven't had time to think about it yet" which sounds to me like they want to dangle it in front of me forever like a carrot on a stick. I've been wrong before though.

So, yeah, who knows if working harder is worth it in the end. Depends on the employer, I guess.
Replies: >>8888
this is the part where you update your resume and start looking elsewhere. if your employer doesn't trust you to not be jacking off on reddit or cuckchan while working then they don't trust you period. you'll always be better off going to a completely different employer than staying with one until you're collecting social security, making half of what you could've made had you gone to a different company.
Replies: >>8908
Magic eightball is spot on.  There were two times a job just wasn't working out.  First one wasn't willing to budge on a bunch of corporate team building bullshit like having to spend a month living in one of their dorms and that just was not only over the top but also conflicted with my personal plans coming up.  So we worked it out that I could resign pretty much on the spot but without that reflecting poorly on me if I should want to join one of the upcoming recruitment drives that comes up every 6 months.

The other started out as a temporary part time thing because I just wanted to keep the bills mostly paid while I had the free time to work on some other things.  I said if they wanted to keep me on board then I needed a $10k/yr raise to start putting away into a retirement account (2000s dollars, so rather more in today's dollars.)  They seemed surprised I asked so listtle and immediately agreed.

Common factor in both situations was that the employer wanted me.  I would have liked to stay at either one of them, but you have to have some limits on what you're going to put up with and what you're worth, and sometimes it's for the best to be clear about what your parameters are for staying.  The worst that happens is they say no and you be the one to say, "ok I'll think about it let's keep going."  And if you have particular requests like vacation days, meetings that get in the way, surveilance stat
Message too long. View the full text
[Hide] (53.8KB, 350x350)
>M$ forget to update a cert and everything broke again
death to microsoft

[Hide] (605.7KB, 720x629)
Post suggestions to keep the board excellent.
Last edited by Hidden User
140 replies and 37 files omitted. View the full thread
[Hide] (41.9KB, 500x500)
Is there a way to unlink files from a post? I'm sick and tired of seeing the fucking soyjaks that's what the report was for
Replies: >>8853 >>8859 >>8879
Yea, but the picture and post didn't violate any board rule.
Replies: >>8884
just hide the post/thread/image on your end friend
Replies: >>8884
My faggot, what's the problem with soyjaks? Do they hit too close to home to you?
Replies: >>8884
[Hide] (48.7KB, 341x481)
Fine, I'll hide those. Thanks for replying either way.
They're fucking ugly as shit, simple as.
>Do they hit too close to home to you?
Oh yeah, I can't imagine who else would use those things other than furfags with a scat fetish.

[Hide] (8.3KB, 234x216)
Was uncle ted ultimately right? Is humanity fundamentally at odds with modern technology?
8 replies omitted. View the full thread
Replies: >>8832 + 3 earlier
Maybe you guys should focus on the people causing the problems with technology, instead of focusing your efforts on an abstract concept that exists only in your heads.
Replies: >>8697
Exactly what I said. Technology is distributed and developed by some people, those people decide how technology should function.
Most wagie jobs are completely unethical. At this point only surviving off grid seems to be ok.
[Hide] (1.1MB, 1024x1290)
Technology is a tool like any other, but when that tool is used by malicious beings who are then defended by a stupid minority and a complacent majority technology becomes harmful to society. 
The problem is is not technology. The problem is greed and stupidity.
[Hide] (144.2KB, 1024x802)
>>8663 (OP) 

Show Post Actions



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