HNHacker News
TopNewBestAskShowJobs

javitury

314 karma · joined May 26, 2016

submissionscomments
javitury··on After a month on a cash diet, here are my best money saving tips
Articles like this are helpful for some ideas. However I disagree with the methodology used(mandatory shopping list, cash only...), although maybe it works for impulsive people.

It's good to have a shopping list and to be conscious of your wealth/income. However in my opinion the best tool is have a set of principles.

Thinking only about money will often fail you. It's better to think: Given my requirements what is the most cost effective product? You probably don't want to waste time having to fix bad quality items, or going to work with a dirty shirt because your detergent is worthless. Or buying a cheap thing to realize that it was crap and having to buy the expensive product later on anyways(after having lost the money you put on the cheap thing).

On some products, like tools or a car, you should ask yourself: Will this product ever let me down? How long will it last? A lifetime? Keep in mind that pricey products can be good deals too.

On commodity goods spend less, on everything else spend smarter.

javitury··on Google and Facebook ad traffic is 90% useless
Was it a Search or a Display Campaign for Google? I could understand that adsense webmasters used clickfarms. However finding out that google is using clickfarms for Search campaigns would be uncovering the greatest scam of the Internet.
javitury··on Citus' Replication Model: Today and Tomorrow
I've been interested in PG sharding for a few months. I mostly hear about this citus extension, but what about postgres-XL? Does any one has had any experience to compare against citus?
javitury··on How Generalised Problems Kill Startups
The real issue is that you can't solve the original problem upfront. You have to work your way acquiring new tools, capabilities, ideas... And it is easy to get lost in the woods.

Which reminds me of http://imgur.com/gallery/t0XHtgJ

As a side note I think most of the problems don't have a unique solution, but have a set of solutions that lessen that problem to some degree. Some people tend to get lost finding the perfect solution for which they need perfect tools that don't exist.

javitury··on Category Theory for the Working Hacker [video]
Is the diagram at 30:05 right? It says: (A+C)x(B+C)=(A+B)xC However I can't stop thinking it should be: (AxC)+(BxC)=(A+B)xC
javitury··on German Lawmakers Vote to Ban the Internal Combustion Engine
I don't know how you get downvoted on this. From my point of view you proposition is very rational.

Most of the industrial developments happen incrementally not overnight. Gradually setting the right incentives so consumers and suppliers find a satisfactory solution seems like the best outcome for everyone. I don't think any politician has a crystal ball to predict the future, the law seems to be just a populist proposal to gain votes.

Plus cars are not the only source of CO2 emissions.

javitury··on R for Data Science
I'm coursing a research/PhD access master degree and all I can tell you R is one of the most popular tools. If it is used in your university go for it.

It's not just the features of the R programming language. It is also free, open source and can be integrated easily with many external tools. For example you can make a paper using Markdown(RMarkdown) and convert it to ->TEX->PDF. Or you can use Rmarkdown to make a presentation converting it to ->TEX->beamer slides. Or just output a html document/webpage. It is also well integrated with online databases and resources.

While it's true that it can be a bit less intuitive or not as visualization focused as compared to some other tools, it is just as powerful under the hood.

Other open source tools like python are good for programming but when it comes to data analysis they can be a little bit cumbersome. For example, python is quite object oriented and for straightforward purposes with low reusability the amount of code needed can be large.

There are other tools like Matlab, Mathematica, SPSS... Matlab is good at visualization and Mathematica has really nice features aimed to improve understanding. However these are closed source and cost a lot of money to you or the university.

javitury··on Maths in a Twist [pdf]
You are right. In the last step, the top arrow has to be bent outwards and then joined against the bottom arrow, instead of overlapping like I previously did/imagined. The result is a figure with one surface and one edge, like the one NateyJay points out: its a mobius strip.
javitury··on Maths in a Twist [pdf]
MAYBE SPOILER

For the last problem you can bend the sheet such as the two arrows point in to the same direction(up) and are in the same side, that is a rectangle. On the side of the arrows(left of the rectangle), the bottom half is an arrow pointing up and the upper half is an arrow also pointing up.

Then you bend the paper such that the lower side meets the center and the wrap around the upper side around the previous bend. I got a cilinder

javitury··on Transmission BitTorrent Client OSX/Keydnap Malware Incident Q+A
I thought it was a dejavu for a moment
javitury··on NSA's Puzzle Periodical
Take a look at: https://gist.github.com/javiertury/bf71d37ff26643eca939c6642...

I've tried my best to illustrate why this is the correct solution in the url above.

Long story short:

Call S to the sum of all the numbers on the hats of every player. The sum of all the numbers a player can see will be less than S but the difference with S will be less than "n - 1". Also the difference between the largest guess(for the sum of all the hats) and S won't be larger than "n - 1".

There is now a problem, we want a set of guesses with a size no larger than "n" but in reality it can be as large as size "2(n - 1) + 1 = 2n - 1". Taking the set of possible rational guesses modulo "n" creates a collision, now some guesses will share the same remainder modulo n. However because no guess can be farther than "n - 1" with respect to S, the set of guesses modulo "n" won't create that collision for "S mod n". Any player that was told to make the remainder of the total sum mod n equal to "S mod n" will always have the correct answer.

If you want to think visually imagine the modular clock for "n" which has "S mod n" as the reference point. Because no other point can't be farther apart than "n - 1" distance from S, only S can give the remainder "S mod n". If there are "n" players and we assign each one a different remainder "mod n", one of them will have the correct answer for sure.

javitury··on Ask HN: How have you achieved financial independence?
> Spending 3k€ per month for the next 30 years would be about 1M€

That is only withdrawing the principal without taking into account the real interest/yield rate you can make off the investment. That money would probably last longer or yield more for the same time period.

In fact, as you point out it can last indefinitely with an after inflation and tax ROI(real yield) of 4% which converts to ~3k/mo. You would have to plowback excess returns on good years and withdraw part of the principal on bad years. Plus readjusting your expectations from time to time.

One of the best investments you can make is to get a financial education. You don't need to get a pedigree to show on your job interview, you should go only after the knowledge which will be cheaper.

And lastly a diversified mix of stocks, long term bonds and short term notes will earn you that passive income. Now that you are young take a little more risk and shift your allocation gradually towards short term debt as you age.

javitury··on DDoSCoin: Cryptocurrency with malicious proof of work
You are forgetting about an important bit: it isn't an isolated system.

The reasoning you have used could be applied to bitcoins, after all it has no sense it is just people sending bits to each other and wasting computational resources.

Instead look at it this way. There is some people in the economy which want to pay for some services(DDOS) with currency, $. It just happens that those activities are illegal which the new crypto-currency helps to conceal(with respect to those who will punish you) and verify(regarding the contract parties), which is also important because the government won't enforce the contract if you are scammed. Or it brings some value added in other ways such as enhanced privacy, easier transactions... Even if the marginal improvement over existing options is small it serves as a way to bootstrap the value of the new currency.

After a value is reached the market will exchange $ for the new currency until it reaches a settlement price.

You focus was on the supply side, thinking that people won't perform DDOS for some bits in exchange. But there will be a market in which the people on the demand side will be willing to buy those bits which at the same time will give DDOSers a way to convert bits to $. After all nobody would hoard those bits and take them to the grave.

And I know that I still haven't explained how that value can be bootstraped. I will propose you a theory about the bootstrap value. For the first transaction I only need to assume that people are heterogeneous regarding risk aversion and that people can act according to expectations. The person that initially holds those tokens isn't necessarily the person that will use them first in exchange for a DDOS, those tokens can be sold.

A risk-taker client could, based on the total number of tokens and the aggregated value added of the currency(maybe only partially) over the rest of previous currencies, calculate a ratio of tokens to $ as an expectation of its future exchange rate. The estimation of the current value for the current exchange rate would take other factors into account such as liquidity, risk... that will tend to undervalue the new currency until there is more liquidity, certainty... The degree of undervaluation will be equivalent to a discount rate of other assets of similar risk and liquidity. This client would be willing to pay the amount of dollars equivalent to the value a standard service(SER) at the current exchange rate.

Then a risk-taker DDOSer estimating a similar current eschange rate will ask for for the amounts of tokens convertible to the amounts of dollars of a standard service(SER). In order to match those buyers and sellers it isn't necessary to have an exact price. The length bargaining range would be composed by the sum of the value added to the buyer(VA_b) and the value added to the seller(VA_s), and any price on that range will reach settlement.

This creates an interval of settlement prices [SER - VA_s, SER + VA_d] for which the transaction is profitable to both parties. This happens as long as the new currency helps to create value for these parties "VA_d + VA_s > 0"

The only remaining attack is arbitrage. What prevents anyone from forking the currency and creating/attributing bits for/to himself? Once anyone betrays the consensus ledger, the rest of the players will only accept the change and assume the new risk if the reward is greater than the current value of their share in the old branch plus some amount to compensate for the risk. This is clearly unprofitable for the usurper. And if he could make any profit, deceive some them or steal from a minority, what prevents a second round of usurpers from seizing again some value? This could be played to infinity, then the uncertainty would bring down the value of the currency until it crashes to 0.

With respect to other currencies like bitcoin this arbitrage argument could be solved if the new currency creates enough value to offset the risk and costs of switching.

javitury··on Spanish authorities raid Google offices over tax
> Google does not make very much purchases in EU, so there is not so much VAT to deduct

I was arguing about the scheme that AnthonyMouse discussed. Also they can't recover all the other taxes "owed" to Spain by means of VAT.

AnthonyMouse > So now there is an independent contractor in Spain that pays Google Ireland for ad space and resells it for just enough money to pay its own bills and makes no profits.

If the VAT rate in Spain were higher than in Ireland the difference would stay in Spain. In that case marginal increse in the VAT rate would increase tax revenues, whereas and increase in income tax would not.

But right now VAT is higher in Ireland(23%) than in Spain(21%) and increasing the VAT rate can have sideffects on the economy as a whole.

javitury··on Spanish authorities raid Google offices over tax
You forget that european VAT is cancelled with businesses upstream, that is, you can deduct the VAT charged to consumers with the VAT of your purchases so you only owe the net amount. Also there is no unified european tax rate, there are some tax havens inside the EU.
javitury··on Making algorithms lock-free with Read-Copy Update (RCU)
This ugly son of a b____ is optimizing super hot algorithms and you are f______ stupid. How?... Just read this free paper >>>

I wonder how long it will take until academical papers are published with clickbait titles.

← PreviousPage 5 of 5