News for hackers. Stuff that matters.

pebblexe

Re:Optimizing Rust Struct Size on Saturday April 15, 2017 @05:26PM (#14122943)
Wow, thanks for mentioning that. I am used to being impressed by people on here, but the idea that he is this talented and blind is beyond my comprehension.

Man I suck as a programmer; I complain about every little thing and barely ever program.

The idea of it registering as a printer is ingenious.
Re:Smalltalk to get a second crack at the whip on Saturday April 01, 2017 @10:38AM (#14012312)
Hopefully they introduce namespaces (like matriona) and the type system of strongtalk with gradual typing.

edit: just realized this was an april fools :(

The best book I know about research is "Apprentice to Genius: The Making of a Scientific Dynasty":

https://www.amazon.com/dp/0801847575

It's a fantastic book.

Re:Making a good diff algorithm on Wednesday March 29, 2017 @10:30AM (#13986522)
I remember seeing this posted here and I was really impressed by it: https://github.com/yinwang0/ydiff
Re:Henry Rollins on defining success on Tuesday March 28, 2017 @11:55AM (#13977657)
This video of him is fantastic: https://www.youtube.com/watch?v=BkvEpoqFx6c
Re:Red programming language 0.6.2: LibRed and Macros on Monday March 27, 2017 @04:26PM (#13971436)
I remember reading somewhere that there is funding/support from China. I can't find any support for that.

I stumbled upon this site in my search though http://red.reb4.me/

Re:A linguist on Arrival's alien language (2016) on Monday March 27, 2017 @01:18PM (#13969686)
What's the difference between 'determines' and 'influences'? I mean isn't that just a sliding scale? If a concept is incredibly difficult to formulate in a given language, could it not be said that the language has limited my thinking?
Re:A linguist on Arrival's alien language (2016) on Monday March 27, 2017 @12:26PM (#13969080)
Do you have to manipulate text? Perl is probably better than C for that.

Do you have to write a program that operates on lists? Lisp probably is better than Java.

Do you have to write a formal proof? Coq is probably better than Python.

Do you have to write distributed networking code? Erlang is probably better than PHP.

How can the strengths of each language not be direct support for linguistic relativity? All that means is that certain concepts are easier to manipulate and understand in certain languages.

Re:A linguist on Arrival's alien language (2016) on Monday March 27, 2017 @12:19PM (#13969000)
Where is it written that programming languages can't support the theory of linguistic relativity?
Re:A linguist on Arrival's alien language (2016) on Monday March 27, 2017 @11:27AM (#13968493)
Are you kidding me?

Are you claiming the Sapir-Whorf hypothesis isn't true on ycombinator?

This is a forum famous for talking about blub languages and lisp. And if it's true for artificial languages, that's a strong indicator that it's true for human ones.

But sadly there are very few studies comparing programming languages and I've never seen one comparing human languages qualitatively.

Sorry about the title. Thank you mods for fixing it.
You're right, I'm sorry.
Re:Lisp Quickstart on Saturday March 25, 2017 @02:55PM (#13957004)
I don't mean to imply that I've done this (aside from copypasting from that wikibook). I just think that understanding why it's easy to do this for lisp is important.
Re:Writing a Linux Debugger Part 2: Breakpoints on Saturday March 25, 2017 @02:52PM (#13956987)
Does anyone know of an easy way to interact with performance monitor counters in Linux? I've been reading stuff by Brendan Gregg about DTrace and the importance of PMCs, and it made it sound like Linux doesn't have the equivalent.
"A Field Guide to Genetic Programming" (https://www.amazon.com/Field-Guide-Genetic-Programming/dp/14...) is one of the better books I've read on the matter (but I've yet to read anything by Koza). W. Langdon's webpage (http://www0.cs.ucl.ac.uk/staff/W.Langdon/) has a lot of great information.
Re:Lisp Quickstart on Friday March 24, 2017 @07:13PM (#13953001)
I agree entirely with that.
Re:Lisp Quickstart on Friday March 24, 2017 @04:32PM (#13952010)
The only thing you need to do to understand lisp's entrancement is to write an interpreter for it, and in doing so you'll see why it's easier to write a lisp interpreter than it is for any other language. All you need to understand the appeal is a look at https://github.com/kanaka/mal.

Personally I learned the appeal of lisp while following this tutorial on writing a scheme in Haskell: https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_.... There's a reason there'll never be a tutorial like that for a toy Haskell interpreter.

Re:Arachnids eat as much animal food as all humans on Wednesday March 22, 2017 @04:35PM (#13934642)
You can read the full research article here: https://rd.springer.com/article/10.1007/s00114-017-1440-1
Re:Arachnids eat as much animal food as all humans on Wednesday March 22, 2017 @04:25PM (#13934528)
I've always thought that without spiders vertebrates would never have had a chance to become dominant.
As the paper notes, this is a different perspective on generative adversarial networks:

  Goodfellow et al. (2014) proposed generative adversarial nets
  (GANs). GANs, while independently invented, are essentially
  based on the same idea as Turing Learning.
Re:Futhark: APL on the GPU on Sunday March 19, 2017 @09:38AM (#13906978)
I found this while trying to remember the other APL derivative that was posted here: http://arcfide.github.io/Co-dfns/
Re:Show HN: A Go Library for Better Access Control on Saturday March 18, 2017 @03:35PM (#13903088)
Reminded me of this fantastic video from Zed Shaw: https://vimeo.com/2723800

Older »