u/Element115 - 9 Archived Posts in v/programming, g/technology
u/Element115
  • home
  • search

u/Element115

1 post · 8 comments · 9 total

Active in: v/programming (8), g/technology (1)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Note 20 Leak 📦
5 0 comments 03 Jul 2020 19:45 u/Element115 (self.technology) in g/technology
Comment on: In search of the perfect URL validation regex

Says the guy who made no attempt at his own problem and couldn't even contrive a case where it would matter.

No less than I'd expect from a web developer. Don't you have to go import another 400 libraries so you can copy/paste one more function or something?

0 05 Nov 2019 04:21 u/Element115 in v/programming
Comment on: In search of the perfect URL validation regex

You didn't realize "regular expression" and even "PCRE" means something slightly different in almost every language until just now did you?

0 05 Nov 2019 03:58 u/Element115 in v/programming
Comment on: In search of the perfect URL validation regex

Actually I'd like to see you offer a reason that isn't nullified by "not all possible DNS entries exist".

You don't get to use overflows or other escapes as an excuse, I already mentioned those.

0 05 Nov 2019 03:52 u/Element115 in v/programming
Comment on: In search of the perfect URL validation regex

A normal person would validate that it doesn't overflow or otherwise break their code.

A shitty programmer would sperg out about how to make a single perfect line that still fails anyway, and not even realize not every regular expression feature works the same or is supported in every implementation of regular expressions.

0 05 Nov 2019 03:38 u/Element115 in v/programming
Comment on: In search of the perfect URL validation regex

You didn't even specify what type of regex. Since it's possible to have a url that validates but doesn't exist or is otherwise unreachable, I'm at a loss for why anyone would care unless you run a registrar.

0 05 Nov 2019 03:14 u/Element115 in v/programming
Comment on: In search of the perfect URL validation regex

Valid characters in DNS request specification. That's it.

If you want to define a DNS response for "server" then "server" is now a valid URL.

0 04 Nov 2019 13:32 u/Element115 in v/programming
Comment on: So, I was given this....

It's the processor part of a circuit, and you've got a piece that lets you connect to a cellular network which might make it good for remote control or alerts.

It does the same stuff the pi does, read pin voltages and turn pins on/off just without being a full computer.

0 02 Nov 2019 11:38 u/Element115 in v/programming
Comment on: Python: Why is this evaluating to True?

That's also true of is this and is not this

0 29 Sep 2019 07:39 u/Element115 in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.