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 - "blob"
-
Found this gem on GitHub:
// At this point, I'd like to take a moment to speak to you about the Adobe PSD format.
// PSD is not a good format. PSD is not even a bad format. Calling it such would be an
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire
// that burns with the fierce passion of a million suns.
// If there are two different ways of doing something, PSD will do both, in different
// places. It will then make up three more ways no sane human would think of, and do those
// too. PSD makes inconsistency an art form. Why, for instance, did it suddenly decide
// that *these* particular chunks should be aligned to four bytes, and that this alignement
// should *not* be included in the size? Other chunks in other places are either unaligned,
// or aligned with the alignment included in the size. Here, though, it is not included.
// Either one of these three behaviours would be fine. A sane format would pick one. PSD,
// of course, uses all three, and more.
// Trying to get data out of a PSD file is like trying to find something in the attic of
// your eccentric old uncle who died in a freak freshwater shark attack on his 58th
// birthday. That last detail may not be important for the purposes of the simile, but
// at this point I am spending a lot of time imagining amusing fates for the people
// responsible for this Rube Goldberg of a file format.
// Earlier, I tried to get a hold of the latest specs for the PSD file format. To do this,
// I had to apply to them for permission to apply to them to have them consider sending
// me this sacred tome. This would have involved faxing them a copy of some document or
// other, probably signed in blood. I can only imagine that they make this process so
// difficult because they are intensely ashamed of having created this abomination. I
// was naturally not gullible enough to go through with this procedure, but if I had done
// so, I would have printed out every single page of the spec, and set them all on fire.
// Were it within my power, I would gather every single copy of those specs, and launch
// them on a spaceship directly into the sun.
//
// PSD is not my favourite file format.
Ref : https://github.com/zepouet/...16 -
Me: i have to pass this test tomorrow so I better study
Me to me: start an overambitious project that will take years to complete3 -
This guy's calculator program in python has 20000 + lines of code
Link: https://github.com/AceLewis/...17 -
I'm editing the sidebar on one of our websites, and shuffling some entries. It involves moving some entries in/out of a dropdown and contextual sidebars, in/out of submenus, etc. It sounds a little tedious but overall pretty trivial, right?
This is day three.
I learned React+Redux from scratch (and rebuilt the latter for fun) in twice that long.
In my defense, I've been working on other tasks (see: Alerts), but mostly because I'd rather gouge my freaking eyes out than continue on this one.
Everything that could be wrong about this is. Everything that could be over-engineered is. Everything that could be written worse... can't, actually; it's awful.
Major grievances:
1) The sidebars (yes, there are several) are spread across a ridiculous number of folders. I stopped counting at 20.
2) Instead of icon fonts, this uses multiple images for entry states.
3) The image filenames don't match the menu entry names. at all. ("sb_gifts.png" -> orders); active filenames are e.g. "sb_giftsactive.png"
4) The actions don't match the menu entry names.
5) Menu state is handled within the root application controller, and doesn't use bools, but strings. (and these state flags never seem to get reset anywhere...)
6) These strings are used to construct the image filenames within the sidebar views/partials.
7) Sometimes access restrictions (employee, manager, etc.) are around the individual menu entries, sometimes they're around a partial include, meaning it's extremely difficult to determine which menu entries/sections/subsections are permission-locked without digging through everything.
8) Within different conditionals there are duplicate blocks markup, with duplicate includes, that end up render different partials/markup due to different state.
9) There are parent tags outside of includes, such as `<ul>#{render 'horrific-eye-stabbing'}</ul>`
10) The markup differs per location: sometimes it's a huge blob of non-semantic filthiness, sometimes it's a simple div+span. Example filth: section->p->a->(img,span) ... per menu entry.
11) In some places, the markup is broken, e.g. `<li><u>...</li></u>`
12) In other places, markup is used for layout adjustments, such as an single nested within several divs adorned with lots of styles/classes.
13) Per-device layouts are handled, not within separate views, but by conditionally enabling/disabling swaths of markup, e.g. (if is_cordova_session?).
14) `is_cordova_session` in particular is stored within a cookie that does not expire, and within your user session. disabling it is annoying and very non-obvious. It can get set whether or not you're using cordova.
15) There are virtually no stylesheets; almost everything is inline (but of course not actually everything), which makes for fun layout debugging.
16) Some of the markup (with inline styling, no less) is generated within a goddamn controller.
17) The markup does use css classes, but it's predominately not for actual styling: they're used to pick out elements within unit tests. An example class name: "hide-for-medium-down"; and no, I can't figure out what it means, even when looking at the tests that use it. There are no styles attached to that particular class.
18) The tests have not been updated for three years, and that last update was an rspec version bump.
19) Mixed tabs and spaces, with mixed indentation level (given spaces, it's sometimes 2, 4, 4, 5, or 6, and sometimes one of those levels consistently, plus an extra space thereafter.)
20) Intentional assignment within conditionals (`if var=possibly_nil_return_value()`)
21) hardcoded (and occasionally incorrect) values/urls.
... and last but not least:
22) Adding a new "menu sections unit" (I still haven't determined what the crap that means) requires changing two constants and writing a goddamn database migration.
I'm not even including minor annoyances like non-enclosed ternaries, poor naming conventions, commented out code, highly inefficient code, a 512-character regex (at least it's even, right?), etc.
just.
what the _fuck_
Who knew a sidebar could be so utterly convoluted?6 -
K but why is this even possible through CSS...
Linked below is a pure CSS keylogger, i.e., now you can get your passwords stolen through a stylesheet. Keep your head on a swivel kids.
https://github.com/maxchehab/...13 -
A few hours ago I got notified that youtube-dl had been subjected to a DMCA takedown from the RIAA (https://github.com/github/dmca/...). I was instantly asked to mirror a known copy of the repository, but was too late to do it.. the other mirror had already been taken down as well. Coincidentally I also had to deal with an attack from 2 email spamhausen at the same time (still ongoing too, but things have settled down). As we frantically started searching for other mirrors we did find another one at https://gitea.eponym.info/Mirrors/.... I've now also mirrored both youtube-dl and NewPipe to https://git.ghnou.su/mir/youtube-dl and https://git.ghnou.su/mir/newpipe respectively.
The reason for it in the DMCA takedown is ridiculous though... There were 3 links to copyrighted videos in the readme file. Yeah.. 3 links, that's what a whole project got taken down for. Sending an email to one of the maintainers or opening an issue was clearly too much work.
If you want to participate in the mirroring process, feel free to use my mirror as a source. I find takedowns like this unacceptable and this software should remain available on the internet, until the youtube-dl developers can appeal for takedown removal or move their project elsewhere. Together we can do it!22 -
The end is near, everyone duck for cover while I drop an unbelievable project on you!
I present to you.......
Object Orientated HTML or “OOH”
https://github.com/Michaelkielstra/...
~ Disclaimer
This is not mine, just scary as hell to stumble over 😱8 -
@dfox & @trogus
Just finished reading your app update and I must say that I'm very impressed with the number of changes that have come out in the past six or so weeks. Good job guys and keep up the good work!
PS an autocomplete '@' mention feature would be really helpful.1 -
#include <rant>
So, in my class I have this one dude who also code, "Awesome" I thought when I first saw that he codes, he codes in c# and claims to know JavaScript.
So I hung out with him a bit on recess/break time, and I eventually found out that he is a d*ckhead
First of all, he claims that he can code ANYTHING, I mean triple A games, the machine that can find pi in 10 seconds. And I know that this isn't true, because he "can't bother" with showing me it.. whatever I think.
I also mentioned that he is a d*ck, why am i saying that? Because if you make an error he would just go, "there is supposed to be *insert random bullshit here* instead of *a typo that I made*, retard. You are honestly fucking stupid" Listen, I love when people point errors out, it really helps. But when you say it like that, it honestly makes me sad. One day, I was messing around with classes in python and he went "hey idiot! That's wrong! There is supposed to be a *random word* instead of *working code*". The funny thing is, HE DOESNT KNOW WHAT PYTHON IS. So I comment out the working code and puts in his c# bs there instead. And he just says, "it isn't working because there's a private class instead of a public class. Ehmm, excuse me? This is python, ok.
Oh and he told me I was a retard because I can't develop triple a games using pure JavaScript.
Any tips on dealing with the guy?23 -
!Rant
*Whenever there's a big hacking thing that happened in cyberspace and the media gets the footage*
"Hey! You! you the website developer. Can you like get a hoodie and smash the keyboard."
"Why?"
"Big virus leak"
"But that's not ha.."
"SHUT THE FUCK UP AND GET THE HOODIE ALREADY"undefined and also probably am i overthinking this? the nsa is watch.. news shhh they don't need to know about that that's why there's always html code there what5 -
So, I was going to complain about JS being finicky and not making a damned bit of sense, but it turns out that it wasn't JS's fault. Not entirely, anyway. It was the halfassed JS minifier middleware (written by the legendary dev himself) that was breaking the JS while writing it to the page.
The original problem:
My code worked. I removed some comments. Big ol' block of //'s. And suddenly $() isn't a function. But if I call $(); at the top, it all works!
It turns out the "minifier" caused JS to think my code was chaining off the previous JS line in the rendering pipeline instead of being a separate statement. so all it really needed was a `;` at the start. What threw me, though, was the last line of the previous blob of (non-minified) JS was a comment, so it should be a separate statement, right?
But as it turns out...
```
console
// JS really is finicky.
.log('Sigh.');
```16 -
For the privacy freaks of devRant, have a host file that blocks all Facebook owned domains:
Blocklist Facebook domains (2016) - https://github.com/jmdugan/...
(not mine, found on HN)7 -
Using 10% React with the rest in Jquery. Importing a giant legacy CSS blob in a newly made SCSS file. Two thirds of the API documentation in docblocks, the rest in Markdown files. Half of the repositories in Github, the other half in Bitbucket. The root of every project littered with ymls and jsons and readmes of stupidly named tools no one has ever heard of.
Fuck your partial refactoring, fuck your little experiments, fuck all this half work. I'm so done with this shit. 😡5 -
My co-workers hate it when I ask this question on a technical interview, but my common one is "what is the difference between a varchar(max) and varchar(8000) when they are both storing 8000 characters"
Answer, you cannot index a varchar(max). A varchar(max) and varchar(8000) both store the data in the table but a max will go to blob storage if it is greater than 8000.
No one ever knows the answer but I like to ask it to see how people think. Then I tell them that no one ever gets that right and it isn't a big deal that they don't know it, as I give them the answer.8 -
Before the storm - New Feminist Programming Language C+=
So before reading and raging on the box popoli post "the costs of a code of conduct" (thanks for linking @cursee ) I thought I'd share an awesome repository some Anon highlighted on 4chin/g.
I encourage you to read the README.md if you have been feeling depressed and/or mad with all this politics in programming bs.
https://github.com/ErisBlastar/...11 -
Company: Govt says you should stay home to prevent spreading the disease. PLZ WFH.
People start to WFH.
VPN gets overwhelmed.
Me: Cannot connect to VPN.
Boss: Then go in the office!!!
Me: Uhh...3 -
I know you will hate me that I did this. I am so sorry. But isn't it incredible that it work? 😂😂😂
Whole source: https://github.com/GoodRockqq/...
Hope my teacher will not commit suicide 🤔16 -
The more I use Go, the more i start to like it. I didn’t realize how nice being able to generate binaries for every OS that matters was, until I had that power. It beats the hell out of trying to distribute a Python app for sure.
Sure, it has its warts.
It’s overly bureaucratic in the same way Java is.
I hate that you can’t import something without using it (most people I’d wager preemptively import libraries they know they’re gonna need even if the code isn’t written yet)
I really wish there was a way to just say “See this JSON blob? All those keys and values are strings, trust me, you don’t need me to tell you the type of each one individually.”
Generics would be nice.
I’d kill for exceptions - any decently sized go program is going to have very many if err checks where most could be condensed down to a single try/catch in most other langs.
I wish the tooling was better. Dependency management was a solved problem when Go was released and yet they chose to ship without it. There’s still no standard. Many hours of time have been wasted dinking with this.
But ya know what? Even with those warts, it’s still easier to write than Java. It’s still write once run anywhere, it’s blazing fast, and doesn’t require your end user to install an entire freakin runtime.
<3 Go2 -
I was up until 3AM working on devRant bot adding new features and improving stability.
https://github.com/nblackburn/...
After some very close monitoring, i am happy to relaunch it for you guys to enjoy.6 -
Arch Rice Update
Distro: Arch Linux
WM: i3-gaps
Browser: qutebrowser with my GitHub open
Pomodoros: pomo
top: gotop
Vim: Open with Python code, taglist, powerline and gruvbox color scheme
Terminal: st, Luke Smith's build
Neomutt, configured by mutt-wizard
Vifm, with ripped CDs and projects open
Bar: bumblebee-status
Background: https://github.com/skuzzymiglet/...
Qutebrowser means I can finally abandon my mouse/trackpad (except for pesky video ediors and music notation software). Nice feeling not having to drag my fingers over a piece of metal. Try it out!
High-res:
https://ibb.co/mbL6yXb
Some dotfiles (not all): https://github.com/skuzzymiglet/...11 -
devCraft [
HI GUYS! THE SERVER HAS FINALLY BEEN TRANSFERRED OVER!
There's only a few mods right now. please note, for multimc users there IS a multimc instance as well. server will not be run in offline mode, sorry cracked users.
All connection info and downloads at
http://github.com/parkcitymedia/...62 -
This stupid crap is pissing me off.
I write a quick blob of code that performs an http request with custom headers and writes the response to a file. easy squeezy. Everything works.
I abstract it into a class and add request building and stages (enjoayble!), and have one method make the response, read its body, and write to a file. I literally copy/pasted most of my existing code into the method and indented it. The only changes were updating var names to instance vars.
But now? It's complaining something is trying to read the request body twice, and it's throwing a fit. What? How? You were just working!
asfklasjdf;l8 -
Stumbled upon this link today. There's something for everyone on here. Enjoy and share it!
https://github.com/sdmg15/...1 -
DON'T. INSTALL. BETA. SOFTWARE. BY. DEFAULT.
RAZER
When I plugged my $250 keyboard (Which I have had for years and love beyond measure) into my new install of Windows, it popped up with a cute little message to install Razer Synapse, which manages the lighting on Razer devices, like my keyboards (One mechanical and one not - for silence during voice chat), mouse and headset.
"Wow, this looks different", I mutter to myself, as I unknowingly and non-optionally install software which is IN BETA.
I notice that my other keyboard and mouse don't show up. I don't customize my mouse much, I leave it in spectrum cycling. Easy, works well. My other keyboard is much cheaper and does not offer very much customization (three colors. whoop. I don't touch that either much)
Since I only really touch this keyboard, I am not bothered in the slightest and carry on for a couple months. Fast forwards to yesterday when my mouse stops lighting up. Fuck, now its just a black blob. I'll open synapse tomorrow and fix that.
No I won't
After uninstalling devices, uninstalling synapse, restart restart restart, uninstall again, install again, blah blah blah, download a tool that didn't detect the device either, etc etc, for about two hours, I was about ready to accept my dark fate. But then, I saw (screenshot attached) this little itty-bitty beta tag next to the software (again) installed by default.
I about flipped my shit, uninstalled Razer Synapse 3 so hard it sent a tsunami towards some coastal country, and then angrily installed Razer Synapse 2.
That looks more familiar. Oh, there we are, all three devices. Ah, very well, my mouse is working correctly once again. I know its at the header of this rant, but let's reiterate (or, reiterage, in this case):
DON'T. INSTALL. BETA. SOFTWARE. BY. DEFAULT.
Thank you.3 -
Arch that I've had for a month
Applications: Firefox with riot.im chat, custom one-line music menu, vim markdown preview, gotop, vim with .zshrc, vim with README in Markdown, vim with python code
Bar: Polybar
Background: https://github.com/LukeSmithxyz/...
Arch Linux, i3 WM13 -
I came across this new Language I never heard of.
It's amazing, solid gold!
https://github.com/ErisBlastar/...7 -
encouraged by you beautiful folks i present my weekend doodle: a text2asciiart converter with cli commands and optional terminal responsiveness.
https://github.com/erroronline1/... if it matters4 -
Most satisfying bug to fix...
Literally any API bug that returns JSON. Nothing quite like seeing that JSON blob come back correct.1 -
@zloirock, the main maintainer of core-js (the library that holds the web together and has the usage just shy of jQuery) went to prison. He now has a fucked-up health for life. He survives off of $400/mo.
His library gained absolutely massive adoption, yet remained relatively unknown, and brought in little to no support from the huge companies using it. On top of that, he “enjoys” a LOT of hate messages from people who don't care and just expect open source maintainers to work for free.
https://github.com/zloirock/...16 -
young user @Mizukuro asked days ago for ways to improving his javascript skills.
I wasn't sure what to say at the moment, but then I thought of something.
Lodash is the most depended upon package in npm. 90k packages depend on it, more than double than the second most depended upon package (request with 40k).
Lodash was also created 6 years ago.
This means lodash has been heavily tested, and is production ready.
This means that reading and understanding its code will be very educational.
Also, every lodash function lives in its own file, and are usually very short.
This means it's also easy to understand the code.
You could start with one of the "is..." (eg isArray, isFunction).
The reason for such choice is that it's very easy to understand what these functions do from their name alone.
And you also get to see how a good coder deals with js types (which can be very impredictible sometines).
And to learn even more, read the test file for that function (located in tests/<original file name>.js. For the most part they are very readable and examples of very good testing code.
Here's the isFunction code
https://github.com/lodash/lodash/...
Here's the test for isFunction
https://github.com/lodash/lodash/...
The one thing you won't learn here is about es5, 6, or whatever.3 -
Don't start with Java but something simple like Python or Ruby or anything that doesn't need that much blob too run a Hello World! program. That was what confused me the most. And by 'start' I mean like the first few lessons, just to get started.14
-
I've kinda ghosted DevRant so here's an update:
VueJS is pretty good and I'm happy using it, but it seems I need to start with React soon to gain more business partnerships :( I'm down to learn React, but I'd rather jump into Typescript or stick with Vue.
Webpack is cool and I like it more than my previous Gulp implementation.
Docker has become much more usable in the last 2 years, but it's still garbage on Windows/Mac when running an application that runs on Symfony...without docker-sync. File interactions are just too slow for some of my enterprise apps. docker-sync was a life-saver.
I wish I had swapped ALL links to XHR requests long ago. This pseudo-SPA architecture that I've got now (still server-side rendered) is pretty good. It allows my server to do what servers do best, while eliminating the overhead of reloading CSS/JS on every request. I wrote an ES6 component for this: https://github.com/HTMLGuyLLC/... - Frankly, I could give a shit if you think it's dumb or hate it or think I'm dumb, but I'd love to hear any ideas for improving it (it's open source for a reason). I've been told my script is super helpful for people who have Shopify sites and can't change the backend. I use it to modernize older apps.
ContentBuilder.js has improved a ton in the last year and they're having a sale that ends today if you have a need for something like that, take a look: https://innovastudio.com/content-bu...
I bought and returned a 2019 Macbook pro with i9. I'll stick with my 2015 until we see what's in store for 2020. Apple has really stopped making great products ever since Jobs died, and I can't imagine that he was THAT important to the company. Any idiot on the street can you tell you several ways they could improve the latest models...for instance, how about feedback when you click buttons in the touchbar? How about a skinnier trackpad so your wrists aren't constantly on it? How about always-available audio and brightness buttons? How about better ports...How about a bezel-less screen? How about better arrow keys so you can easily click the up arrow without hitting shift all the time? How about a keyboard that doesn't suck? I did love touch ID though, and the laptop was much lighter.
The Logitech MX Master 3 mouse was just released. I love my 2s, so I just ordered it. We'll see how it is!
PHPStorm still hasn't fixed a couple things that are bothering me with the terminal: can't reorder tabs with drag and drop, tabs are saved but don't reconnect to the server so the title is wrong if you reopen a project and forget that the terminal tabs are from your last session and no longer connected. I've accidentally tried to run scripts locally that were meant for the server more than once...
I just found out this exists: https://caniuse.email/
I'm going to be looking into Kubernetes soon. I keep seeing the name (docker for mac, digitalocean) so I'm curious.
AWS S3 Glacier is still a bitch to work with in 2019...wtf? Having to setup a Python script with a bunch of dependencies in order to remove all items in a vault before you can delete it is dumb. It's like they said "how can we make it difficult for people to remove shit so we can keep charging them forever?". I finally removed almost 2TB of data, but my computer had to run that script for a day....so dumb...6 -
Want maximum efficiency in python?
def say(text):
print(text)
You save 2 keypresses everytime you print16 -
That feeling when you're finally able to reproduce a bug...
Now it's time to dig through the logs to see what actually happened.1 -
I had my own gpt running on a 16 core server with 16gb ram. Performance: one word per two minutes 😂 I tried several projects but this one works the best: https://github.com/ggerganov/...
Db: https://huggingface.co/Sosaka/...12 -
Oh I have quite a few.
#1 a BASH script automating ~70% of all our team's work back in my sysadmin days. It was like a Swiss army knife. You could even do `ScriptName INC_number fix` to fix a handful of types of issues automagically! Or `ScriptName server_name healthcheck` to run HW and SW healthchecks. Or things like `ScriptName server_name hw fix` to run HW diags, discover faulty parts, schedule a maintenance timeframe, raise a change request to the appropriate DC and inform service owners by automatically chasing them for CHNG approvals. Not to mention you could `ScriptName -l "serv1 serv2 serv3 ..." doSomething` and similar shit. I am VERY proud of this util. Employee liked it as well and got me awarded. Bought a nice set of Swarowski earrings for my wife with that award :)
#2 a JAVA sort-of-lib - a ModelMapper - able to map two data structures with a single util method call. Defining datamodels like https://github.com/netikras/... (note the @ModelTransform anno) and mapping them to my DTOs like https://github.com/netikras/... .
#3 a @RestTemplate annptation processor / code generator. Basically this dummy class https://github.com/netikras/... will be a template for a REST endpoint. My anno processor will read that class at compile-time and build: a producer (a Controller with all the mappings, correct data types, etc.) and a consumer (a class with the same methods as the template, except when called these methods will actually make the required data transformations and make a REST call to the producer and return the API response object to the caller) as a .jar library. Sort of a custom swagger, just a lil different :)
I had #2 and #3 opensourced but accidentally pushed my nexus password to gitlab. Ever since my utils are a private repo :/3 -
Back in 2006 I built a custom CMS for golf membership/community to manage tournament listings and registrations along with club news and social calendars. In 2008 I migrated that to Drupal 6 and continued to grow the site from there. Come 2010 I was raising flags about moving to Drupal 7. No. 2011, I recommend the move. No. 2012, 2013, 2014, 2015 ...no, no, no. 2016 they complain that the site is old and they want more "management" capability (they had tons a capability). The get sold by some wizbang company and the fancy dancy CMS. I have to hear how great it is bla bla bla. That is until they start to use it. Turns out, it's not a CMS by any stretch of the imagination. They need to know HTML and a page's content in a single blob field. And content can't be repurposed across the site. I now just sit back and laugh at their pain.3
-
<rant>
I really don't enjoy visual studio
Is not bad but it's not worth the disk space it takes up..
Also, if your disk is starting to fill up and vs is filling the most space, YOU CAN'T <swearword> UNINSTALL IT FROM YOUR PC
To remove the shit, I had to upgrade to Windows 10 (our school PC's are not allowed to have Linux) and delete my whole fucking disk, just to get it removed
Fix your shit ms
</rant>12 -
Just spent like 5 minutes trying to figure out why my page would raise a blob not found in the console, then finally checked the actual origin script headers and saw this, fuck.. I should go sleep.7
-
Ok I fucked up.. I installed elementary OS on a USB from my school pc..
Windows still work but I have to plug in the elementaryOS USB for grub to boot so I can boot windows
Fuck me14 -
Can someone help me settle an argument with a coworker?
So let's say there is a REST interface that returns a PDF representation of an resource...but it requires the authorization header in order to authorize that you have access to the document in question.
And let's say there is a link on the page that redirects to this endpoint to serve up the document. He thinks you can add a header to the HTTP request that goes out when you click on the link (a regular old anchor tag) with onclick without making an xhr call.
I told him that you would have to use an xhr call to add headers, and that even then you would receive a byte stream back, which without using a blob and an object url or a data uri you wouldn't be able to display it in a new tab or start a download.
Regardless he went on to tell me I was wrong. The next day he said he had done it. I asked him to show me, and he said "oh it's at home", and then proceeded to ridicule me in front of my architect. He always pulls this one up's man ship bullshit and I hate it. And I am pretty sure he's wrong.10 -
How awesome is that! NASA's Mars rover software is available on Github: https://github.com/nasa-jpl/.... Also impressive: Github uses WebGL to render 3D previews of STL files! https://github.com/nasa-jpl/....
21st century, baby!4 -
Don't you just love it when someone adds jquery, jquery UI and the CSS for jquery UI, to run one function on one page in order to do something that's already built in to materialize?
Because I don't :v
https://github.com/inabahare/...7 -
Now that the Phone has a custom rom with root, with only a little issue with some split screen nonsense I'm finally ready to use my phone like a normal ph- OH MY GOD WHAT IS THIS? WHERE THE HELL ARE MY BLOBS? WHAT THE FUUCK!?
Good thing that I rooted with Magisk and I could flash the blobs https://forum.xda-developers.com/ap...9 -
God I love being able to use MathJax on GitHub, despite it being quite a pain to get it perfect.
https://github.com/OpenlyEducated/...
( Manually adjusted the spacing for readability~ )
( Still needs color though.. )
Also the bug that broke all inline mathjax for a week wasn't exactly helpful..1 -
TL:DR; DON'T GET INTEL+NVIDIA LAPTOP FOR LINUX.
In the same vain as Linus Torvalds: "Fuck Nvidia, and Intel".
Trying to get intel+nvidia laptop prime w/e working is a living hell.
I'm running Manjaro(arch for lazy people) with I3-gaps(larbs).
So Manjaro provides this handy script/program mhwd that supposedly would enable the non free blob Nvidia driver except it doesn't work cause it uses bumblebee and it's saying it can't find the clearly installed fucking Nvidia driver.
Bashing my head against a wall is more fucking productive then getting my cum stain of laptop to work properly.
"Just disable the intel graphics in bios"
I would except my old shitty Acer bios piece of fucking crap can't even after booting Windows for usb hdd and flashing BIOS.
GUESS WHAT LINUX COMMUNITY THAT'S WHY NOBODY WANTS TO FREAKING USE LINUX FOR GAMING.
I fucking love Linux but I gave up gaming for it.
I'll start joining red team from now on instead of trying to use your broken shit.19 -
Why the fuck do offline-enabled (music, video) apps load forever on slow network but instantaneously in airplane mode? Is it so difficult to show cached content first and refresh only once downloaded? Yes, I mean you, Spotify, Amazon Music, Amazon Video and Audible!!! 🤬1
-
"IM IN YR loop UPPIN YR index"
That's it, I'm using LOLCODE wherever possible 😅
https://github.com/justinmeza/...3 -
I hate these modern forums
if I follow a link and go back I lose my place and have to scroll because MoDeRn PaGinAtIoN
I would like to browse months of posts over several days but tomorrow my browser will lose the cache and I'll have to scroll past weeks of posts to find my place again and keep going
literally everything gets worse somehow through time. less features, less intuitive, less convenient, more walled-garden, everybody is more confused, yet less opinionated and less unique. before you'd have people at least making fun of each other, inside jokes, familiarities. people would give multiple right answers, trying to outdo each other with their version to gain a cultural foothold. now companies hold the cultural foothold and just ban you if your opinion is different, and every user is just another nameless generic blob1 -
<> Rant
An interesting perspective considering how much of their code could literally mean life or death.
http://fossbytes.com/nasa-coding-pr...2 -
Todays rant is about me trying to add some long text into my database. I tried it all day long, but the text was inserted partially all the time. I changed the collumns data type to BLOB, this felt false, but it seemed to work. The bad feeling triggered me to search further, so I rewrote my code and found the source of this behavior. I used utf8-decode-function on my text and that triggered some problems when inserting the text. I don't completely understand it, but I solved the mystery, that fucked up the day. I will sleep good now.
-
Not really doubt my skills but definitely feeling inferior ;)
Reading stuff like this :
https://github.com/kevin-montrose/...1 -
!rant
A snippet from the official W3C service worker documentation:
"This avoids the problem of two versions of a site running at the same time, in different tabs. Our current strategy for this is “cross fingers, hope it doesn’t happen”."
https://github.com/w3c/...1 -
The boss wants to improve the QA by introducing GUI tests (partially non-automatic) instead of refactoring the legacy blob of application with unit and integration tests.
THIS WONT MAKE IT ANY BETTER1 -
A friend of mine asked me yesterday for help for his bachelor thesis.
He wants to write about MySQL internals in regards to BLOB storage / usage.
We had a veeeerrrry long discussion....
And found a loooot of scary internet pages.
It's so .... Insane....
What some people with doctor titles or higher education generate...
Isn't content. More poo...
Most "blogs" / "articles" or whatever the author named it were missing all kinds of relevant data (version, configuration, anything relevant) but full of opinionated / biased bullshit.
Highlights were:
- we store lot of BLOB data, Backups take long and require more space
(you store additional data in an database, whaddya expect???!!!!)
- interesting guesswork about locking without any reference (interesting since it was sometimes so far away from reality that it looked more like quantum physics)
- storing blobs means that _each_ blob entry will be stored in a separate file (without any reference, but if an RDBMs did that... It would end in an amazing fireball I guess)
- BLOB's bad since it can represent only the file content, the database cannot distinguish wether it's an MP3 / MPG or anything like that...
(Ehm. Yeah. And an database cannot distinguish if you store under "Name" an Name or gibberish?!)
I somehow think that some people made an doctor and post this gibberish nonsense so people stay dumb to give them a job...
Like the TV repair men who steals the batteries from the remote.
Even conspiracy theories were more convincing -
We need help choosing a title for the devRant Community Programming Book.
The book is still needs a lot of work to do but you can already get an overview of the kind of content it will contain.
Please vote here:
https://github.com/devRant-Squad/...
If you have more suggestions, add them here:
https://github.com/devRant-Squad/...
Btw we are still searching for writers! If you have a programming language you love and know a lot about, you can come to this discord server and ask:
https://discord.gg/4AThF887 -
!rant
So, I don't have any idea about copyright law. I've heard, that React is bad, as it has a `if you sue or in any way "compete" against us, we revoke your licence` clause.
So how bad is this? Is this really a thing, unless you either sue FB, or they try to buy you (which are both not very probable for small companies). Could someone who knows their shit give me a tl;dr summary (or feel free to debate)
What I've found so far: https://github.com/facebook/react/... which seams to be kind of ok.
This would be the patent: https://github.com/facebook/react/...7 -
!rant
Happen to come across the Satan Bible for Programmers on Github while I was browsing public timeline.
https://github.com/Droogans/... -
I think I may have shared this a while back. Just played with this a little for fun. I was playing with an ESP8266. Apparently it takes very little code to turn it into an access point and have it redirect to a landing page just like a hotel wifi does. Every platform I had connect to the AP seemed to work properly. I setup the AP without a password and let people log in. I named the AP "Virus Distribution Point". Here is what they would see:
https://htmlpreview.github.io//...
Don't mind the name of the repo. It is a junk repo I made for making mom jokes.7 -
FuckIt();
makes my javascript run even in netscape communicator <3
https://github.com/mattdiamond/... -
I tend to do spaghetti coding when the client is pressuring me on their software, and then after some time they'll become stagnant which basically gives me space to breathe and do code but then the I'd be too lazy to reconstruct the whole thing and just continue until it becomes one big blob of monstrosity.
-
If you're working on close to hardware things, make sure you run static analysis, and manually inspect the output of your compiler if you feel something's off - it may be doing something totally different from what you expect, because of optimization and what not. Also, optimizations don't always trigger as expected. Also, sometimes abstractions can cost a fair amount too (C++ std::string c/dtor, for example, dtors in general), more than you'd expect, and in those cases you might want to re-examine your need for them.
Having said all that, also know how to get the compiler to work for you, hand-optimization at the assembly level isn't usually ideal. I've often been surprised by just how well compilers figure out ways to speed up / compactify code, especially when given hints, and it's way better than having a blob of assembly that's totally unmaintainable.
Learnt this from programming MCUs and stuff for hobby/college team/venture, and from messing around with the Haskell compiler and LLVM optimization passes.3 -
I have a bit of a love/hate relationship with Brian Goetz. He's undoubtedly capable as an engineer, but he's also one of those 90's style neck beard jerks who is incapable of having a conversation with another human being and not being condescending AF.
That out of the way, this proposition and explanation is why I keep paying attention to him (well, maybe not entirely, he owns the direction of java, so yeah).
https://github.com/openjdk/...
It's reasonable, well thought out, and gives credit where it's due. While a bit non-committal, it speaks to what good has happened to java since it moved out from under the original manager (though the original owner was still far superior).
Here's hoping we see more proposals that parallel this direction.3 -
Once I told a good friend that I will make a website for his business. I do all IT stuff he only has to do the content. Halfway done with the site I asked if he has written anything. He had not. Then a week later I asked again. He had nothing. So I sat down with him and helped him write what he does and why people should go to him. Then I told him to ask a mutual photographer friend to take pictures for him. A week went by when I asked him if he has contacted the guy. He had not. Then I was like: "Dude! If you are not willing to put any effort into making this happen then why the hell should I?"
In the end he didn't do anything. And that's the story of my friend never getting a free website.
The End.1 -
I still have old crusty ass 5.1 Lollipop on my phone because I can't let go of the adorable blob emojis. So many good memories.
But now I can't update apps anymore -- can anyone tell a dummy like me how to upgrade from Lollipop to just Marshmallow, nothing newer (to retain the Marshmallow blobs)?7 -
New programming research project from Microsoft called Bosque.
A programming language without loops.
https://github.com/Microsoft/...9 -
For those of you who enjoy time away from the keyboard(not that far). I mean games, and well.. Legos!
I have a quite large Lego collection that most just sits there and I love games - card, board, video, whatever - anyways I had an idea last night that merges the 2 which has fleshed into a full fledged idea, and I thought some of you may enjoy it..
(Not yet play tested, waiting on a couple friends to come over tonight to give it a shot)
https://github.com/fatlard1993/...2 -
Make all fancy Azure blob storage with SFTP connection through firewall with dedicated public IP.
...to just find out that the webcameras you want to send stuff to the blob storage take in max 16 or 30 character passwords for sFTP. While the autogenerated passwords for SFTP in Azure are 32 characters long.
WHO THE HELL RESTRICTS PASSWORD LENGTH!? ASfjksdnfjksdjfnjksdakfadsnjkfjdsa14 -
That cringeworthy moment when you end up updating code you wrote two years ago as an amateur. Sigh, massive OCD attack settling in, I have a feeling I'm going to put in a few extra hours just so I can turn this blob of sticky code into something decent/readable.
-
do know that feeling when your dreaming of just getting away for some days? I could use some of your help to get away.
In europe there is this long distance ridesharing app called www.blablacar.com but it only allows you to search for destinations you know. So I'd love to know to where there is a rideshare on that given day from my hometown.
FROM_MYCITY TO * [ALL DESTINATIONS] ON DAY
Could someone please write me a small quick and dirty piece of software / script or webapp that let me query and list that?
Blablacar API wraper
https://github.com/ojathelonius/...
Blablacar API Key
https://dev.blablacar.com/hc/en-us/...-
Thank you! you my hero!3 -
When a fellow programmer/teammate, who tends to be a little to extroverted for my tastes, decides he had nothing to do for the last hour and wants to come talk. An hour and a half later it finally makes sense to just call it a day.
-
I really hate people that don't document well their 'inventions'.
Let's take for example kotlinx.serialization library. It's a self-obvious fact that there are at least two things that will make anyone suffer: generics and polymorphism. So, they must be on the front page. Solved. With a recipe. Ready to use.
And what do we have? One mention somewhere in docs and an amazing test that 'explains' 'everything':
https://github.com/Kotlin/...
'What we got here is a failure to communicate.' (c)8 -
I've been out of the loop with websites and frontends for a while. Now, is it me or is it just overengineered to make a static website that's not a blog these days?
I mean, I need to make a landing page. 6 sections + footer. And I don't want to end up with a 600+ lines html file. With tailwind possibly.
JEKYLL
I've used it a few times, and after 3 years I still get some weird error when installing everything. Maybe it's trivial, but I know shit about ruby. Plus, I don't need ruby for anything else, and the official Docker image just doesn't work, exactly like the quickstart tutorial. 3 years later, same issues.
HUGO
I like this guy but god, the docs are just unreadable, it's not compatible with tailwind 3.x (or smth) and it's been a pain to build a user-configurable homepage. Plus, it does more than half of the work by itself, Fair enough, it's supposed to be used for blogs.
ANY OTHER "JAMSTACK" BULLSHIT
Anything is either a blogging engine or delivers some crappy javascript blob from hell. I just need an html document, that weird thingie the whole World Wide Web was built upon, broken into pieces so I can keep my sanity.
Looking forward to get the fucking AWS Solutions Architect. Looking even more forward to build my farm.8 -
I once tried to create a client for the fonds bank of Frankfurt. But I didn't expect their JSON API to be designed by a trainee.
Look at the API.
Stringified numbers, decimal commas (Germany), separator dots for thousands, and even one breaks as if it came from a pjp script where they just put an if condition in each line.
I documented the API and tried to create a Jax rs client, but stopped completing it. Not useable atm. Just look at what I spoofed.
https://github.com/bmhm/...7 -
go fuck yourself with your fucking communities. i went into computing because i like being left alone. who are all those fucking freaks building their communities? this is capitalism mother fuckers, everybody in the world agreed on it, on each person being an independent individual doing their job to the best possible standard, instead these low-skill low-iq oversocialised sheeple started conglomerate into communities and brainwash everybody that this is what it is about. get stuffed alright. all my life i've been introverted, just leave me alone to write code alright? take my library i don't mind i'll take yours no strings attached, just push the code and forget about it. but no, all these degenerate morons without CS degrees have occupied our safe space, pushed us out of it and just can't get enough of using the buzzword "community-driven" "volunteers" volunteer my ass assholes you can't even make software nobody in real industry needs you because you have no skill at all you learn a bit of js which is any 14-15 yo can do and now think you're some kind of prodigies, unsung heros of humanity who selflessly bring the progress. nothing can be further from the truth - because of you we don't have real software, we don't have investment we don't get no respect everybody walks all over software engineers treating us like shit, there's an entire generation of indoctrinated parasitic scum that believes that software tools is grown for them on trees by some development teams that their are entitled to automatically, because some corporation will eventually support those big projects - yeah does it really happen though - look at svelte, the guy is getting 50k a year when he should be earning at least 500k if he had balls to start a real businesses, but no we are all fucking prostitutes, just slaving away for the army of people we never see. are you out of your mind. this shit should be fucking illegal alright it's modern day slavery innit bruh, if a company wants to pay their engineers to work on open source this is fine, i love open source like java or google closure compiler, but it's real software made by real engineers, but who are all these community freaks who can't spend a 10 seconds on stage in their shitty bogus conferences without ringing the "community" buzzer? you're not my community i fucking hate your guts you're all such dumb womenless imbeciles who justify their lack of social skill by telling themselves that you're doing good by doing open source in your free time - mate nobody gives a shit alrite? don't you want money sex power? you've destroyed everything that was good about good olde open source when it was actually fun, today young people are coerced into slavery at industrial scale, it's literally impossible to make a buck from software as indie unless you build something really big and good, and you can't build anything big without investment and who invests in software nowadays? all the ai "entrepreneurs" are getting fucking golden rained with cash while i have to ask for a 5$ donation? what the actual fuck? who sanctions this? the entire industry is in one collective psychotic delusion, spurred by microsoft who use this army of useful idiots to eliminate all hounour dignity of the profession, drive the abundance and bring about poverty of mind, character, as well as wallet as the natural state of things. fucking amatures of course you love your shitty little communities because you can't achieve anything on your own. you literally have no personality, just one homogenous blob of dumb degenerates who think and act all the same. there used to be a tool called adobe flash builder, i could just buy it, then open and make a web app, all from start to finish in one program, using tutorials of adobe experts on youtube, sure it might have had its pitfals but it was a product - today there's literally no fucking product to make websites. do you people get it? i can't buy a tool that i need to do my job and have to insult myself by downloading some shitty scripts from some shitty unemployed devs and hope my computer doesn't blow up in my face in the process because some freak went off his nut and uploaded some dodgy ass exploit on npm in his package. i really don't like. it's not supposed to be like that. good for me i build by own front/back end. this "community" insanity is just a symptom of industrial degeneration, they try to sell it to us like it's the "bright" communist future but things never been worst, i can't give a shit about functional programming alright i just need to get my job done mate leave me alone you add functional because you don't know how to solve the problem properly, e.g., again adobe flex had mxml where elements had ids and i could just program to id, it was alright but today all this unqualified morons filled the whole space after flash blew up and adobe execs axed flash builder instead of adapting it to js runtime, it was a crime against humanity that set us back to 1000s5
-
Hey guys...Hope ur all doing well ...Last year I learnt Nodejs and Express and developed a project using it..But never deployed it..Well since this weekend I got lot of free time ..So I deployed it..Hope you guys like it . Its not much ..Just wanted to learn some concept of Nodejs...https://github.com/imshubhamsingh/...
https://book-review-library.herokuapp.com/...2 -
Wrote a script to sort my download folder or any other folder into folders according to file types.
https://github.com/gauravat16/...1 -
I really am not a fan of the contortions you have to go through in Golang to deserialize a fucking JSON blob. If this were any other language I would have already had a data structure I could query rather than wasting hours twiddling structs that will be filled properly.7
-
So I just finished writing my first Code Style/Standards documentation. I guess for now it's more just for me to figure out what annoying things I want changed but wanted to get everyone's opinion and thoughts.
I think this is safe to post as nothing company specific.
https://github.com/allanx2000/...2 -
Being a trainee and a student over distance while taking part in developer conventions and meetups.
I also read books and tend my pet projects with which I try to dance on the bloody edge.
Also see this:
https://github.com/vhf/... -
I don't think this question is formal enough to ask on SO. So I'll just ask it on here.
I'm pretty sure I've committed several development felonies in this code, but is there an easier way to manage multiple textviews that are similar to each other in this code? https://github.com/BaconatorNoVeg/... -
You've got the perfect architecture lined up, a great idea about how to transition and you're about to start refactoring. Then it hits you. You've got 10 clients running your code in production and you'll have to migrate their data to the new structures, from the blob to each new microservice datastore. For each release. FML.1
-
That moment you find the method build is just a alias for the method new.
https://github.com/rails/rails/... -
How to learn HTML?
1. Download a plugin called "Save Page WE" for Firefox.
2. Go to a webpage you want to modify:
https://devrant.com/rants/2261788/...
3. Right click and select: Save Page WE -> Save Standard Items
4. Edit page on your computer.
5. Upload to GitHub public repository for viewing:
https://github.com/Demolishun/...
6. Share preview link by prepending https://htmlpreview.github.io/? to said page URL:
https://htmlpreview.github.io//...
7. Any questions?4 -
the worst project without without documentation I had to work with was a huge web 1.0 webapp that had been compiled / uglified into a huge blob of javascript with meaningless variable- and function names that were no longer than 3 characters. needless to say, the original source code was gone and the original author as well. Spent weeks figuring out where to implement the new feature, while it could have been a few hours of work.1
-
At any given company, there are
those that do
and
those that do not
I've mostly (and sadly) worked with the latter
and those are the people who are like "ahhh yeah, no worries, don't worry about it! we need you to stay positive, not rage! why you get so worked up?" and i'm like YEAH YOU DONT HAVE TO FUCKING WORRY BECAUSE YOU DONT DO ANYTHING! YOU HAVE ABSOLUTELY NO RESPONSIBILITY IN THIS COMPANY AND ARE A FLOATING BLOB COLLECTING YOUR PAYCHECK, THAT'S WHY I GET ALL NEW ASSIGNMENTS AND AM RESPONSIBLE FOR THEM WHILE YOU ARE STILL WORKING ON TASKS ASSIGNED TO YOU TWO QUARTERS AGO!!!!!!!!
god who am i kidding, it'll never change
...man I am on an absolute rant rampage the past few days, feels good >:) -
This is a question and a rant about my frustrations with an API description. First take a look at this usage information for a library I have been playing with:
https://github.com/avaneev/avir/...
Now my first question: Is it clear as to you what the formats are for the InBuf and OutBuf parameters are?
Now, read his response to people (including me) struggling with determining the format of the buffers for this resize function:
https://github.com/avaneev/avir/...
Does the guy come across as condescending as hell? Am I reading into this? It is like the guy takes every opportunity to find fault with people not understanding the details he didn't put in his API description. I would find it difficult to have to work with someone like this.
The irony about this is the description of his code makes me think it is going to magically create this wonderfully rescaled image preserving details. The result is that a standard bilinear filtering scaling function looks practically the same. I saw no real perceptible improvements of his code over the scaler I tested against. When I adjusted parameters using presets he provided it didn't improve the results and added artifacts I could not accept. His scaler is also at least a magnitude slower than the bilinear version. So the code is pretty much a non-starter for my current project.
Ah well, I appreciate him posting the code and making it a very permissive license. That part is really cool.16 -
I already built a compiler and an interpreter.
ONLY ON THE THIRD TRY I realize that the hard part is the language design. lets hope Gerlang3.0 will turn out usable lol
specs: https://github.com/MaximilianJugend...
PS: I hate apes2 -
So now my whole frigging weekend is shot, gotta rewrite all my projects...
https://github.com/lhartikk/... -
!Rant
Didn't have something to do tonight, and I was kind of thinking to make a multicore brainfuckversion for a while, so tonight I implemented it. I call it multiFuck:
https://github.com/papierbouwer/...3 -
when your library is an 8k lines long file, you might want to consider splitting it up a bit
https://github.com/PySimpleGUI/...1 -
!Rant
I stumbled upon this github repo , thought anyone working on a web app could get some tips from it :
https://github.com/FallibleInc/...
Hope this helps.3 -
I manage the infrastructure of an application. Responsible for setup, maintenance and upgrades of all the associated servers, databases, filesystems and tuning. The business area is responsible for maintaining the content and structure of the app.
A couple of weeks ago, the business area started asking me for the system admin passwords in an attempt to integrate a remote service. The reason was because he didn't want to store his own credentials in Jenkins. Imagine the shock when they were told no.
Then a week ago, they asked for the password again so they could update a properties file. Again, the answer was no.
We sent them an email yesterday asking for their change management number so we could make the change to the properties file. They were absolutely shocked to find out that we hadn't already updated the file because they had already deployed their code changes to go with the properties file last Thursday. They submitted the request to us on Friday.
Getting real tired of people screwing up and pointing the finger back at me. -
Not a rant, but may prevent millions of rants later. Also not spam.
Just found out someone built a "syntax database" so you can search for the proper syntax. Currently supports nine languages plus api support for additional integration.
https://syntaxdb.com/2 -
I was tinkering around with my linux installation and trying to decide on a new terminal to use, and I ended up compiling st (suckless terminal). On a whim, I decided to look through the source code and see how much of it I would understand.
There was a C header file called arg.h that uses the preprocessor and macros to parse argument flags and songs by setting up a switch statement in a loop, all in under 50 LoC. To use it, just wrap the switch body between ARGBEGIN and ARGEND, and that's it. The comment at the top simply read "copy me if you can", a challenge to future programmers such as myself.
It was the most beautiful, elegant solution I have ever seen. I tried to tell my girlfriend about it, but she just didn't get it. Maybe some of you will appreciate it more:
https://github.com/chjj/st/... -
Current directory:
upstream
potatoecode
find ./upstream -maxdepth 1 -type d -ls >> potatoecode/.gitignore
pushd potatoecode
git add .gitignore
git commit -m 'Updated gitignore" .gitignore
git rm -r --cached .
git add .
git commit -am "Purgatory"
popd
*watching with a big smile the burning CI*
--
Story of how I made some devs today very sad. They now have the joyful task to think of a better way to code than to create a nightmare blob of modified source code from upstream - where upstream has ...
- a rest API
- an extension / plugin system
- an system to even modify db schema via an API.
But nooooo.... That would be too good.
Instead one just creates an potatohead of upstream source code with modifications without any version tracking or stuff like that.
Sometimes I really wonder if the devs at our company are masochists and want to be punished....6 -
Azure. Its so vast has something for just about anything, and isn't crazy expensive if you implement whatever it is you're doing with cost in mind.
Used different features of it at old companies Storage (blob/table), service bus, application insights, app centre, event hub, functions etc...
Currently at a company that is slowly moving over to Azure which is a great process to be apart of. Get to spend a lot of time investigating what is available as it seems each and every time I come to use it, its grown substantially. -
2 years ago I thought you had to make an if statement for every coordinate in a game to make the character move1
-
I keep forgetting what a massive pain in the ass it is to use dynamic libraries in anything other than C. I'm genuinely contemplating defining a serialization-based API and talking to plugins with a blob->blob function pair.8
-
Hangouts has replaced its blob emoji in the web version and I want them back. Writing a userstyle should be the way to go, but I'd need a blob version of this image: https://ssl.gstatic.com/chat/emoji/...
Any idea how I could get an old version?2 -
My OP5 got a system update to Android Oreo today. FUCK YOU Google for removing the cute blob emojis! I'm not using emojis that often, hell I normally wouldn't care at all, but the new ones are so ugly I wanna rip my eyeballs out everytime I see them. I already miss those adorable blobby bastards so much that I'm considering going back to Nougat :(
By the way: hello Devrant and the best wishes for 2018 to everyone!2 -
I have been experimenting with Docker and reading articles on it. I was wondering what are best practices for building Docker images. Many articles have recommended that use Alpine base images because they're small and more secure.
Let us say that my application needed Postgre. What is the best approach?
1. Use the Alpine Dockerfile provided [here](https://github.com/docker-library/...) at Github. Download the file and go to where its located in my terminal and enter *"docker build"*
2. Creating a Dockerfile from scratch and using the command *"FROM postgre:10-alpine"*
3. Use the Alpine template file provided [here](https://github.com/docker-library/...)2 -
I am going to do a project which indexes lecture/educational videos for easier navigation. Planning to use PyTorch for this. Any suggestions or do you know any open source projects that exists ?
If you also interested then this is the repo -
https://github.com/deeaarbee/...3 -
( Temporarily Relevant )
Is it just me or did GitHub just break most of their MathJax?
Were formulas but now I only see my LaTeX code..
https://github.com/OpenlyEducated/... -
Finally decided to work on my kernel update script a bit (basically I compile the mainline kernel and configure it to slim it down a ton for my laptop, and that gets annoying so I wrote a script to do it for me). As of right now it is functional, it MAY require some babysitting, cause sometimes shit goes wrong, but it hasn't given me any problems the last few times I've run it. But it's also written with Arch in mind (using linux-mainline AUR package), because I use Arch btw. At some point in the future I want to add support for other distros, but I also want to get everything functional on Arch first.
If anyone has any suggestions or anything:
https://gitlab.com/infernalempress/... -
When your new upgrade process looks like it will save you a few hours of time. After 18 hours and scrapping the improved process we've finally got the green light.
-
New form of self-inflicated torture:
Formatting changelogs . .
https://github.com/ElectronicsArchi...2 -
Hey! any ideas for a neater-looking css for https://parkcitymedia.github.io ? all i have is a few <p> tags and a hyperlink.
css: https://github.com/parkcitymedia/...5 -
Rant pending...
So our company has been talking about bringing in the full Atlassian suite (JIRA, Bamboo, Bitbucket, Fisheye and Crucible). Anyone familiar with using the entire suite? Just wondering what kind of hell to expect.13 -
I got my circular buffer working for my oscope display I am working on for audio data.
https://github.com/Demolishun/...
I plan on expanding this to have more functions for bulk operations. I also want my fake iterators to be able to be used with <algorithm> functions.
It was pretty awesome last night to finally get to see my audio waveforms displaying properly.1 -
I learned Git in the most ridiculous way possible.
Noob me, is using VSCode and i tried clicking the git icon. Now, i didn't know what i was doing and i suddenly made a git repo and i just checked on things (add changes and commit) and little do i know that it was all absorbed. I got skeptical (spying on files, i didn't know what's happening, etc.) so i clicked the "x" button and it warned me that it will be "completely deleted" and it will be an "irreversible action". Due to my stupidity, i pressed okay.
Then that was the time i knew, i fucked up.
But hey ho it took me 12 hrs to recover all files (1600 loose objects) that has been deleted using a 3rd party app (without any master, no last commit message, no everything, just objects a.k.a the blob files that git saves). I tried looking for easier ways to get the files, but it was there in front of me the whole time, so it took me longer.4 -
To all the people using 1080p external monitors on macos mojave, did you notice that the fonts are now shitty?
I wrote a script to fix it. (Uses the fix provided in the forums and makes it work for ext displays and retina).
https://github.com/gauravat16/...4 -
<rant>
FFS
Windows is the worst garbage ever...
First I get a virus becouse the antivirus didn't fucking work, then I try and do a system reset WICH FAILS, them u have to get into the uefi and do a system reset back to Windows 8, Windows 8..
So I go to the windows insider program and download the media creator thing and
.
.
IT DOESN'T WORK
It just stops at "searching for updates"and now I'm stuck with Windows 8
I can't even get the Nvidia drivers so i can't play games anymore
A big fuck you to Microsoft and merry Christmas
Btw any fixes? Thank you
</rant>9 -
Fix github for Android. On the main repository screen there's no way to copy dem URL. You have to navigate to a file first. I get annoyed by this so often.
On the other side, I found out about classless frameworks! Amazing for people like me who can't design. See here a list with screenshots : https://github.com/dbohdan/...3 -
!rant
devCraft { post-content:
so, im in school, and not really able to play on, or even help maintain the devCraft server, guys; on top of that, it looks like multimc itself is having connection issues with the mojang auth servers, which the devs said might just be our firewalls or something. whatever it is, the multimc instance is likely gonna give you all trouble, and i would just get the modpack or the custom launcher.
updated info here: https://github.com/parkcitymedia/...
that's all
;1 -
I simplified 7 functions down to a blob because it was truly unreadable and fragmented. As I did it, I thought there was no way I did it right. This can't be the logic. Nope. It is.
Yeah, the formatting could be better. End of the shift so that's a tomorrow thing.10 -
Please excuse: This is my first step into python. So consider this a beginners question:
https://github.com/paradonym/...
This forked script checks a twitter page for words and sends a mail (probably using .qmail) to the owner.
If I execute this python:
"[$USER@$HOST uberspace-downtime-notify]$ python fetch.py
Traceback (most recent call last):
File "fetch.py", line 11, in <module>
import html
ImportError: No module named html
"
Similar errors are fixed in this github commit https://github.com/datalib/... - but that's a more complex script and I don't quite get where the imported module is needed (on a code basis - on the logical basis all is clear)
Any idea for a guy with his first steps into python and back into programming languages since some years=5 -
! rant and also sorry if duplicate.
Just a shout out the devRant team and devRant community! Just found this article on FossBytes -- http://fossbytes.com/devrant-releas...3 -
!rant
Anyone from Sweden? I found an engineer position I want to apply for, but was curious about things like quality of life and such.12 -
Just finished s meeting- change manager wants us to track searches in our apps, count and catalog words that are searched and who is doing the search. He must have read a blob about Google1
-
c++ tip: modern cpp standard libraries have std::optional, which allows you to declare a variable that may or may not have a defined value:
std::optional<std::string> optional_string;
(I've started a journal of interesting c++ things I have learned: https://github.com/AlgoRythm-Dylan/... ) -
VSCode doesn't (seem to) have the option to target specific sourcemaps, and ParcelJS doesn't have the option to specify the names of sourcemaps.
This fucks me over pretty hard since vscodes debugger expects the sourcemap to end in .js.map, but parcel gives me just .map. If the sourcemap doesn't end with .js.map vscode will just open the debug control panel pop up thing, wait a few seconds, and then close it again.
This has given me a new permanent temporary hack :v
https://github.com/inabahare/lewd2/...2 -
Friday so not much happened except after switching mysql connector it turned out mysql-connector-python can’t handle blobs properly.
Funny that answer on SO is not to use it.
https://stackoverflow.com/questions...
It’s not obvious cause all you get is error when selecting from table that have blob.
Also I bought two books full of slavic bestiary drawings and descriptions of monsters.
Those drawings are pretty cool. I plan to try to make low polygon model from one of the drawings using blender 2.83 -
One of my least favourite parts of the world of programming is the "there's a usecase for everything" attitude. Like take this part of "You don't know Javascript" https://github.com/getify/...
> But var is still useful in that it communicates "this variable will be seen by a wider scope". Both declaration forms can be appropriate in any given part of a program, depending on the circumstances.
Now you would imagine that after this comment the author added a good example of this or at least had a reference to another part of the book where it showed this, but nope it goes on to include this note:
> It's very common to suggest that var should be avoided in favor of let (or const!), generally because of perceived confusion over how the scoping behavior of var has worked since the beginning of JS. I believe this to be overly restrictive advice and ultimately unhelpful. It's assuming you are unable to learn and use a feature properly in combination with other features. I believe you can and should learn any features available, and use them where appropriate!
Which again, "durr there's a usecase for this feature" or rather it's coming with basically an insult towards people who don't think you should use var without actually addressing anything. And what usually happens when someone tries to "there's a usecase for everything" is to either be really vague, or come up with some silly thing that you "might" do. -
So since Monday I've been working on my C# skills
and testing my self i decided to write a banking app simulation in c#
here is the link to the gist:
https://gist.github.com/TaqsBlaze/...
and link to the executable:
https://github.com/TaqsBlaze/...
to all the experts out there whats your advice/critics etc20 -
For me that would be Proxmox. I know, people like it - but for no apparent reason it decided to nuke half my ZFS datasets in a pool, with no logic behind it whatsoever. All disks were tested, all came out good. Within the same pool there were datasets that were lost and some that remained.
I really don't get it. Looking at Proxmox' source code, it's more or less the command line tools and then there's the web interface (e.g. https://github.com/proxmox/...). Oh and they have the audacity to use their own file extension. Why not I guess?
Anyway, half my data was gone. I couldn't tell how or why or what the fuck even happened there. But Proxmox runs Debian underneath and I've been rather pissed about Proxmox' idea of "don't touch the host system aaa" for a while at that point. So I figured, fuck it I'll just take pure Debian then and write my own slightly better garbage on top of that. And as such the distribution project was born. I've been working on it for a little over a year now. And I've never had such issues again.
I somewhat get the idea of "don't touch the host" now, but still not quite. Yes, the more you do in the containers, the better. And the less you do on the host in terms of reconfiguration, the longer it will stay alive for. That goes for any system - more reconfiguration means usually means less stability and harder to replace. But sometimes you just have to work from the host. Like say migrating a container between hosts, which my code can do. You can't do that from a container, at all. There are good reasons to work with the host. Proxmox isn't telling that. Do they expect their users to be idiots? Only enterprise sysadmins amirite?
So yeah, that project - while I do take inspiration from it in mine - I don't like it. It's enterprise, it has the ZFS and the Ceph and the LXC and the VM's - woohoo! Not like anyone could implement that on a base Debian system. But they have the configuration database (pmxcfs), the distributed configuration database of a couple MB large and capped there, woah!
Ok sure it isn't Microsoft or IBM or Oracle or whatever, and those are definitely worse. But those are usually vendor lock-ins.. I avoid those on that premise alone :)3 -
When you have a new teammate, and he introduced himself as "the senior" dev of a company of about 40 devs, and later we found out that he doesn't know the difference between BLOB and TEXT in a SQL database...
-
This is by far the best calculator code ever written
https://github.com/AceLewis/...
Also, love the start
if 3/2 == 1: # Because Python 2 does not know maths
input = raw_input # Python 2 compatibility2 -
Be it public parks, or airports.
Be it people bitching about a perfectly good cup of coffee/chai or people snoring in a library.
If not for my earphones, I would be exponentially ineffective each day, and melt down in a blob of exhaustion.
I become such a infinite source of all peace after I plug my earphones in and it continues for some hours after I take them off.1 -
!dev
feeling so low about my life right now. i feel like a lifeless blob who doesn't deserve to be happy.
- my previous !dev (sorry dfox, i am a dev but still use this place to rant !dev things most of the time) rant tell the story of my heart right now, which got ripped to shreds once my one side love got off my car that day.
- i kinda wanna meet my homie gang, they are the group of guys to whom i go when my life is going bad and wanna escape reality. coz they sure don't have any solutions, but they have stupid talks to keep me entertained (and food/drinks fill up the sorrowful heart).
however am not sad at my reality. In fact, am trying to indulge myself more into office work, freelancing and private classes. plus they are kinda selfish and ignorant of my actual problems.
I just wish i could feel loved and respected once more.
--------
unrelated, but birthdays are such an interesting thing. people wish you on their own, try to talk to you with more than 1 word responses, some even call you or meet you personally. everything feels special.
this doesn't happen on usual days. i had my birthday last month. by the end of my birthday, i was in love with one girl, planning a meetup with 3 , and planning a trip with 2 different groups of friends. i also was thinking of taking extra leaves and pre planning my arguments with my family as i was going to go on lots of place on upcoming weekends. super extrovert-ish
cut to today. i kinda did most of these and today am at a stage where i got nothing planned for a sunday but don't feel like meeting known humans as a recreational activity.1 -
From weird set of stored procedures to html to PDF to being a blob in a database ... I mean, sure, but why ... who comes up with that ... and why do I have to make it work1
-
How do i show a profile pic from s3 bucket?
One way is to fetch it from backend and send it to frontend as a huge blob string. This is how i made it currently and it works.
.... what if i want to frequently get the profile image? Am i supposed to send a separate API request to the backend every time? What if I need to show the profile picture 100 times then that means I will have to send 100 requests to the backend API?
...... or even worse, what if I need to fetch a list of images from the S3 bucket for example, a list of posts that contain images or a card with the list of profile images of multiple users? If I need to display 100 posts, each post containing one image, That means I would have to separately call 100 API request to fetch 100 images…
That is fucking absurd.
Of course I can make it so that it saves that URL to that image as a public setting but the problem is the URL will be the exact URL to the S3 bucket, including the bucket name, the path and the file name as well as the user information such as the user ID. this feels like it is a huge security risk
What the fuck am I supposed to do and how am I supposed to properly handle display images which are supposed to be viewed publicly?20 -
!Rant
Does people add in @dfox and @trogus so that they can point out that it isn't a feature yet when/if they see the rant2 -
A c# remote procedure library.
Made years ago when i had no real science and engineering knowledge.
https://github.com/scrapes/... -
So this is what the PrestaShop upgrader from 1.6 => 1.7 is going to look like: https://github.com/PrestaShop/...
We are doomed! -
This "binaryextensions" NPM package is a fraud (not to be confused with "binary-extensions"!): https://npmjs.com/package/...; it contains a single JSON array of purportedly "all binary extensions", reaches 700k downloads a week, yet only lists 13 binary extensions (https://github.com/bevry/...).
This is a huge danger to security, especially if it's being used in production environments for input checking. For comparison, here is a much more robust version of a repo with the same goal (https://github.com/sindresorhus/...)1 -
Is it me or is this code seem unnecessarily complicated?
This is a queue I have used myself:
https://github.com/Demolishun/...
This is a queue I ran across:
https://github.com/cameron314/...
I understand the second link shows a queue that does a LOT more than the first example. It supports multiple produce/consumers for instance. It is also lock free. However, it seems really complicated to me. I was always under the impression that the more code you write the harder it is to maintain.2 -
tried to frustratingly google "how to make rust code not ugly", ended up here: https://github.com/koute/stdweb/...
nevermind
inb4 I redesign everything for the 6th time10 -
How can I, in JS, make sure a class (Vue) is instanciated only after a certain element is inserted into the DOM?
Currently, things are executed in this order:
1. Create modal
2. Append my-element to modal
3. Show modal
4. Instanciate Class (Vue)
Gives me "Vue cannot find my-element".
However, it works if I instanciate Vue in the console after modal is visible.4 -
Been looking into some of my old code (an OBSE plugin). Wanted to know how something worked I made over 10 years ago. I look through the code and some of it makes sense, some of it looks really messy compared to what I write now. I want to remake some of this code to work on a different game now.
I have some code for threading that I have no idea where it came from:
https://github.com/Demolishun/...
It allows transferring data between different threads using mutexes. It is really really simple. I searched github to see if it came from there. There is stuff with similar names, but the code is way way different in those. I honestly don't see whey this code needs to be any more complicated than it is. I wonder if it is because I don't know something or I just like simpler solutions. Maybe there are use cases the other coding solutions have that solve particular problems?
Anyway, I plan to pound out an SKSE version of this plugin. I have been wanting to make this for some time now. I don't necessarily have a need other than the fun factor. My lack of providing good directions for use on the OBSE version kept people from using it. I will try and do better on this version.2 -
I got situation here,
I am getting 524 error from cloud fare. I sent some data using AJAX, process it and then return the result. Since the data is large and have some SQL manipulation on it so it take a lot of time. I put the process in back end. But still even for 10k records it took 4-5 minutes to process, Issue is everything works fine but since cloud fare response time is 1-2 minute so it through 524 error (as it does not getting any response within its time frame). How I am suppose to tackle this. May be using job scheduler now ? My client simply refuse to send small data. My Friend is suggesting don't use ajax, simply reload the page. But again data is too much so page loading will also through 524 error. Kindaa stuck here. Any idea/suggestion how I can proceed.
Language I am using PHP. Database, MySQL and SQL.
Hmm Here is some more explanation
https://github.com/marcialpaulg/...
But not working
Here is also something
https://stackoverflow.com/questions...
But I am thinking why redirecting ? It doesn't make sense to me7 -
I want to use steganography for blob files (video files). Can anyone point me to the right direction? Is it even possible?13
-
New question.
When debugging/troubleshooting, what does your desktop look like?
I have a total of 8 production environments to look after, each of which have their appropriate dev environments. Troubleshooting for me typically starts with VisualVM, 6-8 Putty sessions across the environments, at least one dbms session, WinSCP with at least 4 sessions, text editor with minimum of five open files and at least thirty tabs open in Chrome. Oh yeah, forgot outlook and Skype (typically with at least three team mates and usually a group chat).
All is well when I'm in the zone, but good forbid for someone to ask me to show them the article/bug report I just read that sent me down the rabbit hole.1 -
A few days ago, I rant about I have no idea of each term in webpack config. Now I made a doc for most of the basic terms in the config like publicpath, module, output, https://github.com/kenpeter/.... hope fully help me and you. Not perfect, feedback welcome1
-
Am I going crazy or is this some real nasty looking spaghetti code?
https://github.com/neovim/neovim/...3 -
Wrote a small function to transfer files to and from servers to local machine when using a proxy server.
This is meant to be copied in the .bash_profile
https://github.com/gauravat16/... -
As the winter months approach I've been thinking about freelancing. I decided to setup a website( jQuery!) with my games( unity, unreal all that shizzle). However what are some tips on getting out there with the website? Should I AdSense? Or should I go and advertise on Reddit( post on subreddits). Or contact peeps directly asking if they need my services( how do I know who 🤔). Or am I missing something?
Please tell me in the comments below -
I'm not sure why travis-ci job for node 4 is complaining for something which doesn't exist anymore.
Is it because I'm not using semicolon after 'use strict'? But then it should not work locally and in other travis-ci jobs as well.
https://travis-ci.org/restify/...
https://github.com/node-muneem/...1 -
Disclaimer: I am relatively new to this. Feel free to use a tone you'd otherwise use to explain to a 10yr old.
I am trying to run a rails app on docker. I came across permission errors while I trying to edit some of the files. After a couple of searches, I found out it is because docker, by default, creates files as root. I have been reading for a while now and I can't, for the life of me seem to understand how to implement USER instruction as recommended in the docker documentation.
Here's a link to my dockerfile https://github.com/Melvin1Atieno/....2 -
!rant
It's rather a question. I am thinking of changing my Linux distro from Lubuntu to Arch Linux or Gentoo.
My main reason is that I want to achieve customizability and the freedom that Linux offer and also build my distro from ground up.
Second reason is that I want to switch a little bit I am using Lubuntu for 2-3 years and is worked great for me. Especially because I have an older laptop (Asus K53E) and windows 7 worked really slow on it. But with this distro, everything works much faster and has all features and tools for programming that I need despite being minimalistic.
I have also used other distros before this one. These are some of them that I can remember Ubuntu, Xubuntu, Mint, Bodhi Linux.
I would say for myself that I am quite familiar with terminal and I also wrote some bash scripts on complexity level like these: https://github.com/RokKos/..., https://github.com/RokKos/...
But my main concern is that would fail to install any of this two distros or that I would damage my computer beyond repair...
So my main questions are:
What are you experience with this two distros?
Did you have any troubles installing and setting up distro?
What is overall experience with this two distros?
Was is worth to switch to any of these two?
And you could also share what distro you are using and maybe some rants that occur using them.14 -
It was my first time doing an NLP task / implementing a RNN and I was using the torchtext library to load and do sentiment analysis on the IMDB dataset. I was able to use collate_fn and batch_sampler and create a DataLoader but it gets exhausted after a single epoch. I’m not sure if this is the expected behavior, if it is then do I need to initialize a new DataLoader for every epoch? If not is something wrong with my implementation, please provide me the correct way to implement the same.
PS. I was following the official changelog() of torchtext from github
You can find my implementation here
changelog - https://github.com/pytorch/text/...
My implementation - https://colab.research.google.com/d... -
Thanks monkey patching, now I remember why I hate Ruby so much.
Compare https://github.com/ruby/ruby/... with https://github.com/rightscale/...
I wonder how the fuck it even works. Also I'm amazed by countless hours of labour wasted digging through this pile of shit. (BTW thanks JetBrains for making it a bit less miserable)
Oh, and someone did monkeypatch Object#try! (which is also a monkeypatch by active_support) and then replaced all `#try` calls to `#try!`. WHY.JPG. Also how the fuck did it pass code review?! -
Don't know if you know this music but... BEST SONG FOR A DEV EVER 😀 lyrics on github
http://youtube.com/watch/...
https://github.com/niclupien/Songs/... -
🐟💩The image i fetch from s3 is of type byte array
I return it to angular as an ArrayBuffer
Which then needs to be somehow converted to an image so i can fucking show it
Then after research i had to convert ArrayBuffer to Blob
And from Blob to URL encoded object which returns a string that now shows the full image in img tag
Somehow, by a sheer of trials and error i have just accidentally made a very secure way of fetching a very sensitive piece of document (verification document with user's personal data on it) and now in browser this is shown as blob:shit-image/random-hash. Not even the file extension. This means nobody can download this image. You fucking cant. Its a Blob motherfucker! Like a Blob Fish. It saves either a .txt when you try to save it (no idea how) and if you try to open the image in new tab it shows gibberish text. This means you can read-only this highly sensitive document image and not manipulate it, not even download it. Perfect. I have just made a very secure software by accident.
(this blob fish looks like my shit)3 -
This is so awful and familiar and I know I figured out what was wrong that I HAVE To post it.
AND NO ITS NOT A RAM PROBLEM !!!
I had to make it animated. I don't feel a big blob image really illustrated the issue.15