Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "fname"
-
Public class UnnamedChild extends Person implements Mirziteh {
public UnamedChild(String fName){
super();
this.fName = fName;
}
//methods removed for brevity
}26 -
Unreal Engine adventures:
me: So ok, I need a map from int to String
Unreal: ya but it's called TMap, FCompactPoseBoneIndex and FName.
me: ..uhhh ok whatever
...
me: ok for debugging, please print this
Unreal: FName is not a string
me: k. Fname.toString().
Unreal: ya but it aint a TChar array now
...
IT'S A FKING STRING JUST PRINT IT. And the other guy is still an int with extra steps! Come the fuck on now....
I mean, honestly, a logging function that cannot print a fking FString? sigh...
Man, I miss python and blender...8 -
Recruiter's be like:
* How’s my timing!
* You want to work at a company you just left?
* Dear &FName,
* Do you have any friends that want this sucky position I'm trying to fill?
* You just need to move half way across the country.
* Do you do front and back ends? -
Feature request: swipe from rant to go back to list of rants. It would be easier than reaching up for the "back" button.7
-
I like nerdy and cool coffee mugs. Comment with your favorites—bonus points for pictures! My best one right now is a Fermilab mug. Looking to buy a new dev-related mug!
(If only there was a devRant mug...)2 -
2 seconds after I checked in some work on a web page, co-worker runs to me, freaking out because "This is not how I wanted it to look!" and waving a printed mock-up in my face.
I inherited a shitty, bloated, broken, 10-year-old site with dumbass CSS, but I did my best to work with it. I'm not surprised it's broken, so calm the fuck down and let's talk about what you're seeing and I'll happily fix it. It will be okay! -
I started with AP computer science as a junior in high school. We learned Java. It's a powerful thing to show a young person that they can control what a computer does.
-
OK here's lang, very easy.
set lines, (split "\n", orc fname). ; ORC -- open, write, close
map lines, strip.
grep lines, filter blanks.
map lines, # lineproc:
- on line match, qr~^# \s* (?<name> [\a]+) \((?<type> [\a+])\) \s*:\s*~x.
· · * have type or default type.
· · * set dst, name or new type name.
- on line match, qr~^\- (?<name> .*)~x.
· · * dst->cur eq dst->[name] eq new list name.
- on line match qr~^\* (?<item> .*)~x.
· · * push dst->cur, item.
- else
· · * cat dst->cur, line or throw fuk.
I'm skipping over a couple edge cases (no dst/cur, I be throw fuk for brevity) but you get the gist of it maybe.
Anyway what's this for? Lists, like so:
```rol
# dst (type):
- attr:
· · * hi im item one in list
· · · still item one lmao.
· · * hi im item two in list.
```
That gives `dst { attr: [item_1, item_2] }`. There's another bit I'm omitting to make this recursive so as to allow for nested dicts, but nevermind that it's a tree you get it right.
So what it's lame. Yes. Let's smoke some crack now I can add preprocessor in subclass:
```
# dst (cracktype):
$:%fn args;>
(text)
$:/fn;>
```
That will call `fn text,args` to process text __before__ lineproc, `fn` is just callback from callback table in Nebraska maybe.
$:peso;> syntax is just so text can contain funstuff OK.
I like <fn args /> better, and $:this;> is just stuff no one ever writes so it's safe to use.
Want to reference object in text too, what? `{$obj [fn args]}` anywhere in text to make call, now can do database lookup so naming be important. Have import mechanism to fetch collections, can't bother showing.
Anyway what's the point I dunno, just copying and pasting from local library to pack entire app in single html file. Why? Can't remember; doesn't matter.
Also can convert to json but I prefer my own version of it.
Called jargon.
Same thing but no quotes just because so `obj {attr:[(value), (value)]}`.
Now eat baguettes.
Have a nice wallop.1