News for hackers. Stuff that matters.

oreganoz

You should try listening to noir jazz or spy jazz. Those subgenres might be your edge of accessibility now.

For Classical music, just listen to all the works that have been used in movies endlessly.

Re:Love letter to Vue on Wednesday July 18, 2018 @10:23AM (#17558648)
> What if I don't want to use webpack and npm and babel?

You don't have to use those if you use React. It can be as simple as including a script tag in your HTML and be done with it.

Re:Data Structures Reference on Saturday June 30, 2018 @12:39PM (#17431464)
Wow, congrats on insulting people who use a different programming language than you. You really give an air of professionalism in your speeches.

But its the lack of communication on your front that would make people fail your test, not their lack of competence.

Anyone can summon an obscure puzzle and claim its easy when they know the key.

Re:Data Structures Reference on Saturday June 30, 2018 @12:27PM (#17431410)
By that logic, lists are just trees with one child per node. Except graphs are just 2d lists if you define them via an adjacency matrix. So we've come full circle.

But we both know they are not very much alike in practice.

Yeah, I have to say I'm a bit surprised to see people so eager to change things that are working, so fast.
Re:Teach Programming to become a better programmer on Sunday June 17, 2018 @03:16PM (#17333819)
I'd advise people to not teach if they don't understand the source material very well, it can lead to spread of misconceptions which can make the concepts more confusing for the students rather than less. I feel this is often left out of these discussions.

You can always pretend to teach yourself to navigate the concepts though, when learning the first time yourself.

I don't think using kubernetes is useful for small projects. It's currently still a hastle, even though it has evolved a lot. Not much in terms of benefits to show for it either.

I would read up on Docker though. Having your apps in docker does provide some nice benefits like better isolation, keeps you up with newer tech and you can then easily integrate with Kubernetes. It's also rather relatively easy to achieve.

Re:Torvalds: Standards need to be questioned on Wednesday June 06, 2018 @05:26PM (#17251262)
Well, look up what companies like IBM, Google, Amazon, etc. are doing with thousands of workers and all the organizational and cultural diversity you want.

I don't get what is "necessary" with his insults. Would delivering the message calmly not be understood?

There's nothing to make anyone believe it's an "effective" strategy. Some people are deterred from contributing because this guy can't act professionally. The only reason people still want to contribute is because of the importance of the project (aka thousands of projects depend on a good linux kernel).

He can accomplish the same things, without going ballistic, in shorter time and with the respect of others earned. It's still using the same few management tools and he can retain his bad temper for when a situation actually calls for it (which is almost never). Blowing everything out of proportion is crying wolf.

Maybe he is not that bad of a person to work with. Hopefully lower than how bad Gates and Jobs were. But he sure seems to hide it well since that's all I ever hear about him. But I guess bad publicity is still publicity.

Re:Torvalds: Standards need to be questioned on Wednesday June 06, 2018 @03:26AM (#17245023)
You can still be direct without having to act out or treat people like they're idiots.

It is not impossible to narrow down the complaints without being rude. Most people do that just fine, with way larger projects than his kernel.

His behaviour is just unnecessary and distracting. It's almost as if he does it for publicity or shock value. Maybe that contributes to his success, but it shouldn't.

I find it weird that people try to defend him rather than acknowledge it is just one of his character flaws. People aren't perfect, and neither is he. Doesn't take from his achievements but acting like he's in the right to behave this way is just enabling him. If people want to emulate him, they should look at the good and leave the asshole behaviour behind.

Thanks for letting me know and for the many replies.
Yeah, I'll probably do just that. Thankfully, I can research it more in my spare time.

I think I'll start with a hobby-project and see how well it goes.

Interesting, okku seems completely outdated but I'll try to look out for an Akka integration as it is a really powerful and stable actor model implementation. Has backpressure and all of the other reactive niceties too.

You might just have converted me to clojure, haha.

I was just looking into Onyx right now actually, haha. It's the first result when googling for distributed clojure. Not quite sold on the model, I don't yet know how the internals work so it feels a bit too magic. But I only got a quick peek so it would be unfair to dismiss it.

The vast majority of apps don't require distribution but I'd like to use a model of computation that would support it when needed so as to avoid large refactoring. And, preferably, allow for code reuse with systems that are distributed.

EDIT: Watching a talk about the internals of Onyx made by the creator. I gotta say, I'm liking it more and more.

Yeah, that's nice for multi-threading but it does not seem as good for distributed systems. This is why I still don't know if I should invest in Clojure or Elixir.

Can the REPL on the server be used to update production systems with no downtime?

Yeah, well, what else did the romans ever do for us?
React doesn't need webpack or babel. People just see lots of benefit in using them, but there are tutorials out there on how to use just React.

It can be as simple as a script tag at the bottom of your html and then writing ES5 React.

Hmm, I guess I better look deeper into Clojure. Finally I get to play with a Lisp.

My main interest with actors is that these can be made to support hot code reloading on the server side. They also tend to be easily composable. Also also, they can be optimized by locality (eg. same-node, same-cluster, different-cluster)

I'm biased though, having not worked with CSP or other models.

Does Clojurescript support stuff like hot code reloading? And does Clojure have any good framework for an actor system implementation?

Because I've been interesting to get an excuse and try Clojure out and what you're saying is really interesting.

Re:I Write Letters to CEOs on Thursday May 31, 2018 @05:35AM (#17195081)
On the other hand, maybe too much importance is given to how the information is presented.

Rather than focus on the content and the ideas evoked, just make a passive-aggresive snark so that you gain useless points by people who couldn't give a crap about the discussion but found the comment funny.

After that, you can just ignore that person's opinions since they obviously are too incompetent to write in proper form.

You learn early on the importance of good language skills, you also ought to learn how to treat people with some respect by trying to ignore the minor things and not showcase them off like you've found anything worth of value.

If you value properly written text over others, fair enough, but don't waste your time and everyone's time by making a comment that contributes to nothing but elitistic egos.

Re:Ask HN: What do you believe that most people don't? on Thursday May 24, 2018 @04:01AM (#17141992)
You go around testing and reproving everything you encounter? Or do you believe in what a scientific community tells you, even partly?
Re:Ask HN: What do you believe that most people don't? on Thursday May 24, 2018 @03:54AM (#17141960)
If we could only remove the stigma of being seen as somehow lesser for choosing a profession over another.

The only way people make me dislike them immediately is when they start showing arrogant and elitist behaviour towards blue-collar workers.

Re:Everything old is new again: Microservices on Wednesday May 09, 2018 @08:40AM (#17029321)
I'm just mentioning that containers may make implementing & deploying microservices easier and thus a more popular solution.
Re:Everything old is new again: Microservices on Wednesday May 09, 2018 @03:36AM (#17028033)
You are right, I meant more in terms of software developer popularity, apologies for my bad phrasing.

But I do think microservices will become bigger, we'll have to wait and see how k8s pans out.

Re:Everything old is new again: Microservices on Wednesday May 09, 2018 @02:54AM (#17027880)
I think abstracting the differences away between the 2 seemingly equal technologies is not a good process for understanding them better. Yes, we seem to go back on ideas but this is because the market is constantly evolving, not because we forgot about the past.

SOA was not that big of a hit because the time wasn't right. Just like MySpace before Facebook, the market wasn't ready. And to say they are the same is to ignore the advances each tech made.

You could push this argument to the extremes and say "well, Microservices are just Processes on different computers talking through a network IPC and this $unknownProject has done that back when Ethernet first started".

Nothing in tech is original and everything is.

Re:Want to Improve Efficiency? Stop Doing Low-Value Work on Thursday April 26, 2018 @05:01AM (#16930184)
Same. I think attaching deadlines and someone to keep you accountable may be the only cure.

This is the pain of actually loving this field. Your job is to do productive stuff, but you just want to study those cache-oblivious ds.

Re:Mathematics I Use (2012) on Friday April 20, 2018 @12:24PM (#16886113)
Propositional logic / zeroth-order logic is like arithmetic. You didn't consider numbers (by which I gathered you meant arithmetic) as math, and I'm the same in saying this type of logic is not math.

Logic is a VAST field, and most programmers don't get to use most of it, that was my point.

I already played with Coq (that feels weird to say :)) ). It is a very specialized tool useful in very specific cases. I don't think it will ever be adopted as the standard way of programming since it's really unproductive.

Just because you use math that is really heavy does not mean you understand the math behind completely. We can view a ball throw as a complex quantum-mechanical physical process but we don't call ourselves theoretical physicists for being able to throw a ball.

Re:Mathematics I Use (2012) on Friday April 20, 2018 @11:52AM (#16885811)
But that's mostly logic, at best mathematical logic. I don't think anyone formally reasons when writing code anyway, we mostly rely on intuition. Maths isn't about numbers but it's not about intuition neither.

Programmers doing actual math would be modeling problems and creating proofs for their solutions. Usually we clasify those problems based on the field of math we use to model them.

Saying we do tons of math implies we use a lot of knowledge from a lot of those fields. But most of the time, programmers use only the introductory notions of those fields. We are usually guided by a domain expert anyway so that the math part is correct.

Programmers don't use a ton of math. They use some math.