HNHacker News
TopNewBestAskShowJobs

skriticos2

1,028 karma · joined October 28, 2012

submissionscomments
skriticos2··on The Island Where People Forget to Die
I think that's also on the list of requirements (for living to an old age). And peace of mind.
skriticos2··on Comparing Rust and C++
It's tricky and there is no one-language-to-rule-them-all because they have up- and downsides.

C++ has the advantage of an incredible amount of code written in over the years that mostly works. It also executes fast. It's also easy to find developers for it. With the new addons to the specification it's even possible to write readable code with it.. However, it has a stupidly long, verbose and feature creepy standard (well over 1000 pages), which results in no developer reading it. Because of it's design, compilation times tend to take long (as a ridiculous amount of headers are included even in the most simple applications).

Go is pretty much the opposite. It has a lean and readable spec (on purpose) and a fairly common canonical syntax without much discussion about it. Because it's relatively new, there is not much written in it however. It has some specific strengths, like a concurrency implementation that abstracts most of the process/thread/mutex stuff. With this, it does appeal to new projects that don't depend on libraries written in other languages. There is no point in porting multi-million SLOC applications to Go though, as that would be incredibly time-consuming. It has the potential to surpass C++ in a few decades though, as it operates in the same domain (systems programming).

Python is a versatile scripting language. It has nice syntax and is incredibly flexible at manipulating data. Add to it the well documented, feature-rich standard library. With it you can evaluate data with incredible flexibility and it has a fairly complete feature set for general programming tasks that span multiple OSs. The downside is that it's slow in execution and needs the interpreter along the scripts. Especially for smaller tasks and simple automation it is the first choice however because of it's small footprint in constraints (you can just edit and drop a scriptfile anywhere on a Linux system and it works).

Java.. I'm not entirely sure what Java does well. I hear praise for the JVM, but generally I get the impression that it is plagued by legal issues, alien looking GUI tools, more than verbose syntax and it also has a stupidly long specification (almost half of C++'s). Maybe someone can shed light on this one. Tools maybe?

skriticos2··on NASA: We're sending humans to Mars
Maybe a bit far fetched, but creating a colony on Mars would be the foundation of creating a new, highly advanced trading partner.

Colonists on Mars would have to deal with extreme environmental conditions and therefore be forced to invest the majority of resources in science and engineering instead of politics and entrenched systems.

Also, martians would be natural space travelers. Mars has a gravity that's less than half of Earth's, so they would get off that rock much easier and they would have a wealth of natural resources through asteroid mining that they could sell to earth together with advanced technology.

After a few centuries the martians would push the technological boundary far beyond what we have now and give Earth the motivation to follow suit to ensure sovereignty.

skriticos2··on NASA: We're sending humans to Mars
Sometime in the past fifty years NASA became paralyzed not by budget cuts, but by political in-fighting, fractured organizational structure and lots and lots of red tape. And then there is all that pork that goes around with the entrenched contractors. The tale of the last Mars program that NASA put together is a great example of this. They got handed a technically sound plan to get there in reasonable time with reasonable resources. Then every org-unit in NASA wanted to add their own part to stay relevant and it got so bloated both technically and financially that it had to be put to rest.

So unless they convince me that they managed to get their internal structural problems under control, I don't think they get anytime to Mars within this century. And certainly not before the private sector does.

http://en.wikipedia.org/wiki/Constellation_program

p.s.: There is a free movie on YouTube telling the tale: https://www.youtube.com/watch?v=tcTZvNLL0-w

skriticos2··on Why Docker and CoreOS’ split was predictable
I guess it's a question of what the company is selling. Google for example uses huge stacks of open source to run their business. And even though they are far from being pure open source, they do contribute back to the community in multiple ways, for example with contributions to the Linux kernel and open source projects like Chromium and Go. And then there are projects like Qt, that mix open source tools with enterprise support.

But I think that the field of IT is still extremely young and that in the future larger companies will discover that collaborating on open source platform and infrastructure projects will give them much better synergy effects and lower IT costs by removing the license cost and at the same time lowering the support cost. Compared to history, the 20-30 years that mainstream computing has is really just a spark and there is so much change coming that will be directed by market and competition.

skriticos2··on Firefox 34 Launches with Yahoo as Its Default Search Engine
You travel to a country on a different continent, buy a new tablet and do no modifications to it. Connect to a local Internet coffee-shop network and do a search. Then you repeat this process in a few other countries (preferably with different native languages) and then aggregate the search results into a common list?
skriticos2··on Firefox 34 Launches with Yahoo as Its Default Search Engine
How does that work anyway? Like this: [I search Yahoo] -> [Yahoo queries Bing] -> [Bing returns result] -> [Yahoo returns result]. If so, isn't that horrible for latency? These are two different companies with different data centers! I'm very used to the quasi instant results Google provides even before I completed typing, so I have no idea how the other side looks like. Anyone knows details?
skriticos2··on Apple’s dangerous game
It's clear by reading the article that this is a purely one-sided legal assessment of the issue.

Putting on Apples shoes I think this decision was more guided by financial, risk and PR motivations.

Apple is a mass technology company focused on synergies. Dealing with red tape and custom data decryption is definitely outside that area. It adds additional cost, not just for the work performed, but also organisational overhead (they probably have to hire people for this, open new organisational units or divert existing resources from more useful work). I'm sure that can't be simply expressed in numbers and much less covered by the government, even if they pay for the services.

There is the risk which has a technical nature: if a black hat / leak (e.g. disgruntled employee) / someone outside the organisation ever acquires the means to unlock costumer phones outside the confines of Apple, all hell would break loose. And while I'm sure they make proper precautions, not having to deal with this as a risk is likely more desirable.

The PR side is the most obvious one: there are lot's of people that are not comfortable that Apple can simply unlock their data and will buy something else just because they are not so forthcoming with the court warrants. More importantly, businesses will have a very hand time to justify the risk of information leakage because they use a product that has outside access vectors.

So this decision seems to make perfect sense to me from a business perspective: less cost + operational overhead, less risk of something going horribly wrong and better PR light. What's not to love about it?

Note: IANAL, I don't own any Apple devices and I'm not a U.S. citizen nor do I live in the U.S.

skriticos2··on Amazon releases new Kindle products
A regular Kindle (paper-white) lasts for about a month with regular usage (few hours a day). Even with critical battery charge you can skip a day or two until you get around to charge it. Once you get used to that behavior charge time of once a week becomes very annoying. Tablets/Phones and eBook readers are completely different device categories when it comes to battery life.
skriticos2··on C++14 lambda tutorial
Yes. C++ is in an active standard update process. Here is a short history of notable versions:

Year Version Year-Delta

1983; 1.0; 0

1989; 2.0; +6 years

1998; C++98; +9 years (first ISO standard)

2003; C++03; +5 years (minor update)

2011; C++11; +8 years (major update)

2014; C++14; +3 years (minor update)

The C++14 version was the first that arrived on schedule. The next major version is planned for 2017. The future looks quite promising for C++.

skriticos2··on Why Can't the United States Build a High-Speed Rail System?
I just checked, you can get a ticket from FRA to AMS and back for about 108 EUR (~ 150 USD) if you buy them a few days early and choose a favorable time-slot (full price, second class). I even did that trip some time in the last three years and the price is about right.

Train rides in western Europe are not that expensive and certainly not worth the hassle with airplanes over such short distances. Also, you can buy 25% and 50% discount cards for all tickets for a year for only a few EUR's. (25% for a year = 62 EUR, 50% for 515 EUR for inland travel in Germany).

skriticos2··on NASA presents evidence that microwave thrusters seem to work
NASA is running out of fuel (Plutonium) for RTG's and no new fuel is produced.

http://www.isciencetimes.com/articles/6087/20130919/nasa-plu...

skriticos2··on [dead]
Hm, only within the U.S. I'll be impressed when they roll this out globally.
skriticos2··on Which is better, Adblock or Adblock Plus?
There are the ads that feel totally out of place and are animated near the text that make it unreadable. I call these obtrusive. And then there are the ads that kind of fall into place on the website and while they attempt to get your attention, they don't cause epileptic spasms and mostly can be scrolled out. I tend to accept the later ones on sites I frequent often so that they get a revenue for their effort. The earlier type makes the sites totally useless, so I fail to see the point in them.
skriticos2··on Show HN: Markov chains explained visually
This totally reminds me of SpaceChem on higher levels (puzzle game for programmers).
skriticos2··on Burger King's CEO Is 33
McD and BK seem to be all over the place in Germany. I live in a small-ish city (~50k residents) and we have 2 McD and one BK here. BK has a location advantage though, as they are in the rail station / shopping mall complex (rail is an important mean of travel here). None of the establishments is ever empty, though McD is more frequently choke full.
skriticos2··on Mistakes You Should Never Make
From my experience, big enterprise product company representatives like to do this:

Question: Does your application has x, y and z feature and can be integrated in our process easily?

Answer: Sure, all there. Just have to tweak a few settings in the GUI.

Truth: We have a bare-bone product and a semi-documented API. Feel free to implement all the features you want and adapt it to your process. We can provide you professional services (for a price, of course).

skriticos2··on How recursion got into programming: a comedy of errors
Admittedly recursion is not done often, but in some cases it's very useful. For example, recently I created an application with a tree record structure where the user could delete a node and it needed to delete all sub-nodes. With recursion it's easy to tell: 'call yourself for all subnodes you have, then delete yourself'. This is something that's much more difficult to express with the usual for/while constructs.

Example: https://github.com/skriticos/tac_workflow/blob/9890e66d60851...

skriticos2··on I've never seen a language's style guide recommend avoiding comments before
I totally agree with this. I like to put a bigger comment block at the top of my source files explaining the overall concepts and data structures used and then put few actual comments in the code. Instead I think about my variables and function names and make them talk for them-self. Commenting each and every element of your code will just make people (possibly yourself) curse at you when debugging your code and realizing that the comment was rendered obsolete 15 iterations prior and the code does something entirely different.
skriticos2··on Amazon, a Friendly Giant as Long as It’s Fed
Hugh Howey is really one of my favorite Authors and I picked up all of his books on the Kindle. I probably wouldn't know him if he'd signed with brick-and-mortar stores for paper books, as I stopped buying those dust-magnets.
skriticos2··on U.S. Banks Curtail International Money Transfers
Lately the volatility is not that bad really. There are some price corrections upwards at times, but most people don't mind to be there. They are accompanied by downwards swings too, but it's not an orders of magnitude thing. In fact Bitcoin stayed in the $400-$700 price band since months moving quite slowly.
skriticos2··on How Does One Create A Gtk+ Application?
I really like the Qt syntax. It's well though out, readable, I can overlook it without years of study and it has a good documentation. I think it helps to not think about it as C++ at all, because it isn't really. It's a syntax subset of C++ with a few extensions and it's own standard library that happens to use a C++ compiler somewhere down the toolchain.

I don't see the issue with the object hierarchies either. You have your QObject and QWidget classes that are important and then all the stuff that builds on that. Not that complicated really once you get into it.

The UTF-16 thing is ugly, yea, but I did never see a practical issue with it.

skriticos2··on How Does One Create A Gtk+ Application?
I just watched this [1] video from Dirk Hohndel describing the migration motives and process from Gtk+ to Qt for subsurface (started by Linus).

TLDR:

* Qt has a community of people developing applications, has good documentation (precise, good coverage) and people who care

* Gtk+ has a bunch of Gnome developers, if you want to develop an application, you're out of luck

[1]: https://www.youtube.com/watch?v=ON0A1dsQOV0

skriticos2··on Amazon sues employee for taking Google cloud job, in new test of non-competes
I'm not a fan of down-votes, but I will try to (kind of) refute your central point according to the argument pyramid. (Not fully disagreeing with you, just some thoughts on the matter).

The central question is: did he really knowingly sign a non-compete agreement and is it lawful in the jurisdiction?

Yes, he signed the contract, which was likely a 20 page standard issue paper that was mostly written by Amazon lawyers in small print.

Now most of us don't send a copy of employment contracts to our layers and discuss it with them for hours before signing (that's kind of expensive).

That's why there are some limitations on what can go into a contract in some places (at least in Europe, but I assume the U.S. has something similar). For instance they can't write in there that you will be their slave, providing unpaid work without the ability to quit, be beaten as motivation and lawfully enforce it, even if you sign the paper.

Other things need to be explicitly clarified to be accepted at court. For instance, if a big software corporation would add a clause to their license agreement on page 25 that your house belongs to them if you click on "I Agree", it would most likely not hold ground in a court. If they explicitly explained this to you (with a few witnesses), it might be heard in court.

The question here is (and it's far from clear cut) is if this contract holds it's ground in court.

Back to the central point: this means, that Amazon might have to prove that they made a good effort to clarify this clause in the contract explicitly and it's lawful in the state he worked. That's up to the court to decide.

Now if they can prove that they did make a good faith effort to clarify his contract, he agreed and then went on and willfully broke it, then he is in a troublesome spot.

INAL, this is not an advice for anything and I'm not liable for any of the above.

skriticos2··on Building Bigger Roads Makes Traffic Worse
Well yes, people are irrational.

I personally think that a lot of jobs today don't justify driving around at all. What difference does it make if you code in the crowded building of your employer or at home and use tele-conferences to talk with each other? Maybe you would even be more productive if you got rid of all the stress caused by commuting around a substantial portion of the day.

I guess a good chunk of the office work done today could be replaced by remote work, but employers insist on everyone to get into the car, commute and thereby congest roads and burn up non-renewable petrol.

I am seriously wondering why the working population don't bill the time and expenses of commuting to the employers? Most entrepreneurs do. You pay $50-$100 for the plumber to come to your place (just to come there, work is billed extra). Why not office workers?

skriticos2··on Why I Left the .NET Framework
Try Qt. It's a mature cross-platform framework with a long history back and a good momentum forward. It's also very well deigned.

http://qt-project.org/

skriticos2··on Linux Gaming: An Upward Trend
X-Com is currently eating my time together with Pandora: First Contact (which was inspired by alpha centauri). Still can't warm to Civ5, but getting a Civ4 port would be great. I'm also quite intrigued by the civ: beyond earth game, though only time will tell how good that is. And probably not on release, Firaxis has a history of needing a lot of time to polish the games.

Anyway, good times. I'm throwing money at all the Linux games. Hope the trend continues.

skriticos2··on GNOME 3.13.3
It also quite undocumented so you spend a day or two googling around and breaks on random minor updates when the package manager overwrites your changes again. Sounds fun.
skriticos2··on OpenXcom 1.0
I've done that a few times, but I don't want to clutter my current system with the wine + winetricks packages again for the upteenths time. I was hoping to find an accessible way now that Linux is first class citizen for Steam.
skriticos2··on OpenXcom 1.0
Hm, this needs the original game assets, which I just bought on Steam. Trouble is, I can't download them on Linux because it's listed as a 'windows' game. <facepalm>
← PreviousPage 5 of 11Next →