News for hackers. Stuff that matters.

vedantk

Pearl Harbor, 9/11. If you'd argue limiting oil exports to the empire of Japan or arming the Mujahideen (1) aren't isolationist policies and (2) caused those attacks, consider that your definition of isolationism might require the US to give up its sovereignty.
Re:Discover vibe-coded alternatives to popular software on Monday October 12, 2026 @12:28PM (#50058793)
Neat! Independent, curated aggregations of open source software > relying on Google AI Mode / <some LLM> to index these projects.

Some feedback:

- The "Explore the growing wave of vibe-coded projects" pitch does not speak to me personally; I'm more interested in utility, but don't care about how the software is made.

- Consider adding an upvoting feature?

- Typing something custom in the "Alternative to" field of the /submit form should not require hitting tab/enter to avoid a mysterious error.

This looks & feels like https://www.opensourcealternative.to/, which (funnily enough) also has a broken /submit form that always returns "Application Error". I did not try working around this by paying for the $29 expedited review option, maybe that would work.

Re:The Performance Impact of C++'s `final` Keyword on Tuesday April 23, 2024 @10:57AM (#40132705)
Possibly not in the default c++ language mode, but check out -fwhole-program-vtables. It can be a useful option in cases where all relevant inheritance relationships are known at compile time.

https://reviews.llvm.org/D16821

Re:Higher-order programming in C on Saturday June 30, 2012 @03:44AM (#4181039)
I think the callee expects the return address in %rbp, and by System V convention will pull certain arguments from above %ebp on the stack.

This might not help, but it's an interesting article on stack frames for all interested: http://eli.thegreenplace.net/2011/09/06/stack-frame-layout-o...

Re:Kernel module for advanced rickrolling replaces open() call on Thursday September 08, 2011 @03:48AM (#2973010)
Brilliant.
Re:SICP is Under Attack on Thursday August 04, 2011 @01:44PM (#2846933)
### An Update

SICP will not be abandoned at Berkeley.

Although Python will be used to convey the material, I have been assured that much of the content from SICP will be preserved.

I recognize now that CS61A is a fusion of sorts: an exciting modern treatment of traditionally intellectual material. This change reflects concerns about the difficulty of SICP, the popularity of Python, and a general lack of interest on the part of students and teachers in Scheme. Fair enough. I think this is the best possible solution for an introductory course, but that's just my opinion.

I want to reiterate that I mean Berkeley or its professors no disrespect, and that I only raised this issue because I was concerned about a potentially drastic shift in the curriculum.

I can't begin to thank you all for your comments, criticism, emails, and interest. It's made a world of difference.

Re:Flame from Bill Gates Re: Windows Usability on Sunday July 31, 2011 @01:57AM (#2827739)
Reading the last email was gratifying and cathartic. I used to have experiences like this on Windows all of the time. There's some savage pleasure in knowing that Bill Gates had to put up with stuff like this too.
Re:Visualisation of Machine Learning Algorithms on Monday May 30, 2011 @08:49PM (#2600876)
I'm glad it built.

I think the issue we're all having stems from the structural redesign of opencv 2.2. Everything has been split up into smaller headers, and the functionality is similarly separated into different shared libraries. It's a more logical code structure, but it means that we need to have different makefile rules for pre-2.2 and 2.2+ code.

As far as -lhighgui -lcv -lcxcore is concerned, those libraries don't exist on my machine anymore. "highgui" is "/usr/lib/libopencv_highgui.so", and so on. That would explain why my 'fix' didn't work for you.

Re:Visualisation of Machine Learning Algorithms on Monday May 30, 2011 @04:38PM (#2600376)
Good call. I added those headers and linked to their related libraries. It's working perfectly on my Arch install.

Here are my modifications; https://gist.github.com/999427

Re:Visualisation of Machine Learning Algorithms on Monday May 30, 2011 @10:58AM (#2599555)
Here's a patch that lets you compile with opencv2: https://gist.github.com/999061.

edit: I'm still getting a Make error for cvSumPixels (unless I comment that check out);

sampleManager.cpp:(.text+0x1a06): undefined reference to `cvSumPixels'

Re:Visualisation of Machine Learning Algorithms on Monday May 30, 2011 @10:40AM (#2599500)
The install.sh and install_script.sh scripts are Mac-dependent. How would you compile this on Linux? Qmake?

edit: Yep. Clone the git repo, then run qmake, followed by make.

edit #2: Here is a patch I wrote to make the project compile under OpenCV 2.2, and Linux: https://gist.github.com/999061

Show HN: Trace the history of academia

https://gist.github.com/825572

Wikipedia often lists the doctoral advisors of famous scientists. I wanted to be able to pick a scientist and recursively find their mentors. This information has no practical value, but I thought it was interesting. John McCarthy's mentor history is especially awesome;John McCarthy (computer scientist) &gt;&gt; Solomon Lefschetz ... &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Carl...

( Read More... | 1 comment | 6 points | on HN )