[HN Gopher] Brainfuck Enterprise Solutions
___________________________________________________________________
Brainfuck Enterprise Solutions
Author : linkdd
Score : 521 points
Date : 2024-09-22 21:24 UTC (1 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| cdchn wrote:
| If we can get a FIPS 140 certified crypto library then it'll be
| truly "Enterprise Grade."
| Retr0id wrote:
| We're half way there:
| https://gist.github.com/rqu1/e4770cd8bd60706384c7c1b79f010a8...
| pferde wrote:
| So... FIPS 70? :)
| saagarjha wrote:
| Is it constant-time, though
| xyst wrote:
| brainfuck is truly the language of the gods
| Jerrrrrrry wrote:
| posting codegolf'd brainfuck on stackexchange was a pivotable
| moment in my life
|
| i was zen
| pragma_x wrote:
| If you mean "inscrutable to mere mortals and drives one to
| madness when heard aloud", then yes. Yes it is.
| brian-armstrong wrote:
| Wow, would love to adopt this on our infra! Just one teensy
| problem - legal's a bit worried about the name. Would you
| consider renaming BF? Maybe Brainfriend?
| master_crab wrote:
| Maybe BE. Brain Excellence.
|
| Also, do you have a PowerPoint explaining how to setup a Center
| of Excellence?
| cornholio wrote:
| The corporate flavor should obviously be named Braindead
| righthand wrote:
| Let's hope not.
| rguiscard wrote:
| Maybe brainfried?
| Pannoniae wrote:
| How about bellyfuck? or brainfart?
| sohzm wrote:
| buttfuck removes b*ain and replaces it with a better word
| Nevermark wrote:
| Bootyfuck is classier and more fun to say.
| karlzt wrote:
| Imagine changing Python's name, that doesn't make sense, and as
| you said, it's a very small problem that should be ignored.
| itsdev wrote:
| Sure. Let's call it pyfuck. I'm sure that won't raise any
| eyebrows.
|
| Brainfuck is a fine name due to the nature of the language.
| karlzt wrote:
| Of course is a fine name and that's what i'm defending, my
| comment was a reply to Brian, he shouldn't change it IMO.
| Duwensatzaj wrote:
| May I suggest Squick instead?
| pcblues wrote:
| Now that is alt.tasteless old-school :)
| SOLAR_FIELDS wrote:
| Of course this post is written in jest but fck-nat is useful
| enough that adult organizations adopt it despite the name, as
| an actual example of "profane but useful software that jumps
| over the wall of corporate use". It helps that the specific use
| case it's built for is something you usually only run into when
| you have corporate level spend on AWS
| tpoacher wrote:
| There is a language called brainfudge which is effectively an
| alias of brainfuck for this exact reason
|
| you'll find lots of "brainfudge" interpreters on github
| InDubioProRubio wrote:
| Far be it from programmargamers to name things, just to annoy
| legal and other cruft layers. Now onwards to the new Bloat
| meeting (its the new scrum), where we produce spam-tickets and
| increase productivity by sacrificing hours to nil-meetings.
| debugnik wrote:
| The usual censor for it is b****fuck, that should do it.
| wiz21c wrote:
| Not more bad than C++ :-)
| dennis_jeeves2 wrote:
| Vehemently agree.
| tgv wrote:
| That would become BF<<+>+
| semitones wrote:
| This made me laugh _really_ loudly, thank you
| macqm wrote:
| What about: b7k
| Exoristos wrote:
| Brain-fsck.
| avodonosov wrote:
| I like the name choice of the CPU from this comment:
| https://news.ycombinator.com/item?id=41622325
| wiz21c wrote:
| bullfit ?
| paulmooreparks wrote:
| You could use my (rather silly) extension called "pbrain,"
| which adds procedures to brainfuck.
|
| https://parkscomputing.com/page/pbrain
|
| In hindsight, I think it's aptly named.
|
| (EDIT: Gosh, I really need to update the .NET compiler to .NET
| 8.)
| UnpossibleJim wrote:
| We are committed to keeping the Brainfuck community healthy --
| best sentence ever
| samsk wrote:
| BF is slightly hard to read, more like a well written Perl.
|
| IMHO any solid enteprise should use Ook! or similar substitution
| - power of Perl, with verbosity of COBOL !
|
| https://esolangs.org/wiki/Ook!
| shawn_w wrote:
| You can embed BF directly in your perl code!
|
| https://metacpan.org/pod/Acme::Brainfuck
|
| There's an Ook! interpreter too but it's more limited.
|
| https://metacpan.org/pod/Language::Ook
| wiz21c wrote:
| Seriously, why ? :-)
| wiz21c wrote:
| If only they'd used the f-word instead of Ook...
| ArnoVW wrote:
| I believe it's a reference to a Discworld personage
|
| The Librarian is known for his violent reaction whenever he
| hears anyone refer to him as a "monkey" (orang-utans are
| apes). He speaks an elaborate language whose vocabulary
| consists of the single word Ook (and its antonym "eek" -
| where "ook" means yes, "eek" tends to mean no)
|
| https://discworld.fandom.com/wiki/The_Librarian
| wiz21c wrote:
| waho, didn't know ! Thanks for explaining.
| declan_roberts wrote:
| Like a joke that's just gone on a little too long.
| arethuza wrote:
| The "enterprise solutions" part?
| trentnix wrote:
| After visiting the link I was surprised to find out this wasn't
| about SharePoint.
| cbeach wrote:
| Irritating when people try to draw our attention to otherwise
| banal things by exploiting the shock value of swearing.
|
| People that swear liberally in everyday conversation irritate me
| intensely.
| beingforthebene wrote:
| Brainfuck isn't exploiting the shock value of swearing--it's
| accurately describing the experience of using it.
| righthand wrote:
| Well shit, seems like there's no talking to you about Brainfuck
| then.
| metabagel wrote:
| > Brainfuck is an example of a so-called Turing tarpit: it can
| be used to write any program, but it is not practical to do so,
| because it provides so little abstraction that the programs get
| very long or complicated. While Brainfuck is fully Turing
| complete, it is not intended for practical use, but to
| challenge and amuse programmers.[3][4] Brainfuck requires one
| to break commands into microscopic steps.
|
| https://en.m.wikipedia.org/wiki/Brainfuck
| quickslowdown wrote:
| Conversely, people who get all pearl clutchy about their poor,
| sensitive wittle ears when I swear irritate the shit out of me.
| We're not in elementary school, adults say fuck and that's ok.
| commodoreboxer wrote:
| People who get uptight about swearing irritate me. I understand
| getting upset about racial slurs or other actually loaded
| language, but getting upset about the word "fuck" but not "sex"
| is just making up things to be upset about.
| UberFly wrote:
| Some people just don't like the overall crudening of society.
| Get over it.
| worthless-trash wrote:
| You missed an opportunity to say "Get the fuck over it". :|
| pjerem wrote:
| I do think it's an important social issue though.
|
| Swear words communicate important and precise emotions that
| no other words can communicate.
|
| I totally understand why some words aren't appropriate in a
| given social setting but it doesn't mean the words are
| forbidden. Also those words can hurt when they are directed
| towards someone and you have to be cautious with them. But
| sometimes you want to hurt someone, sometimes you want to
| shock your audience. Sometimes you just want to laugh.
|
| We are animals full of emotions and we need precise words
| to communicate them rapidly.
| tgv wrote:
| > precise
|
| I wouldn't call "fuck" precise. Its meaning is highly
| context dependent. Examples of use range from from
| disappointment ( _fuck_ ) to anger ( _fuck you_ ) to
| surprise ( _the fuck?_ ) to delight ( _' merica, fuck
| yeah_) to contempt ( _clusterfuck_ ). It's closer to an
| intensifier than a precise denotation of a particular
| emotion, because it evades a precise meaning.
|
| Other words certainly can communicate the same semantic
| function, but there isn't one that covers them all, even
| though _shit_ comes close, which is a statement about the
| Freudian mind if there ever was one.
| anonzzzies wrote:
| Don't like or getting irritated are different things, at
| least for me. Irritation brings me in another state; for
| instance, if I am working (in the zone) and see/hear
| something that irritates me, I am out of the zone. However,
| if I see something I don't like, that doesn't do anything
| with my state; I will try to avoid the thing but won't give
| it a ms more thought. Not sure if that's a general thing or
| just me.
|
| > Get over it.
|
| Nah, people are different and you shouldn't get annoyed or
| irritated or tell people get 'get over it'; you can, but
| it's not very good for your health to care too much about
| stuff you cannot possibly change. Just don't hang with
| these people if you don't like them.
| porksoda wrote:
| Yes. That's true in most cases but let them youn uns have some
| fun will ya!
| shakna wrote:
| The High Court of Australia ruled that swearing isn't by itself
| offensive. So I s'pose you're shit out of luck if you cross our
| border.
| prmoustache wrote:
| You have to keep in mind that brainfuck has been invented by a
| Swiss student. There are 2 clues. Student is obvious. Being
| Swiss might not be but is one.
|
| People not living in an english speaking country have a
| different appreciation of swearing in english as they are
| exposed to it differently: appart from our english classes at
| school we learn and hear english mostly in songs, movies, TV
| shows, even modern literature. We are pretty much inundates by
| the f-word which makes it more an innocent word than in britain
| and us english.
|
| A few days ago I was doing some cleaning in the house. Usually
| I rather put music but this time I chose a tv shows instead.
| Bad idea, it makes you much slower. Bottom line is I chose
| action-drama Banshee randomly. It seems they literally say fuck
| or motherfucking every 30 seconds!
|
| So my advice would be: before complaining of people living
| abroad and using the f-word, maybe you guys should clean your
| house and stop putting the f-word in every fucking piece of
| media you sell all over the motherfucking world.
|
| Also swearing can be cultural. For example wear I live in Spain
| swearing is part of the normal language. Grandparents all say
| words like cono and de puta madre all day long and nobody seems
| to blink when their 4 year old kids do the same.
| prmoustache wrote:
| I realized after reading my reply I made a lot of ortho and
| grammar errors, sorry for that, can't edit it now.
| pezezin wrote:
| > Also swearing can be cultural. For example wear I live in
| Spain swearing is part of the normal language. Grandparents
| all say words like cono and de puta madre all day long and
| nobody seems to blink when their 4 year old kids do the same.
|
| I am Spanish, can confirm. Also, the bleeping that you hear
| in American TV shows and the whole concept of F-bombs (or
| similar) sounds ridiculous and extremely prudish to us.
| gosub100 wrote:
| You, yourself were in fact the byproduct of one.
| Jerrrrrrry wrote:
| -[>--<-------]> 110 > ++++[>+++++<-]>+ pop 20 so 0 0 0 70 0 '20'
| 0 0 0 [[>>[>]+[<]<-]<]< create array of x 1's [>>>>[
| {"+++++++++++++++++++++++++++++++++++++++++++++++++++++++"} >]<[<
| ]<<<{"-------------------------------------------------------"}]
| copy left val to all Rval >>>>[->]<[<]< <+++ +++ +++ +++ pop 12
| so 0 0 0 '12' 0 110's nilterm [->> >H--->a->p >p >y+ > ------
| >B---->i>r>t>h>d->a->y+ > ------ >t >o > ------ >Y-- >o>u [<] <<]
| >> >H-- >a- >p++ >p++ >y- > ------
| >B++++>i----->r++++>t++++++>h------>d++>a->y- >
| ------>t++++++>o+> ------>Y+++>o+>u+++++++ [<]< +++ [-
| >>[.>].<[<]<]
| IncreasePosts wrote:
| Who in their right mind would choose brainfuck for enterprise
| solutions, over befunge?
| thenewwazoo wrote:
| You can't discount the need to keep your hiring pipeline full
| to replace the people whose RSUs have cliffed.
|
| Befunge, like Rust, is impossible to hire for, so nobody uses
| it, which means nobody has experience, which means it's
| impossible to hire for, so it's a bad idea to use it. BrainFuck
| has been around for decades and its problems can be avoided by
| just hiring sufficiently-talented developers.
| jmspring wrote:
| Funny thing about Rust. I use it for a few small projects. I
| have advocated for it on a current work project in part
| because it makes sense for a few reasons. I had planned on
| it, an advisor (small startup) recommended it, so myself as a
| mid experience and two people more junior in their career,
| are writing Rust.
|
| As I said, I have used Rust for multiple unrelated to this
| task thing. Had various versions of our planned project
| working. Then I revisited it and made it more Rust-like. It
| literally looks like I've done nothing since I through a lot
| of things out.
|
| It's fun to learn.
| mFixman wrote:
| Being the only true 2-dimensional language, Befunge only
| needs the square root of the lines of code to build an
| equivalent program to puny 1-dimensional programs like
| Brainfuck or C++.
|
| Stop trying to hire 10X engineers. Befunge applications are
| built by true X2 engineers.
| bashauma wrote:
| > Stop trying to hire 10X engineers. Befunge applications
| are built by true X2 engineers.
|
| Best sales slogan of the year.
| fancyfredbot wrote:
| Don't hire 10x, hire x10, with superstringfuck - the only
| language with the dimensions to tackle the needs of
| today's fast moving businesses.
| FooBarBizBazz wrote:
| I like how we haven't specified whether x is greater than
| or less than one.
| fancyfredbot wrote:
| I love that we complain about that before asking what
| we're measuring or whether higher or lower numbers are
| better.
|
| If you are asking such questions you aren't who I'm
| talking to and you need to leave the room immediately.
| dullcrisp wrote:
| But what if my X is only ~1-2? Should I continue hiring
| the 10X engineers? Someone explain it to me in a
| PowerPoint.
| actionfromafar wrote:
| Excel is Befunge
| LorenDB wrote:
| Honestly, the smart enterprises are using Malbolge.
| ur-whale wrote:
| True.
|
| Befunge has real lofty ideals, not just a miser goal of being
| hard to parse by humans:
|
| > Befunge, with the goal of being as difficult to compile as
| possible
| Duanemclemore wrote:
| This is excellent for my needs! My company needs to migrate from
| INTERCAL and now I am convinced that Brainfuck is perfect for the
| job!
| basementcat wrote:
| You mean your company needs to COME FROM Intercal?
| Duanemclemore wrote:
| PLEASE DO
| inkyoto wrote:
| PLEASE DO NOT ABSTAIN
| Jeema101 wrote:
| The 'computed COME FROM' is even more interesting than the
| regular one due to it's ability to violate causality by
| coming from a place in the code before it was ever computed.
|
| That of course makes migrating from Intercal difficult for a
| lot of organizations.
| int_19h wrote:
| I've had much success integrating Brainfuck in a legacy C++
| codebase. As the team adopts modern idiomatic C++ patterns and
| practices, we found Brainfuck via
| https://github.com/tfc/cpp_template_meta_brainfuck_interpret...
| to be a natural and seamless fit for C++ template
| metaprogramming.
| Procrastes wrote:
| I'm just glad I lived to see this.
| mannykannot wrote:
| I take your point - it does have a saving grace, after all.
| emersonrsantos wrote:
| I miss this from the Internet early times. The Church of the
| SubGenius, IOCCC, Phrack Magazine, The Tao of Programming, ...
| bigiain wrote:
| I think POC||GTFO carries on some of the spirit of those times.
| wiz21c wrote:
| GTFO yes !
| beretguy wrote:
| Finally I can migrate away from Java.
| coobird wrote:
| (Shameless plug) With Brainfuccuccino[1], you can embed your
| brainfuck programs right into Java, so you get the "best" of
| both worlds ;-)
|
| [1] https://github.com/coobird/brainfuccuccino
| speed_spread wrote:
| Oh shoot, it's happening for real, /r/programmingcirclejerk is
| leaking back to HN. The great unraveling has begun, we're all
| doomed!
| m3kw9 wrote:
| Something straight out of Cyberpunk2077
| spacebacon wrote:
| ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.
| >-.------------.<++++++++.--------.+++.------.--------.<+++++.
| >+++++.<<.>----.++.>+++++++.<<.----.<++.>-.<+.+++..---.<.>--.<.
| <.>-----.>+++++.---------.>++++++++.---------.>+++++.-------.<.
| >--.<+++++.<<.>--.+++.>++++.-------.<<.---.<++.---.+++.<++.+++.
| >----.>+.>+++.<---.>-.<<.>>---.++++.-------.<+.<<.>+++++++.<<--.
| >+.>+++.<--.++++.<-.>>----.<<.>>++++.<<----.>>+++++++.<<---. >-.<
| +++++++.>>-----.<<.>>+++.<<--.>>----.<+++.<---.>>+++++.<-.>.<.
| mikestew wrote:
| Somebody didn't read the style guide, especially 1.1.2.
|
| https://github.com/bf-enterprise-solutions/bf.style
| benreesman wrote:
| Stuff like this is a breath of fresh air: real hacker vibes. The
| best memes (like all the best hacker stuff) are high-effort,
| somewhere between kinda funny and outright satire, technically
| nontrivial, and delivered deadpan.
|
| Top kek.
| davedx wrote:
| I feel like "what is idiomatic brainfuck" is a deeply
| philosophical question striking right to the heart of our
| craft...
| pragma_x wrote:
| Considering that BF is about as "turing-machine-like" as you
| can get, it does seem like an essential thing to determine.
| As if we were to delve any deeper we'd have to split atoms to
| measure our progress; it's downright primordial.
| ilaksh wrote:
| Funny. But also their BF OS reminds me slightly of Forth or
| ColorForth. https://github.com/ers35/colorforth
| djaouen wrote:
| That's the stupidest shit I ever heard lol
| jfktrey wrote:
| Love this. Years ago I hand-wired a CPU that natively executes
| Brainfuck code: https://youtube.com/watch?v=q8G2fWprwyo
|
| Might have to test some of these :)
| avodonosov wrote:
| Good name for the CPU
| Frenchgeek wrote:
| Port a mips emulator for it so you can run Linux on it?
| notfed wrote:
| Underrated, make this into a submission?
| bryancoxwell wrote:
| Well that is incredible
| anta40 wrote:
| https://github.com/bf-enterprise-solutions/os.bf/blob/master...
|
| An entire OS in 252 lines. I wonder how many CPU architectures
| supported by this OS
|
| :D
| einpoklum wrote:
| The secret sauce is:
|
| > **************
|
| > PASTE YOUR EXTENSIONS HERE:
|
| > **************
| avodonosov wrote:
| Thanks to the "write once run anywhere" philosophy of the
| language, and the design choices in the OS (e.g.
| containerization), it is easely porable to any CPU.
|
| Safe bet for enterprise users.
| aclindsa wrote:
| I admit I was slightly disappointed that it looked more like a
| primitive shell than the advertised OS. "Baby steps" though!
| fermigier wrote:
| Never been much into BF nor esoteric languages in general, but I
| love this attitude!
|
| Regarding the comments at the top of https://github.com/bf-
| enterprise-solutions/ed.bf : I believe a modern-day developer
| comparable to Ken Thompson might be Fabrice Bellard, WDYT? Any
| other names that pop to mind?
| lifthrasiir wrote:
| One of obvious hindsights here is to use the extension `.bf`
| instead of `.b`, which was previously suggested by daniel b
| cristofani, a prolific Brainfuck programmer [1]. `.bf` is also
| used for Befunge and `.b` removes any such confusion.
|
| [1] https://brainfuck.org/brainfuck.html
| Ygg2 wrote:
| Won't that be confused with B[1]?
|
| [1]https://en.wikipedia.org/wiki/B_(programming_language)
| lifthrasiir wrote:
| Sure, but the number of B code currently in circulation
| should be miniscule enough to reuse that extension. (And the
| confusion between Brainfuck and Befunge will be much higher
| anyway.)
| larsnystrom wrote:
| Also, confusion seems to be something of a design goal for
| brainfuck?
| lifthrasiir wrote:
| That issue is not a real confusion but a meta-confusion.
| You know, meta-confusion is not fun, it's just meta-fun.
| /j
| int_19h wrote:
| The Brainfuck extension should obviously be .fmb, for "fuck my
| brain".
| seanhunter wrote:
| For it to be a real enterprise solution we need a bf container
| orchestration layer.
| whiplash451 wrote:
| Of course not, those companies are using SageMaker anyways.
| Come on!
| immmmmm wrote:
| BFBS: BF Blockchain Solutions BFF: BF for Finance
| ur-whale wrote:
| Their stack doesn't seem to include an LLVM BrainFuck backend.
|
| This shortcoming is clearly a non-starter for any serious
| enterprise BF implementation.
| pplonski86 wrote:
| Do you plan to support LLM in BF Machine Learning platform? LLM
| with BF output?
| ppmx20 wrote:
| It's a new and powerful competition for FP :)
| 1oooqooq wrote:
| where can i find an example of factoryFactory* pattern on the
| repos?
| arethuza wrote:
| _" So this week, we're introducing a general-purpose tool-
| building factory factory factory, so that all of your different
| tool factory factories can be produced by a single, unified
| factory. The factory factory factory will produce only the tool
| factory factories that you actually need, and each of those
| factory factories will produce a single factory based on your
| custom tool specifications. The final set of tools that emerge
| from this process will be the ideal tools for your particular
| project. You'll have _exactly* the hammer you need, and exactly
| the right tape measure for your task, all at the press of a
| button (though you may also have to deploy a few _configuration
| files_ to make it all work according to your expectations). "*
| 1oooqooq wrote:
| nice! i hope the configuration files are a bf syntax but with
| all the features and power of xml+xsl!
| motohagiography wrote:
| laugh now but this will be better than graphql.
| InDubioProRubio wrote:
| You are laughing now- but suffering and misery indicate
| pervyRomance for management. And what would cause more suffering
| then adopting this language as new enterprise standard. The joke
| was on you, all along..
| npongratz wrote:
| "We had a chance to meet this young man, and boy that's just a
| straight shooter with upper management written all over him.."
| bob1029 wrote:
| Brainfuck is largely a joke for most developers, but in certain
| kinds of research it is taken very seriously due to its ease of
| implementation.
|
| I think this is probably the most interesting paper involving it:
|
| https://arxiv.org/abs/2406.19108
|
| > In this paper we take a step towards understanding how self-
| replicators arise by studying several computational substrates
| based on various simple programming languages and machine
| instruction sets.
| Vegenoid wrote:
| There's a good episode of the Mindscape podcast (hosted by Sean
| Carroll) interviewing one of the authors (Blaise Aguera y
| Arcas) about the paper:
|
| https://www.preposterousuniverse.com/podcast/2024/08/19/286-...
| jksmith wrote:
| For a good levity injection attack, there is no known defense.
| p4bl0 wrote:
| Haha! This reminds me of https://inutile.club/estatis/ and
| especially the Falso system.
| avodonosov wrote:
| Is somebody not convinced yet, search with the new HN sentiment
| analysis tool [1]. Java or Rust have mixed sentiment. For
| Brainfuck the balance is clearly on the positive side.
|
| https://classysoftware.io/chat-analysis/
| brassattax wrote:
| Why not GPT in Brainfuck?
| mnemotronic wrote:
| I can't wait to hear Warren Buffet answering a question about
| company automation at the next annual convention : "We just
| started using the Brainfuck software...". The silver-haired
| grannies in attendance will love that.
___________________________________________________________________
(page generated 2024-09-23 23:00 UTC)