HNHacker News
TopNewBestAskShowJobs

macspoofing

9,910 karma · joined September 1, 2011

submissionscomments
macspoofing··on The words you choose within an app are an essential part of its user experience
It's a nice set of guidelines but does Apple have credibility in this area? Specifically, does Apple actually follow what they preach (looking at you 'Write clear error messages')?

Or more generally, are Apple's apps as good or better than what is out in the industry?

macspoofing··on Finding Java Thread Leaks with JDK Flight Recorder and a Bit of SQL
>Doesn't Java also have things that use reference equality? Arrays?

Yes. There are inconsistencies all over the place. In fact, OPs example of java.io.File is ironic, because that object had a number of issues and was somewhat replaced by java.nio.file.Path [1].

Even outside of that, file equality in general is fraught with a lot of subtlety. For example, should java.io.File equality be case sensitive or insensitive?

[1]https://docs.oracle.com/javase/tutorial/essential/io/legacy....

macspoofing··on Finding Java Thread Leaks with JDK Flight Recorder and a Bit of SQL
I don't understand the point you're trying to make with your example. Is the concern here that in C# `FileInfo` does not override `Equals` and because this is inconsistent with other standard lib objects this is a trap for developers? If that's the case, well, Java has its own share of weird and inconsistent behaviour that developers simply need to be aware of.

---

On a tangent, is there a reason why FileInfo does not override `Equals`?

macspoofing··on Client-side encryption for Gmail in Google Workspace is now generally available
>I don't see how it provides any protection against the 5 eyes or having one's google account breached.

It isn't supposed to protect you from government agencies. Really what this feature is, is 1) e2e of email, and 2) integration with an external enterprise key management service.

#2 means that at very least, your org will have access to your keys and therefore all encrypted mail, and if they have access to that, then they are open to things like subpoenas from law enforcement.

macspoofing··on Hundreds of changes made to latest editions of Roald Dahl's books
>But the Roald Dahl Story Company said “it’s not unusual to review the language” during a new print run and any changes were “small and carefully considered”.

This is the first time I heard of this kind of language 'update'. That's not normal.

Shakespeare is genuinely hard to read and understand but we don't just change random phrases and words to match modern sensibilities. Even modern English translation will keep the original for reference.

>As presented it is just designed to generate outrage,

Because it is outrageous.

macspoofing··on Waiting for Postgres 16: Cumulative I/O statistics with pg_stat_io
Because PostgreSQL major version upgrades are hard and for large databases, requires some level of downtime. Given that that major version releases are on an annual release cycle, staying evergreen is really really annoying.
macspoofing··on The teen mental illness epidemic began around 2012
Social media, and smart phones are partially (or even largely responsible) ... However I wouldn't discount 'social contagion' as a contributing factor since 2012 was around the time focus on "mental health" (specifically focusing on 'mental health' and related issues) came into wide prominence, especially amongst the younger crowd.
macspoofing··on MIT engineers develop a new way to remove carbon dioxide from air (2019)
>Wow its been 3 years, where did all these great tech go?

The fundamental problem with carbon capture is that 1) carbon comprises a tiny fraction of Air, and 2) requires energy input in some form. This means whatever methodology you use, will require you to expand energy to move huge volumes of air to remove a small number of particles (i.e. ~400 particles of Carbon, for 1 million Air particles).

macspoofing··on The future (and the past) of the web is server side rendering
>but the page is loaded later because you have to wait for the server to perform this work.

Client-side rendering isn't immune to this. The server APIs they hit have to render the response in JSON after hitting the same kinds of backend resources (e.g. DB).

macspoofing··on “In roughly two hours, 1647 devices are about to be wiped”
>Why are we live-tooting (ugh) our client's private disasters?

Indeed. I'm glad they are, because it is fascinating but very odd. I'm sure it's not hard to identify the customer either.

macspoofing··on Builder's Remedy goes into effect in many California cities tomorrow
>If the people decide together to change it though, they can.

And they did. The decision by the people was to "nuke" current zoning regulations.

macspoofing··on Tell HN: Confluent laying off 8% of staff
>I don't really understand the intensity of folks that insist on open source meaning something very narrow and specific but different strokes.

Words have defined meanings and are important for conveying information and communicating. If you just make up definitions to commonly understood terms, it leads to confusion.

>To me something is open source if ...

So you took a precisely defined phrase[1] that many people put a lot of thought and negotiation into (working with various stakeholders), has been in wide use for decades by thousands of companies and organizations, and hundreds of thousands (or millions) of developers, threw that definition out, and created your own definition because of reasons - how does help anything?

>This is going to sound stupid because I didn't put any real thought into it

Hmmm.

[1] https://opensource.org/osd

macspoofing··on Solar panels on cars make no sense at this point
>but Toyota just made a Prius demo

You mean in 2019.

>or dashboard which they say adds 25miles of range per day.

They made a prototype. They didn't say how much extra cost it would add to the car (and how it affects reliability, maintenance and safety). The cost of those panels has to be balanced by the fact that 25 miles is 30-60 min charge from your mains vs a day of charging from solar?

They also made a point to state this wasn't for range extension - i.e. when you're driving, that solar panel isn't contributing meaningfully to your range.

>Their design doesn’t look practical, but 5kW/day in sunny areas seem to be a reasonable real world goal.

You and I have different definition of 'reasonable'. Like I said, there's a cost to putting these panels on the car and the benefit is so effin small (even sunny areas have cloudy days and/or your car is frequently parked in the shade or indoors) that it's much more reasonable just to plug the darn thing into your mains and charge that way.

macspoofing··on Japanese explained to programmers
Very interesting. How does regex/pattern matching work with Kanji? Or does it?
macspoofing··on Solar panels on cars make no sense at this point
>That’s moving the goalposts you just said, “nobody's camper has 2kw solar on the roof” and yet here’s several people who do.

I'm not sure where I've said that because I'm not against solar panels on campers or solar panels in general. Solar panels make a lot of sense in a lot situations. For example, I don't think it's a bad idea for an RV that is frequently off-grid to have them built-in to provide whatever power they can - after all, some power is better than no power. Solar panels on outside parking lots, that makes a ton of sense to me.

Solar panels for EV range extension does not make any sense.

>Toyota built a demo by sticking solar panels on a stock Prius and says it added roughly 25 miles per day of range.

Again, this is under ideal conditions, and it wasn't meant for range extension[0] (i.e. to charge the car while it's moving). But let's go with that for argument's sake .. so you're looking at a day of charging for 25 miles of range. 25 miles is approximately a 30 mins charge connected to the grid. That makes no sense. If you really want to use solar to power your EV just get regular rooftop solar and charge your car from your mains.

[0]https://www.torquenews.com/8113/toyota-prius-solar-game-chan...

macspoofing··on Solar panels on cars make no sense at this point
>The Tesla Model 3 a fairly small car and even that’s 4.7 m X 2.09m.

Uh huh. Do you want to put some numbers behind your assumptions. How much do you actually think you can generate that would make a difference to a Tesla 60kWh-100kWh battery? How much extra range do you think solar panels would provide?

And finally, what aren't EV manufacturers seeing that you are seeing? It's not like solar panels on an EV are such a novel idea. In fact, it's the very first (naive) idea that everyone has as a potential solution to EV range and charging.

macspoofing··on Solar panels on cars make no sense at this point
>Here’s a random 2.6 kW example which still has a great deal of wasted space. https://youtu.be/Ekoh_QhiJJI

Did you watch that video? The solar panels are not even able to fully handle their appliances and AC, and they still use a generator to supplement. They aren't used for charging a car battery at all.

>but this discussion is about what happens if you optimize the vehicle for solar at the design phase

It still doesn't change the equation because you're not looking at a order of magnitude difference. In the case of RVs and the YouTube videos you posted, you don't need to worry about what happens if you 'optimize' a vehicle for solar during a design phase - just do a back-of-the-napkin calculation by doubling the output and ... nothing changes. The challenges are the same. The use-cases are still the same (namely, hope for sunny days to generate power to run some appliances). You're still not making any meaningful progress towards extending EV range - and that's assuming double output (and you're not going to get double in the real world).

macspoofing··on Solar panels on cars make no sense at this point
>Justify why you think you can only stick a single 400W panel on a car.

Because a 400W solar panel is basically the size of a car (~1mX2m). And under IDEAL CONDITIONS, you're looking at a 150 to 250 hour charge [1] ... and you're not going to get ideal conditions most of the time.

Maybe you can stick 5 of those panels on a trailer and have the EV haul that around, and now you've improved your charging time from 250 hours to 50 hours (still, under ideal conditions) ... congrats, you still made negligible difference in extending EV range or making it practical.

>Cars are large 3D objects, you aren’t going to get nearly as much power from side panels or the dashboard as the roof ...

You're guaranteed to get 0 power from the sides that aren't facing the sun. So now you're horribly complicating the manufacturing process and increasing the EV price, all for an approach that would provide, at best, miniscule improvement to range.

>How effective this would be in Alaska is irrelevant if nobody buys it in Alaska.

It won't work in California either.

But let's try something else ... with EV manufacturers being obsessed with squeezing out every km of range, why do you think approximately 0 of them are actually building an EV with built-in solar panels? What do you know, that they don't?

[1] Assuming a 60kWh-100kWh battery and dividing by 400W = 150h to 250h

macspoofing··on Sylvera response to The Guardian’s analysis of rainforest offsets
>Well ideally I'd like to purchase carbon-neutral gasoline, even at $8 a gallon or whatever.

Wouldn't we all.

>It would be a large offset, and it would go to a technology that could scale.

Hope is not a policy. We can't replace carbon today. We can't even replace fossil fuels today. There is no technology coming that is able to do that.

So ... what now?

macspoofing··on Sylvera response to The Guardian’s analysis of rainforest offsets
Like moving from coal to natural gas?
macspoofing··on Tell HN: Confluent laying off 8% of staff
>Was this an "open-source folks will do it for free anyhow"

I doubt it. Open-sourcing anything is a lot of work. Managing open-source projects is a lot of work. There are no guarantees that that project will even get any external development traction or mindshare, and if this is still an important component to you, you'll be paying developers to build it out anyway.

macspoofing··on The contagious visual blandness of Netflix
>On a related note, why is Netflix's interface so locked down?

Partly this the fault of Apple. They championed the idea that UI is an artistic expression and therefore 'configurability' and 'customizability' is akin to heresy. This view has now infected many existing products.

Part of the reason why many companies jumped on this bandwagon is also because 'customizability' is hard(er) to build in, and certainly more expensive to maintain.

macspoofing··on Sylvera response to The Guardian’s analysis of rainforest offsets
>Carbon offsets and credits and the policy and technology and market pricing soup is going to be an absolute shit show before it can hope to get past that point,

The problem with carbon offsets and carbon credits is that they try to incentivize moving off of carbon, but we don't have a way to actually replace carbon - so it becomes this little marketing and accounting trick.

macspoofing··on Sylvera response to The Guardian’s analysis of rainforest offsets
>I think this is important because I think it's more economically productive to give 1% to offsets that are supporting the correct technologie

I don't think anyone disagrees with the general sentiment. The problem is that it isn't clear what the 'correct technologies' are. For example, you don't want carbon offset money going to 'bullshit' initiatives like funding already growing trees - but I've seen compelling arguments that even planting new trees is generally a colossal waste of time.

macspoofing··on Investors conclude that Tesla is a carmaker, not a tech firm
>The promise was "buy this car and soon it will self-drive" (and for Uber it was "Never mind we don't have a sustainable business model now, we will soon with self-driving").

OK - you can make that argument. The point I'm disputing is OP's statement that "Tesla, and even more Uber, were priced as if self driving cars are almost here." I don't believe that statement. That is, I don't believe that the valuation of either company was based on the idea that FSD was almost here.

macspoofing··on How to store your app's entire state in the url
Base 64 is fine - he just needs to url-encode the parameter.
macspoofing··on How transportation technologies shaped empires
>They were killed by what the settlers brought with them. No, it was not deliberate (#), but nevertheless, their arrival is what killed most of the natives.

That's all I meant to clarify. You'd be surprised how many people today actually think that the native population was wiped out through deliberate and intentional action. Your wording made it seem you believed that as well, but that seemed to not be the case.

>Obviously the settlers would have preferred to keep the natives alive since then they would not have needed to ship vast quantities

That's a caricature.

macspoofing··on How transportation technologies shaped empires
>versus killing almost all natives and then populating the place with your own settlers..

The native population was not killed but rather decimated by disease. Pre-colonial population of North America was on the order of 60 million - there was zero chance European powers being able to hold that size of population over a period of time. Contrast that to Africa, which today has a minimal population of European descendants ... because that native population had immunity.

macspoofing··on How transportation technologies shaped empires
The American state by the mid-1800s was not that same as the one in the early 1800s. America grew into a major economic and military power by then, the point where it was untenable for Britain to maintain direct control over Canada, or to even maintain a major military presence there. The British were ostensibly kicked out of North America by America.
macspoofing··on How transportation technologies shaped empires
The point was they couldn't hold the Canadian colony. Britain didn't give home-rule to Canada because of their good-will. American belligerence towards European presence in the New World, and their rise as a major military and economic power, made holding Canada practically impossible by the mid 1800s (for example, it was untannable for Britain to maintain a large military presence in Canada anymore). Britain fully expected Canada to be annexed. Without the civil war and reconstruction preoccupying Americans during the critical early and fledgling years of the Canadian Dominion, I don't think Canada would have survived as a nation.

In another thread, I also made an argument for another major mitigating factor with respect to Americas, namely, the native populations were wiped out by old-world diseases which prevented local rebellions from succeeding and allowed Europeans to establish large population centers.

← PreviousPage 8 of 34Next →