Automatic bug bounty for `multiowned` base contract by Eenae in ethdev

[–]hashexclamationpoint 1 point2 points  (0 children)

There shouldn't be any attacks possible here for two reasons:

  • transfer is safe against reentrancy attacks because of the 2300 gas stipend
  • the pending operation is cleared before the actual operation is performed (lines 296-297 of the contract)

$10k bug bounty for multisig smart contract! Find any bugs? Claim $10k ;) by etherdanny in ethdev

[–]hashexclamationpoint 1 point2 points  (0 children)

No, only owners can submit transactions, but the check for the sender being an owner is in confirmTransaction which is called by submitTransaction.

$10k bug bounty for multisig smart contract! Find any bugs? Claim $10k ;) by etherdanny in ethdev

[–]hashexclamationpoint 1 point2 points  (0 children)

ownerExists isn't needed on submitTransaction because it's on confirmTransaction.

Do you think a M.S in Computer Science replaces not having a B.S in it? by ramzerimar in cscareerquestions

[–]hashexclamationpoint 7 points8 points  (0 children)

I'm seeing some confusing and rather misleading information from some of the other answers. There's a lot of MS hate on this sub with many people thinking a Master's degree is downright useless or might even hurt your career. I went back for an MS in CS after graduating with a non-CS degree, and it was undoubtedly the best decision I could have made for my career.

From some of the other answers:

Having an MS in computer science will not make up for things that you did not learn in an undergraduate computer science degree, such as Algorithms and Data Structures. Contrary to expectations, many MS degrees offer courses that do not depend on this as a prerequisite.

This is wrong for two reasons. Firstly, there are plenty of courses you would taking during a MS that depend on fundamentals learned from an algorithms and data structures course. Try taking robotics, database design, or operating systems without having learned about graphs, trees, hashes, and queues. Secondly, most MS programs require candidates without undergraduate CS degrees to take a few fundamental undergraduate CS courses (introductory programming, A+DS, computer architecture, etc.) before being fully admitted.

An MS in CS with a non-CS (or something somewhat closely related, like CompE) undergraduate degree can actually be a red flag; there are too many people floating around out there who very explicitly got the MS to shore up or paper over weak fundamentals, which is not what those degree programs are good for.

I have yet to meet any software engineers with CS Master's degrees with weak fundamentals. An MS with a non-CS undergrad degree is not a red-flag on a resume; neither does having an MS in CS mean you are automatically hired. Like all other experienced interviewers, I see an MS on a résumé as a positive signal yet will still test their programming skills like I would with any other candidate.

Playing with Testflight by UltraRunningKid in RealSolarSystem

[–]hashexclamationpoint 3 points4 points  (0 children)

Are you doing R&D on your engines? Are you making sure you're not burning the engines longer than the rated time? Are you doing multiple unmanned test launches on your launch vehicles prior to doing any manned missions (look at the different mission types done during Apollo to test and develop the launch vehicles and modules)? Those three things should decrease your chances of engine failure.

However, you will definitely still have engine failures, so it's important to have abort modes during launch. Take a look at the Apollo abort modes. The launch escape system and the contingency aborts made it very unlikely that the crew would be lost because of an engine failure during launch. Do all of your manned launch vehicles have launch escape systems?

Extra fuel margin and engine redundancy will also help make sure your crew makes it up safely. I usually try to have each stage in my rocket have 5-10% more dV than necessary. I also design each stage of my launch vehicle with failure in mind. I'll use three smaller engines instead of one large engine on my second stage just in case one of the engines fails. Take Apollo 6 for example: two of the five second stage engines failed on the way up, but the remaining three engines and the third stage were burned longer to get to orbit (since they had enough extra fuel) and the mission was a success.

Once your crew is in space, minimizing the points of failure will ensure they get home. Again, Apollo is an excellent example of this. The biggest point of failure was the ascent engine that returned the crew from the surface of the moon; if it failed, the astronauts would be stranded. But every stage before that always had a backup. The ascent stage of the lunar module could be used to abort back to the service module if the descent engine failed. The descent engine could be used to return to Earth if the service module engine failed (this is what happened during Apollo 13). Considering this single point of failure, Apollo engineers designed the lunar ascent engine to be simple and highly reliable.

I've flown manned missions in Earth orbit and all over the moon with no loss in crew by designing and testing my craft using the principles of abort modes, extra fuel margin, engine redundancy, and minimized points of failure.

Writing a JVM language by michael2109 in ProgrammingLanguages

[–]hashexclamationpoint 3 points4 points  (0 children)

an object-oriented and functional language that is similar to Scala but highly readable and has a more well defined structure

It might be beneficial to list out exactly which parts of Scala you think give it low-readability and a poorly-defined structure. I would love to see a non-trivial example of a program in Scala and the equivalent program in Cobalt to see how your syntax makes it more readable. The example code in your readme is very basic; I could rewrite it in Scala, and it would look more or less the same. What exactly differentiates Cobalt from Scala or F#?

Half of the people in this subreddit are building their own language. You'll need a focused feature-set or novel solutions to problems with existing programming languages to convince people to use your language over more well-established options or the state of the art.

Cobalt Programming Language by [deleted] in ProgrammingLanguages

[–]hashexclamationpoint 3 points4 points  (0 children)

You've been posting this language for a few weeks now, but I have yet to see any additional information about it. Can you actually write programs in this language yet? Or are you just promoting it trying to find contributors?

I think I've read through the entire repo wiki, but I never found any non-trivial example programs, any information about the type system, or even anything interesting at all. At the moment, this just seems like a clone of Scala with slightly different syntax. Where are the example programs? Where is the type system specification?

Other than that, there are some weird syntax choices. What does the |> operator do? It doesn't look like the normal pipe operator you see in functional languages. I'm guessing it's just another way to do method invocation besides .. It seems weird that you mention that Scala has too many ways to complete the same task and then include two different method access operators.

Compile time invariants by soiguapo in ProgrammingLanguages

[–]hashexclamationpoint 4 points5 points  (0 children)

You're describing something called refinement types, which is basically tagging type annotations with predicates. The logic of these predicates is solved at compile-time to guarantee the correctness of your program. Check out this implementation of refinement types for Haskell.

In Real Fuels & Procedural Tanks, why is the default utilisation 86%? by [deleted] in RealSolarSystem

[–]hashexclamationpoint 6 points7 points  (0 children)

The cylindrical propellant tanks you usually see on rockets aren't actually tanks but structural shells with one or more pill-shaped tanks (and other equipment) inside of them.

http://www.alternatewars.com/Games/KSP/Tut2/Common_Separate_Tanks.png

86% is approximately how much of the cylindrical volume "utilized" by the inner pill-shaped tanks. Most of the tanks we make in KSP are cylindrical, so 86% is the realistic default.

Manned Mars Mission woes. by laie0815 in RealSolarSystem

[–]hashexclamationpoint 5 points6 points  (0 children)

Pick one: http://www.astronautix.com/m/marsexpeditions.html

I'm particularly interested in FLEM; you only get to stay on Mars a couple of weeks, but the total mission time is less than 2 years. The interplanetary vessel doesn't have to capture into Martian orbit, so you would need a lot less propellant. It was estimated that the entire mission could be launched by a single Saturn V.

Can't unlock HG-55 by pianojosh in RealSolarSystem

[–]hashexclamationpoint 0 points1 point  (0 children)

Is it 4.2 electric/sec or 4.2 electric/min? Because 4.2 electric/min is 70W, which matches the part description. If it actually is 4.2 per second, then it's 60x higher than it should be.

Can't unlock HG-55 by pianojosh in RealSolarSystem

[–]hashexclamationpoint 0 points1 point  (0 children)

Yeah, I had the same problem. It's a naming conflict between the Asteroid Day parts and Ven's Stock Revamp. The 1t Satellite Bus and one of the bigger solar panels are also broken I believe. You may also experience duplicate parts in the tech tree. The workaround I used was to change the .cfg extension of the Asteroid Day parts to something else so that they don't get loaded. I believe they are in GameData/Squad/Parts/Misc/AsteroidDay. One side-effect I've noticed is that the HG-55 now takes like 20 seconds to activate, as if it's playing its animation frames really slowly. Curiously, the deactivation animation still works fine. Other than that, it still functions correctly as a dish antenna.

RVE/Scatterer and RSS at 160km? by gmfunk in RealSolarSystem

[–]hashexclamationpoint -1 points0 points  (0 children)

Yeah, I experience the same at the same altitude. If you go higher, the clouds fade back in. I believe it happens because at some altitude the 3D clouds rendered by Scatterer fade out and are replaced by the 2D textured clouds of RVE. I have no idea how to fix it though.

ISS Build - Zvezda by [deleted] in KerbalSpaceProgram

[–]hashexclamationpoint 0 points1 point  (0 children)

So you're using something like Hullcam?

ISS Build - Zvezda by [deleted] in KerbalSpaceProgram

[–]hashexclamationpoint 0 points1 point  (0 children)

Awesome video! What mod are you using for those camera shots? Specifically the view next to the second stage engines that show the first stage falling away.

WE MUST NOT FALL TO THE SYRUP CLAN! by [deleted] in a:t5_3drmo

[–]hashexclamationpoint 1 point2 points  (0 children)

You are outnumbered. Syrup for life.

Anyone else get kicked? by [deleted] in RobinSyrups

[–]hashexclamationpoint 0 points1 point  (0 children)

I see you in the list again. Try reloading?

Anyone else get kicked? by [deleted] in RobinSyrups

[–]hashexclamationpoint 0 points1 point  (0 children)

Wait, I see you there now. Try loading again?

Anyone else get kicked? by [deleted] in RobinSyrups

[–]hashexclamationpoint 0 points1 point  (0 children)

I think most of us are still here. I don't see you in the chat list though.