HNHacker News
TopNewBestAskShowJobs

froh42

565 karma · joined November 27, 2012

submissionscomments
froh42··on Why would you learn C++ in 2016?
The target audience for the code I write is not the compiler but my coworkers and the gals and guys who will maintain the stuff after I leave a project.

So I prefer to choose a language where I can nicely express the intent of what I code. Java is a good compromise, because it's easy to follow (even if it's quite verbose and mainly stuck in the world of nouns).

C++ is hard for that. It's an extremely complex language that got extended over the years and it takes a quite long time to master, for example compared to Java.

Yes I know, C++ is more "capable" than Java but it's not efficient in the hours-spend-per-solved-problem way of things.

Yes I know, there are you C++ whiz kids out there who are insanely fast using the language. But I experienced teams using it, and in a team C++ does not scale well. Adding more and more features to it makes it a cool language, but not one which I like to use in my day job.

And I'm not sure what I'd use it for. I use Java for the day-to-day boring "enterprise" world, twiddle around with dynamic languages for the hobby (yay to the recurrence of lisp!) and for close to the hardware stuff I'd use plain C - which is a not so bad language at all. And it's hard to beat speed-wise, writing C++ that keeps up with C is possible but not trivial.

And if I'd have to look forward I'd check out rust or go or even look at some really mindbending stuff like erlang. Parallelism can't be evaded in the modern world and using a language tailored to that is a great thing. (Yea, I'm sure there also is a C++ library implementing the actor model).

froh42··on Erdogan’s Attempt to Suppress German Satire Has the Opposite Effect
The satire show is reacting with more satire. Extra 3 made Mr. Erdogan employee of the month.

http://www.ndr.de/fernsehen/sendungen/extra_3/extra-3-Der-Ir...

Oh and the song with english subtitles: https://www.youtube.com/watch?v=R2e2yHjc_mc

froh42··on A Neural Network in 11 Lines of Python
Cool article, absolutely annoying CSS theme - as I tend to scroll back a little the title bar is jiggling in and out all the time. A number of sites uses this and this is SOOO distracting.
froh42··on I got a new Samsung TV (Tizen), do you think I can write an app for it? Hell no!
Thanks for the warning, I'm not going to purchase a Samsung (will upgrade TV in 2016).
froh42··on Flaws in Wireless Mice and Keyboards Let Hackers Type on Your PC
Thanks wired! Your anti-adblock mechanism is my personal best friend as a anti-procrastrination mechanism. Stop browsing around, back to work.
froh42··on The Huge, Bee-Decapitating Hornet That Can’t Survive Group Hugs
Why would anbody pay $1/week for reading that article we were click-baited into?

By the way, what's the amount Wired would make on ads if I read that article? A few cents? That's probably what I'd pay given a good micropayment system for reading that single article. I'm not interested in a subscription (and even less in my personal data being in their database along with that subscription).

froh42··on Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads
Another microbenchmark flamebait on top of HN? Seriously?

Those things never describe real workloads - in such a view a Porsche is always better than a truck because it accelerates faster. Tough luck if the workload is shipping 20 tons of manure. Put that in your Porsche.

froh42··on AWS Java documentation is fucked
I'm a java developer. Why should I look at a eclipse project file? (Ok, as I'm using Idea - why look at an Idea project file?) Those are the internal storage systems of the IDE and I don't care what they use. And I won't go around patching the IDE's config files manually ever.
froh42··on Friction Between Programming Professionals and Beginners
With a stackoverflow-like system (rating, moderation, editing of questions by moderators, accepted answer) even such questions would be productive. Subjective ramblings would be voted away, answers showing advantages/disadvantages or similiarities between between frameworks would be rated up.

It's just stupid to reduce such a portal to only questions that can be answered by RTFM.

Questions that need discussion due to missing information should be voted away, I agree on that. But some allow subjective answers - and those are frequently those that require experience. (What's the best way to solve this-and-that? It depends, in situation a use solution A because, in situation b use solution B because, ...) Such questions typically are being closed by the moderators as well. And frequently the person who asks is not aware of all the factors influencing a solution, so there's a lot of useful information in such questions.

froh42··on A chrome extension that gets you hired
What would a chrome extension do differently than the existing job forums? Analyze my browsing behaviour? How does it work? Does it work in USA, only? Home page doesn't answer those questions.
froh42··on Friction Between Programming Professionals and Beginners
In fact, sometimes I do answer with lmgtfy.com. But in such an answer I always include a helpful answer. Why?

- Either they couldn't find it. Then my answer will help. - Or they were to stupid/lazy to search. Then they're not worthy of my ire.

froh42··on Friction Between Programming Professionals and Beginners
Yes, I turn to google as well. That's what over 30 years of development experience give you: You know how to use google to turn up the correct answers. And as I use Java for a living - there's a great decompiler in my IDE. Use the source, Luke.

By the way, showing a talented beginner where good documentation is - I think that's frequently the best way to help them along.

froh42··on Friction Between Programming Professionals and Beginners
I feel StackOverflow is a bad place even as a professional. I don't agree with 90% of "closing" of questions, frequently closing a question is the ultimate upvote. StackOverflow seems to prefer questions that can be answered by just copying the fine manual - and frowns on those that might involve discussion.

From time to time I still use it, but for me it has jumped the shark.

froh42··on Desktop Neo – rethinking the desktop interface for productivity
Hmm, isn't that "just" a tiling window manager at the bottom of a few other nice things?

https://en.wikipedia.org/wiki/Tiling_window_manager

While feeling the shortcomings of a window system, I never felt like I could productively work with a tiling manager, since I frequently overlap windows as a mechanism for easy access ... and there are lots of popup windows I don't want to cover the main application.

Oh yes, and I purposefully keep my Mac apps out of Full screen mode (and use a keyboard shortcut to maximize when needed, keeping out of full screen).

froh42··on CPU registers and OCaml
Use a better algorithm instead of worrying about processor registers.

And if you start considering the computer architecture think about caches, memory latency and bursting first. Use a cache-conscious data structure.

Optimizing at the register level is ridiculous, this is the least place where you get significant returns for the effort you spend.

Oh, and make it correct first, make it fast second. Use a profiler.

froh42··on Code Generation from the AST in Go
http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule

Writing code generators, inventing the wheel over and over again.

froh42··on Munich, Germany going back to Windows
That article is from Aug 2014 and it seemed to be kind of a red herring at the time.

However there are several factions (pro- and anti-Microsoft) at work and only time will tell what happens.

froh42··on Inconvenient Message Detection: A way to hide communication metadata
ObXKCD: http://xkcd.com/538/
froh42··on Show HN: Cloud-based Static Code Analysis for Java
What is the benefit of this over findbugs, checkstyle, pmd, etc?
froh42··on Auto-expiring TODO notes in Ruby
Don't do that.

Some years ago I had the same idea and realized something like that with the C-Preprocessor in a C++-Codebase.

When did my Todo's expire? AFTER testing, just before a new release. With my idea of exipiring Todos I created a major pain in the butt for the team.

It would be different if some other "sort of" alarm would be raised when TODOs proliferate, but a failure in the code is not a good solution. (i.e. hook a todo checker into your contious build system, let the nightly build raise hell when there are too many todos - but do not fail the production code.)

froh42··on US government status page
Thank god at least the SWSD is operational!
froh42··on Free HTML Starter Templates for Bootstrap
For those who want scrolling webpages these seem nice.

But it's scrolling web pages again, which seem to be all the hype in 2013 just as flash intros have been some years ago. Aren't there any nice templates NOT following current styles and offering structure for content?

I have to update the web page holding my CV as I have updated it in 2006 the last time. Woah, how dated would my page look in 2019 if I use a silding page now.

Oooh, and I just imagine hacker news as "2013-glitz" page. Bling, bling, look we can scroll stock photos from a cheapo stock photo site. One carousel per story, two HERO UNIT words of headline. This story would show some cool young guys at a mac, one pointing, HERO UNIT reads "Starter HTML."

Scroll down half a mile to see the next story.

BTW. any predictions what the post-flat-parallax-photo-sliding web trend will be?

Sorry to be a party pooper, but I saw one scrolling page to many and I'll rant about these from now on regularily. The last straw that happened to me (a Java developer) was http://spring.io/. It's so low on content that its information-vaccum might endanger the universe by sucking in all other data leaving all but a low radiation void.

froh42··on Secret Documents: NSA monitored 500 million connections in Germany
I am so pissed about this. Born in 1969 I've been growing up in a Germany where we viewed the U.S. of America as a friend. An example in freedom and democracy where we have had failings of our own.

Now it turns out our friend betrayed us. It views us as the enemy. Everything imagined as a paranoid bad joke is true.

But the worst of all: In the USA there is no outcry. The people don't even care about this. Thus: We are not seen as friends.

Greatly done, USA. From now on you are alone. Fuck yourself.

froh42··on Take a moment to reflect on how bad your code once was
When I read own code that is older than a month or so I'm annoyed because that code should have been a lot better from my current perspective.

If this feeling ever stops it means I've stopped learning and stopped personal progress. I'll stop coding that day.

Thankfully it didn't go away for the last 30 years I was programming, so it will probably stay with me a little longer.

← PreviousPage 4 of 4