|
quote:Please enter a password with 8-10 upper and lowercase letters and numbers. Start with a letter and avoid using consecutive, identical characters such as 11 or rr. Explicitly disallows passwords less than 8 or greater than 10 characters in length. Does not allow non alphanumeric characters.
|
# ¿ Mar 5, 2017 20:42 |
|
|
# ¿ May 17, 2024 20:41 |
|
The 8 to 10 char password was in the registration process for the Virgin Mobile UK site.
|
# ¿ Mar 6, 2017 12:11 |
|
Is TFS super-crappy compared to git?
|
# ¿ Mar 6, 2017 17:48 |
|
IoC containers are cool and good in plangs where they are idiomatic (c# and java).
|
# ¿ Mar 17, 2017 18:12 |
|
I don't get it, why would you *not* use a container if you could? Why subject yourself to more resistance to refactoring, more hassle and dry fail when adding a parameter or composing an object graph? The graph is already a dag, just implement it with a fluent container API and it's cool and done.
|
# ¿ Mar 18, 2017 01:07 |
|
RandomBlue posted:This was already answered, but in most cases if there's a one to one relationship between two tables they should be the same table. Is person to death date one to one?
|
# ¿ Apr 29, 2017 15:52 |
|
RandomBlue posted:Unless you know people that can die twice, yes. One to one means there can only be one row in table A matching one row in table B not that there will always be a row in table B. Just like how one to many means that one row in table A can match one or more rows in table B but there doesn't have to be data in table B for every row in table A. Depends if it's clinical death or legal death. If the column is a Postgres date (with a resolution of 1 day), then many people will share the same death date.
|
# ¿ Apr 30, 2017 18:39 |
|
Absurd Alhazred posted:Structural typing seems to be what you're describing. It's used by OCaml, Go, and you can also do this with templates in C++, actually. Yeah Scala has this too.
|
# ¿ Jul 3, 2017 16:31 |
|
TheBlackVegetable posted:Of course, but it looks nicer in F# Sounds like java vs scala
|
# ¿ Jul 18, 2017 23:02 |
|
Spatial posted:Here's another fun C oddity. I have Stockholm syndrome because this seems totally normal and expected and cool to me.
|
# ¿ Jul 25, 2017 22:00 |
|
I think there is a closed form solution, but I'm not thinking much.
|
# ¿ Jul 25, 2017 23:14 |
|
Spatial posted:The C preprocessor strikes again. Instead of using the built-in sized integer types in <stdint.h>, one very special team has defined all the types themselves and used them throughout their project: Extremely bad and nasty.
|
# ¿ Aug 17, 2017 13:11 |
|
canis minor posted:Every time I look up at babel.js/react.js/JSX combo I get angry. It's just one big why. The why is you, as React is actually pretty good. Volguus posted:It doesn't store things in github, yet it manages to depend on github (that is, get hosed when github doesn't work). Specific example? How about the documentation: Python pip and Ruby gems are identical in this regard.
|
# ¿ Aug 30, 2017 07:46 |
|
canis minor posted:Should have put more accent on JSX part; I'm not denying that react.js is nice - I just hate: Yeah fair enough. For balance, another thing that sucks a bit about React is it's halfway-house CSS for inline styling, which is awkward for expressing hover states etc. necrotic posted:Ruby does not let published packages depend on git repos, only other published gemspecs (including to private gem servers). Bundler is for development and allows git references. My bad, I misremembered.
|
# ¿ Aug 30, 2017 19:45 |
|
LOOK I AM A TURTLE posted:This is where someone should step in with a Fermi estimate of how many nearly meaningless bytes URG bytes have been sent over the wire since TCP was invented. I reckon a few hard drives full.
|
# ¿ Oct 15, 2017 23:07 |
|
The Fool posted:If this guy can build full websites and java apps on this phone you sure as gently caress can type out [code] every once and a while on your lovely smartphone. This is cool.
|
# ¿ Jan 27, 2018 12:07 |
|
Hammerite posted:That code is definitely unreadable to me but I think that probably has more to do with not being familiar with Agda syntax in particular or functional language syntax in general. Why do you use this heavily parenthetical writing style?
|
# ¿ Jul 22, 2018 14:03 |
|
Hammerite posted:I don't know. I have noticed it in my own writing in the past. Perhaps I am not very good at writing well-organised prose, and/or I am too ready to add asides that aren't really necessary. In general I tend to err on the side of verbosity, but I'm happy with that since I would rather be verbose and be understood than be terse and be misunderstood. Why do you ask? I ask for a couple of reasons: 1. I used to do it in work emails often. A buddy of mine told me to stop as it came over as being tentative and unsure, despite this not being the case. I now try to force myself to write more tersely. I’m interested in if you’ve had the same feedback or experience? 2. When phone lurking, I zoom on the posts and don’t see the username or avatars. I don’t often recognise posters by their writing style in CoC. I did however recognise your post due to the parentheses, which piqued my curiosity.
|
# ¿ Jul 22, 2018 21:47 |
|
canis minor posted:Ok, yes, though you could achieve the same thing as having previous states as snapshots of the DB, just like copying the CSVs . I imagine as well, that you'd only want such behaviour if you're tweaking your algorithm (unless you're tweaking it all the time). It’s totally reasonable to abstract the model training implementation from the DB or API by using an exported immutable snapshot as its input. I’d personally use JSON lines or any other splittable format, but whatever. Connecting directly to the DB is bad. Keeping snapshot archives as a DB dump is bad. Having splittable input is good. You’ve characterised their response to your objection as hand waving. Perhaps that’s because this stuff is fairly standard good practice, and they didn’t understand where you were coming from.
|
# ¿ Sep 4, 2018 21:36 |
|
The horror is that it could be package-private but isn’t.
|
# ¿ Sep 5, 2018 14:56 |
|
Volguus posted:Last time i checked @NonNull was not part of the standard. Is it now a part of the java specifications? I'm asking that because if @NonNull is not part of the standard, any complains you may have about its behavior cannot be brought against the language itself, but against the idiot IDE that you're using to program in said language. It’s Lombok, which non-insane people use.
|
# ¿ Sep 16, 2018 00:24 |
|
Volguus posted:Oh yes, Lombok. You're in the right thread then. Carry on. Haha nice. Do go on, I’m interested in Lombok horrors if you have any stories?
|
# ¿ Sep 16, 2018 09:24 |
|
Our computer architectures class covered memory consistency and coherence models, I’m surprised to hear programmers expecting sequential consistency from x86.
|
# ¿ Sep 29, 2018 12:10 |
|
Xarn posted:I don't know a single multi-core arch that is sequentially consistent by default. Now, I am not a CPU uarch expert, but from what I know, x86/x64 actually provide some of the strongest guarantees of modern architectures. Mehhhh https://en.wikipedia.org/wiki/Memory_ordering#In_symmetric_multiprocessing_(SMP)_microprocessor_systems
|
# ¿ Sep 29, 2018 14:30 |
|
To be fair, having a single server up continuously for a month without interruption is not ideal.
|
# ¿ Oct 11, 2018 07:27 |
|
xtal posted:The closest thing to a correct answer is kernel upgrades, but a lot of web developers will say that restarting your server periodically is the best solution to memory leaks. We rolling replace hosts frequently in case any prior vulnerability caused that host to be owned as one plank of a defence in depth policy.
|
# ¿ Oct 11, 2018 17:26 |
|
Consider a hypothetical vulnerability, either in application code, kernel, etc., which owns a host and allows arbitrary fuckery, such that the fuckery survives a subsequent reboot and/or patch. It’s to mitigate this by reducing the scope of the impact by replacing the host. It’s not a silver bullet, but I think it’s a worthwhile and cheap addition to the defence.
|
# ¿ Oct 11, 2018 18:53 |
|
Replacing in this context refers to taking a host out of the load balancer and returning it to our cloud provider while simultaneously provisioning and bootstrapping a new host, and adding it to the load balancer.
|
# ¿ Oct 11, 2018 20:37 |
|
|
# ¿ May 17, 2024 20:41 |
|
Carbon dioxide posted:As far as I know, for certain things they actually use integers to represent something like one hundredth of a cent. For stock interests and stuff those amounts might add up and be relevant. This was in Hackers, a film starring Jonny Lee Miller and Angelina Jolie.
|
# ¿ Oct 19, 2019 14:29 |