Sunday, December 20, 2020

Creating your Home Design with SweetHome3D

 Just a brief tutorial/tips, under construction, on how to get the best of your SH3D:

  • Break your space on different problems and create separate files to work on them. That way you can have different variations on the same file of the same space about that one problem and compare to each other. Eventually, when done, you can put it all together with the winning combination for every problem.
  • How to find more objects
  • How to go from your design in SHD3 to VR view, say on HTC Vive:
    • SH3D to do the plan
    • Then from there you can export the 3d view to .obj format
    • Use autodesk fbx to convert the obj to fbx
    • Use unity to import the fbx in htc vive scene. Use the unity toolkit as a start to have a simple teleport system.

3D models: formats, libraries, websites, translators

So, I am using SH3D (Sweet Home 3D). Really nice open source software that allows you to import objects. I am new to all these file formats, so, trying to figure what is the best source of objects and how to bring them in... Work in progress...

You can start by the SH3D library page. Remember to unzip the libraries before importing them, or else it will give you a message like everything was fine but actually nothing gets imported.

Working backwards, SH3D accepts (sorted for compatibility with Blender):
  • OBJ - Wavefront << This can be opened by blender
  • 3DS - 3D Studio << This can be opened by blender
  • DAE - DAE Collada << This can be opened by blender
  • LWS - LightWave Scene
  • KMZ: this is the Google Earth file format. Not sure what it is doing here...
  • ZIP
Nevertheless, the typical libraries websites:
Have files like (sorted by how easy is to get them in SH3D, mentioning what opens it that can translate it into one of the SH3D formats):
  • RFA: from Revit
  • DXF: use 3D Transform to transform STL, which Blender accepts.
  • FBX, from Filmbox, is proprietary (folks basically hack their way in, but with a newer version, they lose that...) although the newer versions seem that it can be opened in Blender.
  • DWG
  • STL 
  • SLDPRT: SolidWorks Part file. Proprietary. You can see it with Autodesk Viewer but don't know how to save it/translate it to something (without paying...).
  • SLDASM: SolidWorks too. It typically contains several of the above organized together...
  • MAX: From AutoDesk. Looks like there is no way.
In some cases we lose the texture, which is not cool...

Some of the files are more complex than what we want to use in SH3D, so, we need a way not only to open it but to edit it.

Websites that allow you to change formats for free:
  • http://www.greentoken.de/onlineconv/
    • Input formats: 3d, 3ds, fbx, ac, ac3d, acc, ase, ask, b3d, blend, bvh, cob, csm, dae, dxf, enff, hmp, ifc, irr, irrmesh, lwo, lws, lxo, md2, md3, md5anim, md5camera, md5mesh, mdc, mdl, mesh.xml, mot, ms3d, ndo, nff, obj, off, pk3, ply, prj, q3o, q3s, raw, scn, smd, stl, ter, uc, vta, x, xml, xgl
    • Export formats are: stl, stlb, collada, obj, 3ds, ply, json, x 
  • 3D Transform: takes .igs .iges .stp .step .brep .3ds .ase .dxf .stla .stlb .stl .wrl .iv .obj .swv .gmod .iv and outputs .STL
Editors:
  • Blender:
  • Sketchup: looks like they may have some freebies... Unfortunately does not run in Linux so won't comment further.
Eventually, we will also need textures. Textures are relatively easier as any jpg will work, except for the tileability (how to tile them side by side seamlessly)


Wednesday, December 2, 2020

Covid rapid (24 hrs turnaround) test for travelers in Dallas

 Just a note here to write down what I did:

  1. I found 3 options (there may be more but just stopped there :)):
    1. DevLabBio: $150 next day results. They replied very fast to my email. You book a time online. Fill the form, including the payment, ahead of arriving to the place.
    2. CareNow. $150 on their normal clinics. $250 at the airport.
    3. RealTimeLab: $250 for 24hrs turnaround time
  2. For a list of testing sites in Texas click here  Wherever you decide to go, make sure it is in this list so that it is not a fake place (there are reports of some popping up).
  3. The points guy article.
I did #1 (at 3PM on Thursday for a flight departure at 8PM on Saturday, and arrival at 10AM Sunday). My backup was #2 at the airport if it failed.

===

Nothing to do with Covid testing but other stuff required by immigration:

Tuesday, December 1, 2020

Getting Internet while traveling in Spain

The link that brought me to the solution is this nice one

The solution that I did:

Sunday, November 8, 2020

Great people

Intent of this post is to list a few of maybe not so well known great human beings  (work in progress). Respect:

Rosalind Franklin: should have been one of the novel prize winners for the discovery of DNA. 

Jonas Salk, discover of many vaccines, but very few now him because he credited his team.

James Heselden - Segway and Hesco Owner
"There are people out there who are making money, and when times are good I honestly believe people have a moral obligation to use their wealth to help others," Heselden told the Yorkshire Post earlier this year. "Life turned out pretty well for me, but I still work in the same area where I grew up, and everyday I see people who for whatever reason are down on their luck."

Usman Koroma, wanted to adopt a child who had just lost her mom to Ebola. 

Chinese doctor, Li Wenliang, who was reprimanded by police after warning colleagues about a new respiratory disease emerging in Wuhan, and finally died after falling ill. 

Aaron Feuerstein, from Malden Mills. Keep their employees after the factory burnt down and many competitors were moving overseas. https://en.wikipedia.org/wiki/Malden_Mills

Peter Norman, Awesome human and Australian athlete.

Yevdokia Dashina: hippo care taker

Josep Maria Bertran de Quintana. Judge on the Republican side (one of the Spanish sides during the Civil War) that prosecuted indiscriminated killings of civilians on the Republican controlled regions, against the establishment and social winds (hurricanes) in those regions.

Saturday, August 29, 2020

EV battery size and cost

Being checking a bit on EVs now that Tesla is hot (I think >$2k/share is a joke, you read it here first :)). Still, the EV (which BTW were not invented by Tesla) are cool. Even Teslas are cool (just the stock price is a joke). Note: I am checking also FCEV (look super cool too). 

Anyhow, quick calculation from the offering on this site (they explain it really well so you just can read it there). A Tesla 5.3kWh (444 batteries as 74p6s) pack costs $1580 ($300/kWh) and is 68 x 28 x 7.5 cm. 10 of these packs would give you about 53kWh which is close to Model 3 smallest battery (50kWh) and can take you (if you believe the BS-EPA rating from Tesla) to 354Km. Would love to see you try that, Tesla fan ;) but still pretty good even if falls short of that (see bottom of this post). Assuming same "marketing" trickery, we can guess we can get about 275 km with that battery pack.

So, to summarize it, it takes about $57 and about 0.5 liter of volume per km of autonomy

Notice though that this is for the full Tesla module. In the same website we can check the price of the individual cells (Panasonic 18650): 200 cells (3Ah/cell, or ~2.3kWh) for $600. This is actually not much cheaper than just buying the Tesla module, about $1330 for the 444 cells on that module and you got everything else with it (cooling, assembly...), done on the Gigafactory.

So, what to do with this stupid battery? ;)

  • Awesome, I repeat, really awesome video of how to make an electric catamaran. Warning: if you watch it, you may not be able to avoid building one. You've been warned...
  • Or how about an eBike? :)
  • Or an eFoil?
  • Or an eWaterBike?
Seriously!

PS.: On the range (what I call BS-EPA), this video measures few cars in a real life scenario. The link should bring you straight into the results part. As summary:

  1. Nissan Leaf: 62kWh, 208 miles in the test, 87% of the EPA promised range (what I call the BS-EPA range).
  2. Jaguar I-Pace: 90kWh, 223, 76%
  3. Mercedes EQ: 80kWh, 194, 75% 
  4. Audi e-tron: 95kWh, 206, 81%
  5. Kia e-Niro: 64kWh, 255, 90%
  6. Tesla model 3 Long range: 75kWh, 270, 78% 

Based on #6, the real range would be 78% of 354km = 276km

Monday, August 10, 2020

Where to invest your money

So we are in August 2020. I am not going to spend time telling you what has happened this year in the world :) But here I just curated the view of different smart people that may give you different perspectives on what they think about putting your money in different places. Some will be right, some will be wrong, but they are all certainly people worth listening to. In no particular order:

  • Where money comes from (I guess one should start there, if in the end, all what you are trying to do is to conserve or grow that): 
  • Stock market returns accounting for inflation. The short story:
    • $1 in 1950 bought you the same as $9.1 in 2010.**
    • $1 invested in S&P in 1950 with dividend reinvestment would be worth ~50 in 2010 if you had reinvested the dividends, once you account for inflation. If you didn't reinvest the dividends it would be only worth about $7. Certainly the gains are much lower than many financial advisors will tell you but still great and a good hedge against inflation. An example would be to look at Jimmy Carter's presidency (1/1977 to 1/1981) with this calculator. The total gain with div reinvested adjusted for inflation in that period was a mere 5%. BUT the inflation was actually 50%! If you left the money under the mattress, you would have lost 50% of its value at the end of his presidency.
  • ** Is inflation what you really care about? For the most part, yes, but the key thing to keep in mind is that you get money and hope to use it on stuff. You would hope that at least when you want to buy something, it will cost the same or less than today. There are products that you can buy today but some you got to wait (can't buy food for 2040). In those, inflation is critical. Nevertheless, what you plan to buy may or may not match what the government considers in the basket of products for inflation. So, watch for those. For instance, the main one is one of your biggest expenses, housing. As it is so big, people usually doesn't miss it/gets fooled by government data. But it is interesting to note why they do not include that (different topic).
  • Is gold a good hedge against inflation? With the last stimulus of 3 trillion dollars, a lot of people says that there will be inflation and that Gold helps offset that. Some articles on the topic:
  • Ray Dalio: highly respected in the investment world, founder of Bridgewater. I am no one to judge his knowledge and way of thinking (which I think it is really good) but I do find his texts not so easy to understand (probably my fault more than his) and a bit repetitive (could include different angles to the same concept):
    • How the economic machine works? 
    • The Changing World Order (a 2020 series of articles on how he sees the US position in the world evolving, the effects on macro-economy, the potential role of other countries like China...). I am just starting to read it so can't really judge yet... 
  • John Hussman. To many what is called a permabear (someone who always thinks the market is going to go down). He got this reputation over the last 10 years as he claimed the market was overbought but kept going up. He admits that although he may be right on the first (market fundamentals), he didn't appreciate the fact that people (psychology) may still keep pumping the market up (market internals). Regardless, I find his analysis sound and you can learn quite a bit reading his monthly notes.
  • Liquidity concept
  • Want to invest on start-ups?
This is work in progress but anyhow hope it helps...

Resources:

Monday, July 20, 2020

Moving from one Android phone to another

These are mostly notes for myself so don't take it as a tutorial. I am sure there are much better out there...

  1. In the old phone I had google back up running, so, it was basically up to date with all the info.
  2. On the new phone, I just had wifi enabled (the SIM was still in the old one). Logged in with my Google acct and a lot of the stuff got transferred in.
  3. I did have to log in Facebook to enable the automatic login in other apps.
  4. Skype and Messenger (Facebook) were straightforward. Just log in those apps and then you can use it in both phones.
  5. WeChat was relatively easy too. Didn't want to lose my contacts/chat history. 
    1. Following those instructions in the old phone, go to Me>>Settings>>Chat>>Backup and migrate chats. It'll show a QR.
    2. Then log in normally in the new phone WeChat. As I didn't remember my password, used SMS to reset it (they get sent to the old phone, but it is ok).
    3. Once in the new phone app, click the top right corner plus sign and an option to scan QR shows up. Do it and there you go! By the way, you'll get logged out of your old phone WeChat.
  6. Line:
    1. In the old phone, open the app, go to the "More" (3 dots), settings icon (top right) >> Chats >> Backup and restore chat history >> Backup to Google Drive
    2. Similar to WeChat, log into your new phone Line. If you forgot password, you can reset with SMS and email assigned to your account. Then it'll warn you that your old phone app is going to disappear and that you should backup. You click ok and as it pulls the backup from Google it disables the older phone Line.
  7. Whatsapp:
    1. In the old phone, go to whatsapp >> 3 dots >> Settings >> Chats >> Chat backup and do a backup.
    2. Then log in the new phone Whatsapp simply with your phone number. Even if the SIM still in the old phone, you get the verification SMS in the old phone and enable the new phone. If you had two factor authentication, it'll as you now. Then you can pull the backup. If you don't do it then, you won't be able to do it later! 
    3. That's it! The old phone Whatsapp will get disabled, like with the other apps...
  8. Signal:
    1. In the old phone, click the 3 dots >> chats and media >> Backups enable. Write down the bunch of numbers it gives you. Then click "Create backup". 
    2. Go now to the old phone internal storage and search for the backup file in signal/backups. Copy it to the same directory in the new phone.
    3. Now install signal in the new phone (I had installed it and then erased it, which left the directory in there). Bottom line, when you install it, it'll see the backup and pull it itself. Will ask you for SMS and pin also (like whasapp). Straightforward...
Cheers!

Sunday, April 5, 2020

Oil consumption and white smoke on my Golf GTI mkV

[Work in progress: looks like it is the turbo (see all the way to bottom)]

Here is my post in the forum
Based on their replies, pointed me to the PCV (positive crank case ventilation) system.
How I checked it. (all you need Torx 25, a.k.a. T25, screwdriver, very simple). Another video with a bit more detail on how to test the valve once it is out. Note: When I see their hoses in the videos, they look really messed up with oil but mine were in that sense pretty clean.

Also, I saw the under-car splash engine shield with lots of oil. I don't know if that was because of the bad installation the oil shop did of the oil filter (so, something dirty from the past) or is it something new. But if that was the problem, my mechanic should have seen it when I brought it in, so, I don't think it was. Or maybe they thought it came all from the filter and there was a different problem? But recall that the oil guys told me I was very low and they didn't report any leaks. They did report a lot of sludge on the oil, which is a symptom of the blow-by mixing with the oil if the PCV does not work...

The valve costs $30-$55 in Autozone

Now, if you want to know how the PCV works in the GTI MkV, Howardc64 does a great job explaining that in this forum post. I copy it here in case they take the other one down one day. You may not understand all what is written the first time you read it (I didn't), so, I put some Youtube videos below that may help you with engine concepts, but I have to say that he did a very good job at explaining this:
"First, a quick explanation of blow by gasses and why all this vacuum stuff. When cylinder combustion occurs, some gasses will leak past the piston rings. This basically blows air into the crank case and need to be vented to prevent the pressure from pressing out of weak spots like oil seals. Crankcase has open air path to the head so common leak places are oil filler cap, cam seals and rear main seal depending on the different turbo engines. So how do we vent this pressure? On turbo cars, it needs 2 paths.

Path 1 is intake manifold when there is vacuum (pistons draws in air creating the vacuum). This vacuum will suck out the blow by pressure into the intake manifold and crankcase/head pressure will become negative or neutral. But what happens when turbo is boosting and pressurizing the air into intake manifold? There is no more vacuum so what do we do?

Path 2 is to vent this pressure to between the air filter and turbo. Usually just before the turbo. There isn't much vacuum here since air filter doesn't restrict much air to create high vacuum. But it is clearly a good place to dump excess blow by pressure.

On 2.0TFSi, path 1 is what is commonly referred to as the front PCV and path 2 is commonly referred to as rear PCV.

Path 1 has a check valve supposed to stop sending pressurized air into the head+crankcase whenever IM (intake manifold) is pressurized! The check valve suppose to close and relies on the path 2. This check valve in path 1 seems to have high failure rate. People use 2 solutions 1) add a stronger check valve (Digital Hippie Mod) or 2) choose to block off path 1 and just rely on path 2 (I think simpler and less failure) Lots of "PCV delete" kits out there for solution #2.

Now onto path 2. This is NOT a vacuum source. It is mostly a venting source. When turbo pulls in the air, there is plenty of air supplied from the air filter path. No huge vacuum will be created, maybe the tiniest. But you can certainly vent blow by gasses in here without any issue. And when venting, crank case pressure will be slightly positive but not enough to push past any oil seals so its fine. This path has to vent whenever IM is pressurized. Any check valve in this path has to 1) open whenever there is positive pressure coming out the valve cover port for this path 2) probably closes whenever there is vacuum at this port. In any case, this pipe has to be able to blow air towards the turbo intake whenever the port is blowing pressurized air.

In reality, I think path 2 sucking some air back into the crank case from front of the turbo is not an issue. You just want to equalize crank case pressure. If IM suction is so high that it draws air from front of the turbo, probably not a problem. Volvo turbos I worked on works this way. How much air flow all depends on pipe/hose/inlet sizes rather than check valves.

Furthermore, the air flow rate of path 2 is important. The higher the flow rate, the more blow by gas it can vent and reduce crank case pressure. On Volvo turbo cars, people have up sized path 2 to handle higher crank case pressure as engine got older and rings allowed for more blow by.

Anyhow, this is the only sense I can make of the check valve inside the rear PCV breather (path 2) and which way it opens and closes.

And of course for those who don't want to dump oily crank case gas into the intake path, a catch can be installed.

Here is a diagram that helps with understanding. All my comments are in green with green arrows"
(Ignore the Eurojet stuff...)


The original diagram can be found in the FSI which I post here (pg 13).


For a diagram of the turbo, intake manifold, exhaust, etc you can check page 16 in this same link:



Here you have a very nice explanation also about all this.

A view of the turbo:

You can see the pipe on the top right the "crankcase breather". On my same forum post you can see:
"There are two different PCV's and two different rear breather tubes and they need to be paired together properly. [See pics in the post]; pcv w/check valve goes with rear tube w/no check valve...and then the next pair(newer revision and recommended) - [AND MINE]; pcv w/no check valve (06F 129 101 P) goes with rear tube w/check valve (06F 103 215 B). It is possible the diaphragm, inside the large disc portion, of the pcv isn't sealing and routing properly under vacuum...allowing vapor to enter the turbo inlet rather than routing it to the intake manifold directly. It could be a combination of issues as well. The forementioned rocker cover come apart inside is one. How you choose to proceed is up to you. Because you have a bunch of oil coming out of the turbo outlet...first; you need a new seal (3C0 145 117 B) there on the upper turbo outlet hose. Remove the PCV again and determine if you have the older or newer pcv. Replace just the pcv if it is the newer (hopefully it was replaced correctly if replaced previously) and both pcv and rear tube if the older. That's where I would begin"

In case you have to work on the check valve of the back (rear PCV), here is a video.

Another guy advised to check inside the upstream intercooler hose (from turbo to IC) to see if the oil was inside. The IC sits between the engine radiator (on its back, towards the engine) and the AC radiator (in front of it). To get to that hose you got to remove the front passenger wheel.

"Nice to have" Youtube videos:
  1. By the way, best video I've seen on basics on how an engine works
  2. Not for GTI, but watch this to understands the basics of PCV. Very nice video with much more details and this other one.
  3. Good guy explaining PCV for FSI
  4. Great mechanic, great video, unfortunately for the TSI but you can still learn things from it.
  5. How to replace it
  6. This is NOT what happened to me, but you can see different effects of a bad PCV valve here, here (similar) and here.
There you go, on the smoke, the sludge that the oil replacement guy told me...

For the latest, check my post in the forum. I'll update here when it is solved.
The following is a link along my latest suspect:
https://www.mk5golfgti.co.uk/forum/index.php/topic,117203.0.html

Found this article where it says that VW considers ok to consume 1 quart every 1k miles.
I can't believe I missed so many links talking about my car brand consuming so much oil. Anyhow, here is a good one with some recommendations to follow on things to check and oil to use.


*** CHECKING THE TURBO ***

So, I have a new theory. A turbo leak. Oil refrigerating the turbo leaks into the exhaust. One can read few cases out there. Also could be the coolant (which then gives a white smoke). Actually I had just refilled both oil and coolant and both are low after my engine put out a lot of smoke the other day.

So, got a log of my boost: https://log.tunezilla.com/s/x3rWzzSt
I am not sure I am reading these properly as spec and actual don't match. Shape does, though.
I think I may have to take this into the dealer...

** UPDATE **

Dealer confirmed is the turbo ~~><~~
Repair at the dealer $3k. Turbo (06F145701H) from dealer alone is $1.7k. Looks like you can buy a rebuilt one for $350 or so, but also found these cheaper new alternatives: BorgWarner for $970 and STIGAN ($650 after discount)

Checked with my usual mechanic and here is his estimate:
Turbo (06F145701H): $600 for manpower + turbo cost. If I buy the Stigan (which runs now for $580) they don't guarantee the job. If they buy it for me, they'll add $200 commission but they'll guarantee the job.
Front-right axel: $320. It made a bit of noise but seems ok so far...
Fan assembly: $500 (according to the dealer, one of my two fans has stopped working). If the other goes, I am toast.Quick search, though, shows that I can do this myself
  1. Forum thread
  2. Nice video
  3. I would try the video first, but if that doesn't work, then fans are not that expensive.
For a second I had a doubt between these two:
  1. The first one clearly says is compatible with the  06F-145-701-H. Costs $588.
  2. The second one is also recommended for my car by the site, but it does not list the same PN for the turbo. It does say it is a replacement for the BPY engine which is mine (found this nice article explaining it). It is $550 and comes with the kit.
I was doubting till I notice that the second uses the same turbocharger part number: 40-30176 SG. I think I'll give it a try.

Monday, February 3, 2020

Coronavirus masks

A friend in China is asking me to send her some masks... Found these good links straight from the CDC on which ones are effective on what:

  • CDC - differences between these: 
    1. Surgical masks: basically protect the patient from the wearer's infections. I.e., if population wear these, they may protect a bit themselves, but they protect mostly the people they interact with.
    2. N95 respirator: filters small particles. May be effective against virus/bacteria (more than #1) but has to be worn properly and it is tough. This is usually for industrial use but can be used by medical personal in these days (in fact that's what US gov. is buying by the millions).
    3. Surgical N95 respirator: N95 respirator + protection against liquid splashes (blood from surgery, etc.) and flammability. You don't really need this for Covid-19.
  • CDC on Influenza and protections against it 
  • CDC - List of respirators
Update (11/13/2020): was wondering about the PM2.5 masks. Probably don't help much with Covid (they filter 2.5um particles or above).

Saturday, January 11, 2020

Electricity costs in Spain vs USA

Just quick check, in Dec. 2020...

In US, for 166 KWh (funny thing is that I wasn't there for 1/2 the month and I disconnected my water heater) I paid:
  1. $23.57 (basically 14.1c/kWh)
  2. $10 of minimum usage charge (WTF, why they charge that if I already past the minimum usage?!?)
  3. $6.39 usage charge from electricity distribution company (Oncor)
  4. $3.42 monthly charge.
  5. Tax $1.38 (2.1% + 10% sales tax)
So, although they claim 14.1c/kWh, it is actually more like a fix of $13.5 + 18c/kWh. All in all 27c/kWh. (2x... no comment >.> ). 

In Spain, for 2 months (bills are for two months):
  1. 7E (basically 12.5E/kWh) for 56kWh, i.e, 13.9c/kWh
  2. 24.51E (for two months): $13.6/month
  3. +5% electricity tax
  4. +21% sales tax
Total was $46 (41.49E) for 56kWh, or 82c/kWh! Nevertheless, this comparison is not fair as my variable was very small so this cost is mostly monthly fix/installation charge. If we just look purely at the variable, in US we had 18c + 12% tax, about 20c/kWh. In Spain we had 13.9c + 26% tax = 17.5c/kWh, so, actually a bit cheaper, even with the higher taxes. But maybe I am paying too much also in US (as I have not negotiated rates for very long). So, all in all, about the same cost, I would say.

Considering that oil is much more expensive in Europe than US, it makes sense to transition to as much electric as possible in Europe.

Monday, January 6, 2020

Hiring in Spain vs US

As explained, I have never created a company so I am trying to get a sense for how competitive different countries are if I wanted to set a company there. I guess there are different type of incentives; one can get in addition to these, but let's just go by the standards. I can think of factors when taking that choice like taxes (to your employees, which is likely to limit who you can hire) and of course, to your company (corporate taxes), salaries, costs of running the company (like energy costs if a given industry really needs those), raw materials, leasing, transport...

We look here purely at hiring costs. Looking at this article, we basically have that in Spain:
  1. There are 14 or even 15 pays per year, so, easiest is to compute things on annual income.
  2. From the salary company pays to the employee, the company pays about 30% on social security related expenses and the employee an extra 6% give it or take. So, for a say, $10k salary, company would pay an extra $3k and employee $600 on social security.
So, say that about 26% of what the company pays goes into medical, retirement, disability, unemployment and paternity benefits.

In US for the equivalent items we find (How much does an employee costs):
  1. Social Security/FICA (currently 6.2% on the first $90,000 of salary)
  2. Unemployment/FUTA (6.2% on $7,000 of salary)
  3. Medicare (1.45% with no salary cap).
  4. Workmen’s compensation premiums;will depend on the category of your employee, with clerical at about 0.3% of salary and manufacturing at 7.5%.
  5. So, we are looking at 15% (without #4) for someone like an office worker, an engineer... The benefits one may get from this social security may not be as high as full salary coverage that happens many times in Spain, so, companies may throw in 401k contributions which could be like 6% of your salary.
  6. Health care costs are apart, depend on plan... but we can say that for an individual is about $6k/year and family about 2x that. It is not a percentage of the salary so, for a $10k salary that would be a lot while for a $100k is about 6%-12%.
  7. Short and long term disability insurance would also be apart but an estimate is about 1% of the salary. Things start to get even with Spain specially on the lower salary brackets.
So, "the costs to this point (basic salary, employment taxes and benefits) are typically in the 1.25 to 1.4 times base salary range- e.g. the cost range for a $50,000/year employee might $62,500 to $70,000."

In summary, it looks to me that while the compensation costs beyond salary are equivalent or even higher in the US, the employee in Spain (or Europe in general) gets much better benefits. One could obtain similar conclusion fromcomparing benefits from US and Europe article.

One big difference are the firing costs too, as things may not go out as expected initially). In other words, while it is cheaper (for the same benefits) to hire someone in Spain, not even taking into account the salary itself, letting him go could be much worst.

Please comment if I am missing something :)

Cheers!