News for hackers. Stuff that matters.

slunk

Re:Time to retire the CSV? on Wednesday August 18, 2021 @12:11PM (#28223307)
> That's the main reason why CSV absolutely sucks too [...]

Is it? I think you're absolutely right that naive points of view like the one you're responding to will lead to avoidable bugs, but I'm not so sure the problem is CSV so much as people who assume CSV is simple enough to parse or generate without using a library.

> It has nothing to do with what the model is being used for.

I may be misunderstanding this passage of the article, but I thought the author was claiming that machine learning (specifically training) was equivalent to compression, while language understanding is equivalent to decompression. Therefore, they can't be the same thing. Why does language understand have to be analogous to training an ML model rather than using an ML model for inference?

I was hoping there would be discussion of this point higher up in the thread, because I had essentially the same reaction as you while reading this passage. I'm no expert of machine learning, NLP, or linguistics, but this struck me as a pretty obvious flaw in the author's argument.
Re:A Lisp interpreter written in Lisp (2017) on Monday August 09, 2021 @07:12AM (#28115234)
I was also struggling to convey this point. I think you've hit the nail on the head.
Re:A Lisp interpreter written in Lisp (2017) on Monday August 09, 2021 @06:53AM (#28115071)
You've gotten a couple responses making arguments that the atoms required for a language like lisp are fundamentally simpler than eval in Perl and that makes the difference... Fwiw, I don't find these arguments very compelling. It's not so much that they're entirely false, but the "most beautiful program ever written [sic]" that we're talking about here is "beautiful" precisely because it elides all these "simple" details. I do get the vague sense that it is essentially a more verbose `eval $1`.
It's one thing if you have a source of revenue so justify your S3 costs. My interpretation of the parent commentator's concern is that this person has opened up a multi gigabyte S3 file publicly and sent lots of traffic its way (via hacker news) for what appears to be a passion project.
Re:Compiling Rust is NP-hard on Thursday July 08, 2021 @04:47PM (#27777393)
I don't think using an IDE to catch lots of stupid simple mistakes is bad. It's how I prefer to work.

> It looks really strange to me to observe other developers constantly compiling and running their code just to see if it works. It kinda looks as if they did not exactly understand what they are doing because if they did, they would be confident the implementation works.

Explain to me how this statement doesn't apply to your use of an IDE, but the other engineers you've observed don't understand what they're doing.

Re:Compiling Rust is NP-hard on Thursday July 08, 2021 @12:13PM (#27773988)
> So in a sense I am not strictly practicing my approach

Developing in an IDE that compiles almost continuously is about as far from the development philosophy you're advocating for here as one could get :P

Ah, my mistake. Thanks for the correction.
One can't help but wonder what kind of a person would tweet their "apology" for unintentionally defacing the entirety of Scots Wikipedia in more broken Scots. Seems... Insensitive, no?
Re:Nestur: NES Emulator in Rust on Monday January 06, 2020 @05:15PM (#21974066)
Thanks for clarifying that for me!
Re:Nestur: NES Emulator in Rust on Monday January 06, 2020 @05:08PM (#21974008)
Yup, fair enough.
Re:Nestur: NES Emulator in Rust on Monday January 06, 2020 @05:02PM (#21973911)
Without knowing enough about Rust to speak authoritatively... u8 can represent larger integers than i8 (no sign bit). Surely it's not completely safe.
Lots of good suggestions in here. One I haven't seen mentioned yet is NileRed for those interested in chemistry (https://www.youtube.com/channel/UCFhXFikryT4aFcLkLw2LBLA).
Re:Responsive Pixel Art on Wednesday March 09, 2016 @09:41PM (#11257127)
Personally, I'm impressed by how the image dimensions were mapped to the image, not the fact that it can be done at all. There are plenty of boring and simple ways to map dimensions to an image. This was clever and well-implemented, imo. :)
Re:My Amazon Burnout Experience on Wednesday August 19, 2015 @03:43PM (#10087937)
I stopped reading a few paragraphs in when all the author had managed to convey was how great they are. I also find it strange that someone so competent who wants to remain anonymous would reveal so much information about their situation in the company. What little I read seems like it would be enough to pinpoint them within the organization.
Re:Why Is Mayonnaise Loved and Hated So Deeply? on Sunday May 03, 2015 @04:14PM (#9482830)
"Hellman's doesn't resemble the real stuff"

That's a little exaggerated, don't you think? I'm no mayonnaise expert, but those lists of ingredients look pretty similar to me.

Re:Reduction in Garbage Collection Pause Time in Ruby 2.2 on Saturday November 22, 2014 @01:44PM (#8646259)
Are you suggesting that ruby's design is more broken than PHP's?
Re:Show HN: Linkwok – Picking up where search engines left off on Sunday September 07, 2014 @01:06PM (#8281723)
Although I agree with others that the video leaves a bit to be desired, I thought I understood the point well enough and was looking forward to trying it out... Then I attempted to do just that and was instantly greeted with "INTERNAL ERROR

AN INTERNAL ERROR WAS ENCOUNTERED." :/

Re:Coming Soon to Hacker News: Pending Comments on Saturday March 22, 2014 @12:44AM (#7447634)
Even if this system worked flawlessly as intended, doesn't it disincentivize getting to 1000+ karma? Unless I'm misunderstanding, your most active users don't seem to get any benefit (they see all the comments, good and bad, like everyone did before). Maybe if there was also an "unendorse" option... but then you've just implemented meta-(up|down)voting.
Re:Quick tip for developers who use OS X on Monday January 13, 2014 @11:08AM (#7051330)
Fyi, bash also has vi-mode (set -o vi).
Re:Show HN: I made an easy-to-understand 6502 emulator in pure C on Thursday December 19, 2013 @09:57AM (#6934954)
"dispatching out to functions to handle each opcode carries unnecessary overhead in what should be the tightest loop in the project"

How about inline functions or macros?

Re:How to Make a Computer Operating System in C/C++ on Sunday December 01, 2013 @02:04PM (#6828660)
I've been looking for good OS dev tutorials for ARM. Does anyone know of any besides Baking Pi?
Re:How to Make a Computer Operating System in C/C++ on Sunday December 01, 2013 @02:03PM (#6828651)
Fyi, at least at first, this looks like it will be very similar to a few wonderful tutorials and projects I have been going through lately:

* http://www.jamesmolloy.co.uk/tutorial_html/index.html

* http://www.osdever.net/tutorials/view/brans-kernel-developme...

* https://github.com/klange/toaruos

...and just in case anyone is curious, my own project (about half way through James M's tutorial - working on virtual memory management):

https://github.com/slunk/Hobbyos

Oh, and btw, this looks AWESOME. I am looking through the finished chapters right now!

Re:Users complain their Dell 6430u laptops smell like cat piss on Wednesday October 30, 2013 @12:31AM (#6639520)
Interesting theory, but read this quote from the first page of comments:

"Thanks.. I am having the same issue. When I started using the laptop at the end of last week I thought I smelt something odd. Well.. here I am Sunday doing some work on the couch and my wife says "what stinks like cat pee". I said.. I think its this laptop.. puts her nose up to the keyboard and BAM! It really stinks."

Some guy AND his wife noticed the smell. If you're right, that's one hell of a coincidence.

Re:Brilliant or insane code? on Sunday September 01, 2013 @09:59AM (#6310373)
If you only ever need to chunk a list into 3-tuples, sure. If you want a general solution for chunking a list with zip and an iterator, this solution doesn't scale (look at hartror's and bjourne's posts for something that does).
I don't want to participate in this argument except to point out that the sentence is definitely ambiguous for at least some dialects (evidence: people, including myself, are getting different readings of the same sentence). The second reading that you aren't getting should be clear enough from context, so I won't spell it out. If I wanted to be really clear one way or the other, I would say:

1) Disney's new image algorithm turns a 2D photo into a 3D model.

or

2) Disney's new image algorithm turns a group of 2D photos into a 3D model.

If I just wanted to get the meaning of (1) across, I would probably phrase my title exactly how OP did. Definitely (not necessarily intentionally) misleading.

Look for Steve Conklin's comment (posted around the same time).
Re:Simple Minecraft Clone in 580 lines of Python on Friday March 29, 2013 @12:52AM (#5459294)
I got a similar error.

"arch -i386 python main.py" solve the problem for me.

Re:The PyCon Incident on Wednesday March 20, 2013 @09:17PM (#5412087)
"To my knowledge, nobody is putting forth the worldview that men are being terrorized by women destroying lives."

I got the opposite impression from the OP. To me, this post practically screamed men's rights. It's dripping with hyperbole (probably the worst of which occurs in the fifth paragraph - "now men will be looking over their shoulder every time a woman is present in the workplace or a conference because hey, she might do what Adria did"), peppered with ad hominem (calling her cowardly, etc...), and makes sexism the focus of the discussion. I read her blog post. Her problem seemed to be that the dongle guys were behaving inappropriately, not being sexist.

Older »