Better HN
topnewbestaskshowjobs
Log inSign up

linuxlizard

1,075 karma · joined Nov 29, 2010 (16y ago) · 317 submissions

Firmware engineer at Cradlepoint (part of Ericsson) working on WiFi and GPS. Formerly engineer at Marvell doing MFP scan firmware.
Submissions

comment 7y ago · link · parent

There's a great Bloom County from way back that summed this up. https://www.gocomics.com/bloomcounty/1982/11/14/

comment 7y ago · link · parent

How do D and Rust stack up against each other? Both seem to quite attractive as next generation compiled languages.

comment 7y ago · link · parent

[flagged]

comment 7y ago · link · parent

img file=shocked.gif

comment 7y ago · link · parent

I've been using the Microsoft cpprestsdk, too, but for client stuff. I've been enjoying using it.

comment 7y ago · link · parent

I found Color: A Natural History of the Palette by Victoria Finlay a really fun book to read about natural colorants and their history.

comment 7y ago · link · parent

It's a pretty amazing problem--a wifi chipset. The driver runs on Linux and Windows, also supports 3x different CPU architectures (x86, mips, arm) and multiple bus interfaces (SoC internal, usb, pci). Supports disabling optional features so 2.4Ghz only chipsets have a smaller memory footprint. Can build with/without different security options. And that's just starting in on the huge number IEEE 802.11 standards across the last 20 years. Some chips support some of the features, some don't -- but the driver still has to work on all of them.

Linux kernel is an amazing example of how to do ^^^that and still produce beautiful code. The Linux kernel uses a great number of function pointers to accomplish their encapsulation goal.

comment 7y ago · link · parent

Yes, I definitely learned it from a Spolsky & Atwood podcast. Not my own term (I'm nowhere near that clever).

comment 7y ago · link · parent

I work with a large vendor code base that is ~300k lines of C. There are 515 different #ifdef conditional symbols (thank you, grep). The code base started probably >20 years ago and has has who knows how many engineers working on it. There are 20+ years of standards' evolution in this code, across who knows how many chipsets, the vendor changing hands, etc. And yet, in spite of the maze, the code works very well!

I would love to see a new language, technology, something, take on this sort of problem. C works so well in this sort of problem because of the preprocessor's ability to strip out bits & pieces that aren't necessary at the time.

We need something that will allow us to fall into the pit of success rather than succumb to the easy solution of using #ifdef for new, optional features.

comment 7y ago · link · parent

> I really don't understand Apple's obsessions with thinness.

We engineers will work on the same thing over and over until we're told to work on something different. The last input the Apple mechanical, etc, engineers were given was "Make it thinner." There has been no change in direction, no new instructions, so they continue to work on the same request.

comment 7y ago · link · parent

Looking at my monitor pixels with a good loupe, the gray is made of red+green pixels in a Bayer pattern. So the scrolling is making a purple effect, probably in our aforementioned weird human visual system.

update: Bayer pattern is wrong term. The MacOS background is a red+green checkerboard. The HN background is a vertical stripe of red+green.

comment 7y ago · link · parent

Perhaps record video (with phone), see what happens in the playback. Or look at the screen pixels with a loupeor magnifying glass. Human visual system is kinda weird so could be either.

comment 7y ago · link · parent

I know a lot of local politicians. I've met a few state level politicians. I know people who work professionally in politics as part of the machine. I'm consistently told one thing politicians are most afraid of is phone calls. When people care enough to take time out of their day and cold-call a stranger, then a politician knows it's a big deal. Emails, form submits, fax--who cares. But a real constituent calling a staffer is a big deal. Enough call, then the politician gets cover from their funders to act in the peoples' interests.

comment 7y ago · link · parent

As a programmer in Idaho, I breathed a sigh of relief.

comment 7y ago · link · parent

I hacked the source slightly so I don't take any damage in combat. Is a simple one line change so it's a cheat but a tiny cheat. I still cannot get past level 10-12 or so. (Wow, I suck.)

comment 7y ago · link · parent

My family had government cheese growing up. Was very very soft, only lightly more dense than cream cheese. Was hard to cut because was too hard for a butter knife but too soft for a carving knife. Taste was like a blander Velveeta. Was not terribly tasty in cold sandwiches but it made THE BEST toasted cheese and grilled cheese sandwiches. Melted very well and tested best melted.

comment 7y ago · link · parent

Oops. Sorry. I had completely forgotten HN markdown. I usually use the underscores around book titles with cleartext in mind. I'll remember asterisk in the future.

comment 7y ago · link · parent

I've been in the same boat--relearning C++ after using C++98(!) for a long time. My first go-to book was _A Tour of C++_ , 2e by Stroustrup. Also _Effective Modern C++_ by Scott Meyers (of _Effective C++_ fame).

Other books I've been reading: _C++ 17 The Complete Guide_ by Josuttis _C++ 17 in Detail_ by Filipek

Lots of good blogs out there. Also the CPP Podcast. http://cppcast.com/

There are also a lot of great blogs covering new features. Also

comment 7y ago · link · parent

Developing software for Linux is like painting a moving train.

comment 7y ago · link · parent

C++ is a little like the English language: a bunch of different pieces gathered together over a period of time, new features added to replace/fix old. I like it. (My comment copy/paste from another C++ thread.)

comment 7y ago · link · parent

C++ is a little like the English language: a bunch of different pieces gathered together over a period of time, new features added to replace/fix old. I like it.

comment 7y ago · link · parent

Me, too! Last job I loved working in CMYK and CIELab in Photoshop. Was the killer feature that made Gimp a no-op for me.

comment 7y ago · link · parent

Honest question: what sort of C++ dev are you looking for? I'm curious how C++ is being used in industry these days. I'm re-learning C++ after 10+ years away. I'm tired of how squirrely Python is and how much extra work I have to do in C.

comment 7y ago · link · parent

A US military budget of $660,000,000,000 means each person the USA is paying $2030 to fund the military (including children). At the Federal minimum wage, after taxes, that's 47 full working days to pay it off.

So that seems like a lot more to me.

comment 7y ago · link · parent

Agreed. Was fantastic. And their man pages were super complete and easy to read.

comment 7y ago · link · parent

Turbo Pascal was my first. You never forget your first. Turbo C then Turbo C++ were also amazing. My fingers still remember the copy/paste ^KB ^KC.

comment 7y ago · link · parent

Brief, the text editor, from Underware. It's still the best code editor I've ever used. Super fast, underpins written in a Lisp-y dialect (later C-ish). The ^G feature would pop up a list box listing all functions in the file and I could select where I wanted to jump to. It's still a feature I wish I had in any modern editor.

comment 7y ago · link · parent

Ouch. True. So weird for me to feel that way.

comment 7y ago · link · parent

Also had a Tetris that is still the nicest clone I've ever played. For years after, I'd load my GeoWorks onto an old PC just to play the Tetris. I probably have the GeoWorks disks in my garage still.

comment 7y ago · link · parent

I was in college at the time. Wrote a /lot/ of technical papers with GeoWorks. The word processor and draw had great integration.
1
567
11