/tech/ - Technology and Computing

Technology, computing, and related topics (like anime)

Reports of my death have been greatly overestimiste.

Still trying to get done with some IRL work, but should be able to update some stuff soon.


Max message length: 6144

Drag files to upload or
click here to select them

Maximum 5 files / Maximum size: 20.00 MB


(used to delete files and postings)

Open file (59.30 KB 872x312 Capture.JPG)
/hsg/ Anonymous 09/13/2019 (Fri) 13:13:12 No.103 [Reply]
Post your servers, what you're working on, or what you plan on buying
or post anything, don't let this board get any more dead then it is
21 posts and 2 images omitted.
What are your (creative) solution for dynamic ip?
>>3081 Create an overlay network where the current address is bound to a public key, so that when the physical address changes all it takes is to change the associated value and since the overlay address is a crypto key I can encrypt data for free, too. Not my idea, but it's cool.
>>103 i dont have anything cool to say except devuan, nice also >don't let this board get more dead then it already is than*
>>3082 What is the resolver?
>>3084 As long as some kind of table can be built, resolving the overlay address to get the physical address is easy, just store it as a value in the table with the overlay as a key. It's pretty much what also happens with routers and IP addresses. With an overlay network the already existing protocols can't really be used, but it can be worked around by using a dht or something like that.

windows xp leak Anonymous 09/24/2020 (Thu) 16:00:11 No.3056 [Reply]
looks like a windows xp and 2003 leak https://www.limetorrents.info/Microsoft-leaked-source-code-archive%202020-09-24-torrent-15247398.html https://mega.nz/file/PdhxBSZD#w-O3C-BAMwE4E02qPn_fSdTivILcE8hzk9PeyoXg7wU we may get fully functional foss windows, i could easily see russians or whoever updating it for security and improving it.
>>3056 maybe

Open file (164.14 KB 1000x1000 8bitdo-sn30pro-plus-1.jpg)
Open file (20.57 KB 402x444 controller.png)
Controller Issues Anonymous 08/29/2020 (Sat) 10:46:35 No.3047 [Reply]
I have recently bought an 8BitDo SN30 Pro+ controller after it had been shilled to hell and back and it was pretty comfortable to play with, but I'm getting some issues with diagonal inputs with the analog sticks. More specifically, according to Windows 7 patented controller settings screen, I can't seem to get the cross in any of the four corners, no matter how hard I try or what settings I change using 8BitDo's software. Updated firmware doesn't seem to make a difference. More specifically, I'm having trouble when playing with emulated games that use wide and angled movements, think Crash Team Racing. I can play it no problem but it won't turn all the way left or right in tight corners for some reasons. Is there a way to achieve that sweet corner movement, or is my controller just defective? It's such a joke that a Linq cheap PS3 controller can do what a 40 dollarydoos controller can't.

Anonymous 08/08/2020 (Sat) 05:31:31 No.3032 [Reply]
I have a $800/$1000 budget. What would be a good general purpose laptop to get under that?
Would my dick be a suitable laptop for your tight pussyass, lad?
>>3032 Thinkpad x220 or Thinkpad x200
>>3032 Acer Nitros are the best value if you want one that can handle the latest games.

Open file (14.39 KB 711x512 haskell-logo.png)
Haskell general - see what other languages will introduce in 10 years Anonymous 09/14/2019 (Sat) 19:42:43 No.114 [Reply]
This thread is for make benefit glorious language of Haskell and functional programming in general. Discuss anything from newbie questions (what's a monad?) to advanced topics (what's a monad?) to category theory (what's a monad?) to your real-life haskell projects (>implying haskell is used outside academia) to what language features should be included in GHC9 to which IDE is best.

The hottest opinions: https://github.com/ghc-proposals/ghc-proposals/pulls?q=is%3Aopen+is%3Apr+no%3Alabel

Haskell for starters: http://learnyouahaskell.com/introduction#what-you-need
Hoogle: https://www.stackage.org/
Introduction to lenses: https://www.schoolofhaskell.com/school/to-infinity-and-beyond/pick-of-the-week/a-little-lens-starter-tutorial

If you're past the Hello World phase, I highly recommend using stack to sandbox projects https://docs.haskellstack.org/en/stable/README/#quick-start-guide and install HIE for IDE integration (e.g. VS Code) https://github.com/haskell/haskell-ide-engine#user-content-installation . Where Hoogle beats any other form of documentation, HIE beats any autocomplete and checker, simply because Haskell has such a rich type system and GHC has features like typed holes.

Honorable mention to http://www.purescript.org/ for being basically Haskell but without a lot of legacy garbage and with row types. A huge downside is that it's not lazy.
5 posts omitted.
>>3023 You can do an old AoC, although AoC is very much aimed at imperative languages. Other than that try project euler and kattis.
>>3025 >kattis Exactly what I was looking for, thanks m8.
if i learn haskell can i get a job and make 3 gorillion dollars a year?
>>3039 No, but you may be able to use it to virtue-signal your way into a position of temporary power in the coming pozfest during the coming collapse of the West. Elephant language is popular in academia (especially with a certain type of professor) after all. If you want gorillions then learn C++.
>>3039 If you have to ask it's a no. Most people who have learned Haskell out of interest enjoy a well-paid and satisfying job. And by learned I mean knowing how to build a useful program, not just knowing hello world, list comprehensions or >hurr durr monads are burritos. But don't despair, even if you only want to learn it to make 9 bajillion dollars, learning Haskell will help you become a better programmer by presenting you with approaches and abstractions that you could never imagine and can be applied in other languages too. And better programmers earn more.

Anonymous 08/09/2020 (Sun) 03:00:20 No.3036 [Reply]
>>3009 You forgot how micro$oft exchange (for some reason a majority of companies) still spam-file or grey list your server even when you have a perfect reverse proxy, DKIM and SPF. Still worth a try though.

Anonymous 07/24/2020 (Fri) 06:04:09 No.3007 [Reply]
What can we do to help mitigate spam on imageboards? In the past few months I have noticed an increase of spam (especially political drama manipulation and website ads) mass posted on literally dozens to hundreds of imageboards at a time. I have no doubt this will increase as we approach the US elections. How can we use technology to help mitigate the destructive impact of spam? One place where this is important is on political boards which often mistake political manipulation spam for legitimate contributions as it fits their board topic. It's also less obvious to people who use only one IB.
Open file (713.49 KB 868x651 Science.png)
Examples of spam you might recognize: https://html.duckduckgo.com/html?q=well%20now%20it%27s%20here%20and%20you%20pathetic%20incel%20losers%20are%20just%20sitting%20at%20home%20jacking%20off https://html.duckduckgo.com/html?q=%22bear%20witness%20that%20there%20is%20nothing%20worthy%20of%20worship%20in%20truth%20but%20Allah%22 https://html.duckduckgo.com/html?q=A%20slow%20but%20friendly%20greeting%20from%20Slothchan! https://html.duckduckgo.com/html?q=%22Antifa%20blm%20planning%20on%20mass%20murdering%20white%20people%20on%20july%22 Some ideas: >use search engines to identify and call out spam like above. Anyone can do it without effort, but it's manual volunteer work. This also becomes harder as more imageboards use robots.txt to unindex themselves and because it takes a few hours for search engines to update. >make public scraper bot to regularly check various imageboards for identical posts. It could have a public feed of recent spam topics and archived proof of spamming with a list of sites hit with it. You would just post a link to that site whenever it shows up. Downside: persistent threat could add random elements to try and defeat automatic identification, cat and mouse game. Unlikely to see that dedication though? This could also be used to ID false-flag spamming a topic by listing the post time (if it gets posted on a /pol/ board and then spammed six hours later, it's probably inorganic.) >moderation webring. Have a way for staff to report spam posts and have it report identical posts on other imageboards if they exist.

Message too long. Click here to view full text.

>>3007 Spam is a partially solved problem. It was estimated that over 80% flow of emails is spam. Nobody is covered in spam because spam detection solutions are good, they have all kinds of statistical learning filters. Modify rspamd, or cheaply format posts as emails and pipe that through rspamd. Moderators can easilly teach rspamd filters by "Marking as spam" like you do for emails. Just make sure to disable dns checks and email specific modules.
>>3009 That's a good idea but I am skeptical of how effective automatic filters could be for less generic spam, such as ones not including links like most of the examples given, especially on random boards or political boards. If they weren't posted on multiple imageboards or in inappropriate places, they could easily be identified as legitimate OP posts. That would still be great for generic link-spam though.
>political drama manipulation huh the old trump/russia collusion trope funny to see it unironically on an imageboard
>>3009 Email is used by basically everyone who is on the internet. The dataset to train spam filters is enormous. I reckon it wouldn't work nearly as well at a place like this.

Open file (8.21 KB 320x284 veracrypt_1-1-24.jpg)
Anonymous 01/28/2020 (Tue) 19:03:17 No.1424 [Reply]
What do you use for encryption of your data?
9 posts and 1 image omitted.
>>1435 Sadly that gives Bluescreens on Winblows, so I use Veracrypt in TrueCrypt-mode. Don't really have a choice.
>>3013 Which Windows are you using? My 64-bit Windows 7 has never encountered a bluescreen from TrueCrypt.
>>3014 Server 2019. It probably also happens on 10. It's because of a bug in TC that never got fixed. The bluescreen will say "reference by pointer" https://answers.microsoft.com/en-us/windows/forum/windows_10-performance-winpc/error-reference-by-pointer-in-windows-10-pro/407e1e4b-b2a3-4d27-a0a5-a7a851749d5a
Is there a reason why Veracrypt should be considered untrustworthy?
>>3027 Don't know why its not trustworthy. But if you are on microjew os, your data is compromised. On Linux, LUKS and dmcrypt are better anyways.

Daily(or whatever) Programming Thread Anonymous 08/21/2019 (Wed) 14:47:20 No.8 [Reply] [Last]
What are you working on? Wether you just want to show off your shiny new program, or you need help with a programming issues, this is the thread for you!
211 posts and 53 images omitted.
>>2985 if you want a simple formula for diminishing returns with a given maximum, it's: power = max_power*turbine_count/(turbine_count-1+max_power/power_per_turbine) (you can check for yourself that with 0 turbines you get power=0, with 1 turbine it's power=power_per_turbine and with infinite turbines it's power=max_power) if you get multiple types of turbines hooked up to the same system, you can calculate an average power_per_turbine. that way it doesn't matter in which order you have your turbines or whether you have 2 normal turbines vs 1 good one and 1 awful one, but having 2 turbines with a power_per_turbine of 30 is slightly better than 3 turbines of 20.
>>2988 >you can check for yourself that with 0 turbines you get power=0 Nope, when self.power_per_turbine is 0 and/or self.turbine_count is 0 I get "ZeroDivisionError: division by zero". >with 1 turbine it's power=power_per_turbine Yes as excepted >and with infinite turbines it's power=max_power How are infinite turbines represented programmatically wise? I'm not sure if Python is capable of calling "Inf" amount of objects. Current script: https://0bin.net/paste/iTHqnMlJE3rUoZ5S#HgHcQ9Uknt7FmBGlzsS2BuUgBS9m6EMyYhlHV2ROPgg With self.max_power = 100000000 Results (Without a turbine_count condition): Power: 4,850,000.0 --- Turbine: 1 Power: 9,251,311.397234144 --- Turbine: 2 Power: 13,263,445.761166818 --- Turbine: 3 Power: 16,935,835.87952859 --- Turbine: 4

Message too long. Click here to view full text.

>>2989 >Nope, when self.power_per_turbine is 0 Sure, but you've got a really shitty turbine if its designed power rating is 0. :^) Indeed, in practice you need to first check if the power per turbine is valid or by proxy whether there's any turbines, otherwise the formula doesn't make sense. >it causes power output fluctuation when I increase/decrease self.max_power despite the power output is not reaching that limit yet, is that intentional? Yes, because the formula is a simple smooth line. Last time I made an interactive graph to shed some light on the formula, but geogebra requires registration to share it so I left it at that. So here's the setup in desmos: https://www.desmos.com/calculator/v4l49zrkst If you make the power per turbine very small, like p=100 000, you'll see that the effective power grows nearly linearly with more reactors and barely changes when you slide the max power around. But the larger the power per turbine is, the more you'll see the total output fluctuate with a change in the max power, even with only 2 turbines. And the more you'll see that extra turbines have diminishing returns.
I'm just beginning a book called C++ Crash Course by Josh Lospinoso, from No Starch Press. In the preface of the book, he addresses benefits from C++ that C-only developers can take advantage of if they compile their C code with a C++ compiler. Here's an approach that allows C code to use C++'s RAII idiom, and it won't leak the file handle in case something external to the code breaks (like the disk space is exhausted for example). // demo of a SuperC file class, pp55-56 #include <cstdio> #include <cstring> #include <system_error> struct File { File(const char* path, bool write) { auto file_mode = write ? "w" : "r"; file_ptr = fopen(path, file_mode); if (! file_ptr) throw std::system_error{errno, std::system_category()}; } ~File() { fclose(file_ptr); }

Message too long. Click here to view full text.

Open file (644.04 KB 656x749 scientist.png)
>>2990 >Sure, but you've got a really shitty turbine if its designed power rating is 0. :^) It will happen when the steam temperature is less than 100°C caused by lack of fuel or lack of water input (to produce steam off from). >nearly being done with refactoring my turbine and reaktor object >hook them up to my main program which contains the structure object >I have to deal with 2 major bugs now >one is that the reaktor for some reason doesn't produce any steam due to lack of water input despite I make a function call to do so >the other bug is that turbine receives only on certain condition steam and has odd behavior depending how much steam is inputted Oh man this is going to take ages debugging this shit.

Report/Delete/Moderation Forms

Captcha (required for reports)

no cookies?