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

It's hard enough to understand a codebase, but if a language was like Haskell for instance (you can enable certain extensions in Haskell with a flag at the top of a file), you could have a line at the top of a file defining that this file is 0 based, while maybe the default is 1 based for the language. It doesn't seem like that much more than you already have to consider in many languages.

comment 5y ago · link · parent

Nah, just write a script to update it every 3 months!

comment 5y ago · link · parent

Moral would be not killing other humans for power, resources, etc. I'm comfortable with my beliefs, and I understand your position as well. I personally understand the need for a military, but there are some weapons I wouldn't have been comfortable using when I was a military officer. Luckily, I have no part in those decisions today and I can share my beliefs without any risk to anyone else, "enemy" or otherwise.

comment 5y ago · link · parent

I run NoScript and I basically only browse hn these days, literally. Half the links here don't work, either, so I usually don't even read those. Twitter is a wasteland for me. I've accepted it, and I enjoy being an antisocial technophobic software engineer. I'm even thinking about only using electronics for work. I'm sick of the internet today, I feel like it only tears people apart.

comment 5y ago · link · parent

That's the exist everyone gives: "everybody else is doing it"

It's still immoral.

comment 5y ago · link · parent

I think researching this stuff today is pretty immoral. If you're creating shit like this, you're inventing the next land mine. Stop it.

comment 5y ago · link · parent

I don't get why a language can't have both 0 and 1 based indexing, just set it as a compiler flag or something. They are a homomorphism, it's not hard to add or subtract one.

comment 5y ago · link · parent

I find it fascinating to use the natural things you have available as a motive force, and it's really cool to think all you might need is a few bits of conductor and the earth's own relatively static magnetic field to move a satellite around.

I wish humans were less interested in the noisy, explosive things like engines and rockets, and more into subtlety.

comment 5y ago · link · parent

9 out of 10 times it's not the developers failing to deliver, but the management failing to provide a good plan and making bad decisions. I suggest that if you're only given the nebulous goals of better quality and less downtime, you're going to fail. You need specific goals, like in terms of specific features, that the business wants, then you figure out a plan to achieve those features based on your tech stack and code base within maybe 4 months, and if there are too many features to do that, you push back.

That 4 months of features will give you 6 months of work. Then, just ensure you're testing things in a staging env and that you have good ci so that you don't get production downtime.

Honestly, though, if they haven't thought of this stuff before and haven't talked to you about this, then it sounds like they're just putting you in s position to fail. You shouldn't have to come to hacker news to get help, and when a department is in dire straights you don't put a developer with no management experience in place, you either pay double to hire an awesome manager right away, or a vp or department head should go down and take over for a while to get it into shape.

You should look for new jobs over the next 6 months maybe, too. Just in case.

comment 5y ago · link · parent

Well, if everyone is an attention seeker online trying to pitch their own line of BS and side hustling, then not using social media, or being genuine there, is counter to culture.

comment 5y ago · link · parent

That's an interesting idea, I wonder if you would need a loop or a winding method to get enough counter-emf?

comment 5y ago · link · parent

All government contracts that outsource a service with private data to a third party should have an absolute requirement that the data itself is not to be shared without approval and that it had to be necessary for the service's functionality to do that sharing and that the data access logs must be under the direct control and review of a government auditor.

I know why this isn't how it's done: because those third party contractors are selling your data and that's how they get the low bid for those contacts.

comment 5y ago · link · parent

Shoot it with a dart that has a really long wire attached to it, then release the wire to drag in atmosphere, so the satellite is slowly pulled down?

comment 5y ago · link · parent

I'm one of those people who use keyboard shortcuts sparingly. I actually prefer the mouse, even for things I do over and over everyday. Why? I'm not quite sure, but I've tried using the keyboard in the past with vim or whatever, and I just prefer to use my mouse for most things. It was hard to remember the combos, even after a few weeks. I do use cli quite a bit, but that's slightly different. If I used office more, maybe that'd be the application which converted me to more keyboard use. I basically only use vscode, slack, and Firefox/Chrome everyday.

comment 5y ago · link · parent

I love the Office 'ribbon' because it has icons whereas the menus don't. It makes it very easy to quickly pick the tool I need by muscle and visual memory. Also, MS does icons and design well, IMO, because they don't make everything too flat or hidden, they give very intuitive indications of mouse position and such, like with a slight popping-up of the button or whatever. With the menus, I have to engage my language part of my brain rather than just looking for an icon and clicking it.

comment 5y ago · link · parent

I think to truly get the interoperability you see in sci-fi you're gonna need to upend the large stack we currently build on and reconsider what we want to do with our software and computers. Adding APIs to everything is great for today's world, but all you're doing is gluing things together still. As we get less from physical chips, we'll have to get more efficient in computation, which means more standardized data formats from the start, less security concerns by using capabilities and a linked permissions system, remote computation rather than data retrieval, and things like that.

I think you have to take a several pronged approach, because even then you can't solve a problem like this with tech alone, you need other things like education, collaboration, freedom, and protection from maligned interests. That's really hard to do, I think maybe SpaceX did something on a similar level for space and soon internet connections, but they don't have free and open tech due to profit motives, so it's not advancing the state of space tech overall, just the tech at SpaceX.

Probably, you need a large nonprofit foundation with billions of dollars to just buy it's way into the market to get something grand like that adopted.

I might email you, not sure I have the motivation for API building and chatting about APIs that you seem to, but I do like generalizing problems into the simplest forms.

comment 5y ago · link · parent

It would be neat to use a sort of reverse-holomorpic encryption, where the client could send the server a computation to perform on some data the client had access to then return the results, but the server cannot see exactly what the computation is, stepwise, so at to protect the client's internal business logic.

comment 5y ago · link · parent

I think we should try to encode types in a common notation and create a gobal package manager for them. Then get people to actually use the types and you'll get much closer to automating API connectivity. I think Tree Notation and a yet to be developed package manager based on distributed principles would be a good start.

comment 5y ago · link · parent

Example of what, because I think that's probably the idea: protect the full time employees' hours to ensure the company doesn't try to make everyone go below full time and lose benefits (see: Walmart). If you're already part time, you would have to accept your hours get cut first in that situation, by design. There's really no other way to do that.

comment 5y ago · link · parent

I always remembered how I hated unions for taking all those dues, but then I actually joined one and it was like 30 bucks a paycheck on a 3k paycheck, so like 1 percent. In exchange, my boss never asked me to stay late, work on weekends, or do several other categories of things that I routinely get asked now when I have no union. Additionally, I never had any issues with my job or boss doing anything illegal, but if I had, there were lawyers and reps waiting around to help me get my problems solved.

I wish I was in a union now.

comment 5y ago · link · parent

Hmm yes, quite. Never thought about that haha.

comment 5y ago · link · parent

I don't know, I was trained in the navy to drive ships and sometimes I have a near accident when driving my car, and a car is way easier to drive. I think people are just imperfect and sometimes have accidents, so we should allow for that when engineering tech.

comment 5y ago · link · parent

It's a race condition, so it had to do with two operations happening in a certain incorrect order. I bet they are able to see the exact situations where it occurred with pretty great certainty by reviewing the logs of the two operations that raced and see where the incorrect operation won. They even say they are invalidating all sessions or of an abundance of caution, indicative that they are pretty sure about it.

comment 5y ago · link · parent

All that from today's AI? The best I've seen from today's AI is a few gpt-3 articles that are clearly in the uncanny valley and a car which may or may not mistake an exit ramp wall for a passing lane.

comment 5y ago · link · parent

In practice, are there maybe a few problems for which this guarantee unlocks a big performance speedup? How might this be used practically?
12345
12