HNHacker News
TopNewBestAskShowJobs

donquichotte

2,775 karma · joined July 31, 2013

submissionscomments
donquichotte··on Say Yes to Markdown, No to MS Word
This approach is what I have sometimes been using. It works OK and I can style my documents with CSS. But there are little things that bug me, like headlines on the last line of page N and the paragraph starting on page N+1 and header/footer lines generated by the browser.
donquichotte··on Say Yes to Markdown, No to MS Word
Ooooh man, I would love to do that. I enjoy writing markdown, and I enjoy using pandoc.

However, whenever I have to print something, there is pretty much just one possibility in Markdown: export as pdf. And export as pdf uses Latex. Latex is cool. But if you want to customize your document, you will sooner or later need to include latex headers into the "build" process of your file, and soon you have a clusterfuck of tooling and a make file for a document that was supposed to be a simple report. And then I'd rather write it in Latex.

Does anybody have a solution for this? Some kind of print-friendly Markdown-to-PDF workflow? All the non-Latex alternatives looked horrible. In fact, I sometimes export markdown documents to Word just to print them.

donquichotte··on Navy Medics Get Prepared for Combat with Tour of Duty in Chicago
I think its because there's a 100% chance of having the lower 50% of the body paralyzed [1].

[1] https://www.irishtimes.com/news/killing-may-end-the-blind-ey...

donquichotte··on Norwegian Shipbuilders Turning to Battery Power
Missing from the article:

- Battery capacity: 1MWh [1]

- Charging power: 6MW (assuming they charge the full battery in the 10 minutes mentioned in the article)

Unfortunately, I cannot find the article, but I believe I once read that charging the batteries that quickly caused problems with power grid stability, so they had "auxiliary batteries" at the ports that they charged with lower power, and then transferred the energy from those batteries to the ship batteries with high power, which effectively tripled the battery cost. [EDIT: the issue is actually mentioned in article [1], where they have two 410kWh shore charging stations]

[1] http://corvusenergy.com/marine-project/mf-ampere-ferry/

donquichotte··on Britain expels Russian diplomats over poisoning of ex-spy
[EDIT: changed my mind about posting this, sorry]
donquichotte··on Life as a Nonviolent Psychopath (2014)
I am not sure this can be considered nonviolent.

On Mozilla, I recommend to use Reader Mode.

donquichotte··on Cheap 3D-printed home is a start for the 1B who lack shelter
> Using the Vulcan printer, ICON can print an entire home for $10,000 and plans to bring costs down to $4,000 per house.

OK, according to the "global wealth pyramid" [1], a graphical representation of global wealth distribution, the bottom 3 billion own less than 10'000$. I'm not saying that being poor is equal to lacking shelter, but there is probably a correlation there.

3d printing homes is cool and might have potential, but it won't help a poor farmer in rural Azerbaijan get shelter. It would be great if the media could stop presenting this as a panacea to homelessness.

[1] https://www.credit-suisse.com/corporate/en/articles/news-and...

donquichotte··on Compressing and enhancing hand-written notes (2016)
Really? Do you care to explain? What is the dividend and what is the divisor? Why can dividing a image by its low pass filtered version (or vice versa) be used to "clean up" the image, i.e. subtract the background, find main colors and cluster similar colors with k-means? What if the divisor has pixels near zero?
donquichotte··on Coronary heart disease is a chronic inflammatory condition
> Nutrition is pretty terrible. It seems to me that laymen have zero chance of getting useful advice out of the research, other than "Eat a varied diet, move regularly".

I completely agree, and it also appears to change every other decade.

Suddenly, drinking coffee became healthy, eggs stopped being unhealthy and drinking a glass of wine a day became a major risk for CVD.

Engineers are spoiled when it comes disentangeling relationships between causes and effects because our systems are relatively simple compared to the huge and complicated mess that is human (or, indeed, any) biology.

donquichotte··on Keybase is now supported by the Stellar Development Foundation
Read the announcement of the Stellar Foundation [1] for more detail. TLDR:

"We see a future where, say, I can send my friend 100XLM, and, via Keybase, I can send it to her by knowing only her Twitter or Reddit handle."

[1] https://www.stellar.org/blog/keybase-and-stellar-partnership...

donquichotte··on Research suggests some potential benefits to being a loner
For the past 2k to 4k years maybe. Before, it was very easy to spend time alone. Walk 10 minutes away from your tribe and bam - you're all alone.
donquichotte··on Sin and Cos: The Programmer's Pals
Ah, the race-car example is bringing back memories!

In the early days of Macromedia Flash, I wanted to build a GTA I clone. I didn't know about trigonometric functions yet, so I had a line of height 1, width 0 that I rotated around one of its ends at a fixed angular velocity while the user pressed the left and right arrow keys.

Then I read the height and width of the rotated object and added it to the x and y coordinates of the car, respectively.

For some reason, trigonometry is treated pretty late in Swiss schools (often only during the Matura, where students are 16-20y/o). I never understood this, since understanding trig can be really useful in a lot of everyday situations.

donquichotte··on Placing My Camera Lens 300 Feet from a Rocket Launch
Wow, those images are gorgeous.

"We were warned by our NASA escort to not touch our faces after handling equipment coated in the solid rocket exhaust and to wash our hands ASAP after arriving back at the KSC Press Site."

Next picture: touches exhaust residue with bare hands. Please, use gloves!

"Using a glass filter triples the area that dew can form prior to liftoff."

A-ha, it is time to start building heated glass filters for rocket photography enthusiasts!

donquichotte··on China banned letter N from internet after people used it to attack Xi Jinping
It is funny, just yesterday I read Victor Mair's reasoning why "n" might have been banned [1]:

"This is probably out of fear on the part of the government that "N" = "n terms in office", where possibly n > 2; as in "liánrèn n jiè 连任n届" ("n successive terms in office"), which would be forbidden anyway because of the liánrèn 连任 ("continue in office") part."

I don't know any Mandarin or Cantonese, but this seems like a very strange explanation to me. Are there any native speakers with more insight on this?

[1] http://languagelog.ldc.upenn.edu/nll/?p=36939

donquichotte··on Ask HN: I'm writing a book about white-collar drug use, including tech sector
I feel completely the same! I have been working in electrical engineering in Zurich, and I've never seen or heard anyone use anything other than caffeine during and alcohol after work. Now I wonder whether I'm just naive or there is a massive cultural divide between Silicon Valley and Central Europe w.r.t. stimulants.
donquichotte··on Inside the OED: can the world’s biggest dictionary survive the internet?
So it's from 1888? I'm anispeptic, phrasmotic, and even compunctuous to see if "contrafibularities" is already in there.
donquichotte··on Why I Collapsed on the Job
TLDR: It's an anectode of "an associate professor of education-policy studies" at Penn State who suffered from burn-out.

I have no idea what we are supposed to take away from her story. Don't work too hard and learn to say no, I guess. There is no clear narrative and the article reeks of self pity (she does not get tired of mentioning that she's a "twice an immigrant" and a woman).

EDIT: what bothers me about the article is that there is no root cause analysis and no solution is offered.

Also, I am unsure the n-th order immigrant argument is valid. The very concept of a second order immigrant seems bizarre to me. And if they exist, it remains to be proven that k-th order immigrants have it strictly more difficult than l-th order immigrants for all k>l.

donquichotte··on Billy Graham, charismatic evangelist with worldwide following, dies at 99
Interesting! It would appear that religiousness and impirialistic warmongering make a splendid match. Of course, we must not forget that that was the time when a completely insane Nixon proposed nuking North Vietnam.
donquichotte··on Toyota develops first neodymium-reduced, heat-resistant magnet for motors
How is this special?

I used to work at a company that makes pumps with magnetic bearings. To pump hot liquids, we needed special magnets with higher Curie temperatures than traditional Neodymium magnets. Our high-temperature products had Samarium-Cobalt magnets and ran, if memory serves, up to almost 200°C.

donquichotte··on Ask HN: What has HN given you?
Hah, just yesterday I have browsed your github again. It's my go-to resource for clear and beautiful C, Python and go code. And Craft is awesome!
donquichotte··on Elevated Use of Absolutist Words Is a Marker of Anxiety, Depression [pdf]
Haha, the same phrase came to my mind when I read the title. I love that the phrase itself is also an absolute.
donquichotte··on Show HN: Tet – A todo app that deletes your tasks at the end of the day
That was the first thing that came to my mind, too.

It might well be - the Vietnamese like to clean their house before Tết to start fresh into the new year.

donquichotte··on Bitcoin Miners Fried in Game of Chicken
I just cannot trust bloomberg on cryptocurrency reporting. They conveniently cut off the price graph (just below "The Big Dip") in Nov 28. Why? Because at the beginning of October 9 2017, the price would have been at 4500$ - then an all-time high, and yet below the current price! It would have destroyed their narrative.
donquichotte··on The White Darkness: A Journey Across Antarctica
Ooooh man, I'm getting chills just reading the intro. Last week, I finished Reinhold Messner's book "Wild" which is an excellent narration of Shakleton's (and Frank Wild's) adventures in the Antarctica.

This sparked my interest in pole expeditions, and I was surprised to learn that:

1) Amundsen was not only the first person to reach the geographic south pole, but also most likely the first to reach the geographic north pole. Today, the two expeditions that claimed to have reached the north pole prior to him are both thought to have missed the pole by several hundred kilometers.

2) He reached the north pole in a rigid air ship with Umberto Nobile, my new explorer hero, who later rescued his Jewish girlfriend in fascist Italy and went on to build air ships for the Soviet Union and later teach aerodynamics in the United States.

EDIT: And I'm getting more chills just thinking about Sjaak Lucasson's planned north pole expedition with a modified Yamaha R1 motorcycle pulling a huge sled full of fuel [1]

EDIT 2: Funnily enough, the navigator on Shackleton's boat sailing to the attempted pole traversal was also called Worsley.

[1] http://www.sjaaklucassen.nl/en/noordpool-2017-intro/

donquichotte··on 3D Color Print
My thoughts exactly. And since it's for corporations, it will also feature a display and have a really slow and buggy Java UI. It will randomly crash and have badly translated error messages for a premium price of 130'000 USD.

And of course, you will only be able to use HP filaments!

donquichotte··on PID Without a PhD (2016) [pdf]
Agreed. Many state of the art control strategies nowadays are based on optimization techniques (e.g. Model Predictive Control, MPC, optimizes a convex cost function of the state, setpoint and input to your system over a certain time horizon). This has become a viable control strategy for fast (>1kHz) processes only in the past 15 years, since the optimization can be computationally intensive.
donquichotte··on PID Without a PhD (2016) [pdf]
What you are describing is called "system identification". If you have a simple mathematical model, it is possible (and in the case of your fermentation chamber, it should be) to measure a couple of step responses and estimate the parameters to design a control system.

Finding good Kp, Ki, Kd gains by just sampling the [Kp, Ki, Kd]- space at random and trying it out on the real system is often not recommended. Firstly, because the state space is relatively large. Secondly, many systems can fail catastrophically if they become unstable, causing potential harm to man and machine. The second objection does not apply to a wine fermentation chamber, as far as I can see.

donquichotte··on Vulnerable industrial controls directly connected to Internet
PLC manufacturers and the controls community in general is lagging behind technologically by twenty years. It is very frustrating for a security-minded, computer-literate controls engineer to work with decade old hardware and software.

In a company I worked at, there were PLCs controlling sensitive processes, including heaters for welding plastic, connected to the company network via Modbus-over-TCP. A visitor with a guest access, nmap and pymodbus could read AND SET temperatures of any of the devices. A black hat could easily have started fires or leaked acid in our production floor.

donquichotte··on 2018 Stellar roadmap
I agree that this is problematic, but aren't companies valued the same way? I.e. num_shares x share_price? Similar issues apply there.
donquichotte··on Curry spice turmeric boosts memory by nearly 30%, eases depression, study finds
Money.
← PreviousPage 9 of 18Next →