Dank n Edgy

The dorkest, edgist forums known to puny hoomans

You are not logged in.

Announcement

Welcome to DnE, the online psych facility. (Run by the inmates, for the inmates.)

#1 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » Yesterday 04:50:27

Wayuyuyy too shitfaced to be having glow stick wars lol

#2 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » 2019-04-19 01:19:10

It's a bit of a mess is what it is. I'll get used to it though, just have to build enough shit with it to get comfortable. Right now I'm in the middle of a "hacker news" app that pulls from the HN API. It's pretty cool but I have to rewrite a bunch of shit because the test list I was using doesn't really match up with the actual API results and I'm getting some error when I click on "dismiss" due to this.


Building DnE HUD would be fairly easy I think. I'll start on that when I finish this book and probably finish the front end libraries module on free code camp over the coming week or 2.

#3 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » 2019-04-17 23:06:26

Seems like JS is so full of features that make it easier on experienced devs it's become somewhat difficult to actually learn it from the ground up. For example, destructuring probably shits all over readability, unless you know to look for it:

const { searchTerm, list } = this.state;

...

{list.filter(isSearched(searchTerm)).map(item =>

Instead of:

{this.state.list.filter(isSearched(this.state.searchTerm)).map(item =>

Could easily get confusing for me. There's also like, third party libraries that take away required norms and shit. Dropping that in my lap would have me scratching my head at how in the actual fuck they are doing some of this stuff.

#4 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » 2019-04-17 21:57:07

Something as simple as an onClick handler in react uses higher order functions to "sneak in" an element ID, uses arrow functions to prevent auto-execution, and so ends up looking like this:

<button
onClick={() => this.onDismiss(item.objectID)}
type="button"
>
Dismiss
</button>

Kinda annoying.

#6 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » 2019-04-16 16:01:39

JK it worked I just edited the wrong directory lmao, reverted change in original and kept change on here

#7 Re: Computers/programming/software » Absent's Code Thread / Tech Blog » 2019-04-16 14:01:03

I updated punBB's "active topics" time to 1 week again in search.php
It didn't work this time lmao, gonna have to do some more digging :(

#9 Re: Emotional discussion » is anyone here happy? » 2019-03-21 01:27:31

KEK, today was the international day of happiness, apparently

#11 Emotional discussion » is anyone here happy? » 2019-03-20 15:30:55

absentinsomniac
Replies: 11

Seems a bit fucky, this life thing

#12 Re: Computers/programming/software » DnE HUD » 2019-03-13 11:11:06

That would be a more technically interesting project than just a shitty polling thing. Could even put a password to access it and shit. I know next to nothing about Go but wouldn't hurt to learn some. Mainly packaging it all together for others might be a pain idk.

#14 Computers/programming/software » DnE HUD » 2019-03-11 23:10:56

absentinsomniac
Replies: 3

What it's gonna have

  • SSL Status

  • Last backup status / date

  • Server up/down status obviously, maybe uptime?

  • Potentially some kind of spambot search thing?

Anything else it would be useful to check out at a glance? I think checking the server status and SSL status can be done with no server access. The most recent backup would likely be easiest to implement by simply adding to the rsync cron job I have to create a web facing text file with a timestamp and having DnE HUD grab that. Or maybe we could have a push notification somehow to alert DnE HUD of a new backup that ran? Polling is old school these days.


According to some dude on stack overflow:

The question doesn't make sense. You can't get the server's SSL certificate without opening an SSL connection to it, and once you've done that, telling the user they can do that too is a bit pointless.

The only thing I'm seeing come up when I google "javascript tls connction" is node, though. Could use it's getPeerCertificate()  which returns an object with the cert details including expiry date. Idk if we want to use node just for that though lmao. Could use OpenSSL instead to get it, though, and parse it somehow. Should be fairly easy, but then OpenSSL is a requirement.

#16 Re: General Talk » Hey faggots. » 2019-03-09 02:37:47

loon_attic wrote:

Dude are you the Shipppque Shipguy? Welcome back

#18 Re: Computers/programming/software » fuck slack - use this slack client » 2019-03-08 20:17:17

My work uses it, it's ok but irc would literally do the same thing we use it for. Except there's user profiles so there's that.

#19 Re: Appreciation/Awesomeness » Jordan B Peterson » 2019-03-04 18:44:05

The problem with that line of thinking is that nothing at a mass scale ever gets done by focusing on the individual in a reasonable amount of time. Individual solutions work for individuals. If you want systemic change in a reasonable amount of time you need collective action or policy action. Often they go hand in hand, though, like if a bunch of individuals are making a change in their life by organizing... that's sorta collective action. Especially if it's being organized to try to change a law or something.


You can't just be like "poor people gotta fix themselves that's why they're poor" and never do anything to change the odds. Or like "global warming should be left to the individual to take personal responsibility for their pollution" when that obviously isn't going to make any measurable difference in the outcome. But on the other hand you don't want to leave everything in the hands of policy makers and abdicate yourself of all personal responsibility either.

#20 Re: Computers/programming/software » xahlee » 2019-03-04 14:40:39

I mean even if you hate frameworks, if you apply for a job where the entire job description is working on said frameworks... and you openly do not like or use this framework, like... what do you expect?

#21 Re: Appreciation/Awesomeness » Jordan B Peterson » 2019-03-04 14:35:38

My views haven't even changed that much and a few years ago I was considered radically leftist. I just don't agree with most identity politic type shit. I still think pretty left economically (although cautiously), I still think social programs can be a net good, I'm still pretty socially liberal in terms of abortion, sex, etc. I believe in gun rights tho, but on most things I swing left. I straight up don't agree with some leftist shit though, it seems dumber than fuck on the face of it.

#22 Re: Computers/programming/software » xahlee » 2019-03-04 02:23:10

tbh he's pretty terrible at marketing himself.

>> Bragging about correct html (but doesn't like html5)
>> Has mathematical publications and shit but barely features them on resume
>> Has been jobless for years and years
>> Hates large frameworks and what not, applies for and tries to get work as a full stack web developer
>> Bad at interviewing, barely presents any of the projects he's worked on


Doesn't exactly inspire confidence for a hiring manager vs some recent grad with internship experience and 2 web based projects he can show off and shit.

#23 Re: Music & Art » What are you listening to right now? » 2019-03-04 00:35:10

This video has like 800 views and holy fuck this is great:

[video]https://www.youtube.com/watch?v=uZnqFgyNEzk[/video]

#24 Re: Appreciation/Awesomeness » Jordan B Peterson » 2019-03-03 23:37:52

How does self help marginalize anyone who's ever done drugs?

#25 Re: Computers/programming/software » xahlee » 2019-03-03 21:53:55

This dude lived on 3 dollars a day for a while lmao: http://ergoemacs.org/misc/xah_as_good_as_dead.html


He was starting a job as a dishwasher at the time in 2013 lol. Also was interviewing for web dev jobs. I don't think he ever got a job.


Guy's obviously really fucking smart but I think he's living off 130 bucks a month from his patreon lol

Board footer

Powered by FluxBB