932 karma · joined Sep 18, 2020 (6y ago) · 485 submissions
comment 5y ago · link · parent
While I didn't mean for this to blow up and was merely venting, I'd like to think my unreplied vim-regex comments were good contributions and valid content for the HN community.
And just for you: Five years ago, the front page had "House sabotages net neutrality", "lawyers suing over We Shall Overcome", "Haitian cholera epidemic started by UN peacekeepers", "coffee shops signal urban change", "how the law is tracking down prank callers", "Merkel allows lawsuit against German comedian"... oh, and a new minor version of Jupyter and Tera were introduced.
I'm sad that you remember HN being different back then.
comment 5y ago · link · parent
Alas, I have paid and do still pay my country's defense budget---financially, physically, emotionally.
comment 5y ago · link · parent
It's the 0% APR that virtually nobody qualifies for at the dealership. Don't suggest content I want but can't have.
comment 5y ago · link · parent
I know the pervasiveness of the phrase no such thing as a free lunch, but is there really so much revenue lost by not harvesting data? (And yes, it doesn't take an MBA to notice any revenue loss should be avoided, so I understand the reluctance to publish to any market for free.)
comment 5y ago · link · parent
Certainly, this media conglomerate does not need to care about European visitors, but to claim they do on the "Access Denied" page is quite hypocritical.
I hadn't even mentioned the detail, "while we work to ensure..." This would imply they've been doing anything at all for the past three years.
Also, I'm 15 miles away from a Google office, so I guess I've been using a European search engine all along!
468.
It's been three years. Stop saying your European visitors are important to you
231 points · by PennRobotics · 5y ago · 181 comments
comment 5y ago · link · parent
The architecture course is 6.004, although it is a bit different than Abelson/Sussman. Abelson focuses heavily on software concepts while 6.004 has a strong hardware bent.
comment 5y ago · link · parent
If a course is teaching computer architecture and switches from a hypothetical instruction set to RISC-V, the core of the instruction hasn't changed---memory layout, instruction ordering, digital system concepts.
(The nice thing, Silvina Hanono Wachman uploads a privately recorded version of each semester of the computer architecture class, so we get the classic Chris Terman instruction as well as the modern variant.)
With that in mind, some classes will have a higher relevance churn rate than others and should be updated more often. Other classes might have historically had an amazing instructor and no major development and thus need a really compelling reason to be replaced. (MIT's Introductory Physics comes to mind.)
comment 5y ago · link · parent
Filtering just EE/CS, there are 30 or 35 courses with full video lectures on ocw.mit.edu (which are all hosted on Youtube AFAIK). OLL seems to have four.
Sometimes lectures are linked on a class website e.g. the modern Underactuated Robotics lectures: https://underactuated.mit.edu/
If you're going down the rabbit hole, search "site:https://video.odl.mit.edu/collections/" or videolectures.net or archive.org, or you can search MIT's student pages for class assignments. Honestly, this is the only way to find substantial info on some entire fields e.g. Thermal-Fluids Engineering (2.005 and 2.006) ... or Course 2, in general.
It helps to learn a specific school's curriculum (Stanford and Berkeley also have great resources) and target specific courses. You won't find lectures such as MIT's Inference course by looking on Youtube and OCW alone.
[Not just replying to parent comment] If you plan to teach, sample some lectures by Patrick Winston, Anant Agarwal, Donald Sadoway, robert ghrist, and/or David Malan. The modern approach to engineering instruction seems to be 5 to 15 minute snippets posted online, but these five are among my favorite when it comes to full lectures.
comment 5y ago · link · parent
This one bugs me, because it's a cool enough trick, and I want to expand my thought process when it comes to regex.
The closest I can get visually in vim:
/"tarzan"\zs\|tarzan
(The \zs flag starts the cursor and highlighting at a given location inside of a larger regex match. I didn't use a capture group here because it didn't help.)Two problems:
1. This will still match the quoted word when pressing "n" but mostly unhighlights it. (see next point)
2. Whatever single character is after the unwanted match is highlighted, so this would only help for visually searching for reasonably long expressions.
-----
An alternative that I would use unless a special edge case was present (and this is basically the dumb version of the author's typical solutions):
/tarzan\ze[^"]
(\ze ends the match but continues to filter whatever follows)In a persistent edge case, I'd probably resort to macros or temporary replacement of the unwanted term. But that's not very satisfying, is it?
-----
More details:
Capture group references evidently work in vim's search mode. I hadn't tried until now. I only see utility in a few cases e.g. finding any duplicate word. The specific case given at the link does not work as-is. I'd need a way of evaluating the author's full expression and then only match the capture group. Is there a way to put the capture group \1 outside of the alternation?
There's possibly a way to use back-referencing or global search and execution or branches. The solution is also probably very clever and concise! I've tried a few permutations and am still stumped.
-----
Last best attempt:
/"\@<!tarzan"\@<!
(\@<! will match if the previous atom---in this case, double quotes---is not present.)An edge case where this falls apart? Single leading double quote e.g. "tarzan
Is there a better way?
comment 5y ago · link · parent
Two details, lawsuits and safety:
The lawsuits filed for every single turbine project are a major pain. The anti-windmill crowd is a perfect example of German efficiency. They inject their opinions and objections from every reach of the country into every local community's discussion. Most of it is pseudoscience, like noise effects. I can hear the Autobahn from nearly every part of my town and its surrounding nature trails. Getting the legal roadblocks to green energy out of the way would be a victory for the climate. (From what I've witnessed, Germans are fairly resistant to change and very eager to protest: Stuttgart 21, Cyber Valley, Tesla, Berlin Airport, Querdenker, Fridays for Future)
If the German government wanted more regulation in the name of safety, there are easier pickings than the [likely completely unionized] wind turbine industry: ban traditional Maibaum raising, implement an Autobahn speed limit, limit fireworks during New Years Eve, change public policy and security stance toward football (soccer) matches, more aggressively surveil fringe movements.
comment 5y ago · link · parent
I do believe this won't necessarily save someone time. It probably just turns two hours of vegetable gardening per week into one hour of vegetable gardening plus one hour of robot gardening. I believe there are enough people in the world who enjoy gardening their mechatronics for this to have a respectable future, but I agree that it will never compete with any commercial venture
... unless someone invents an OpenCV saffron stigma identifier.
comment 5y ago · link · parent
They are ridiculously expensive compared to alternatives, but the printed parts are on a whole other level, as they are a carbon-reinforced Nylon: They are much more fracture resistant and mechanically stable than PLA or ABS. They're a U.S. company and are very responsive to support requests. The printer build quality is good, I rarely had parts warp or detach, and the ability to print without deformation at a 60 degree overhang and 50 micron layer allowed printing parts pretapped for machine screws. The cloud software keeps a good catalog of your .STLs and allows some degree of slicer tinkering. Also, you can start a print remotely, which is awesome when you want to go home, finish a part, start it at night, and it's already on the build platform when you show up the next day. (The pricier models show photos remotely, so you can abort a failed job from home. The top-of-the-line model can laser scan specific layers and does its calibration automatically.)
At that job, we had printers of wildly different price category and technology---Form 2, uPrint, Carbon 3d, NanoDimension, ProJet MJP 5600, Fortus---and the workhorse for getting decent parts out quickly was overwhelmingly the Markforged.
-----
With all that in mind, I would never buy a Markforged for my home because I don't print enough to justify the cost. If I ran a general purpose printing lab, it would be my absolute first choice. I also wouldn't buy a non-European/non-American printer as a personal, moral preference. So, I'm waiting until the end of November to buy a Prusa, because that seems to be the only time they are discounted.
comment 5y ago · link · parent
The three nulls in the load segment (between the code and data) are included in both the code and the data highlights as well as its own highlight, which is a bit unintuitive, as the start of the string looks to be /0/0/0Hello. It looks like these are supposed to be between spans like the other non-highlighted nulls, but they are included in a parent span, bin_segment0. (Issue submitted.)
Also, I wish the arrow heads did not opaquely overlap the numbers. Adding opacity="0.3" to the svg tag fixes this for me.
This is cool for a variety of reasons: It makes parsing a readelf output a bit easier, it's a nice/small/functional Rust demo (for Rust idiots like me), and the output can be redirected into html-based documentation easier than a command line tool's output.
comment 5y ago · link · parent
Medium Purple (#99e) -> Elf Header
Light Salmon (#eb9) -> Program Header
"Violet Orange Gradient" -> Executable and data, I think (It looks like this is copied to address 0x10000+0x80 and executed, but I'm not familiar with x86.)
Violet (#f9f) -> Sections (symbol table, string table, etc.)
Sky Blue (#9be) -> Section Headers