|
Pixelboy posted:I have a 34" 21:9 monitor and I fill 75% of it with empty space
|
# ? Jun 2, 2017 20:53 |
|
|
# ? Jun 8, 2024 06:51 |
|
I once set my editor to use Papyrus, then spent 15 minutes giggling quietly to myself at the result. B-Nasty posted:I'm the guy that does a Ctrl-A, Ctrl-K Ctrl-F in Visual Studio to auto-format your artisanal, hand-crafted whitespace to the language defaults. Ctrl-K, Ctrl-D!
|
# ? Jun 3, 2017 00:29 |
|
I just finally stopped using ctrl-r ctrl-r like a doof.
|
# ? Jun 3, 2017 00:39 |
|
Was it here where someone was talking about using two datacenters badly? Well... https://twitter.com/SwiftOnSecurity/status/870703400912003076
|
# ? Jun 3, 2017 01:53 |
|
Absurd Alhazred posted:Was it here where someone was talking about using two datacenters badly? Well... Yeah that was me. I do loving hate the Register, it's a real rag. There's a lot of ifs, maybes and probablies in that "reporting", but the conclusion that Heathrow/airline outsourcing is bad holds up because no poo poo it is. Except when it's government outsourcing apparently because the register seem to be all about that. A friend of mine used to work a lowly tech position on some critical outsourced Heathrow software and from what I've heard it was a real mess. But I've also been to those data centres and the NOC and other staff were all very competent so
|
# ? Jun 3, 2017 07:06 |
|
When I think of proportional fonts I think of my beautiful grid selections going out the window and I weep.
|
# ? Jun 4, 2017 16:30 |
|
Yeah, how does column selection work with proportional fonts?
|
# ? Jun 4, 2017 16:51 |
|
I'm going to double-post this in the Fall of Unicorns thread: https://twitter.com/jxxf/status/871000661869154304
|
# ? Jun 4, 2017 19:11 |
|
So, have you heard of the ZX Spectrum Next? It's a Euro-UK-ish project to restore the ZX Spectrum, one of the classic older games machines, using an FPGA-based board - but with a faster clock speed and a bunch of extra features. One of the extra features is hardware sprites. The ZX Next is driven by a Zilog Z80 (or rather an FPGA Z80 that can run faster than the original did). To set up the hardware sprites, you use the Z80s port output opcodes to crank out 255 bytes of palletised color data to a particular port. The Z80 has several port output opcodes. You can output a value to a specified port, you can output to a port you specify in one of the 8-bit registers (C), and there's even a built-in OTIR instruction that does a self-contained loop, automatically passing through a section of memory and outputting each byte as it goes. Sweet, right? Well, no. It's insane. See, the twist is that the Z80s port select lines actually carry 16 bits, not 8. So the port number you specify, via register C or in the instruction, only goes on the lower 8. What goes on the upper 8? Well, if you output to a specified port, then the value you are outputting goes on those register select lines. So if you try to output $20 to port $75 using that method, it actually outputs to port $2075. Wonderful. How about that nice looped version? That's even sillier. It puts the goddamn loop counter on. So instead of outputting byte by byte on port $75, it outputs on $0075, $0175, $0275, $0375 yadda yadda yadda. Needless to say, this makes all those nice instructions into total chocolate fireguards on any system like the Next that actually uses the 16-bit port addresses. I really wonder if it was ever useful.
|
# ? Jun 4, 2017 19:26 |
|
hyphz posted:So, have you heard of the ZX Spectrum Next? It's a Euro-UK-ish project to restore the ZX Spectrum, one of the classic older games machines, using an FPGA-based board - but with a faster clock speed and a bunch of extra features. One of the extra features is hardware sprites. Sounds like it would be great for hardware debugging. Just connect a readout to those 8 upper bits, and you can see what the output ports should have gotten.
|
# ? Jun 4, 2017 19:32 |
|
Absurd Alhazred posted:I'm going to double-post this in the Fall of Unicorns thread: This is similar to something I did within the first month at my first real job. It was a massively stupid situation and a good indicator of the company's performance as a whole. I hope that engineer isn't taking it too personally - they're not at fault.
|
# ? Jun 5, 2017 16:52 |
|
When I started at Experts Exchange in 2007, they were moving pretty rapidly with a site-wide redesign and somebody found it useful to be able to edit the email templates via an employee-only page on the Production website. Every now and then, we would have to instruct new employees that they needed to copy changes to the other environments, lest they be wiped out. Once, I replaced the $username variable in a heavily used template with "CPColin". Another time, somebody in Customer Service accidentally blanked one of the more important templates. Took way too long before somebody deleted that page. The "execute arbitrary SELECT queries on the Production database" page stayed up for a while longer, though.
|
# ? Jun 5, 2017 17:04 |
|
hyphz posted:So, have you heard of the ZX Spectrum Next? It's a Euro-UK-ish project to restore the ZX Spectrum, one of the classic older games machines, using an FPGA-based board - but with a faster clock speed and a bunch of extra features. One of the extra features is hardware sprites. IIRC the Spectrum's ROM (at least the extended Interface 1 version) actually used the 16-bit feature.
|
# ? Jun 5, 2017 19:41 |
|
Everyone gets one free DROP TABLE.
|
# ? Jun 6, 2017 04:24 |
|
Absurd Alhazred posted:I'm going to double-post this in the Fall of Unicorns thread: shitthatdidnthappen.txt
|
# ? Jun 6, 2017 06:45 |
|
Boris Galerkin posted:shitthatdidnthappen.txt yeah this seems like such an insane combination of circumstances that it's rather unbelievable
|
# ? Jun 6, 2017 07:13 |
|
I saw that on reddit. I kinda looks to me like things were hosed and the CTO was trying to find a scapegoat to blame it on. Or like, yeah, it didn't happen.
|
# ? Jun 6, 2017 07:41 |
|
Lol if you don't believe that scenario is possible, nay, likely.
|
# ? Jun 6, 2017 08:24 |
|
Snak posted:I kinda looks to me like things were hosed and the CTO was trying to find a scapegoat to blame it on. KernelSlanders posted:Everyone gets one free DROP TABLE.
|
# ? Jun 6, 2017 12:41 |
|
redleader posted:Lol if you don't believe that scenario is possible, nay, likely. Lots of things are possible but some stories are just a little bit too perfect. Whether or not it's a real thing which necessarily happened in so many words, this is still a useful parable.
|
# ? Jun 6, 2017 15:26 |
|
Being a newbie dev and being the immediate cause of a huge gently caress-up in your first week is an entirely believable scenario, as is management deciding that "immediate cause" = "sole cause". So the broad thrust of the story is believable. I could well believe that to be a TheDailyWTF-style embellishment, though.
|
# ? Jun 6, 2017 15:53 |
|
Even if it's made up or embellished or whatever, it's not that hard to appreciate a story where the big, obvious takeaway is "don't be this company".
|
# ? Jun 6, 2017 16:00 |
|
Don't Do What Donny Don't, Inc. Does
|
# ? Jun 6, 2017 16:28 |
|
TooMuchAbstraction posted:
This is exactly opposite of the idiom BTW. Go style recommends not caring and to avoid wrapping lines just to fit them into 80 lines. If it runs through gofmt, it doesn't matter. Having long lines might point to a bad design pattern, for example, a function with a large amount of arguments. Maybe it is better to abstract some of those arguments into more descriptive types and since types are pretty cheap, the effective Go page strongly recommends that kind of refactoring. You will find a lot of 100+ char lines all over the standard library if that is useful evidence of this.
|
# ? Jun 6, 2017 16:44 |
|
The only thing remotely eyebrow raising is the credentials, and giving everyone direct DB access via a single account is so common I don't know what to tell you. Project horrors: Customer can't understand i2c, so on a low-latency-required project I'm adding a 115200 baud serial port to proxy the i2c devices behind. Bonus: They don't know what i2c devices will be out there, so it's just going to be a uart protocol for writing and reading arbitrary i2c data. It's going to be connected to an rpi or similar. It's the most singularly useless project I've ever been involved in, and I'm going to enjoy making it as a reminder that holy gently caress my entire field is full of useless people. E: This originated when trying to read a sensor via i2c by taking an example "WeatherStation" app for their dev board and not understanding why it wasn't working. I compared the source to the original: they hadn't made any changes to it. The best part is going to be the number of billable hours doing their job for them by teaching their guys everything - so much more time than just doing it myself. Harik fucked around with this message at 13:40 on Jun 7, 2017 |
# ? Jun 7, 2017 13:36 |
|
I've learned that spending a large part of one's career working with ignorant and/or stupid users and coworkers holds you back in your career and that besides going to better places with better hiring standards (and an ecosystem of companies that meet such criteria where you live) the only way to progress is to get out of doing anything technical like... management because your own skills will atrophy. The number of times I've had to help people ssh into machines, configuring someone's Maven or Ivy settings, and cleaning out full disks is eye-watering. After all, you can spend 30 hours / week actually doing something where you learn and grow, or you can spend 5 hours / week and have to make it up with 25 hours OUTSIDE work. The person with the better job that only works 40 hours / week will beat you in the long run.
|
# ? Jun 7, 2017 21:14 |
The co-workers side I can agree with. Ignorant users though I feel is just an issue most programmers will have to live with and accept as something to consider in the development process, especially for UI/UX design.
|
|
# ? Jun 8, 2017 17:38 |
|
It's not a "coding" horror per se, but I've had a hell of a day. You know that old trope about sales selling something first and telling engineering what they have to build later? Well, I found out today, that they sold something last summer that was supposed to launch on January first of this year. That's right, they told engineering what they were supposed to build five months after it was supposed to be delivered. e: ranted too much and deleted a bit KernelSlanders fucked around with this message at 06:02 on Jun 9, 2017 |
# ? Jun 9, 2017 05:58 |
|
KernelSlanders posted:It's not a "coding" horror per se, but I've had a hell of a day. You know that old trope about sales selling something first and telling engineering what they have to build later? Well, I found out today, that they sold something last summer that was supposed to launch on January first of this year. That's right, they told engineering what they were supposed to build five months after it was supposed to be delivered. I don't know if we've had anything quite that bad recently, but I get questions from sales people all the time about stuff they're selling, because they've been told it's almost finished, even though we (development) haven't even heard of the thing yet. I guess it must be pretty common.
|
# ? Jun 9, 2017 06:54 |
|
It is and its infuriating.
|
# ? Jun 9, 2017 14:58 |
|
Makes me glad we deal with government contracts. The sales guys can promise the world, but if it's not in writing, they're not getting it. And the RFP writers know to check with the engineering department about anything that they haven't listed before.
|
# ? Jun 9, 2017 16:11 |
|
If the F35 is any indicator then you write the world into the contract
|
# ? Jun 9, 2017 19:07 |
|
QuarkJets posted:If the F35 is any indicator then you write the world into the contract Only for cost plus.
|
# ? Jun 9, 2017 21:31 |
|
Meat Beat Agent posted:Even if it's made up or embellished or whatever, it's not that hard to appreciate a story where the big, obvious takeaway is "don't be this company". It's a good message for anything. If a single mistake that's even remotely easy to make is enough to cause a big problem, someone hosed up, and it isn't the guy that made the single mistake. Everyone makes small mistakes, given enough time. The trick is to design systems that are so resilient that no single mistake can cause a serious issue. Anything else is a poor design, and I think it speaks to a particular defect in tech culture that it's not immediately recognized as such across the board.
|
# ? Jun 10, 2017 05:37 |
|
KernelSlanders posted:It's not a "coding" horror per se, but I've had a hell of a day. You know that old trope about sales selling something first and telling engineering what they have to build later? Well, I found out today, that they sold something last summer that was supposed to launch on January first of this year. That's right, they told engineering what they were supposed to build five months after it was supposed to be delivered. I had no idea this was a common thing, glad I and my coworkers are not the only ones with this problem.
|
# ? Jun 13, 2017 06:24 |
|
Another job, another code:code:
|
# ? Jun 13, 2017 16:57 |
|
NihilCredo fucked around with this message at 17:31 on Jun 13, 2017 |
# ? Jun 13, 2017 17:28 |
|
canis minor posted:Another job, another code: The first bit aside, It's crazy how long it takes some people to realize you can just return the result of the test and not have to explicitly write true : false all over the drat place. So I found this yesterday: code:
Apparently I reviewed this PR last december and missed it
|
# ? Jun 15, 2017 13:10 |
|
To be fair, you'd definitely want to throw an error in that condition.
|
# ? Jun 15, 2017 13:16 |
|
|
# ? Jun 8, 2024 06:51 |
|
Dr. Stab posted:To be fair, you'd definitely want to throw an error in that condition. Yeah, it means that another thread was definitely writing to that variable.
|
# ? Jun 15, 2017 13:32 |