1,702 karma · joined Apr 30, 2017 (9y ago) · 374 submissions
comment 9y ago · link · parent
Above a certain rpm the engine cuts fuel completely and engine braking is strong. In cars with electronic throttle control the computer might also open the throttle to maximize energy consumed compressing air.
As you pass through that cutoff range the engine starts firing again, maybe 700 rpm above idle. Engine braking stops being effective when this happens.
Also, newer cars don't do a full fuel cut when engine braking with a cold engine or if the catalyst is getting too cold to work. So sometimes engine braking isn't very strong.
Basically you can't rely on engine braking so when you're doing it your foot usually hovers on the brake pedal. This isn't any different than the hybrids
comment 9y ago · link · parent
People were probably more familiar with animal husbandry than today, so it makes sense to exaggerate that natural tendency to make somewhat believable monsters.
I don't think it had anything to do with xenophopia or "category violation" . The Earth has all kinds of weird shit like flying squirrels and humans
comment 9y ago · link · parent
AFAIK Java uses less ram than Python and JavaScript, only common languages that beat it are Golang and C/C++
comment 9y ago · link · parent
I'm not a comms engineer but I've also been told the biggest risk microwave exposure is thermal burns. Especially to the eyes which have limited cooling ability and pain receptors
comment 9y ago · link · parent
Since college funding is usually on state level you have some latitude with where you initially move. Going to a community college in a farm town doesn't sound like a blast but it's probably the easiest way to make things work from a cash flow perspective.
Your friends/family are likely to think your "master plan" is crazy too lol
comment 9y ago · link · parent
Isn't that the reason that pretty much everyone moves? Better jobs, better schools, less crime, etc...
I guess it can be seen as egotistical and selfish if you're the kind of person that doesn't like anyone to build housing that spoils your view. The NIMBY archetype
comment 9y ago · link · parent
You got average grades and nothing unusual about you that would lead to scholarships? If you go to school the "normal" way you're likely to end up in huge piles of debt. Even if you go to community college first.
An open secret is location. Find a place in the country, or even another country, where college is subsidized for residents. Instead of going to community college in your home town, prioritize moving to that location ASAP.
Get a part time job, a crappy apartment, and start community college there. Pay close attention to their residency requirements to make sure you meet them as quickly as possible. Then transfer to the college of your choice and save tons of money
comment 9y ago · link · parent
I assume this only happens in places where the roads are overloaded though
comment 9y ago · link · parent
That said, me and other C# devs have already found numerous signs that at least parts of the codebase were done by someone clueless or inexperienced with C#. And there's no tests.
If someone spends the time to look into the codebase, I'm predicting a basically 100% chance that parts of this code will be shown to produce inaccurate or completely wrong results. Innocent people will probably go free because of this.
comment 9y ago · link · parent
Using out parameters, these are highly discouraged. C# let's you do terrible things (including goto) but the community is pretty aligned that it's bad practice. In my years of doing C# I've never used one once.
Not using var anywhere. This is C# type inference 101.
Throwing "Exception" in catch with only a message. This is horrific because it throws away the original context and any stack trace. You can just say "throw" (just the one word) or rethrow the exception with an innerexception with the original info trivially. This is unforgivable, an experienced C# developer would never do this.
Extraneous uses of "this" when it's the default.
Initializing variables to null
Not using shorthand object initializers(but this is only in newer versions of C#)
Using class variables instead of properties
Using parse instead of TryParse... Like Java exception handling is an expensive stack unwind on failure, not supposed to be used for control flow.
The worst though, is how did they didn't make a method to reuse the SQL connect and data table code and instead copy pasted it around 20 times.
comment 9y ago · link · parent
A cult favorite of devs at my previous employer was to (ab)use the power of LINQ to try to create the longest single line methods possible. I held the unofficial record for a while with a LINQ statement over 1200 chars. Innocent enough since resharper can unwrap them into sane code but lots of fun
comment 9y ago · link · parent
I'm making assumptions based on experience with C# codebases and I think my argument on double vs float is solid. I don't think I've ever seen floats used in a production C# codebase because there's no point.
Overboard maybe :) but I still think whoever wrote that is very inexperienced.
comment 9y ago · link · parent
Bonus points for not using the shorthand float literal syntax.
I would expect to see this many goofs only from someone that's been using C# for a month or so. I only used it for a couple years
comment 9y ago · link · parent
Webforms is likely a client request as well, but also keep in mind that as shitty as webforms is it let's you throw functionality together faster than almost anything else. Again proly contractors
The funny comments others mentioned is another clue that this was not developed internally. I miss that about being a consulting company... The client is usually hiring you because they have no idea what they're doing so rest assured nobody there will ever look at the code.
comment 9y ago · link · parent
I've always rode the bleeding edge of web tech for the fun of it. But if I don't make it into management track in another five years I'm moving to systems programming. There, I can learn my craft once and spend the rest of my career without recycling my skills every few years.
comment 9y ago · link · parent
Life is short, waste as little time as possible doing work for somebody else.
comment 9y ago · link · parent
They only need to fool laymen, and backdoored primes are an easy way to do so. The number of true cryptography experts beyond their walls is a dozen in the world at best. Case in point https://en.m.wikipedia.org/wiki/Daniel_J._Bernstein . And BTW he's been sued by the US government for ???. Thank God the EFF has decent funding.
comment 9y ago · link · parent
This is mostly clearly seen on the east coast because most of the Midwest is still used for farming.
Edit: in Europe this is visible in coppiced forests. https://en.m.wikipedia.org/wiki/Coppicing . Haven't seen one here in the US but I assume they're somewhat common in Europe where they were an early and effective method of sustainable forestry.
comment 9y ago · link · parent
If this is true one of Stackoverflow comments is quite chilling
It would be a terrible idea and it would raise suspicions of a deliberate trapdoor if the primes for RSA were chosen from a quadratic progression rather than randomly
comment 9y ago · link · parent
I have seen MS SQL server handle over 10k database queries per second on a regular machine in a real, huge application (over a million lines). Can Python handle 10k queries per second? Definitely not. In Java or go that load could probably be handled by a single AWS box that costs $10 a month.
I have never seen a database maxed out that wasn't stuck because of table locks. I've seen applications like WordPress die at 10, requests a second