|
Aramoro posted:I'm sure there's going to be a point at some point in the next couple of years where all the brand new Mongo systems people have been making start falling apart under the weight of system updates and poorly constructed data storage. but MongoDB is web scale…?
|
# ? Feb 26, 2019 10:45 |
|
|
# ? Apr 25, 2024 13:55 |
|
eschaton posted:but MongoDB is web scale…? *Pipes all my data to /dev/null* CHECK MY BENCHMARKS.
|
# ? Feb 26, 2019 11:20 |
|
what's wrong with java beans? like i just use them as a pile of data and works for me?
|
# ? Feb 26, 2019 11:55 |
|
Wheany posted:what's wrong with java beans? like i just use them as a pile of data and works for me? Nothing is wrong with them, people just try to use them in a way they weren't intended for and wail about how poo poo they are because they don't handle their corner case very well.
|
# ? Feb 26, 2019 12:08 |
|
I'm not actually sure what problem beans were intended to solve. Generally I have trouble understanding things if I don't actually understand the motivation behind them, so that might be why I think they're dumb as hell. Or maybe they're just dumb regardless, idk.
|
# ? Feb 26, 2019 13:40 |
|
Wheany posted:what's wrong with java beans? like i just use them as a pile of data and works for me? beans are supposed to magical, so you can get/send the objects for the code that does the work directly to/from the serializer. but if you don't want setters all they are is another layer that you have to use. which is the same as say, using protobufs, but now without other lang support plus making your code objects into a protocol is the same stupid mistake you see with ORMs, Serializable, etc. ; it works well the first time, but versioning is hell and most of the bean stuff is wired up to Enterprise Grade code with the quality that implies if you like having immutable things, they can't be beans and it's usually stupid to use beans for the things they were designed for
|
# ? Feb 26, 2019 14:35 |
|
Penisface posted:are you sure it is not kafka logs? lol
|
# ? Feb 26, 2019 14:38 |
|
Java beans were intended for use as ui components so they have to be mutable. If you actually want to ship data around then use immutable data objects. Enjoy getting run time errors when you inevitably forget to fill out the entire builder. The whole get set prefix thing where you have to decapitalize the first letter of the accessor name to find the property name is also bad. Java nio handles accessor naming better.
|
# ? Feb 26, 2019 17:10 |
|
kotlin's data classes+named parameters alone are worth using the language.
|
# ? Feb 26, 2019 17:24 |
|
ctps: to login to a remote web service, you're supposed to POST on the login endpoint code:
code:
my ide automatically ran cleanup on commit and i have set it to automatically sort the members alphabetically (for reasons). so the field order in the class changed to password-siteid-username, and so did the constructor argument order.
|
# ? Feb 26, 2019 17:32 |
|
dont use lombok
|
# ? Feb 26, 2019 17:35 |
|
java beans are good, lombok is good, spring is good, dont @ me
|
# ? Feb 26, 2019 17:38 |
|
CRIP EATIN BREAD posted:dont use lombok lombok is something I feel I don't quite 'get', like I'm missing something about it. I've never been sitting there under a mountain of unwritten constructors etc thinking 'There's got be a better way!'. It feels like a heavyweight solution to really edge-casey problems.
|
# ? Feb 26, 2019 17:41 |
|
it does too much magic at compile time by hooking into unpublished APIs. that just screams "i'm going to break something here" to me. also requiring a plugin in an IDE to understand the annotations? thanks, but no thanks.
|
# ? Feb 26, 2019 17:45 |
DONT THREAD ON ME posted:never give the mongo people your contact info, their sales people are very aggressive i don't know how they got it. i found out other members on my team get them too (bolding was in the email) quote:The largest challenge that I face is battling the misconception that MongoDB is a niche database. I strongly believe that there is not a use case where MongoDB is not a fit. In fact, I believe that MongoDB is not only a fit for all use cases, I believe it is the best database on the planet for all use cases.
|
|
# ? Feb 26, 2019 20:09 |
|
Sapozhnik posted:If you actually want to ship data around then use immutable data objects. Enjoy getting run time errors when you inevitably forget to fill out the entire builder. no worse than getting runtime errors when you forget to call all the set methods. better, even, because you get the error at the point of construction rather than a random npe somewhere completely different
|
# ? Feb 26, 2019 20:21 |
PokeJoe posted:i don't know how they got it. i found out other members on my team get them too i want to embed this person into, like, a risk management unit at an insurer or so and see how many days they last
|
|
# ? Feb 26, 2019 20:39 |
|
anyone have any recommendations for setting up my terminal to look good at 80 character width? good looking minimal PS1s, fonts, etc. i traditionally arrange my shell horizontally below my ide but i want to try working with a vertical layout instead.
DONT THREAD ON ME fucked around with this message at 20:54 on Feb 26, 2019 |
# ? Feb 26, 2019 20:52 |
|
DONT THREAD ON ME posted:anyone have any recommendations for setting up my terminal to look good at 80 character width? good looking minimal PS1s, fonts, etc. i traditionally arrange my shell horizontally below my ide but i want to try working with a vertical layout instead. https://github.com/LazoCoder/Pokemon-Terminal
|
# ? Feb 26, 2019 21:25 |
|
DONT THREAD ON ME posted:anyone have any recommendations for setting up my terminal to look good at 80 character width? good looking minimal PS1s, fonts, etc. i traditionally arrange my shell horizontally below my ide but i want to try working with a vertical layout instead. I just work under the assumption that good programming fonts make for good console fonts. As a result, I always install Inconsolata as my font after having read this article back in the day. I understand Consolas is solid too. Granted, the article is now ten years old, so there are many other options now. And of course if you want you can always try Fira Code
|
# ? Feb 26, 2019 21:42 |
fira code crew checking in. there is also a similar font made by russian coding community that was also quite good, but i always forget what it’s called - didn’t like the ligatures. it had a www ligature that shaped www bottom outline as (
|
|
# ? Feb 26, 2019 21:51 |
|
I hope the Slowpoke skin comes with like 2ms of input lag
|
# ? Feb 26, 2019 22:06 |
|
I'm rockin Borg Sans Mono over here. Gotta have my cross hash zero
|
# ? Feb 26, 2019 22:42 |
|
I'm trying to decide if I should install a font with ligatures or if that would just drive me insane
|
# ? Feb 26, 2019 22:45 |
|
The Fool posted:I'm trying to decide if I should install a font with ligatures or if that would just drive me insane i mean it's not like you have much to lose here from trying it. i like them except for === but luckily i don't see that much. <= and >= are worth it alone imo
|
# ? Feb 26, 2019 23:04 |
|
The Fool posted:I'm trying to decide if I should install a font with ligatures or if that would just drive me insane i tried one and didn't like it
|
# ? Feb 27, 2019 09:23 |
|
DONT THREAD ON ME posted:anyone have any recommendations for setting up my terminal to look good at 80 character width? good looking minimal PS1s, fonts, etc. i traditionally arrange my shell horizontally below my ide but i want to try working with a vertical layout instead. try Cathode for the best looking terminal and just use \$ for your prompt, if you’re going to insist on 80 columns just go fully old school eschaton fucked around with this message at 11:12 on Feb 27, 2019 |
# ? Feb 27, 2019 11:10 |
|
Or a two line ps1, second line \$
|
# ? Feb 27, 2019 21:42 |
|
pdick traceroute posted:Or a two line ps1, second line \$ ya this is what im trying and im not getting used to it.
|
# ? Feb 28, 2019 02:34 |
|
build simh and run SVR3.2 on the AT&T 3B2 emulator and you’ll get used to it you can even use the AT&T DMD 5620 emulator with it to get the slickest possible True UNIX Experience
|
# ? Feb 28, 2019 09:45 |
|
loving hell all python pdf libraries support random non-overlapping subsets of the PDF spec, what a nightmare
|
# ? Feb 28, 2019 11:25 |
|
pdfs are the worst everywhere i've ever had to use them
|
# ? Feb 28, 2019 11:54 |
|
Chalks posted:pdfs are the worst everywhere i've ever had to use them unfortunately still the best for sharing docs tho
|
# ? Feb 28, 2019 12:01 |
|
Chalks posted:pdfs are the worst everywhere i've ever had to use them hello i'm from the xml foundation and ..
|
# ? Feb 28, 2019 12:35 |
|
I tried using the free version of the Hotspot Shield VPN, and that worked to get past the IP ban in-browser. For some strange reason, though, the server is nevertheless unresponsive when my program makes a request using the requests module, which doesn't make any sense. I tried randomizing the user agent in combination with how the IP address changes when I disconnect and reconnect to the VPN, but it didn't work. Tomorrow I'll have to resort to using Google Translator, the Google cache, or Internet Archive.
|
# ? Feb 28, 2019 12:59 |
|
Krankenstyle posted:loving hell all python pdf libraries support random non-overlapping subsets of the PDF spec, what a nightmare if it helps, this is not unique to python pdf libraries also, there’s "the spec" and then there’s "what adobe acrobat does", and guess which one users/customers care about Boiled Water posted:hello i'm from the xml foundation and .. pdf spec includes xml so it wins
|
# ? Feb 28, 2019 13:24 |
|
galenanorth posted:I tried using the free version of the Hotspot Shield VPN, and that worked to get past the IP ban in-browser. For some strange reason, though, the server is nevertheless unresponsive when my program makes a request using the requests module, which doesn't make any sense. I tried randomizing the user agent in combination with how the IP address changes when I disconnect and reconnect to the VPN, but it didn't work. Tomorrow I'll have to resort to using Google Translator, the Google cache, or Internet Archive. have you tried using tor, op?
|
# ? Feb 28, 2019 13:29 |
|
Not yet. A long while ago I installed it and tried using it for a browser for a bit and then uninstalled it. I'll see if that works with Python's requests module later. Thank you
|
# ? Feb 28, 2019 13:33 |
|
I thought tor address space was separate from ordinary DNS? I know very little about it though
|
# ? Feb 28, 2019 13:35 |
|
|
# ? Apr 25, 2024 13:55 |
|
Private Speech posted:I thought tor address space was separate from ordinary DNS? I know very little about it though the tor network itself is separate, but you can use tor as a proxy as well to access regular websites - this is literally how people in censorship countries get to view sites that are blocked you can use tor to proxy any request you have, which naturally includes your scraper script
|
# ? Feb 28, 2019 13:39 |