|
web should die i was much happier before the internet
|
# ? Apr 23, 2016 03:46 |
|
|
# ? May 22, 2024 13:04 |
|
The web is not the internet
|
# ? Apr 23, 2016 03:52 |
|
|
# ? Apr 23, 2016 05:12 |
|
when you just can't handle the fact that validating phone numbers any other way than texting the number is dumb
|
# ? Apr 23, 2016 05:15 |
|
CommunistPancake posted:there's third party drivers for ext4 on windows (though, if you use them more from windows than linux, just use ntfs or exfat) Cybernetic Vermin posted:yeah, the ext ifs driver actually works just fine, but i expect that it'll be a lot safer to migrate the stuff over to a ntfs partition if you are actually migrating the stuff to windows The machine runs Windows directly, but hosts two of my largest drives, a 1.5TB and a 4TB, and they're also quite loaded with content, but I suppose I could shrink and gradually migrate them back to NTFS like they originally were a long time ago. The data is shared to Windows using Samba, so conversion would cut that out. Then I could run Netatalk in a Linux container to host the data to my primary desktop, a Retina 5k iMac. Currently, those two drives are offline to Windows and attached directly to the Ubuntu VM.
|
# ? Apr 23, 2016 07:00 |
|
i like to imagine that someone manually typed out each and every option in those boxes
|
# ? Apr 23, 2016 08:52 |
|
I once filled out a job form where you had to list your previous employers. In a drop down menu.
|
# ? Apr 23, 2016 09:28 |
|
gonadic io posted:I once filled out a job form where you had to list your previous employers. In a drop down menu.
|
# ? Apr 23, 2016 09:55 |
|
yeah ive seen that before. generally for super poo poo 11 page applications that you cant click back on. I don't gently caress with those things any more.
|
# ? Apr 23, 2016 16:12 |
|
kuroshi posted:The machine runs Windows directly, but hosts two of my largest drives, a 1.5TB and a 4TB, and they're also quite loaded with content, but I suppose I could shrink and gradually migrate them back to NTFS like they originally were a long time ago. maybe you need someone more qualified to run your data warehouse?
|
# ? Apr 23, 2016 17:46 |
|
its cool im sure your lovingly collected trove of flac encoded john galt speeches has strict data requirements
|
# ? Apr 23, 2016 18:44 |
|
forgot for a second that I was posting in YOSPOS. carry on.
|
# ? Apr 23, 2016 21:44 |
|
MALE SHOEGAZE posted:maybe you need someone more qualified to run your data warehouse?
|
# ? Apr 23, 2016 22:04 |
|
kuroshi posted:The machine runs Windows directly, but hosts two of my largest drives, a 1.5TB and a 4TB, and they're also quite loaded with content, but I suppose I could shrink and gradually migrate them back to NTFS like they originally were a long time ago. why
|
# ? Apr 23, 2016 22:06 |
|
python's lack of labeled break is a gigantic pain in the balls gently caress u guido "code so complicated to require this feature is very rare" my rear end
|
# ? Apr 24, 2016 08:35 |
|
gently caress pythonic anything too
|
# ? Apr 24, 2016 08:36 |
|
labeled breaks was a feature that I got all when I first saw it in perl and later java, holy poo poo I didn't expect seeing this feature in java of all programming languages but hey maybe this is a good incentive for pushing your style towards wrapping more stuff into small functions and return from them instead of breaking Symbolic Butt fucked around with this message at 08:59 on Apr 24, 2016 |
# ? Apr 24, 2016 08:47 |
|
I'll bitch about Python just about any chance I can get, but ever since I learned Java had labeled breaks I have searched for an appropriate opportunity to employ them. I've tried for years to come up with a good excuse to use this feature and baffle onlookers, but every time I've tried it turned out to be cleaner to structure the code in some other way- collapse loops, break out a function, etc. In all seriousness, what's your use case?
|
# ? Apr 24, 2016 08:51 |
|
searching and doing business logic/set math on multiple huge sorted lists without just searching through the whole cartesian space its a big ugly function out of necessity. believe me I wouldn't hesitate to break it down to smaller functions if i could (i have like a billion 3 line functions so it's not like im allergic) point is: why is a labeled break so taboo?
|
# ? Apr 24, 2016 09:17 |
|
Shinku ABOOKEN posted:its a big ugly function that's where you're going wrong. you're trying to use python to write ugly code. python is only for beautiful code. take your stinking business logic somewhere else please, we're trying to make art here
|
# ? Apr 24, 2016 12:46 |
|
a labelled break is a glorified goto
|
# ? Apr 24, 2016 13:29 |
|
qntm posted:a labelled break is a glorified goto uhhuh?
|
# ? Apr 24, 2016 13:34 |
|
qntm posted:a labelled break is a glorified goto so is an unlabelled break, or indeed a function call
|
# ? Apr 24, 2016 13:35 |
|
and gotos are bad
|
# ? Apr 24, 2016 13:39 |
|
Internet Janitor posted:
it's an easy way to refactor a nontrivial method with multiple returns and return values into a method with a single return — without doing a complete rewrite that could change its semantics this is needed before such a method can be inlined inside an another it's not the nicest refactoring but I don't know any other way to do it
|
# ? Apr 24, 2016 14:04 |
|
tail call optimization is also not Python because you shouldn't be recursing, it's too mathematical
|
# ? Apr 24, 2016 14:13 |
|
AWWNAW posted:tail call optimization is also not Python because you shouldn't be recursing, it's too mathematical you can hack it with a decorator and trampolining
|
# ? Apr 24, 2016 14:15 |
|
AWWNAW posted:tail call optimization is also not Python because you shouldn't be recursing, it's too mathematical also it makes debugging a bit harder which is actually a non-trivial reason
|
# ? Apr 24, 2016 14:15 |
|
AWWNAW posted:tail call optimization is also not Python because you shouldn't be recursing, it's too mathematical indeed, the pythonic thing is to write explicit loops because it's clearer, but not to nest them because that would be complicated again basically try not to need to do anything complex, please, we like our problems to be simple round here
|
# ? Apr 24, 2016 14:17 |
|
Malcolm XML posted:also it makes debugging a bit harder which is actually a non-trivial reason excuse, not reason. like simple tail recursion is literally equivalent to a loop with an explicit stack, except for some reason nobody ever complains that your stack trace doesn't show how many times you went round the loop before you ran out of heap space. possibly because it's not a big deal in practice???
|
# ? Apr 24, 2016 14:25 |
|
Java code:
|
# ? Apr 24, 2016 14:45 |
|
Wheany posted:
did java just now get arrow functions?
|
# ? Apr 24, 2016 15:55 |
|
akadajet posted:did java just now get arrow functions? well, 2014. but yes, arrow functions were one of the additions to java 8
|
# ? Apr 24, 2016 16:00 |
|
That line could use font::canDisplay, too, instead of the arrow syntax. I'm not sure which version is more clear, though.
|
# ? Apr 24, 2016 16:04 |
|
CPColin posted:That line could use font::canDisplay, too, instead of the arrow syntax. I'm not sure which version is more clear, though. yours is. also the best decision Java 8 made wrt lambda was opting single method interfaces or whatever into the lambda pattern. so many anonymous classes just get sit replaced by a nice lambda.
|
# ? Apr 24, 2016 16:09 |
|
CPColin posted:That line could use font::canDisplay, too, instead of the arrow syntax. I'm not sure which version is more clear, though. the arrow function version by far
|
# ? Apr 24, 2016 16:10 |
|
lol
|
# ? Apr 24, 2016 16:11 |
|
CPColin posted:That line could use font::canDisplay, too, instead of the arrow syntax. I'm not sure which version is more clear, though. i forgot method references existed.
|
# ? Apr 24, 2016 16:14 |
|
Soricidus posted:excuse, not reason. like simple tail recursion is literally equivalent to a loop with an explicit stack, except for some reason nobody ever complains that your stack trace doesn't show how many times you went round the loop before you ran out of heap space. possibly because it's not a big deal in practice??? its non trivial not a showstopper, u just gotta be aware
|
# ? Apr 24, 2016 16:35 |
|
|
# ? May 22, 2024 13:04 |
|
Soricidus posted:indeed, the pythonic thing is to write explicit loops because it's clearer, but not to nest them because that would be complicated again stupidest python thing is the restriction to LR grammar in the main lang b/c that's real useful
|
# ? Apr 24, 2016 16:35 |