HNHacker News
TopNewBestAskShowJobs

linuxlizard

1,075 karma · joined November 29, 2010

Firmware engineer at Cradlepoint (part of Ericsson) working on WiFi and GPS. Formerly engineer at Marvell doing MFP scan firmware.
submissionscomments
linuxlizard··on DConf 2019 in London
How do D and Rust stack up against each other? Both seem to quite attractive as next generation compiled languages.
linuxlizard··on Removal of Safe Harbor Protection for Rebates
Found the Libertarian!
linuxlizard··on A large majority of health news shared on Facebook is fake or misleading
img file=shocked.gif
linuxlizard··on Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App
I've been using the Microsoft cpprestsdk, too, but for client stuff. I've been enjoying using it.
linuxlizard··on Lapis Lazuli: A Blue More Precious Than Gold
I found Color: A Natural History of the Palette by Victoria Finlay a really fun book to read about natural colorants and their history.
linuxlizard··on Let’s stop copying C (2016)
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.

linuxlizard··on Let’s stop copying C (2016)
Yes, I definitely learned it from a Spolsky & Atwood podcast. Not my own term (I'm nowhere near that clever).
linuxlizard··on Let’s stop copying C (2016)
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.

linuxlizard··on Design flaw behind MacBook Pro’s “stage light” effect
> 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.

linuxlizard··on Advanced Mac Substitute: API-level reimplementation of classic Mac OS
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.

linuxlizard··on Advanced Mac Substitute: API-level reimplementation of classic Mac OS
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.
linuxlizard··on Political failure modes and the beige dictatorship
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.
linuxlizard··on Screens might be as bad for mental health as potatoes
As a programmer in Idaho, I breathed a sigh of relief.
linuxlizard··on NetHack beaten in 7 minutes 15 seconds real time
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.)
linuxlizard··on American Cheese Surplus Reaches Record High
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.
linuxlizard··on I learnt C++ in 2018 and have no regrets
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.
linuxlizard··on I learnt C++ in 2018 and have no regrets
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

linuxlizard··on Game dev: Linux users were only 0.1% of sales but 20% of crashes and tickets
Developing software for Linux is like painting a moving train.
linuxlizard··on Initialization in C++ is Seriously Bonkers
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.)
linuxlizard··on C++ Parser in Forth?
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.
linuxlizard··on GIMP and GEGL in 2018
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.
linuxlizard··on I disagree with Linus Torvalds about C++ (2009)
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.
linuxlizard··on The Golden Age of Rich People Not Paying Their Taxes
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.

linuxlizard··on Ask HN: Which abandoned proprietary software would you resurrect?
Agreed. Was fantastic. And their man pages were super complete and easy to read.
linuxlizard··on Ask HN: Which abandoned proprietary software would you resurrect?
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.
linuxlizard··on Ask HN: Which abandoned proprietary software would you resurrect?
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.
linuxlizard··on Goodbye, EdgeHTML
Ouch. True. So weird for me to feel that way.
linuxlizard··on PC/GEOS
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.
linuxlizard··on PC/GEOS
I was in college at the time. Wrote a /lot/ of technical papers with GeoWorks. The word processor and draw had great integration.
linuxlizard··on Ask HN: Have you ever inherited a codebase nobody on the team could understand?
I'm all in C, too: kernel drivers from wifi chipset vendors. There's one C compiler we can use (gcc) and we're even restricted to working with a specific version (because cross compiling). We have to be very careful about changing any of the code because we have to integrate any changes into the next drop of the vendors' code. Static analysis is our best bet. Is a really interesting problem.
← PreviousPage 6 of 11Next →