Better HN
topnewbestaskshowjobs
Log inSign up

coldcode

12,297 karma · joined Mar 28, 2013 (13y ago) · 3,811 submissions

Submissions

comment 4y ago · link · parent

Interesting detective work. I really wonder how in this modern era people still write in a language that's so easy to screw up. I started writing C in late 1984 but have zero desire to ever even see it again. Today I do Swift, but if I were writing an OS Rust makes way more sense that C (which I hear is coming in Linux). Debugging broken C code seemed to often came down to tripping through memory not yours because you miss counted something. In my commercial memory allocator in the 90's I had a lot of features to catch such over/under/mis-writes, but it seems better to have the language not even let you screw up in this way, rather than try to catch it in a runtime test.

comment 4y ago · link · parent

Unless you are far far away (like NZ or Aus) you are better off dying instantly. Even far away, and even if there is no nuclear winter sort of result, the radiation and effects are likely get you as well. Volcanic dust can be pretty widespread (Krakatoa is likely bigger than all the nukes we have) but it's far more localized unlike a general nuclear exchange, plus the dust is likely to be both radioactive and contain all sorts of nasty volatilized chemicals.

comment 4y ago · link · parent

Sadly the Amazon is slowly being destroyed. How many species will vanish before anyone even knows they went away. How many of them will turn out to be important but we will only see the after effects.

I wonder if the current rate of destruction > renewal and what the rate is.

comment 4y ago · link · parent

I doubt the majority of Russian military planned this attack. It seems more like Putin and his inner circle made all the decisions and failed to listen (or were not even told out of fear) what could/should be done. Hitler had the same fatal idea that he was a military genius right until the end and his generals were often sacked if they disagreed.

comment 4y ago · link · parent

You can have an enormous airforce on paper, but not be able to wield it in those numbers. It's possible they simply can't get enough working planes together to make a difference, and what they have working is all that they have. It's also possible that Putin is afraid of some other border being attacked and is keeping all planes for defense (though that seems rather stupid). You can't win a ground war if the enemy can indiscriminately destroy your troops, vehicles and logistics, no matter how many people you can throw into battle. Of course this did work in WW2 as the USSR sent enormous armies full of people who were often unarmed (pick up a dead mans rifle), and had Commissars behind them to shoot anyone who failed to go forward. This is no longer the case, and it's entirely possible the troops (and some leadership) simply doesn't have any desire to kill themselves in a war they care nothing about.

comment 4y ago · link · parent

I wonder how the court views Apple's iCloud Relay. If every browser used such a feature (where your IP is essentially elided), then would that not solve such IP related GDPR issues? Of course Apple knows your IP address, but no third party does.

comment 4y ago · link · parent

To solve a problem about 23 years ago I wrote a programming language + interpreter. It was meant to be a simple language to write phone surveys in, so basically a kind of DSL for a single purpose. The programmers who built the survey taking system that would use my language discovered they could write much of it in the language itself, which surprised me a lot. Was a really fun project. No idea what happened to it.

comment 4y ago · link · parent

Duffel is interesting, I wonder what they use on their back end. I've written airline booking API when I was at an OTA (now sadly gone like so many) on top of our parent company's res system. It can be complex, made more in my case so by the pathetic res system itself and its limitations. In fact at the time we had no way to do test bookings without real money (and mostly un-refundable except for a single route).

comment 4y ago · link · parent

I spent the last ten years of my career building iOS apps, all but one you would likely known at the time, and whoever in charge of this app is an idiot. Shipping an app to the general public with symbols intact? Really? If they didn't know/didn't care, it tells me no one there likely cared about any other quality issue either. It's highly likely that any relevant lead person probably screamed about this daily, but higher ups don't give a shit.

At my last job our legal team would have had a cow shipping labels. Our apps are gleaned by blogs looking for scoops on upcoming features.

I once interviewed at a major airline (not United) and at the time they had outsourced their entire app and web to some foreign companies, including any and all oversight. Their app was a POS and they had hired someone to write a new one -- the same company. Now they had no idea why it was so delayed so they wanted to hire someone to embed in the other company to spy on what was going on. Of course I wanted nothing to do with this travesty. This was years ago, no idea what happened.

You'd be amazed at how pathetic mobile development can be even at big companies. Mobile doesn't have to be hard, but if management tries hard enough, can make crap at scale.

comment 4y ago · link · parent

I post my art daily on twitter; I rarely post anything just textual other than explaining why I missed a day, and I retweeted one thing from another artist who is learning from my work to help him. I refuse to use instagram/meta but so far twitter has been good to me. I look at anyone who follows me or likes a piece to see what they are doing and like anything interesting or follow. Most of my followers are artists or NFT folks plus musicians and the occasional more famous person. I pay no attention to all the BS outside of art.

comment 4y ago · link · parent

Does anyone here run a desktop Mac without a battery backup device?

All of my Macs are either laptops or have a hardware backup device, so unlikely a write would be lost due to power failure (unless backup device failed which could happen).

comment 4y ago · link · parent

Snake Oil is a long standing business practice.

comment 4y ago · link · parent

The analysis was interesting but the end result was pretty terrible. Of course music in the past was often considered terrible by the following generation, a trend that still exists today.

What I would really like to see is an attempt to write multipart contrapuntal works like Bach with some kind of AI. The rules are fairly well understood, but Bach knew how to adapt and even violate them all but still wind up with amazing pleasant music.

comment 4y ago · link · parent

I went to college in the late 70's, I was 6'5" and weighed 180. Then again my metabolism was crazy. Now I weigh 215. Clearly my one data point proves all...

comment 4y ago · link · parent

Works fine for me as well, though I use the hosted version (not a high volume site atm).

comment 4y ago · link · parent

As a former iOS dev (retired, now doing MacOS/Web only) I also spend most of my time in Safari. Sure it has issues, but iCloud Private Relay is very nice, and iCloud Keychain is very convenient across all my Apple devices.

Chrome might have fewer issues, but feeding the Google Ad engine is not a feature I care for much. I use it when something refuses to work in Safari, like for some reason paying my water bill online.

comment 4y ago · link · parent

I don't have kids at all and I found it a fun movie. It's not a heavy plot (there really is no villain) but so refreshing after a steady diet of superhero movies. Look at the average broadway musical and the plot is even lighter; every movie doesn't have to be Citizen Kane. The movie is a perfect embodiment of the culture (from people who are Columbian, not me), the music is very broadway but still in keeping with the country and well written and sung, and the animation is of course magical. There is no comparison with tripe such as Sing 2.

I wonder what it would be like to work on something that takes 5 years to make, the longest I have ever worked on 1.0 apps (since the 80s when I started) is 14-16 months. Just coordinating thousands of people for 5 years is mind boggling.

comment 4y ago · link · parent

Hmm I get hear no sound at all (Safari, Monterey). The fretboard should be switchable to left/right handed.

comment 4y ago · link · parent

I'm 64 and retired last year. I spent 4 decades programming, and everything changes all the time, and I always learned new things. I am still learning new things, and still writing code to support my generative art. Admittedly I was finally burned out of the grind of working as a programmer, but it took a whole lifetime. But to truly approach new things you have to be willing to let go of the old, even programming if necessary, but without forgetting what you learned. A lifetime is a long time; you really don't need to just do one thing the whole time.

A quote from a novel has always been an inspiration since I read it in high school - "An artist must leave a body of work" from The Agony And The Ecstasy, about Michelangelo. If your programming no longer excites you, learn something new in programming, or even learn something that isn't programming and do that. It's not easy, and might cost you money, but wasting your life doing something you no longer care about is not worth it.

Of course some people can deal with a terrible job, and just spend the non-working time doing what they love, and that's OK if you can deal with it. I could never do that; I didn't turn to art until the last few years.

comment 4y ago · link · parent

Hacker News used to be about things that mattered to programmers and startups, etc. Now we are turning into yet another Reddit scream box. This type of article does not belong here. The comments keep turning into pointless vitriol.

comment 4y ago · link · parent

At my last job my team were at one time referred to as "onshore resources" despite all being employees and in the same office.

comment 4y ago · link · parent

I bought a copy recently and it's much improved from what it was before. The new mixing algorithm is very nice and mostly transparent.

That said it's still a huge CPU hog, particularly with watercolors; it routinely soaks up 6/8 hyper threads on my iMac. Simulating real paint as a physical process seems to only happen on CPUs instead of GPUs, so a lot of these apps get really chuggy on larger canvases, whereas simple stamping engines (like in Affinity Photo) run very fast in Metal, but cannot simulate paint all that well.

Not sure if you could do a physical simulation of paint in Metal/OpenGL/Vulcan etc.

The new mixing algorithm works pretty well, but obviously that's only one part of simulating painting.

comment 4y ago · link · parent

Last place I worked (big company, not FAANG) I remember a PR for our main app that affected 500 files and occasionally dozens of places in some of them. All the reviews were "LGTM".

comment 4y ago · link · parent

Wonder if he remembers anything from when he was young, if that's even possible for a tortoise.

comment 4y ago · link · parent

Having written a commercial memory allocator a quarter century ago, I remember dealing with freelists, and decided they were too much of a pain to manage if fragmentation got out of control. I chose a different architecture that was less fragile under load. Interesting that this can still be an issue even on today's hardware.

It's also interesting how much a tiny detail can derail a huge organization. My former employer lost all services worldwide because of a single incorrect routing in a DNS server.

comment 4y ago · link · parent

The only opinions that matter in the end is the pilots', I want to hear from them. Are you willing to fly a loaded jumbo into an airport with a flaky altimeter during a zero visibility landing?

Airline and manufacturing execs and the FAA/FTC are not risking their lives every day (although it might be eye opening if they would be willing to all cram into a plane and land in a thunderstorm at an airport with 5G towers at the end of the runway).

comment 4y ago · link · parent

Also watch Mentor Pilot on Youtube. https://www.youtube.com/channel/UCwpHKudUkP5tNgmMdexB3ow

He is very through and detailed, an instructor pilot with a lot of experience.

comment 4y ago · link · parent

Won't someone please think of the children syndrome.

The real answer is we want to read all of your internet interactions any time we want; the children thing is just a way to convince people that letting the government (and everyone else) to spy on you is ok.

comment 4y ago · link · parent

Elvis did not have bananas on his bacon sandwich, but blueberries? I will never believe such poppycock.

Actually I have never tried either, so maybe either works!

comment 4y ago · link · parent

I think they just removed the n't.

When your business depends almost entirely on ads, you have to do anything you can to keep from losing revenue from ads and that results in screwing anyone and everyone and hoping your size makes it impossible to lose if it gets out.

1
141516
128