Better HN
topnewbestaskshowjobs
Log inSign up

externalreality

415 karma · joined Jun 1, 2015 (11y ago) · 220 submissions

Submissions

91.

Hacking Attempts on Ecuadorians Not Ecuador(liceonaval.mil.ec ↗)

1 points · by externalreality · 7y ago · 1 comment

comment 7y ago · link · parent

Forgive me if I sound as if I am against foreign investment. I am not. The degree of control that something like Jumia, a foreign entity, would have over these emerging economies is what is troublesome.

comment 7y ago · link · parent

Sound advice but when you read a comment the tone is generally dictated by whether you agree with the comment or not, since voice inflection is absent. I do agree, you have to word thing more carefully in the absence of voice inflection.

94.

Three Rules for Developers

5 points · by externalreality · 7y ago · 2 comments

comment 7y ago · link · parent

You shop on Jumia because it's convenient. It's also convenient for foreign interest to setup an Amazon like business to skim millions off the top of an economy that can scarcely afford it. The point is, Jumia is not good for Ghana, a domestic company would create more jobs and keep hundreds of millions of dollars of wealth from leaving the country. Its not about whether or not you get your 1st world products delivered on time, its about pulling yourself out of the 3rd world and Jumia is not helping you with that.

Many people forget that when Japan first started producing cars they were so bad at it some models didn't even operate in the rain. Or that American steel, originally, was supremely subpar to British steel. Its about doing whats best for the country - and having some foreign entity control a good portion of the commerce in the country (especially when it is so easy to build your own) is not a good idea for an emerging economy.

Remember, also, that Jumia will have the same control over market that Amazon does which is immense power and why the United States is considering limiting Amazon's power over the market. Basically, if Jumia begins to not only control the market but participate in the market as well it will be bad for these small nations.

comment 7y ago · link · parent

I think this comment misses the point by speaking of Ubuntu in the face of the incompatible idea of capitalism. The company is not an African company in the sense that it is not owned (and thus likely not operated) by Africans. Africa is almost entirely owned by foreign entities in the most exploitative fashion. Ubuntu is a enlightening concept of fundamental good and sharing but it should not be used as a tool to allow foreign interests, who follow no such concept, to take more than they are giving back. I am really skeptical as to whether you are really an African. If you are an African I would go as far as to say your "Ubuntu mentality" is not an Ubuntu mentality at all but a neo-colonial one.

comment 7y ago · link · parent

> Canada's largest chain of coffee shops (Tim Hortons) is owned by a Brazilian company.

You are comparing apples and oranges. In many cases larger countries are able to conduct fair trade agreements. In the case of smaller countries they usually don't have the resources (military/political influence) to enact fair agreements and are "ripped off" by companies offering jobs.

comment 7y ago · link · parent

It seems "Africa’s largest e-commerce company" is not African at all. It always pains me to see this when I visit small countries. Jobs are one thing, but if small countries find that massive resources are leaving the country in the name of those jobs then what's the point - it can be considered some form of trade at best and in the worst case colonization.

comment 7y ago · link · parent

There's a lot of fantasy in this article. Most programmers today do very little actually - we don't wield major influence. We basically glue together a bunch of Free Open Source offerings. The most critical skill is that ability to move fast by practicing with our Free Open Source offering tools. We pay (MS, Google, or Amazon) to host our applications. And we perform maintenance on these applications for years. Nothing special, anyone can do it. More and more people enter the work force every years. Since all things are becoming automated there will be enough jobs for the foreseeable future. We get to wear nerd clothes and act smart but generally all one has to do is be able to read documentation and use a computer. I would reckon that the average 13 year old who has a good reading comprehension can do what most programmers do these days. It's like playing a video game. They would probably be better at it too.

comment 7y ago · link · parent

How is concerns about net neutrality and the absence of net neutrality party politics. Aren't all politics party politics in the USA.

As far as the topic concerns. It just goes to show how much power big business has. Clearly net neutrality is what caused the USA to become leaders in internet technology. Why not keep things fair. Who are our politicians supporting by not adopting this bill.

comment 7y ago · link · parent

> You can't refactor code without tests

See this is where the conversation goes south. You will use the phrase "unit tests" when it suits you, and then, like a magician using indirection, generalize to the word "tests" when it suits you.

Why are you listening to Uncle Bob so much?

I mean you can do as you like. However, the strong "Uncle Bob" style assertions should probably be left out of most articles in favor of a more humble "this is what worked for me/us" approach. Universal rules for any discipline are very hard to come by. Sharing what worked for you on your projects is great but it becomes somewhat obnoxious when you try to generalize it to universal rules that works in all environments for everyone.

Also, I think that large unit test suites, where most of the tests are redundant, come about in competitive environments where if you try to make a commit without a test some other competitive coder will try to use it as a "I know better" stepping stone and call you out on the change - "Where is the test". After 3 years of this behavior what do you think your going to have. A nice clean suite of tests or a monstrous big ball of stubs, mocks, faked, copy pasta that resulted from defensive social coding.

Honestly, write a light suite of tests that get to the point, and keep your ability to code swiftly and make changes quickly. As the code matures you'll find the trouble spots and focus testing on those areas. Don't blindly follow methodologies that are going to have you writing large test suite for version pre-alpha 0.0, and now your updating a large test suite for every micro-change just to make it to beta 1.

Here is an old article by DHH where he rails against unit testing dogma. Ironically it was ideas from the Ruby community that formed a lot of the basis of the mad dog McCarthyan style unit test dogma. https://dhh.dk/2014/tdd-is-dead-long-live-testing.html

comment 7y ago · link · parent

Functional purists are the only one's who hate it. OOP by its very nature encourages developers to make bold abstractions prematurely (where prematurely is interchangeable with unnecessarily) and subjectively. Mean while the procedural programmer (Golang) has already finished the segment of the program having written one big function. If a piece of that big function is needed elsewhere she factors it out. Most of her program are simple loops and conditionals. Programs are easy. Programs are easy, why complicate something that is easy.

The machine should also guide the programmer as much as possible. I wish Golang had refinement types like Liquid Haskell or ATS. Some simple static analysis to cut down on crufty slow runtime test suites.

comment 7y ago · link · parent

The author does a good job painting propaganda in its awesome and terrible social media incarnation. The analogy between ISIS with the NZ maniac is a bit troublesome however and I'll tell you why. When I served in Afghanistan, as a mere child myself in the very early 2000's, I saw children in the street (if you can call it a street), dirty, unfed, walking over to a dirty stream washing what appeared to be glass out of the smallest one's foot - all in a town destroyed by whatever. Those children are adults now, how can I blame them for the hatred they must carry around. The western world created the hatred that is (was) ISIS, in the name of big oil. And we were warned of the consequence before stepping a figurative foot in the middle east. The Christchurch shooter, I don't know his story, but I'm sure his hatred didn't come from seeing an occupying force's unmanned aerial vehicle kill his loved ones at the tender age of 4. The NZ shooter's madness and the madness of ISIS are not the same. So My advice to the author is next time you want to preface 4 paragraphs of ISIS talk with a sentence about the a white supremacist to make yourself look less biased, remember that audiences are waking up to the theme of your article - propaganda.

comment 7y ago · link · parent

Programming is simple. Domains and interfaces are difficult. People over engineer stuff. People like to think they found the key to hidden wisdom. I believe I just summed up 90% of the difficulty with programming.

Just for the record procedural programming and functional programming are the only two styles of programming to me that make sense. Procedural because its how the machine model works and functional because its how a mathematical description of computation works. WTF is OOP (how the over active imagination of a child works I would reckon).

comment 7y ago · link · parent

> breaking something critical that you may have missed in your acceptance tests.

So you can miss things in your acceptance tests but can't miss them in your unit tests? Why do you feel more confident with unit tests than with acceptance tests? Maybe because unit tests break more often so they are providing you with a false sense of security? Do you know that when a test fails for a reason other than the specified assertion its a called a false negative and the failure is meaningless? Do you know if your tests fail and no functional or non-functional requirements of the program has changed the failure is also meaningless (you are testing implementation)? Ask yourself how often does your group give you time to do these hypothetical large refactoring that give merit to large unit test suites? How many times, even, do you do small refactorings and find all the test have to go away or significantly change anyway because they made some implementation assumption that is no longer true? How many times have you gone into a test suite and have seen that its been patched up so many times that you can swear its testing something but you just don't know what? I know that Uncle Bob tells us about test for refactoring and this and that, but I just don't buy it any more. The emperor is naked god dammit. Uncle Bob and the like are very famous because people swallow their anecdote without due scrutiny.

comment 7y ago · link · parent

I agree with this article. Good stuff. One minor gripe:

> if you care about the code, you need to have unit tests for it.

That's not really true. You can test at a differently granularity and still have the same confidence in your code. Scores of brittle unit tests crowding your productivity is not what you do to code you care about. I wish people would just stop propagating this detrimental rumor that is backed by zero evidence. I prefer to keep my unit test suite lite and sweet (try to test what is very sensitive at the unit level - easy to miss or algorithmic things) and then try to get the most out of my acceptance test suite. Sorry, but I just worked on too many systems where the unit tests suite breaks no matter what you touch and you spend more time updating the tests than actually getting shit done.

comment 7y ago · link · parent

IBM replace 30% of HR with this algorithm. I mean I can't say I miss them. HR is worthless. They do nothing. If you want to retain employees find out the patterns that indicate that an employee is about to leave and find out the patterns that make those employees stay. IBM is doing this. HR, and their condescending, faux professionalism doesn't actually help employees with anything. Most of them act like they are trained behavioral analyst, diversity experts, what have you when they poses barely any training at all and are just talking nonsense. Semi-automated machine assisted AI is the way of the future.

comment 7y ago · link · parent

You can read Chiba's thesis which explains exactly how they are able to detect the systems calls made by the ELF using static analysis and code flow execution analysis (the techniques all seems very simple and ingenious - you can even try to write a little program yourself that uses their algorithm if you don't believe them). The thesis explains that there are edge cases and how they work around them. Remember they have to handle all of the system calls or the program would suffer from run-time errors.

comment 7y ago · link · parent

> Why are containers any more dangerous/vulnerable/prone to leaks than deploying say... a standalone REST API not in a container?

Its not about one service, its about n services running on the same resource partitioned hardware. If one gets compromised how likely is that to affect other services running on other partitions. Containers (High, shared kernel), Unikernels (Lower, different kernel, hardware supported isolation - almost like running n different physical machines).

comment 7y ago · link · parent

So here is what I have learned over the years from working for, dealing with, starting my own, and studying consultancy companies. It really quite simple.

Every successful consultancy company I know had several things in common.

1) The founders weren't concerned about money. The could afford to spend time bootstrapping the business because they had some source of fallback that most people don't have. For example, their parents/brother/sister may have been very well off and they knew that even if they "blow it all" it wouldn't mean starvation.

2) A guaranteed client. Most startup consultancies I have encountered had a guaranteed client. That is, a client that is already willing to work with them and throw contracts their way giving the company time to bootstrap itself while paying a few salaries.

3) Sales. Your consultancy is not different than any other consultancy. The only difference is nobody trusts you (see 4) and most prospects will likely go to a more established consultancy. You are going to be spending most of your time doing sales. Don't get discouraged, get some cheap email campaign software, get some cheap lead generation software and keep doing sales. Going to conferences and networking doesn't work in the boutique software consultancy game. It just doesn't.

4) No body trust you. You have to build the most professional web site you can afford and make yourself look trust worthy. Don't build something you can't afford but you need something.

5) (Warning: unethical) Most boutique software companies I know have some unethical gimmick. Basically if you are a white male you can hire cheap labor from India, China, South America, eastern europe and market yourself as the white western world's interface to cheap 3rd world software development expertise. You can hate me for saying that so bluntly, but google it and see how many consultancies ACTUALLY DO THAT. I know of software consultancies (several) that completely bootstrapped themselves this way thriving off of the cheap labor of the 3rd world for years to undercut competitors. This is such a popular technique that new startups are actually giving away months of there cheap labor for free in order to compete with other cheap labor selling consultancies whose prices they can't match and whose name is more well established. Please don't get hung up on the fact that I mentioned this point - its a reality.

6) Don't listen to others who tell you that you can't do it just because they can't.

7) See point 3. If you are not willing to do sales more than you do software than you should just stop right now. If you don't have enough money to pay for a sales then you have to do it yourself.

8) Don't think you have a software consultancy if you've just settled on being an independent contractor. You don't, and you are will likely just be a cog in the engine that I've described in points 1 - 7.

Hint: Nobody uses ML (I'm assuming you mean ML like in Standard ML or the like). Don't get hung up on a particular language or framework. You will just be limiting yourself to a very small segment of the market if you choose some niche language.

comment 7y ago · link · parent

What is being described here is very similar if not identical to what can be found in Agile software and lean software development books that gained popularity in the mid 2000's.

comment 7y ago · link · parent

Agreed, agreed.

comment 7y ago · link · parent

So there are problems. Its also the fastest way to the destroy the world. If you dot the world with these things we become one climate disaster or earth quake away from having written a check that our collective asses can't cash.

comment 7y ago · link · parent

> only two things that matter: ease of use and memory consumption

Those are seriously not the only two things that matter. Not by a long shot. Depending on what you are doing there are other serious concerns like security, OS Noise and other performance concerns. From the literature I've been reading security is a huge concern when deploying containers. From experience I can tell you that Dev-Ops with containers can be a nightmare and a half costing companies heavily.

Saying Ease-of-Use and Memory footprint is all that matters is serious misinformation that no research or other literature or anecdote supports.

That said, at least, ease of use is coming. There are some tools on the market right now that make Unikernels fairly easy to use Ops and BoxFuse come to mind.

comment 7y ago · link · parent

I think there on the right track from a usability standpoint in making tools that will help build a minimal kernel by determining what system-calls need to be included based on the application. Pulling in the correct dynamic libraries is also important.

I envision a system that can use static analysis to chose system calls, find libraries (ldd), and perhaps even choose between appropriate algorithms (thread schedulers) all based on the particular program it is going to run. In other words Kernels that optimize themselves based on the program much like compilers optimize programs based on the various things like architecture. I think uni-kernels have great potential.

Also for system calls that are not security concerns or performance concerns why not continue to proxy them to the host kernel as Hermit core does?

116.

HermiTux: A Binary-Compatible Unikernel(ssrg-vt.github.io ↗)

145 points · by externalreality · 7y ago · 26 comments

comment 7y ago · link · parent

> This kind of work needs to stop. There's no discernible purpose to this refactoring and no discernible improvement in the code following. It actually adds code!

I hope this serves as a lesson for everyone. Saying "I'm Sorry" for your rude outburst is a lot easier than (forgive me but) rambling on about a fictitious, subjective definition of "Good Work" to make yourself feel better. That is a road to madness and vulnerability, and it is dangerous.

comment 7y ago · link · parent

First we need to stop acting like HR does anything. HR is paid by the same employer as the victim and will take the employer's side over the victim any time. The only thing HR will do is collect information from the victim and pass that on to legal so they can get a head start in debunking the claim in case of litigation. There are federal laws that say you should attempt to resolve the discrimination or harassment issue with HR before a lawsuit or else the company can use the fact that you did not against you in a federal court of law. Any such law should be abolished given it's akin to asking a rape victim to resolve the issue with the rapist's family before going to the cops.

Second, MS, Google, and Facebook are not the only companies where employees face sexual harassment and discrimination. Smaller company's employees face the same shit, probably at a higher rate, but are never mentioned in the the news unless someone is outright groping women or hanging nooses in the common area. Smaller companies are even held less liable when found guilty because the USA, in all of its capitalist BS, is worried that it may put the company out of business - I mean all they did was break the law, why should they face any financial hardship. Maybe I'll go rob a gas station and tell the judge not to lock up my dumb ass because I'll loose my job and face financial hardship. Basically the United states has no problem bankrupting citizens when they break the law, but companies get a free pass.

Third, no one is ever held accountable in these cases anyway. The EEOC claims very few of these cases go to trail and even fewer are actually won. Why? Because companies pay off women/minorities/disabled people to keep their mouths shut after firing them (very R-Kelly style). Maybe we should make a documentary called "Surviving Microsoft". Something should be done to limit the power of these companies. Australia, for all its racist and sexist faults, is leading the way on this with current legislation that says, F-THAT if you big companies can't follow the law then execs will start getting jail time. I would like to see the day when that law is actually enforced but at least it is a start.

comment 7y ago · link · parent

This article has been written many times by many authors (even using the same cargo cult airplane image) and yet is no less true than the first time it was written.

That said, clamoring toward things like React has yielded a net positive result. So cults can be a double-edged sword.

12345
8