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
Search - "pollution"
-
If Corona Virus, were to make a CV, it would make an interesting read:
1. Responsible for Global Digital Transformation.
2. Reduction of Global CO2 emission and Greenhouse gasses.
3. Global Hygiene initiatives: Ensured 100% compliance on washing hands and body bath.
4. Made industry shift to WFH - saved exposure and costs.
5. Reduction in noise pollution by making everyone keep their mouth shut (masked).
6. Taught cooking, vegetable shopping, housekeeping to many,
7. Provided ample time to all egoistic and self centered people, to contemplate on their mortal nature.
8. Provided a big boost to the Pharma sector and brought back small utility stores back into the limelight.
9. Highlighted the importance of governance, adaptability and long term planning, by all sectors.
Corona’s CV seems superior to many 😉2 -
STARTUP IDEA GUYS SUCKS!!!!
So today one of my friend asked me to do an app for him and finally share 50 percent of the profit that I get. His idea is to build an app that can measure air pollution level, water pollution level, soil fertility range. I was like "what the hell!"... The beauty is that he wants me to pay him 50 percent for giving such (stupid, retarded) idea.
Wondering when these "startup idea guys" will realize that ideas are cheap but execution is worth the millions! Fed-up with such stupid people.14 -
I wrote a prototype for a program to do some basic data cleaning tasks in Go. The idea is to just distribute the files with the executable on our shared network to our team (since it is small enough, no github bullshit needed for this) and they can go from there.
Felt experimental, so I decided to try out F# since I have always been interested with it and for some reason Microsoft adopted it into their core net framework.
I shit you not, from 185 lines of Go code, separated into proper modules etc not to mention the additional packages I downloaded (simple things for CSV reading bla bla)
To fucking 30 lines of F# that could probably be condensed more if I knew how to do PROPER functional programming. The actual code is very much procedural with very basic functional composition, so it could probably be even less, just more "dense"
I am amazed really. I do not like that namespace pollution happens all over F# since importing System.IO gives you a bunch of shit that you wouldn't know where it is coming from unless you fuck enough with Ionide and the docs. But man.....
No need for dotnet run to test this bitch, just highlight it on the IDE, alt enter and WHAM you have the repl in front of you, incremental quasi like Lisp changes on the code can be REPL changed this way, plethora of .NET BCL wonders in it, and a single point of documentation as long as you stay in standard .net
I am amazed and in love, plus finding what I wanted to do was a fucking cakewalk.
Downside: I work in a place in which Python is seen as magic and PHP, VB.NEt and C# is the end all be all of languages. If me goes away or dies there will be no one else in this side of the state to fuck with F#
This language needs to be studied more. Shit can be so compact, but I do feel that one needs to really know enough of functional programming to be good at it. It is really not a pure language like Haskell (then again, haskell is the only "mainstream" pure functional language ain't it not?) but still, shit is really nice and I really dig what Microhard is doing in terms of the .net framework.
Will provide later findings. My entire team is on the Microsoft space, we do have Linux servers, but porting the code to generate the necessary executables for those servers if needed should be a walk in the park. I am just really intrigued by how many lines of code I was able to cut down from the Go application.
Please note that this could also mean that I am a shit Golang dev, but the cut down of nil err checkings do come somewhere.9 -
!dev && random == true
Venus (top), Jupiter (bottom). There's a star (Antares) there to make it triangle but the star is dim to get caught by my crappy phone camera.
I've always fascinated by the night sky. Nevermind the mission to travel to Mars, the only matters now is how beautiful the night sky is but a lot of us don't get access to it because of light pollution. It's kinda sad that I need to go outside of the cities to see more of what the sky has to offer. I really wish everyone can see and appreciate it once in a while.1 -
"yeah, we want bundled products in our store, but we don't want to fill them in like such. Instead, you have to look at the product attributes, their values added in which sub sub sub category they're stored to automagically make such combinations. Also: of these combinations (that have no actual entity in the database) we want to be able to save images, descriptions, related products, etc."
I managed to fix it, but more than 50% of the time spent on this project was to explain to the customer why their combination wasn't working (they misconfigured the products), and writing a whole testing interface that showed the inner working of the algorithm, so they could debug their own products...
The worst part: we advised from day 1 not to take this road, but they had one "developer" who insisted on this approach because it would "prevent pollution in the database". in the end, we had to add 50-100 product attributes/values just to get the damn thing to work. -
Stackoverflow has got its userfriendliness problems and all, but I still like that whenever I find a question that I have too, that the answer I'm looking for is probably at the top of the answers. If not, I navigate away immediately.
On the other hand, if I find a question on github, there's so much pollution and scrolling that it takes a lot of time to assess whether the answer is there at all.
Also I feel like github is being used à la Stackoverflow more and more, Q&A rather than repo, but I am against this movement! -
I don't understand the hype with blockchain.... Everything at the end relies on a huge network of miners which uses a whole lot of resources and energy right?
So isn't the cost of running one of these extremely high? And well another source for pollution, climate change? The hardware isn't running on clean energy I think?18 -
thank god, Microsoft decided not to use lignite coal for updating their OS. I was worried to update windows, it used to cause so much smog in the neighbourhood, one uncle even died because of lead poisioning.
now, I can update Windows in peace, no more pollution.9 -
Create something that will take humanity forward. Not just a utility software but make things that'll help solve the biggest problems humans as a society face - poverty, hunger, loneliness, pollution etc. All these problems are on my radar.
The idea is to use science to solve social problems. And not just stop at that. Make things that will help humans evolve into the next evolutionary phase.2 -
Based on the current trend of show-your-workspace pictures doing the rounds, let me ask this...
How important is your workspace to you, specifically in an office environment, i.e. type of setup, amount of desk space, open plan/cubicle/office, number of colleagues on your proximity, noise pollution, etc., to your overall productivity and performance? And have you/are you able to do anything about?6 -
Go to compare two technologies. Ask google.
What do I get?
saashub
stackshare.io
slant.co/
g2.com/compare
Fuckign comparison sites, first 4-5 results, practically the whole damn first page.
And all their 'comparisons' are autogenerated masturbation or something keyed in by interns at yet another worth-fuck-all tech startup.
Googles search engine is fucking garbage too.
This is Advertising taken to the level of mental pollution.
Fucking assholes.6 -
Where did we get lost in the war against fuel guzzling cars and pollution to where now people are just paid to drive around endlessly who don’t even enjoy driving around ? Where did all these efforts go ?
I blame all levels of industry for making a good paying job mean no family no exercise no public transportation no sleep no travel13 -
https://github.com/PwnFunction/...
Who led this flattening user input object into the Next.js codebase, also thinking that `runContext` is going to make better companion than `eval`?
Yet another reason to switch over Sapper and other Svelte minimalistic solutions, in my opinion.rant nextjs security react gone wrong pwnfunction this is fine in the light of recent events with log4j code review disasters1 -
My work product: Or why I learned to get twitchy around Java...
I maintain a Java based test system, that tests a raster image processor. The client is a Java swing project that contains CORBA bindings to the internal API of the raster image processor. It also has custom written UI elements and duplicated functionality that became available in later versions of Java, but because some of the third party tools we use don't work with later versions of Java for some reason, it's not possible to upgrade Java to gain things as simple as recursive directory deletion, yes the version of Java we have to use does not support something as simple as that and custom code had to be written to support it.
Because of the requirement to build the API bindings along with the client the whole application must be built with the raster image processor build chain, which is a heavily customised jam build system. So an ant task calls out to execute a jam task and jam does about 90% of the heavy lifting.
In addition to the Java code there's code for interpreting PostScript files, as these can be used to alter the behaviour of the raster image processor during testing.
As if that weren't enough, there's a beanshell interface to allow users to script the test system, but none of the users know Java well enough to feel confident writing interpreted Java scripts (and that's too close to JavaScript for my comfort). I once tried swapping this out for the Rhino JavaScript interpreter and got all the verbal support in the world but no developer time to design an API that'd work for all the departments.
The server isn't much better though. It's a tomcat based application that was written by someone who had never built a tomcat application before, or any web application for that matter and uses raw SQL strings instead of an orm, it doesn't use MVC in any way, and insane amount of functionality is dumped into the jsp files.
It too interacts with a raster image processor to create difference masks of the output, running PostScript as needed. It spawns off multiple threads and can spend days processing hundreds of gigabytes of image output (depending on the size of the tests).
We're stuck on Tomcat seven because we can't upgrade beyond Java 6, which brings a whole manner of security issues, but that eager little Java updated will break the tool chain if it gets its way.
Between these two components we have the Java RMI server (sometimes) working to help generate image data on the client side before all images are pulled across a UNC network path onto the server that processes test jobs (in PDF format), by reading into the xref table of said PDF, finding the embedded image data (for our server consumed test files are just flate encoded TIFF files wrapped around just enough PDF to make them valid) and uses a tool to create a difference mask of two images.
This tool is very error prone, it can't difference images of different sizes, colour spaces, orientations or pixel depths, but it's the best we have.
The tool is installed in both the client and server if the client can generate images it'll query from the server which ones it needs to and if it can't the server will use the tool itself.
Our shells have custom profiles for linking to a whole manner of third party tools and libraries, including a link to visual studio 2005 (more indirectly related build dependencies), the whole profile has to ensure that absolutely no operating system pollution gets into the shell, most of our apps are installed in our home directories and we have to ensure our paths are correct for every single application we add.
And... Fucking and!
Most of the tools are stored as source bundles in a version control system... Not got or mercurial, not perforce or svn, not even CVS... They use a custom built version control system that is built on top of RCS, it keeps a central database of locked files (using soft and hard locks along with write protecting the files in the file system) to ensure users can't get merge conflicts by preventing other users from writing to the files at all.
Branching is heavy weight and can take the best part of a day to create a new branch and populate the history.
Gathering the tools alone to build the Dev environment to build my project takes the best part of a week.
What should be a joy come hardware refresh year becomes a curse ("Well fuck, now I loose a week spending it setting up the Dev environment on ANOTHER machine").
Needless to say, I enjoy NOT working with Java. A lot of this isn't Javas fault, but there's a lot of things that Java (specifically the Java 6 version we're stuck on) does not make easy.
This is why I prefer to build my web apps in python or node, hell, I'd even take Lua... Just... Compiling web pages into executable Java classes, why? I mean I understand the implementation of how this happens, but why did my predecessor have to choose this? Why?2 -
UFOs are causing pollution in the environment. Thus, aliens are also responsible for global warming. We need to raise this issue. Clearly, aliens don't respect human life.6
-
1. 72 hours at an heavy used street with many holes and open windows (not the os) on an hot day for those, who stop the people, who work against air pollution;
2. die nvidia;
3. a pc with an inbuilt 10 kW fusionreactor, water heater, 2 amd cpu of the latest gen, 2 of the highest tier amd graphic cards and an mainboard which follows the spec of the cpus;
That should cover everything i need.1 -
Forbes study https://lnkd.in/f4GDPnf shows that there has been a drastic reduction in pollution levels in China during the lockdown period due to Coronavirus outbreak.
I think it can be a pretty good idea to lockdown the world periodically to heal the planet. Here's a petition for the same. If you support the cause, please sign and share at http://chng.it/pxVMSKrmv610 -
Time zone just sprang into day time savings yesterday
I had a device monitoring data pollution on a roof that goes to a website. The thing didn’t fucking adjust bday the device stayed on standard time
I spent the entire day thinking what I should adjust for something that most countries don’t do any more why do we even bother with saving daylight.
In addition the timezone I wanted didn’t work right with pandas and I had to do the wrong way to get it “right”6 -
My fav part of working from home is that I don't have to inhale the pollution and dust of the city. I also hate how pathetic the footpaths here are.