HNHacker News
TopNewBestAskShowJobs

jpfr

1,707 karma · joined March 5, 2014

submissionscomments
jpfr··on TTIP “dirty deal” falls apart as EU debate and vote cancelled
That's a good question. Why should a state open the possibility for private companies from another part of the world to sue him? What is the potential upside of that?

If it's just for free trade, we already have the WTO.

I think most European citizens associate TTIP with Monsanto lawyers in the backroom, sharpening their knives.

jpfr··on Meet Improbable, the Startup Building the World's Most Powerful Simulations
Maybe that's why they showed a flying pirate scenario.

Imagine every object sitting on the same planet (object). Suddenly, everything interacts with everything. You can't know if the object is a bee gently landing on a flower, or a 20 mile radius asteroid crashing into earth. The effect of the latter would be felt everywhere.

So, if every object was sitting on the same planet (object), even their system would probably crash and burn with n objects passing n^2 messages all the time.

The kd-tree idea sounds neat. They would need to adapt it however, to allow objects to move (to pass in and out of other objects' interaction radii).

jpfr··on McKinsey on Internet of Things for Semiconductor Companies [pdf]
It shows that McK isn't very experienced in software. IoT is mainly an integration challenge. Getting the data in and out is not the point.

Having vendor inter-operability and standards for device classes, interfaces, and information models is the big problem. Otherwise, we will have lots of disparate application silos the require manual integration _all the time_.

jpfr··on Paul Krugman: The austerity delusion
What about Japan? They tried to buy economic growth (dubbed Abenomics) and failed horribly. The economy is worse and government debt is higher than ever.

Models that can't explain some weird edge cases are ok. But what happened in Japan is the exact opposite of what Mr. Krugman tries to convince people.

jpfr··on Black box optimization competition
You are fighting a mathematically pure interpretation of black boxes that are making no assumptions at all. Your observations are correct. But nobody actually interprets the term "black box" the way you deem wrong.

Taken from here [1]:

White-box models: This is the case when a model is perfectly known; it has been possible to construct it entirely from prior knowledge and physical insight.

Grey-box models: This is the case when some physical insight is available, but several parameters remain to be determined from observed data. It is useful to consider two subcases.

1. Physical modeling: A model structure can be built on physical grounds, which has a certain number of parameters to be estimated from data. This could, for example, be a state-space model of given order and structure.

2. Semiphysical modeling. Physical insight is used to suggest certain nonlinear combinations of measured data signal. These new signals are then subjected to model structures of black-box character.

Black-box models: No physical insight is available or used, but the chosen model structure belongs to families that are known to have good flexibility and have been 'successful in the past'.

[1] http://www.sciencedirect.com/science/article/pii/00051098950...

jpfr··on Audi just created diesel fuel from air and water
Energy from renewals is cheap and plenty. Generation is not the problem. Storage is.

In Germany, there is excess energy in the system when the sun is shining/wind blowing, even with many conventional plants shut off. It goes to the point, where negative energy prices are traded on the exchange markets.

But with renewals, you can't guarantee or augment the capacity you have at a certain time.

With the artifical fuels, we can store practically unlimited amounts of energy when it is available. The efficiency loss is a drawback. But it really doesn't matter much.

jpfr··on Black box optimization competition
Yes, there is such a thing.

There exist many more techniques than trivially assuming some "template" function and fitting the function parameters against the data.

Have a look at nonparametric modelling techniques. For example kernel regression or gaussian processes. You either don't make any assumptions, or you take an uninformative prior that distributes over all possible results.

This competition evokes modelling, optimisation and the exploration/exploitation tradeoff. I'm sure there will be very interesting theory behind the winning entries...

jpfr··on Prime Minister of Singapore Coded Sudoku Solver in C++
Merkel wrote Fortran code for her PhD thesis. [1]

Afaik she approximated the Schrödinger equation to compute the rate of decay of molecules with up to 6 atoms.

This [2] is the last physics paper of her (from 1990). After the wall fell, her interests changed quite a bit... Only political papers from then on.

[1] http://www.file-upload.net/download-9106454/AM-Diss.pdf.html

[2] http://dx.doi.org/10.1002%2Fqua.560380214

jpfr··on Russian way with the mathematical travelling salesman (1979)
It took them some time to notice. But his results are actually very well-known today.

Here's a more thorough account of the story.

http://onlinelibrary.wiley.com/doi/10.1002/j.2326-1951.1980....

Also. They guy invented an algorithm for linear programming. That is _not_ the travelling salesman problem. For that, solutions need to be integer.

jpfr··on Germany's trade surplus is a problem
How does the twin deficits hypothesis fit into your world view? [1]

Capital inflow is due to a trade deficit, that is to a large part financed by government debt (taking in money from abroad).

[1] http://en.wikipedia.org/wiki/Twin_deficits_hypothesis

jpfr··on Germany's trade surplus is a problem
Since the introduction of the Euro, many EU states got money a lot cheaper than they should have, due to their association to the stronger neighbouring economies. That started a completely irresponsible spending frenzy that was well-received by the voting public.

Germany is trying to save the Euro zone, not tank it. The US-based economists claim that it is possible to spend money (take on debt) to kick-start an economy and then recoup that money by increased tax earnings. It turns out that doesn't work any longer. Plus, many contries worldwide are already paying interest on their debt with new debt. And they have zero margin to increase taxes.

Some countries (including Germany, but not including the US) can still make it out of that downwards spiral. The question is no longer, whether the EU will tank. The question is which of the EU, the US or China will default first on their debt. The results will be devastating and capital will flee to the non-defaulted economic blocks.

This is a big political game played over decades. And media-based support of one or the other school of economics is part of it.

jpfr··on Forecasting Bike Sharing Demand
My modest contribution to the discussion:

http://arxiv.org/abs/1304.3949

The paywalled (published) version is here: http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=675419...

jpfr··on Germany Moves Away from U.S.-Dominated IoT Standards Groups
> For machines to communicate over the web–essentially sending data from sensors back and forth from cloud-based servers—there needs to be a standard software protocol.

For IoT in general, there will be very fragmented protocols.

For _industrial_ use cases, the clear winner is IEC62541, aka OPC Unified Automation [1]. There is no real alternative, so that issue is basically already settled. And from a technical point of view, its actually quite good.

[1] https://opcfoundation.org/about/opc-technologies/opc-ua/

jpfr··on Adventures in message queues
Some big project are currently making the switch to DDS-based pub/sub. [1,2]

Now that everybody is making QoS guarantees in pub/sub and message queues, is there a real difference to the 10 year old tech deployed in boats, trains and tanks?

[1] http://www.omg.org/spec/DDS/1.2/

[2] http://design.ros2.org/articles/ros_on_dds.html

jpfr··on The web of names, hashes and UUIDs
In what way is IPFS different from urbit? Besides not being crazy.
jpfr··on GITenberg status report
Taking asciidoc as the master format is already far ahead of the Project Gutenberg approach of not having a master format at all!

Now, in order to attract manpower, GITenberg needs to empower users who want to make their favorite book "nice".

A proper table of content, footnotes, images, formatting of tables, quotations, prose, etc. There is so much that can be done in addition to the current (often times pityful) state of the books. Imagine. With the master format, this is the last time anyone needs to do this kind of work. And anybody can read your favorite book for free. Nicely formatted and on any device.

jpfr··on The Soviet Science System

    But if you teach a whole nation a powerful philosophy of science, some of them
    might find it useful. Vladimir A. Fock (1898-1974) reported that his engagement
    with the ideology enabled him to devise a new set of harmonic coordinates for
    general relativity. Yakov I. Frenkel (1894-1952) developed his notion of “holes”
    and “collective excitations” in condensed-matter physics through extensive
    reflection on contemporary Soviet political thought.
Yeah. Right. You ever wondered why people suddenly agree with the political system they live in, when otherwise said system would send them on extra holidays in a Gulag for comitting thought-crimes?
jpfr··on What Books Could Be Used to Rebuild Civilization?
In Germany, there is an engineering bible that contains /everything/ on over 1500 pages and is regularly updated since 150 years.

That book alone would give any civilization a running start into the 21st century.

Here's the table of contents: http://www.springer.com/cda/content/document/cda_downloaddoc...

- Advanced Mathematics and Statistics

- Physics

- Chemistry

- Materials and Materials Processing

- Mechanics

- Thermodynamics

- Electronics

- Measurement Theory

- Control Theory

- Informatics

- Design and Development in Engineering

- Manufacturing

- Management

- Standardisation

- Law

- Patents

jpfr··on An alloy of iron and aluminium is as good as titanium, at a tenth of the cost
Did the front fall off?

https://www.youtube.com/watch?v=GgrX7uOZqHI

jpfr··on Applying Eigenvalues to the Fibonacci Problem
> While this isn’t recursive, there’s still an n−1 unnecessary matrix multiplications. These are expensive time-wise and it seems like there should be a simple formula involving n.

Computing the nth power of the matrix takes only log n iterations [1]. So the overhead will be much less than n-1.

[1] http://en.wikipedia.org/wiki/Exponentiation_by_squaring

jpfr··on LibreOffice 4.4, the Most Beautiful LibreOffice Ever
LibreOffice has all the momentum, all the brain share and all the innovations. They made massive changes and miraculously brought a crufty code base full of technological debt back to life.

Now they started to care about aestethics. And suddenly people notice. :-)

jpfr··on [FR] Je n'ai rien à cacher (I've got nothing to hide)
Hell did not break loose in France after Charlie Hebdo. They had huge rallies in support of freedom of speech. And they were joined by all religions and political factions. All in all, democracy and societal harmony prevailed.

By the way, you are German and think the older generation has no problem with surveillance? What about the experiences made in Eastern Germany? 1989 is not far into the past, you know.

jpfr··on [dead]
Oh putain.

The Charlie Hebdo magazine had a recurring joke where they printed a Mohammed caricature on the front page as a reaction to being criticized for printing a Mohammed caricature. Actually they were making fun of everyone. But some took it less well than others.

If the French government isn't incredibly sensible in dealing with this issue, this will boost extremist groups on all sides even more.

jpfr··on Teaching Deep Convolutional Neural Networks to Play Go
Integration in MCTS should be straightforward. And I would be surprised if the author's hadn't done it already. Normally, no actions are pruned away per-se. Instead, the available actions are initialised with a utility value [1] from an external oracle, i.e. the neural net. From then on, the normal MCTS procedure continues until the time or memory runs out.

[1] ..and a faked visit-count. So the algorithm beliefs that the action was already evaluated n times, which resulted in the given mean utility.

jpfr··on Ask HN: How or where to begin learning mathematics from first principles?
As a mathematics textbook it of course provides rigorous proofs. But it doesn't neglect to develop intuitive insight (that can be less rigorous yet still very effective).

Here's a quote given in chapter two. That's some motivation to develop more mathematical maturity as an engineer!

  In 1985, John Hubbard was asked to testify before the
  Committee on Science and Technology of the U.S. House of
  Representatives. He was preceded by a chemist from DuPont,
  who spoke of modeling molecules, and by an official from the
  geophysics institute of California, who spoke of exploring
  for oil and attempting to predict tsunamis. When it was his
  turn, he explained that when chemists model molecules, they
  are solving Schrödinger’s equation, that exploring for oil
  requires solving the Gelfand-Levitan equation, and that
  predicting tsunamis means solving the Navier-Stokes equation.
  Astounded, the chairman of the committee interrupted him and
  turned to the previous speakers. “Is that true, what
  Professor Hubbard says?” he demanded. “Is it true that what
  you do is _solve equations_?”
jpfr··on Ask HN: How or where to begin learning mathematics from first principles?
Wanting to learn mathematics from "first principles" brought a lot of comments from graduate-level mathematicians. While their advice applies very much for mathematics students, I can't recommend going down that road for engineering types.

In mathematics, everything is connected. One can build up a specific topic from first principles only. But with a too narrow focus one looses these lovely connections between different fields that allow to change the perspective on how we think about problems.

I was in a similar situation some 2 years ago. Try "Vector Calculus, Linear Algebra, and Differential Forms" by Hubbard and Hubbard. You will not be disappointed. Yes, you get (enough) rigor and a lot of first principles mathematics. Nonetheless, the authors have found a lovely way to integrate a wealth of important results from many fields into a coherent text that has one goals: letting you understand the connections and letting you solve the problems.

jpfr··on The story of comint mode
This is the most important and most difficult work in engineering and science. Building common abstractions (APIs, theories, mathematical frameworks, programming languages, modelling tools, ...) that _work_ good enough

- for people not to reinvent the wheel to reach their goals

- for people to relate their work that is based on the same abstraction

- so problems don't need to be solved individually, but to solve _all_ problems of a certain class at once

It is often said that we are standing on the shoulder of giants. For me that is synonymous to standing on the common abstractions of our predecessors.

jpfr··on Molten Aluminum Lakes Offer Power Storage for German Wind Farms
Some years ago Germany "deregulated" its energy sector. The energy providers are buying and selling electricity on exchange markets where prices change with supply and demand.

Today, industrial clients are changing to dynamic pricing schemes instead of fixed price-per-kWh contracts with a supplier. That means they also schedule their consumption to profit from low prices when supply is high and demand low.

In the future, big industrial clients could take an even more active role on the energy markets and directly trade capacity without an energy supplier as intermediary. Germany invests a lot in the grid infrastructure to enable more flexibility and decentralized energy sources without risking black outs. They have to do so, as it was politically decided to phase out all nuclear power plants after Fukushima happened. But it's not easy since nuclear plants provide a very stable "supply base" whereas the rising renewables are more volatile.

jpfr··on OpenBSD kernel source file style guide
Yes! That's a really good implementations of linked lists using only preprocessor macros.

sys/queue.h is also provided in all Linux systems.

Easy to use, type-checked by the compiler and a lot faster than a "generic" linked list with pointers to the data. Here, the next/previous pointers get embedded in the payload struct itself.

jpfr··on You only get 1,000 lines of code a week
It's easy to change/add 1000 lines in a week.

However, most code is rewritten/refactored many times. So only little of what you write in any week will be the _final code_.

← PreviousPage 10 of 11Next →