[ prog / sol / mona ]

prog


 

FizzBuzz comments

1 2024-05-05 20:01

https://leetcode.com/problems/the-skyline-problem/

Skip to the comments section:
2015: huwhites discuss if Python is good enough for writing throwaway code
2016: Chinese student cites the list of papers he used in his 1st semester assignment.
2022: sandnigger complaints the problem is too hard and unislamic

2 2024-05-06 05:23

But that's not FizzBuzz

3 2024-05-06 18:12 *

You have to go back.

4 2024-05-06 21:20

>>2

FizzBuzz is the class of problems, commonly used by interviewers.

5 2024-05-07 17:27

2024: surrender your algorithms at once or Russia will nuke you, pindos pigs!

6 2024-05-07 22:57

sandnigger

Wow, racist much?

7


VIP:

do not edit these



 

Everything Emacsen

1 2020-04-18 11:53

Let's talk about Emacsen: GNU Emacs, Guile Emacs, edwim, mg, etc. Do you use them? Do you like them? Do you extend them? Any tips to share? Any questions to ask?

2208

209 2023-12-28 03:41

>>206
Good talk. This one is very good too.

The Emacsen family, the design of an Emacs and the importance of Lisp.

https://emacsconf.org/2023/talks/emacsen/

210 2023-12-29 20:18

>>209

Lem is a nice Emacsen implementation.

Interesting project.
https://lem-project.github.io

211 2024-02-20 20:37

Has anyone used Linus Torvalds' fork of uEmacs? I've used it on ocassion. I know it's his own fork, so he can do whatever he wants, but I still don't get why he mapped the save key binding to C-x C-d lol

212 2024-02-21 13:54

>>210
Just tried this out with Racket. Feels "cleaner" and more responsive than GNU Emacs, but I couldn't find an equivalent to racket-run or eval-buffer command, and I needed to use a separate terminal to spawn the Racket REPL process. Trashed it for now, but seems promising.

213 2024-05-07 15:55

>>184
It's so annoying, sometimes it even asks when visiting an org file with embedded Scheme code. I can't figure out what to do.

214


VIP:

do not edit these



 

Do you get paid to write lisp?

1 2024-05-07 02:17

Be honest.

2 2024-05-07 12:51

No, but I'm doing it on company time anyway.

3 2024-05-07 14:14

>>2 this

4


VIP:

do not edit these



 

Zig

1 2023-01-06 17:31

https://ziglang.org

224

25 2024-01-06 22:44

>>24
good morning sirs!

26 2024-01-08 18:40

No.

27 2024-01-09 12:58

All these languages look the same, c, go, java, just a different dialect of the programming equivalent of ebonics

28 2024-01-09 16:15

Java is kinda nice these days.

29 2024-05-07 02:22

I haven't touched languages without automatic memory management since university. Zig and its built in GeneralPurposeAllocator + ArenaAllocator cured my fear of memory management. Stuff like cache line optimization still fly over my head but at least I got a start.

30


VIP:

do not edit these



 

New imageboard...?

1 2024-04-10 05:25

I made an imageboard because I was bored and thought it would be fun, but I don't know where to share it. I was thinking about sharing here, but I don't know if that's lame or if anyone from here would use it.

226

27 2024-05-01 19:10 *

There's no way I'd run my own image board in any country where you can be liabale for images your users post. I'm pretty sure most US image boards are run by intelligence agencies for this reason.

28 2024-05-02 05:44 *

>>27
I never really considered this. That actually sounds horrible. For that reason, I will now be speed reading sicp and running SBBS now. Jokes aside, I really do want to use SBBS, but I'm too retarded. I tried to get it running a few days ago and it wasn't working right

29 2024-05-03 18:04

Images were a mistake

30 2024-05-04 19:21

>>29
this 100x

31 2024-05-05 15:59

Images allow the illiterate to enjoy erotica.

32


VIP:

do not edit these



 

linux distros

1 2023-01-13 20:58

what you use?
i use artix

269

70 2024-05-01 20:59

Duel booting is a crazy hack. People should normalize using kexec.

71 2024-05-04 09:37

kexec is dangerous on the account of the system not being in the initial "safe" state.

72 2024-05-04 12:06

Implying EFI will have it in a "safe" state to begin with

73 2024-05-04 12:23

>>72
By definition hardware init is the process of setting the hardware state to be known and "safe" in preparation to load the OS.

74 2024-05-04 15:11

If the hardware manufacturers have a published procedure for doing this then the kernel can implement it as well. Otherwise it's just a nice definition.

75


VIP:

do not edit these



 

Wrote an imageboard engine in Go

1 2024-03-08 10:15

https://gitgud.io/nvtelen/ogai/

I took a bit of inspiration from SchemeBBS in terms of layout and post formatting.

213

14 2024-03-20 15:19

>ogai
>gai

lmao

15 2024-03-22 12:08

névtelen

16 2024-04-10 22:17

Interesting! (´・ω・`)

17 2024-04-17 22:10

hi

18 2024-05-04 08:27

This is actually really cool!

19


VIP:

do not edit these



 

Guix

1 2019-05-02 17:37

Rejoice, Guix v1.0.0 has finally been officially released!
https://www.gnu.org/software/guix/blog/2019/gnu-guix-1.0.0-released/

I've been using this as my primary OS for 2-3 years now and cannot recommend it highly enough - Best thing that's ever happened to my computing life.

Now we're just waiting on GNUnet and Hurd ( ._.)

2100

101 2024-04-27 22:28 *

>>100
nice no true scotsman
sorry i dont do programming as a job so im not inclined to use inferior software
anyone in their right mind wouldnt be in (((it))) with the masses choices
besides i can only use guix on the gnu operating system not a problem once you understand what that means but those pushing guix as anything else need to be publicly put on display

102 2024-04-30 14:48

>>101
Eh. It's not hard to impress other people in IT right now. You can work from home, do maybe two hours of "work" a day, and get paid six figs for it. The hard part is keeping yourself mentally comfortable living the lie enough that you care to show up. That's actually shockingly hard in my experience.

I'm a little confused about why you think the New Jersy approach to software implies a lack of determinism. Panicking after a failed assertion seems like a cheap strategy to achive that IMO.

103 2024-04-30 23:58 *

>>102
no shame or wrath huh
the price of being cheap needs to be paid at some point
theres not a lack but a high interest rate that gets paid in nonsolutions decades later at best

104 2024-05-01 14:39

>>103
Sure, that's a problem for the shareholders though, I'll be gone in three years tops just like the last company.

105 2024-05-01 21:54 *

>>104
i meant for software in general and those nonsolutions are still being implemented to this day
if you or anyone else wishes to jew corporations for shekels with known broken solutions thats not my problem

106


VIP:

do not edit these



 

قلب programming language

1 2024-04-21 02:46

Ive found an interesting programming language called قلب, which is a scheme-like language written in Arabic. What do you think of it?

214

15 2024-04-30 16:50

>>14
… are you seriously this dumb:
https://worldpopulationreview.com/country-rankings/manufacturing-by-country
https://www.statista.com/chart/20858/top-10-countries-by-share-of-global-manufacturing-output/
https://worldfuturefund.org/charts/China/chinawealth.html
etc.

16 2024-04-30 23:53 *

proud to be a chinese jew ramming chinkonse cunny in australia mate

17 2024-05-01 09:32

>>15
China's foundation as a society is built on sand and is sinking further as time goes by. China's demographics are projected to plummet in the next few decades just like the rest of the world. Unlike the rest of the world, China's foundation is based upon the wizardary of communism, and they're working hard to conjure communist magic to prop up their future.

18 2024-05-01 09:34

>>11
TSMC isn't strictly necessary. It's perfectly feasible for US companies to replicate TSMC functionality in America, but not quite operating at TSMC prices.

19 2024-05-01 12:15

>>17
Every nation that isn't populated entirely by rapy retards is demographically fucked because we were stupid enough to accept feminism.

20


VIP:

do not edit these



 

Autistic Funny Shit

1 2024-04-25 08:32

"The core game loop might look like this (code examples in Perl)"

"Step by step, the Rust programming language is moving deeper into the Linux kernel."

"Systemd, in turn, links to liblzma, and this allows xz Utils to exert control over sshd."

23

4 2024-04-25 12:59 *

>>2
so socioautism?

5 2024-04-26 22:05

to begin installation first run ./configure

6 2024-04-29 07:43

"By working on the Sokoban game, its engine, and Jai at the same time, Blow is able to test the language's design and adjust it early in its lifetime.[67]"

7 2024-04-29 13:27

What's wrong with that?

8 2024-04-30 01:44

https://dev.to/ovid/the-unknown-design-pattern-1l64
The core game loop might look like this (code examples in Perl)

lolwut?

9


VIP:

do not edit these



New Thread





do not edit these