Programming

  • jpn
  • math
  • mk
  • now
  • prog

/prog/ — Programming

+ New Thread

Discuss anything related to programming.

  • lol

    can i improve art here

    71° 2022.02.03 09:24:08 2 replies
    • yes. yes you may.

      88° 2022.07.04 00:13:54
    • art is shit. only anti-art statements are valid.

      90° 2023.01.05 00:30:57
  • math captcha liek this one

    how can i write a captcha system like this one in php :DDD

    89° 2022.12.11 19:19:26 0 replies
  • C

    I'm trying to play around with C and EMACS for fun.
    Unfortunately, the usual learn-c.org tutorial doesn't work on Trisquel's Abrowser.
    Guess it's JavaScript is limited somehow despite of how I haven't disabled it?

    75° 2022.02.10 18:08:56 1 reply
    • Go though the Emacs tutorial and read C Programming: A Modern Approach (http://knking.com/books/c2/)

      87° 2022.05.07 13:08:36
  • is cloud computing also programming?

    look at this moron who posted last lol
    https://tvch.moe/dunk/res/100288.html

    86° 2022.05.02 11:40:33 0 replies
  • how do you program

    an from scratch to finish
    do you actually memorize everysingle step by step wow, ofc. i couldnt imagine that kind of superpower

    76° 2022.02.27 09:40:20 3 replies
    • I use documentation a lot because I can't remember everything. A computer has better memory than I do; I save my brain power for reasoning and logic

      83° 2022.04.09 01:46:04
    • >>83
      which of the API do you choose then

      84° 2022.04.10 02:23:12
    • >>84
      Pick one at random

      85° 2022.04.22 06:55:08
  • URGH

    https://www.matterhackers.com/articles/3d-printer-troubleshooting-guide If im gonna be learning this much of lines for every single 3d printing/programming problems
    .... holy shit, it's fucking impossible. I can barely even remember the shape of a 3d form and that's all.

    72° 2022.02.09 09:47:51 0 replies
  • release the source

    nice textboard
    give me the script please

    49° 2020.11.07 15:59:38 5 replies

    2 replies omitted in this preview.

    • #MeToo

      65° 2021.09.22 23:05:40
    • I prefer to download media files.
      https://coconvert.com/en2/

      69° 2022.01.08 10:47:31
    • helo

      70° 2022.01.16 20:57:48
  • Help me learn cloud engineering and programming

    basically getting regular jobs in microsoft, alibaba, or wherever that pays... what are the important keypoints i need to master and remember? especially programming: building a whole app and server from scratch/notepad, what do i need to know, what are the books, where do i read in internet?
    as for cloud: not getting fired.

    67° 2021.12.10 04:14:46 1 reply
    • lol https://wirechan.org/a/index.html
      i'm on a budget so i am not confident i can do this dumb shit without solving the other one first...or making enoguh. mum also says not to borrow, and i dont like living in debt. it makes me feel... useless so we're gonna do one first.

      68° 2021.12.16 09:11:59
  • help me master all of this

    https://edu.alibabacloud.com/?spm=a3c0i.14527127.4363105600.2.7a506d84uGrHpW

    Tonight.

    https://archive.org/details/nicolasslonimskythesaurusofscalesandmelodicpatterns/page/n54/mode/thumb
    and this for more, brainy hobby. also maybe money.

    and need all 3d books so i can do all and every everywhere

    also a rant: how many of you are that rich anyway

    66° 2021.10.25 08:41:16 0 replies
  • Software Engineering

    What are some good resources about software engineering? Handling large projects, structuring a codebase effectively, CI/CD, testing, TDD, etc? So many of these just seem filled with meme/micromanagement techniques (scrum) and very little about filling the gap between single file CS assignments and building larger applications/production ready systems.

    62° 2021.07.19 18:24:39 1 reply
    • Unfortunately these skills are usually learned by doing. Things like codebase structure are not universal, they depend on the type of project. I'd advise you to try making bigger and bigger projects in your area of interest. A textboard like this one is a good example.

      63° 2021.07.23 19:55:46
  • I'm glad other people have done takes on this concept.

    Here is my current project: https://msgbored.rvklein.ca/

    What are you working on, /prog/?

    11° 2020.02.19 04:22:33 5 replies

    2 replies omitted in this preview.

    • >>15
      Yes, it may never take off. I'm okay with that though. Just working on something helps me.
      Without giving too much away (if I give too much away, then I might just stop working on it), this visual novel will be about such a programming language that makes sense for the whole visual novel to be programmed in that language. vn-canvas looks cool, though.

      17° 2020.05.02 03:29:45
    • Does this mean that you're in the process of creating and implementing your own programming language that you're then going to use to program the visual novel in, or is it simply that the visual novel is going to somehow be /about/ the programming language? I've always thought that a visual novel or something similar would be a really cool project to work on, although I'd need somebody else to create the art and the story for it.

      52° 2020.11.25 12:12:52
    • Looks like it's dead!

      56° 2021.01.10 16:00:29
  • Licky

    Licky.org Cute discord alternative

    32° 2020.08.11 12:07:37 4 replies

    1 reply omitted in this preview.

    • >>33
      ikr?

      38° 2020.08.16 16:59:12
    • Does it work with JavaScript and cookies and third-party references disabled. I seriously doubt it. Text boards and imageboards should be everything you could possibly need for communicating with other people on the Internet. Forums are cool too.

      51° 2020.11.25 12:07:54
    • >>51 Well, for real-time messaging in the browser, JavaScript is basically necessary.

      55° 2020.12.07 22:29:23
  • Decemberchan

    Decemberchan. A new, 1 month textboard.
    Come give it a try if you'd like.
    https://decemberchan.fun/

    54° 2020.11.28 23:46:27 0 replies
  • Cool Projects

    > Syphon
    > a privacy centric matrix client
    https://github.com/syphon-org/syphon/

    30° 2020.08.09 01:08:54 7 replies

    4 replies omitted in this preview.

    • >>39 I have heard of this, it looks really good. Is there ever an issue where blocking an ad network prevents a website or application from working? It looks like there is a white/black list feature but would it be hard to identify which domains need to be whitelisted?

      40° 2020.08.17 00:49:35
    • >>40
      Not that I know about. It prevents ads packets from reaching hosts within your LAN, but doesn't prevent web servers from sending these packets, so they have no way to know that their content is not being shown.

      41° 2020.08.17 14:23:49
    • I don't think that writing a new Web browser, no matter how well written and privacy-centered and whatnot it may be, isn't going to help much with fixing the problems with the Web. I think that the Web as a whole needs to change, or better yet, simply return to what it used to be some twenty years ago: no scripts, no cookies, and, most importantly: decentralized. Or better yet, we may need to abandon the Web altogether and move on to something different that is centered around the concepts of simplicity and decentralization.

      53° 2020.11.25 12:17:35
  • Intel Management Engine code leaked

    > Five Intel Microcode (uCode) Sequencer's arrays for Atom Goldmont core named according to our guesses:

    > ms_rom.txt - the first array of Microcode Sequencer, with triads of 48 bits micro-operations of the Intel Small Core

    > ms_irom.txt - the second read-only array which we think contains immediate used in msrom

    > ms_patch_imm.txt - immediates for ucode patch from patch RAM

    > ms_match_patch.txt - dump of 31 bits match/patch registers pairs. They refer directly to msrom with 0-15 bits of match register and 16-30 bits of patch register shifted right by one bit

    > ms_patch_ram.txt - extracted content of MS Patch RAM. It contains uops divided into four groups (1st is all first uops from each triad, 2nd - all second uops and so on). This data combined into triads can be found in msrom at 0x7c00 UIP

    https://github.com/chip-red-pill/glm-ucode

    42° 2020.08.20 01:51:28 2 replies
    • probably full of backdoors.

      47° 2020.08.24 20:13:17
    • >>47
      Yeah, there had been speculations about the whole Meltdown vulnerability for years before it hit mainstream media. Really makes one wonder what they are up to these days.

      48° 2020.08.26 15:42:21
  • OpenBSD Switches to LLVM

    > Log message:
    > Import LLVM 10.0.0 release including clang, lld and lldb.
    >
    > ok hackroom
    > tested by plenty

    https://marc.info/?l=openbsd-cvs&m=159646514207723&w=2

    37° 2020.08.13 12:26:25 1 reply
    • Voila, PowerPC architecture is being supported. Snapshots at:

      https://cdn.openbsd.org/pub/OpenBSD/snapshots/powerpc64/

      46° 2020.08.21 14:56:10
  • I recently had to use Lua for a project. I thought I was going to hate it, but I don't. It's actually really nice, in a way.

    1° 2019.08.16 05:56:54 11 replies

    8 replies omitted in this preview.

    • >>1
      What was the project?

      43° 2020.08.20 17:47:51
    • >>43
      It was a game. I used LOVE:
      https://love2d.org/

      44° 2020.08.20 17:51:47
    • That is a very powerfull framework, had not seen it before.

      45° 2020.08.20 22:00:42
  • textboards.json

    What's up folks,
    I've compiled a list of textboard sites in a .json format.
    Am I missing any?

    https://gitgud.io/iblist/textboards.json/-/blob/master/textboards.json

    23° 2020.07.25 19:22:38 5 replies

    2 replies omitted in this preview.

    • A lot of textboards just devolve into talking about textboards.

      27° 2020.07.29 05:26:56
    • Truly.

      28° 2020.07.30 00:16:11
    • >>26
      >>27
      Naaahh, that is just you guys.

      29° 2020.08.05 03:04:21
  • Procedural Generation

    Hey, so I'm a lazy piece of garbage. How could I best generate a series of glyphs for my diary, but exclude all rotations and reflections?

    4° 2020.01.12 04:43:14 7 replies

    4 replies omitted in this preview.

    • >>8
      I am a big fan of A Book from the Sky and asemic calligraphy in general. But, since, I am not a programmer, I am asking for how to go about making some glyphs. Which language should I use? Can I specify that all valid glyphs be proportional to a "master" glyph? (If so, how? If not, then what's the next best method?)

      9° 2020.02.09 20:45:15
    • >>9
      >I am asking for how to go about making some glyphs
      I am not sure if you already know the rules that you will use to generate those glyphs, like how A Book from the Sky uses the rules of Chinese radicals. If you already know the rules then all you have to do is program the rules, which may be arbitrarily hard but it already gives you a place to start.
      For example if you want your glyphs to consist of triangles and squares in assorted positions, you could program that easily. It would not result in very pretty glyphs, though.
      I am not sure how you could accomplish this without having some rules in the first place for how the glyphs should be generated unless you want to just throw pixels at the screen until it looks nice, which you could accomplish with machine learning / neural nets I guess. But this will be hard if you don't have any programming background.
      >Which language should I use?
      Python most likely.
      >Can I specify that all valid glyphs be proportional to a "master" glyph?
      Not quite sure what you mean by proportional...

      Maybe someplace that would be simple enough to start is coming up with new Latin alphabet letters. We just need some rules to describe them. I can think of some:
      - Basic shapes used: Lines, curves, circles.
      - Shapes can connect to other shapes typically at the midpoint or ends.
      - Shapes can intersect other shapes at arbitrary angles, typically around 45 degrees.
      - All letters start at the top.
      - Don't use more than 4 shapes.
      Then randomly do these things and see what you get. I am sure this doesn't even cover all existing letters (how would you have generated "S"? two curves?) but it would be how I would start.

      10° 2020.02.11 01:07:58
    • I didn't think I would see A Book from the Sky mentioned here. This thread also reminds me there's a service where you can send in your handwriting and get a custom font made from it.

      16° 2020.04.30 08:18:18

The Transient Textboard

  • about
  • rules
  • faq