Details
-
SkillsJava, Python, C, C++, SQL, Kotlin, Prolog (a bit)
-
Locationin a corner
Joined devRant on 6/27/2019
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Just load an older version of it. Vanced manager lets you do that.
I've found issues with Shorts freezing but other than that, CNR. -
Until the ls turns out to be an sl
-
i would be questioning it too at that point
-
"The previous schedule has burnt me out, I cannot efficiently keep operating at this throughput without sacrificing my mental and physical wellbeing. You will need to either accept that this will take me longer to complete at a reasonable speed, find additional people to help me, or accept cutting corners on the final product."
Maybe something along those lines, perhaps? -
on a scale of 1 to 4chan, where do you place SO?
-
strange, no clue sorry!
although if it is a runnable, i assume it is a callable object or some kind of class they define. Can you not subclass that and place a threaded event or flag or something on the runnable object? -
@AlgoRythm About the runnable part not knowing when it is finished
Is it probably because it is an interface rather than an actual stateful implementation?
Seems similar to how Java has threads that can wrap runnables, but runnables are just behavioural interfaces.
Might just be talking shit here, I know zero Qt, so if I am just ignore me -
@TheBeardedOne I still use DVDs. It is usually faster than storing stuff in cloud storage/streaming because we live in the middle of nowhere, so mobile and broadband is slow and erratic at best.
-
@HiFiWiFiSciFi if you bought the license, and not the media itself, then it should be fine. It is the same reason Microsoft lets you download Windows 10 as an ISO for free. You pay for the license to use it rather than the actual software, as the former is more difficult to redistribute than the software itself.
IANAL, though. -
stories sound cool though.
"Steve: just broke master rofl" -
and brainfuck is to having a stroke?
-
That feels like a recursive loop of being paid and then taking longer to finish as a result of consuming your salary :P
-
The thing that bothered me the most is that they needed a function call and three variables to swap two integral values.
I feel that is an overly pedantic thing to get upset about but eh. Maybe I should go outside more. -
If your employer is a large company and provides you with the devices you need to work on, or you are an offshore worker in the same kind of environment and have to use a gateway to connect, then you don't necessarily have a choice unfortunately
-
There's a "devops engineer", and a "devoops enginuur". The first is the conventional book definition and the second is what you call someone who knows what AWS is and opened a terraform script once.
Its like when the term "software engineer" is used to describe someone who only uses graphical editors and uses XML for describing logic flows, but has no other experience with writing any form of programming code and thinks Big-O is a blood type, I guess. -
There's nothing stopping you making a simple autoconfiguration springfactory and putting it up on maven central.
Pop dependabot on it and set up a basic release workflow on GitHub and as long as velocity doesn't change their API drastically, it should be mostly self-maintaining. It will then benefit anyone else in the same position :-) -
I've used freemarker and found it is easy enough to use, I only really had experience with flask's jinja2 in Python before now.
You could just add the velocity dependency manually and add a bean to interface with it probably though. -
worth noting namespace packages can have weird semantics with tools like Pytest when nesting them from experience.
I generally always just add an init.py, even if it just contains a license header and module level docstring, there is no real downside to doing it. -
@vintprox yeah. A nice use case is making a small flask microservice. Define a blueprint and attach routes to it. Then define your Flask object itself in a `__main__` check and boot the werkzeug dev server.
This way you have a module for a flask app that can be integrated into an ESB or WSGI server directly, or run standalone for development :) -
@netikras the debugger by default is pure python in pycharm, meaning there is a trace hook that is a pure python function that gets invoked for each line of code that runs. Because I was debugging a code base that was doing a large number of bulk operations and due to the nature of it, it was noticibly slow.
Cython is a superset of Python that is transpiled to C, so you have lower level hooks that make it go faster.
In Java, setting breakpoints on method declarations seems to slow the debugger down massively for me when using a remote debugger; maybe that is your issue? Only using breakpoints on lines of logic/lambdas and not method definitions themselves didnt ever seem to have the same issue. I assume it is just how the JVM intercepts those calls. -
@vintprox it isn't obsolete, it is a different use case.
Using a package means you have a directory with the `__main__.py` in as you say. That doesn't make sense for single script projects (such as the Black code formatter).
`if __name__ == "__main__"` is for detecting running a single script directly (e.g. `python myscript.py`, whereas the package based solution would run `package/__main__.py` with `python -m package` :-)
The usecase for both is to differentiate between simply importing the script or module from another package or module as opposed to opening it directly. -
that feels like pycharm without the cython debugger extension most of the time for me
-
can you not just set up an inbox rule to mark content like that as junk? Most decent email clients allow you to do something along those lines.
-
future_fstrings my dude
-
why not beautiful soup 3 over lxml directly?
-
i only take my poms from within a valid soap envelope
-
and that language is Java
-
@cmarshall10450 "and if you dont belive me, go ask china"
-
@elvieeejo i was awaiting someone making that joke
-
@halfflat that is why you dont use python for performance critical code :)