Better HN
topnewbestaskshowjobs
Log inSign up

lambda_obrien

312 karma · joined Nov 15, 2020 (6y ago) · 351 submissions

I like functional programming and red-headed comedians.

    whatever@lambda-obrien.com
(as in: "whatever" you want to address it to)
Submissions

comment 5y ago · link · parent

A company that would allow that in the first place should not be trusted later on, claiming they "fixed it". It's such a clear violation of ethics and morals. I don't get how a corporation can literally steal money from it's employees, say it's "sorry" and it "fixed the problem" and get off freely.

comment 5y ago · link · parent

Yup, when I do programming, I imagine the data inputs to be some "shape" and, in my mind, that shape transforms as I apply operations to it, like `filter`, `map`, `take N`, etc. I just visualize what I want the data to do, then start modifying it.

Another set of analogies I use is that the data, to me, is like clay or a block of wood, and I'm either forming or carving it depending on the context. For example, if I am doing some calculation where I take several bits of data and combine them to get a result then I'll imagine "forming" the data like clay in my mind as I apply mathematical operations to it like `*` or `sin`. If I'm doing stream operations in some "rules engine" where I need to sort through the data, rather than a straightforward equation like the former example, then I imagine "carving" the data like wood with `filter` or `reduce`.

I also get a "feeling" when I look at code or architecture as to better ways to do it, I don't have evidence at the time to support my feeling, but later on they are often correct.

Also, I don't break things down into tasks as such, but I do start a project/task by commenting with TODO at high level and then drill down, much like a functional programmer would do so. For example, if I'm writing a tool to count the number of lines in a file, I would start with something like:

    # TODO: initialize the program

    # TODO: load the file

    # TODO: count the lines

    # TODO: output the count

    # TODO: finalize the program
Then, as I go along, I add the more-specific steps to replace the "load the file" (or I just remove the TODO prefix and it acts as a organizational sectioning comment), and eventually I'll start taking those comments and turning them into code/functions when they're sufficiently atomic. I kind of imagine this as a combination of clay and wood, I'm building up the comments like clay, but also sort of "carving" the raw comments into code (the block of wood is an empty file, and I'm carving it bit by bit into the form it will eventually become: a file that compiles into a program that does what it should).

comment 5y ago · link · parent

Sounds like my current job.

comment 5y ago · link · parent

If I run more than two "browsers" my laptop slows to a crawl (I am in the USA, but I don't have the money for fancy stuff), so I have to decide to run Firefox (main browser), Chromium (test browser), VSCODE (IDE "browser"), or one of the other 50 "browsers" I have installed. Usually I have to run all of the above 3 when working, so I end up using OS tools to "freeze" the process of whichever "browser" I am not using at the time, but it causes problems.

I would be super happy if I could run several similar engines under one main process, I don't care as much about security concerns when I'm developing my own software, and would not mind some "intraprocess security holes" if I could reduce my memory footprint like that and then turn it off when I want the "security holes" to be closed again.

comment 5y ago · link · parent

I would pay/donate up to $20 once, or $1 a month or something, if you created a (very easy) containerized deployment I could deploy on my home server and limit to only the phones I choose to allow access, that way only my wife and I (and later my son) can hook into this and share locations with each other. I already have our phones setup to VPN home when off the home WiFi, so this would be great for privacy.

I would pay that much for the cloud offering if you had a contractual/legal obligation NEVER to sell my data EVER, or to sell the service to any company without wiping ALL of my data first.

comment 5y ago · link · parent

It was settings. I had a combo of AMD ryzen 2, nvme drive, windows 10, and couldn't for the life of me get windows to discover the drive and install, whether using uefi or bios. I haven't ever dealt with Windows without it just working, so I was unprepared, and my Googling did nothing. I'm not a dumb guy, but I determined with this combo of hardware it was impossible for me to get Windows installed. Combine that with a new kid, and I decided just to get a Playstation 4 (this was months ago) and not have to mess with anything.

comment 5y ago · link · parent

> Perhaps he was trying to install Windows 10 using a USB stick

I was, yes, but even switching to legacy didn't help at all. I spent weeks trying to get it working, I looked at everything I could and tried every combination of settings (I had a grid).

comment 5y ago · link · parent

Fuzzing: give a program structured random garbage as input and see what happens, then fix the resulting bugs.

comment 5y ago · link · parent

HN isn't exactly the most positive of places sometimes, in the comments, and I've been downvoted for comments that don't make sense to be downvoted unless you had something against me as a poster (like my recent 0 voted post about a System76 laptop). I don't care about downvotes, I don't care about my vote numbers at all (other than being able to report posts and not be "green"), but it's weird that the HN community thinks it's above such petty "censorship", or whatever you want to call it, when they constantly downvote topics that aren't in keeping with the general conservative and commercial/capitalistic slant that goes on here.

I wish the political or murky topics could be separated from the clearly technical ones, I would ignore the former as much as possible.

I have no idea if this article was good or bad, mind you, but there is a point to "HN is toxic": HN'ers preach "free speech" then downvote/flag anything they don't like, so the community is "talking out of both sides of it's mouth", which is pretty toxic.

comment 5y ago · link · parent

Rdr2? Fuck, I'm in. I built a PC that i couldn't get windows running on due to some stupid uefi or something, i can't figure it out so it's sitting in the corner and I'm using a PlayStation now. I'll try putting Linux on it so i can use them games i bought but couldn't use because software is a fucking drm nightmare these days.

comment 5y ago · link · parent

You can for sure, but part of the appeal is that they've fixed some driver issues and daily usability stuff with pop os. Overall, though, the laptops are fine hardware and support Linux out of the box.

comment 5y ago · link · parent

Yes, it just works better. I have a tpad X1 with pop os and a lemur and the lemur is easy easier day to day, I'm always rebooting the x1.

I do recommend maxing it out, i got a cheaper spec and it can be sluggish for multiple heavy loads, like three browsers at once (cpu bound).

comment 5y ago · link · parent

We have services which run a "notebook as a service" so it's not too far fetched to think of Microsoft doing this with Excel spreadsheets. I bet it would take the business world by storm and would be a good move.

comment 5y ago · link · parent

Wow, I'm not sure why this was unpopular, does someone want to fill me in?

comment 5y ago · link · parent

Do you have an example of a truly exotic programming concept? I'm really interested in weird PL stuff.

comment 5y ago · link · parent

I'm really enjoying this series, mostly because it's by the same person responsible for the best Haskell reference ever, in my opinion:

http://dev.stephendiehl.com/hask/index.html

comment 5y ago · link · parent

If I had a billion pounds of rice, and millions of people were starving, would it be immoral for me to stockpile that so 50 generations of my family would be taken care of before the millions of starving people now?

Edit: because i can't reply right now:

I'm curious if a direct application of your question to something you need to survive would get a different answer.

We think of money as something we can accumulate without limit but if you replace it with other things in a similar context it seems different. Why is it okay for billionaires to exist, but not for someone to stockpile too much food?

I'm curious if anyone has an answer to both.

comment 5y ago · link · parent

Yes, it's not 1:1, but the comparison is apt, IMO. I worked in a factory that had a semi-technical assembly line, in other words we had to train the workers to some level of technical competence (medical devices) and I see parallels in how I was onboarded at my current company. They don't care about your technical designs or how good your algos are, they just want you to pump out ticket completions as fast as possible, ensuring you follow the procedures to the letter, no matter what. As someone who thinks highly of my own abilities (why wouldn't one think highly of themselves?) I feel like my growth is stunted and my full abilities aren't being used because of the strict environment and procedures. I understand why they are there, I know they are important for quality (I was a QA manager at that factory) but I think there are better ways than treating coders like assembly line workers.

Don't take the comparison too literally, the actual work of putting a machine together is different than coding, and I'm not talking about "sticker applicators" type assembly lines, I'm talking about high-tech assembly lines like what I experienced (medical devices, in this case). I did base my comment on more experience than a few "How It's Made" episodes, though.

comment 5y ago · link · parent

I, for one, normally run my 15" laptop in 1600x900 mode when using on my lap (when using as a "desktop" I have two 32" screens at my desk), because of my old eyes, most of the Retina-lovers here must be the younger folks. I do like the feel/look of a Retina screen, but even when I borrowed a hi-res 4k laptop I had it set to something like 300% magnification.

comment 5y ago · link · parent

They do a lot more work to make the rebranded laptops work well with Linux than just putting a sticker on the case. The reason I purchased one wasn't for "lifestyle" but because even my Dell XPS or Toshiba X1 for work, which work about as good as you can expect of any laptop running Linux, are fucking annoying day to day because of tiny nits. With the System76 laptop, I literally never fuck around with stuff, it just works with everything I have on my desk.

I do admit that in today's world a laptop is almost useless (I have nowhere to go!), and I plan to transition to a real desktop sometime soon, since it's just so much more powerful and useful overall.

comment 5y ago · link · parent

That is factually incorrect, as he had millions less than each of his opponents:

https://en.wikipedia.org/wiki/2016_United_States_presidentia...

https://en.wikipedia.org/wiki/2020_United_States_presidentia...

comment 5y ago · link · parent

I love your comment, thanks, it gave me a bit of hope, which is more valuable than most other things in the world (my son gave me the hope needed to get out of depression, maybe you will give me the spark to make my company better?).

comment 5y ago · link · parent

I am not expert enough to weigh in heavily on what's the best way to do that, but I feel like "software engineer" is just a title to make us feel great while we assemble our components much like the workers on an auto manufacturing line, but with a tiny bit more education and day-to-day work differences. However, with all the low-code and other tools which make it easier to write software and deploy it (crappy software, but "it works") soon we'll see "software engineers" turn into "software assemblers" or something like that. Sure, there will be a handful of programmers who will need to code those tools, or specialize in algorithms or writing code on constrained environments (embedded), but those will be the surgeons who make all the money, and the rest of us are the closers (whatever they call the surgeons who just sew things shut and finish up the procedure).

comment 5y ago · link · parent

I agree and also don't get it: I barely write real code in my day job as the only coder on a project I own. I mostly go in, make notes on what looks bad, then fix it later, but the majority of the work isn't writing code and sometimes even I have to look up the proper `case` statement syntax or something. I can imagine being nervous, going in to do FizzBuzz, and bombing it, even as someone who has coded since I was 14 (I am now much older). We need to stop worrying about coding expertise and start thinking about how a programmer visualizes and thinks about data and code flow, that's the important part. Syntax can be forgotten, the semantics of programming are the important thing.

comment 5y ago · link · parent

When i used Mint at first, they'd just ask you to go to the page with the caphcha or whatever and go through it when you'd update your accounts with the auth scraper method. This was like maybe a decade ago? You could do a similar thing with mfa in realtime.

comment 5y ago · link · parent

Sometimes you want that email address to forward somewhere because you used it for years. Maybe Google should consider allowing a permanent email forward and then more people could delete that gmail account they don't use.

comment 5y ago · link · parent

for sure yes; treating people like people not robots or cattle or employees, just other humans who have needs, wants, and emotions.

comment 5y ago · link · parent

I'm aware of that practice, and that's why I would hope that we could build something like the often talked about USPS bank, or whatever, so everyone can have equal access to real banking with no predatory practices.

Not that any gig companies are doing this yet, or even thought to do it, but I just don't like the idea of this being done in a "company scrips"-like fashion, there are some things that should be totally nuclear to the touch, and tying even more of your life to your company (in the USA you have medical, housing, food, etc. tied to your work) should be nuclear.

1
89101112