News for hackers. Stuff that matters.

andreasgonewild

Re:JavaScript. The Core: 2nd Edition on Thursday November 16, 2017 @05:33PM (#15717314)
JavaScript and PHP are badly/barely designed languages, period; no amount of excuses and comparisons is going to change the fact. Anyone with a bit of experience in either Ruby or Python will tear their hair out when doing JS, because they know it doesn't have to be that difficult. These days it's looking more and more like C++ every day...
Re:JavaScript. The Core: 2nd Edition on Thursday November 16, 2017 @05:29PM (#15717278)
That says more about Java than Script though, and I've done enough of that to feel your pain. Coming from plenty of experience with sane dynamic languages (Common Lisp/Smalltalk/Clojure/Julia), it looks exactly like the madness it is. It's a difference in perspective, that's all. It's not about foolproof, it's about having any kind of intellectual integrity at all.
Re:Oberon – The Overlooked Jewel [pdf] on Wednesday November 15, 2017 @11:00PM (#15710179)
For a programming language, I much prefer function over form. Same goes for gadgets, but that's another story.
Re:Oberon – The Overlooked Jewel [pdf] on Wednesday November 15, 2017 @08:40PM (#15709674)
Good luck with that.
Re:Oberon – The Overlooked Jewel [pdf] on Wednesday November 15, 2017 @08:39PM (#15709669)
Because real languages allow creating your own abstractions to fill the gaps, Go doesn't. Witness the total lack of decent error handling and data structures; despite probably thousands of people trying their best from user code. It's the iPhone of programming languages.
Re:Oberon – The Overlooked Jewel [pdf] on Wednesday November 15, 2017 @02:27PM (#15706947)
C is primitive but powerful. Go is primitive and safe. I would classify the Wirth-family of languages as safe but powerful. It all comes down to power; Go was explicitly designed to enable armies of lesser code monkeys to work together without anyone getting hurt.
Re:Why Object-Oriented Languages Need Tail Calls (2011) on Tuesday November 14, 2017 @04:38PM (#15699398)
That, or some sort of Forth; the separate keyword also enables calling anonymous functions recursively:

https://github.com/andreas-gone-wild/snackis/blob/master/sna...

Re:Tom Duff on Duff's device (1988) on Sunday November 12, 2017 @07:32AM (#15680639)
Been there, done that :) It's a neat trick, but the issue for me is that you still need to pass a separate struct for state which breaks the illusion enough that you might as well just write an ordinary iterator.
Re:Software 2.0 on Saturday November 11, 2017 @07:39PM (#15679024)
How can it be better when it fails randomly and we don't even understand how it works? Where I come from, that's the worst kind of software.
Re:Ask HN: How to go from zero to software engineer? on Wednesday November 08, 2017 @08:10PM (#15658836)
Write lots of code, in different languages; find increasingly real problems to challenge your skills. Unless, of course, you're just interested in becoming another whatever; then you're better off memorizing buzzwords and JavaScript frameworks.
Go kill yourself (?) for someone else's (?) profit then, you can lead a horse to water but not make it drink.
Google not working for you? I picked this at random, you'll have to use your own brain if you want to know more:

https://draxe.com/canola-oil-gm/

"Canola oil is a Canadian invention that’s backed by Canada’s government, cheap to manufacture, and many packaged or processed foods contain it. Canola oil was first created in the early 1970s as a natural oil, but in 1995, Monsanto created a genetically modified version of canola oil. As of 2005, 87 percent of canola grown in the U.S. was genetically modified, and by 2009, 90 percent of the Canadian crop was genetically engineered."

Yes, and rape seed oil has the about the same combination of fatty acids as olive oil; which is healthy; but it's still poisonous gmo crap. Same goes for HFCS. The amount of genetic manipulation, processing and refining matters.
Re:After the end of the startup era on Sunday October 22, 2017 @06:22PM (#15529323)
You are also most probably human, have you even bothered to have a look inside?
Re:After the end of the startup era on Sunday October 22, 2017 @06:21PM (#15529313)
It's always there for anyone to grab. Try lying on your back with all your gadgets turned off and eyes closed; and observe your brain thinking for a while; which is about as difficult as meditation needs to be. Might take some practice to not identify with the thoughts and get carried away, or to not block yourself by trying too hard. Then ask yourself while lying there: Who am I? Literally :) Who is observing the thoughts? The experience is not of this world, it can't be transferred using words. There are other ways to get a glimpse, mushrooms, ayahuasca etc; but introspection is the way to go for lasting results. I spent 32 years writing software, and I just know that a computer will never be able to do the same thing.
Re:The Xerox Alto, Smalltalk, and Rewriting a Running GUI on Sunday October 22, 2017 @03:58PM (#15528615)
Pharo (http://pharo.org) is also worth mentioning on the subject of modern Smalltalk environments.
Re:After the end of the startup era on Sunday October 22, 2017 @01:05PM (#15527752)
This boils down to a fundamental divide in life view. Anyone who has done any amount of expanding their consciousness will tell you that there is a ghost in the machine. It's always a mistake to assume that all you can see is all there is to see.
Re:The Family Making Billions from the Opioid Crisis on Saturday October 21, 2017 @05:29PM (#15523714)
They're tested by the same psychos that created the drugs and their bought fan club, otherwise things like Oxy would never have made it to market. It's worth repeating, big pharma is all about creating return customers; nothing that comes out of that mess is ever going to solve problems.
Re:The Family Making Billions from the Opioid Crisis on Saturday October 21, 2017 @02:37PM (#15522927)
From my perspective, OxyContin is obviously designed to be as addictive as possible; and they have been lying all along. These people are not fully functioning humans, they will do whatever it takes to generate more profits. I promised myself to never touch their artificial crap again; if it doesn't grow on the ground, I'm not interested.
Re:The Family Making Billions from the Opioid Crisis on Saturday October 21, 2017 @01:43PM (#15522685)
I was on Oxy for about a month after smashing one of my vertibraes into pieces in a climbing accident, I was prescribed more than three times as much. I walked through hell to get out of that crap; nothing else I've encountered even comes close, including heroine and cocaine. There are several natural, less addictive and less harmful methods for treating chronic pain; cannabis, mushrooms and meditation among others. Pharma is all about creating return customers; profits, at any cost; the people involved in creating this mess have some serious karma to deal with in the near future.
Re:Alan Kay is still waiting for his dream to come true on Saturday September 16, 2017 @11:38PM (#15268121)
What does building for people (which I am) have to do with making profits (which I don't)? What about sharing? Building for profit is the opposite of building for people, the two mind sets are not compatible.
Re:Write Less Code, Use More Tools on Saturday September 16, 2017 @04:40PM (#15266620)
I wholeheartedly disagree; write more tools, more code; own your skills.
Re:Alan Kay is still waiting for his dream to come true on Saturday September 16, 2017 @04:33PM (#15266594)
There are plenty of things worth doing that are not profitable. If anything, the people who made the profits where standing on the shoulders of giants like Kay; I think we can afford him some space to be grumpy over shitty execution and lack of vision. It's a matter of perspective; what you call cool things, Kay would call consumer bull crap; and I tend to agree.
Re:Go vs. Rust? Choose Go on Saturday September 16, 2017 @04:21PM (#15266542)
One true language, one true paradigm, one true database, one true encoding, one true editor; the list goes on and on and on, that's where forum flame wars and hate mobs are born. The problem is lacking experience; you need to earn enough scars to knock you out of the loop, bump your head against enough walls to realize that the one true way will always fail. As usual; the people who make all the noise don't really know which way is up or down yet, that's what they are so busy trying to figure out.
Re:Go vs. Clojure – Which has the better job outlook? on Tuesday September 12, 2017 @10:52PM (#15235139)
Depends a lot on what type of companies you want to work for, but I would say that Go is definitely more popular overall. Popular is unfortunately mostly crap, which is why it sucks as a long term optimization target.
Re:Java EE Is Moving to the Eclipse Foundation on Tuesday September 12, 2017 @08:30PM (#15234402)
, and not a second too early. Definitely cause for celebration!

Edit: Sore toes, anyone? Too invested to see clearly? I did enough EE-consulting to have an opinion; it's over-engineered, marketing-driven bullshit; designed to make everything as complicated as possible.

Re:Sweet-expressions (t-expressions) on Tuesday September 12, 2017 @03:35PM (#15231257)
"Recently, using indentation as the sole grouping construct of a language has become popular".

Given that popularity doesn't say a peep about merits, it's worthless as an indicator of where to go. There are plenty of good reasons to not treat indentation as syntax. One of the more enjoyable aspects of Lisp is that that grouping is obvious, especially given an editor that knows how to count parens.

Re:Facebook, You Needy Sonofabitch on Monday September 11, 2017 @10:46PM (#15224389)
I have one word for Facebook: Myspace; and it's not a second to early for that bunch of scheming zuckers.

Older »