Better HN
topnewbestaskshowjobs
Log inSign up

externalreality

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

Submissions

comment 7y ago · link · parent

The question is: Is a PhD more likely to have the skills necessary to do the job I need them to do? In my experience the answer is, all else on a resume being equal, "Yes". Some one with more training and familiarity with research roles should be given the shot. Also I agree with others in that PhDs are really good at throwing something workable together. In my experience throwing something workable together is all we do in tech.

comment 7y ago · link · parent

If you are going to be looking at code a lot more than you are going to be writing it. In most cases you will be looking at code in attempt to ascertain a larger pattern that is being used in a code base so you can follow suite. Looking at code to see how a library is actually used will be the least (very least) of your worries and will become super second nature.

comment 7y ago · link · parent

I think the article was nice. I really would have liked a more concrete definition of the pattern and earlier in the article. I think the most important part of the article for me was:

1) Centralize all of our calls to other code in one place. 2) Share response values from each step with other steps. 3) Clearly delineate the order of steps in our code. 4) Make our code more maintainable and extensible by avoiding nested spaghetti code.

I think test code should be the clearest, easiest, most lucid code. Even at the expense of code that in other contexts may be considered boilerplate or redundant. Test code serves a different purpose than production code and is made to be rapidly modified, quickly and dirtily refactored, and very easy to understand, and to be exceedingly clear as to what cases it is actually performing a run-time test on. Often I see authors writing test code as if the test code itself is built to be maintained and reused. In some cases that is true but generally not when actively developing a system.

comment 7y ago · link · parent

This has gotten silly.

comment 7y ago · link · parent

> They don't have time to read and understand code.

Where does it say that. It actually says the opposite quite clearly if you cared to post the whole quote and not just what supports what you would like it to.

> They addressed one of the issues with a compile step, eg slower feedback loop.

Can you explain to me how faster feedback from static types that they, a concept which the article reiterates again and again, leads to a slower feedback loop. Clearly the article and many more like it say that the feedback loop actually speeds up with static analysis since you don't have to run the code to get the feedback.

I'm not sure if you actually want to objectively reason.

comment 7y ago · link · parent

cool

comment 7y ago · link · parent

Nice, fun. Looks well crafted. Thank you for sharing.

comment 7y ago · link · parent

> 1) Your kid likes (1) helping the homeless and (2) Ramsey Theory and (3) helping the homeless learn Ramsey Theory.

Bad form sir, bad form.

comment 7y ago · link · parent

A type system is not a replacement for understanding. Where ever did you get that idea? The annotations help you to understand the code, they don't make it so you don't have to understand it.

I'd say python is about as popular as Java and so I don't see companies investing a bunch of money to make Java programmers more comfortable when they could just hire an army of Python developers if they wanted to. I just think they see value in the static analysis that types provide. Read about why Facebook added types to PHP they don't mention your hypothesis.

I don't mind programming in languages with dynamic type systems. I find it just as fun. But I do think its easier when there is a way to easily keep track of the type of thing being operated on. I mean the data is what is actually being operated on, the more I can tell about the data from reading the code the better. The most difficult systems I have ever worked on were the ones where unshaped globs of data were being shuffled around in hash tables and heterogeneous sequences. I would always have to use the debugger to find out what was going on at a given point. The code was dispatching on value and type. It was rough.

comment 7y ago · link · parent

I don't know if any of that is true. The annotations actually help me to understand the code. I actually find it easy to rewrite and iterate with type annotations which are like machine checked comments. I think the purpose of the tool is to make it harder to write "bad" code, unless you mean "bad" in the aesthetic sense then I can't see how that is true either. In general I find it easier to write code since its easier to keep track of what the data looks like.

What do you mean by interfaces?

But then this is an argument that I don't have much time for and too much time has been spent on it already. Lets just say that if there are many major companies that felt the need to invest in a type system for a popular languages that don't have one, then there might be something too it.

comment 7y ago · link · parent

I think this is great! Static typing is such a blessing. This one looks very high quality. Static typing helps me read code and helps the compiler do static analysis. What's not to like?

comment 7y ago · link · parent

I can see more innovation if big tech were broken up. Right now I think technology is in a stasis funk compared to the last 10 - 15 years. What's next a smart phone with 3 cameras that folds in a predetermined fashion - yawn. We need more innovation.

comment 7y ago · link · parent

Nice article! In order to "pass messages" you have to have two things and one has to send a message to another - or one thing passing messages to itself. So if you have a function and it reads in data off the program stack from another function that is a form of message passing. I guess anything can be seen as message passing. Today however, when I think of message passing it usually in the contexts of threads or otherwise sequential processes communicating and not a single process sending messages to different segments of program code - and yet, as the article states, that is a perfectly legit way to think about it.

comment 7y ago · link · parent

Sure, because banning assault riffles is going to stem the hate. I applaud the effort but the assault riffle didn't become sentient and start attacking people. It took a hateful group of people to carry out these attacks. If we were talking about an Islamic extremist attack there would be far less pivoting to a discussion on gun control. In short, no hate = no attacks; no weapons then maybe it will be a bit harder but there will still be plenty attacks.

I am pro gun control but it is a little known fact that gun control was quite strict in 1930s Germany during the rise of the Nazi party. The point is that hate leads to mass death not weapons. If it wasn't an assault rifle it would have been a series of home made explosives and small arms, or 3D printed weapons, or a gang with swords and bats blocking exits. Stop the hate, don't pivot.

The New Zealand government should mandate anti-bias, anti-hate, diversity training for all government and private employees. Once per year, since there is virtually no education on the topic. Many people get bitter when they hare to take such training. I mean would the government let people get into a car without any training but people are allowed to hurt other with their bias and bigotry. Its a fact it happens. So why not try to stem it. Instead we pivot to gun control as if that is going to remove all hate and stop the problem.

comment 7y ago · link · parent

There is only one system that doesn't abide by this law. That is the cosmos including the quantum cosmos. All at once all the complexity in the universe came into being. Basically its safe to say that "everything" disobeys this law.

comment 7y ago · link · parent

> Collective Ownership : It’s not about you, its always about the team.

When people say "Collective Ownership", they usually mean no one person is directly responsible for a body of code - and that is supposed to be a good thing. When you walk into a shop with this philosophy and have a question about the code you will find that you usually get the answer "I don't know ask Jake" and then Jake says "I don't know ask Jane", Jane then sends you to Bill who may have touched the relevant code at some point. Basically "Collective Ownership" can result in lack of responsibility and messy code that nobody really understands.

I want to take more aim at this "Collective Code Ownership" myth. The concept overlooks the immense amount of job satisfaction one gets from being responsible for a body of code and feeling like you have some responsibility. Handing out responsibility doesn't remove the need for code reviews or bar others from examining and learning different parts of the code. So called "collective ownership" simply gives low-level engineering management more power by keeping developers weak and replaceable but makes for messy code. It makes for messy code because developers don't take a holistic view of what they are doing they just strive to rapidly complete little tasks that are thrown in front of them that management can understand and use to maintain a feeling of control. In short "yes!", it is about you, your growth, and your job satisfaction. I've worked as a consultant in many code shops - when I walk into a shop and the manager introduces Alice "who does our kernel code", and then Bill who "Manages our API code", and Mike "Who is generally responsible for integrations and works on our front end code with Alice" I generally see more happy developers and less turnover.

I also don't believe very much in Pair Programming. Again, all the research I've read supporting the practice is questionable. I've pair programmed at length and watched others do it. Generally it only works for the most trivial of tasks - which means that why use it at all. I do think superiors get a great deal of satisfaction pairing with their subordinates, I'm not so sure about the other way around.

comment 7y ago · link · parent

My vision of the future of technology is one where old technology is reused, and recycled. I wouldn't mind using repurposed 50 year old storage devices if they still work. I would love to see interface tech that allows me to use 30 year old salvaged monitors.

From a software perspective, I would imaging that computers would do a lot more to help validate the intentions of human programmers and that computers will do a lot of the programming themselves.

I would like to see almost all tech powered by renewable sources.

Material science - plastic and other horrible materials should be done away with. I actually think we have gone backwards with respect to materials producing virtually indestructible waste material that poisons our water and air.

168.

Coding Assesment Tests Alternatives?

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

comment 7y ago · link · parent

A youtube commented said the following:

"This approach is used within haskell 1 to 1."

He is correct.

I would go further and say the author of the video is just talking about "good programming" in general.

... but if you mentioned any of this at work you would get drummed out of the office with a yellow stripe down your back.

comment 7y ago · link · parent

https://www.reddit.com/r/haskell/comments/ngn2c/a_concept_fo...

I would still consider the link above editing text... but I posted it anyway for what it is worth.

The idea seems to be to confine the text to its AST in a form like fashion.

comment 7y ago · link · parent

Here's a good article on the topic from a few years ago: https://thenewstack.io/continuum-containers-unikernels-serve.... The most concrete definition of serverless I can find relates to platforms that do not provision machines that you pay for but instead serverless environments abstract away the machine and you only pay for the resources your applications uses. That definition does not exclude uni-kernels in the least. The reason why Unikernels are good for this is because they are a way to ensure that your application is housed in a way that guarantees it will run without much thought given to the concerns the article states - and with an absolute minimum of overhead. I wouldn't be surprised if serverless is or will be implemented with unikernels. https://medium.com/solo-io/unik-is-here-to-help-bring-aws-fi...

comment 7y ago · link · parent

I like the idea. An easy way to get resource graphs into an environment that is good at querying such things. I seen a few ideas start this way. They always seem to get to certain point before the two domains (in this case AWS configuration and Prolog) have to work so closely that another tool entirely has to be created (basically a config language close to Prolog but geared toward the problem domain). I am surprised something like this doesn't already exist.

comment 7y ago · link · parent

The title of the article is "How a Monolith Architecture" but a good portion of the article describes considerations to take when moving services that seem not to be apart of the a monolith to a server-less cloud provider.

It seems that much of the advice centers around chopping up the monolith into services that can be run on a server-less cloud platform.

Uni-kernels, their promise of boot on demand and extremely small footprint, may help with a lot of this. In the very, very, near future devs will be able to package monoliths in ultra light-weight OS's that boot on demand and are optimized for the running application - and do all this on server-less cloud platforms without having to worry all that much.

I'd wager that in 2-3 years many of the use cases of containers will be replaced by Unikernel tech and the desire to run on serverless cloud platforms will be one very big use case.

comment 7y ago · link · parent

I have been seeing more and more articles of this type popping up, from formal academic articles to semi-formal articles in Harvard BR to informal articles such as this one - all asking the same question. I think that none of the problems stated in the article are symptoms endemic to remote working. For some demographics remote working is a real boon (e.g. introverts or groups that may find that they are mistreated in a largely white male dominated brick & mortar environment). In short I think much research has to be done in order to come to any concrete conclusions. We wouldn't want the final say on the pros and cons of remote work to be dictated by pop culture or social media opinions.

comment 7y ago · link · parent

> I spend 14 hours in a chair

That is unhealthy to spend 14 hours in a chair. If someone finds themselves spending 14 hours in a hair unnecessarily (i.e. they can't walk) then they should probably re-eavaluate their life.

comment 7y ago · link · parent

Interesting observation. Is a wide enough sample of languages considered? What scares me is that we still use text files to program in 2019 such that we are having this conversation. The author makes a good observation nonetheless.

comment 7y ago · link · parent

> nd the appropriate response to this horrible video is to not watch.

Watch it. It represents the horrible truth of the elevated sense of Islamophobia and its tragic consequences. People shouldn't look away from this. Many of us have to deal with this on a daily basis. When it gets so out of control that it creeps up into the privileged world people want to look away. Don't forget that today's global structure is based on widespread massacres and genocide. This extreme comes from overlooking a racist, bigoted status quo much like an infestation comes from overlooking the first signs of insects. We may be looking away from your history too. Looking away is not going to change things. I don't care if it makes us feel bad. Its the truth. We need to deal with it because others have to.

Basically most of us sit there and tolerate minor (and sometimes major) forms of racism and do nothing only to act shocked when something like this happens. Its a psychological game played to avoid guilt and responsibility.

1
45678