HNHacker News
TopNewBestAskShowJobs

curun1r

6,646 karma · joined February 8, 2012

submissionscomments
curun1r··on I help seniors with technology issues
> one reason why Apple phones still do really well on the secondhand market

Apple products do well on the second-hand market because Apple usually doesn’t cannibalize that market by selling low-end devices. By positioning themselves as a premium brand and ensuring that the low end of the market is not served with new products, they ensure that the low end will be served by the second-hand market. PC/Android can’t do this because they don’t control the hardware and there’s always some brand that will sell new low-end devices which compare favorably to any used device.

In the few cases where Apple has deviated from this strategy of not serving the low end, resale values have suffered. The iPhone 8 and iPhone X were released at basically the same time. But the X currently sells for roughy 25% of its original price whereas the 8 sells for closer to 15%. This is due to the introduction of the SE which is basically just a cheaper and better 8.

curun1r··on Apache NetBeans 15
Heh…I remember attending a Java dev conference in 2006 where attendees thought the mention of using NetBeans for professional development was a joke. Like the presenter prefaced a statement with, “if you use NetBeans…” and he wasn’t able to finish the sentence over the noise from the whole room erupting in laughter.

It has literally been a joke for at least 16 years.

curun1r··on The Big [Censored] Theory
1960s? Try the 1990s. The Blockbuster version of Bad Lieutenant had almost 30 min removed. Blockbuster was silently editing many of their VHS rentals before DVD took over.

Yes, not government censorship, but it’s almost worse when a private, unaccountable, entity is imposing its own moral values, especially when they reach the size that Blockbuster did during its heyday.

curun1r··on Seeing like a state, progress and poverty, and owning land
> The 'can't put old widows out of their homes' scenario is why California's Prop 13 came to be

There’s a better way to handle this, though, than the Prop 13 approach of limiting taxes. You just allow a certain amount of property taxes to optionally go unpaid and accrue as a lien against the property that must be settled when the property changes hands. Old widows never get forced out of their houses, but they don’t get to leave them to their kids without paying the tax.

curun1r··on Philip K. Dick’s dystopia
You're assuming that we're talking about a government surveillance setup where information is intended to be private. But the article's discussion still applies when the subject matter is canceling people on social networks.

In fact it seems even more apropos of the dual identity of both subject and narc that the article discusses. Traditional government surveillance makes most of us solely subjects with little role in the enforcement process. But in a world where mob justice applies social sanctions, we're all simultaneously judges and candidates to become defendants, able to be condemned by our own words. Encryption is irrelevant when those words are intended for public consumption.

Black Mirror did an episode on what it would look like if your social reputation were reified into concrete societal privileges. That kind of ad absurdum exploration makes the surveillance state of social networks much easier to recognize.

curun1r··on Ask HN: Anyone else feels the commoditization of real estate is unethical?
> If most of a city was zoned to allow up to multi residential highrises rather than most of a city being zoned for single family

The problem with this is the only entities with the financial power to build such buildings are large developers and corporate landlords. That leads to either high rents or high HOA fees. We need some way to pool prospective homeowners together to build this kind of high-density housing. Because otherwise we’re trading one problem for another and still failing to make home ownership affordable.

curun1r··on Archaeologists rebury ‘first-of-its-kind’ Roman villa
Damage comes in many forms and temperature/climate controlled rooms only prevent a certain kind of damage.

The ancient city of Palmyra was irreparably destroyed by Isis in 2015. No amount of climate control would have protected it from the explosive charges that destroyed it.

Reburying sites like these will better protect them from deliberate damage and incidental damage from wars and such. Archaeologists deal with a timescale that often can’t assume political stability of the area where they dig stuff up. It’s better to not assume that future generations will pay the electric bill to keep the site preserved.

curun1r··on Where Did Architecture Go?
It’s more like a noble half truth, since the architect leaves themselves open to accepting a good idea that isn’t their own.
curun1r··on Where Did Architecture Go?
I think it’s important that everyone feels like they own the architecture. In practice, it means that everyone puts in ideas and the person or persons in charge only (gently) nix the ideas that don’t fit with their vision. But it’s important that everyone not feel stifled by a heavy-handed architectural vision that’s dictated from on high.

In tech, there’s often many right answers and a leader’s job is to ensure the team lands on one of them, not necessarily the leader’s favorite one. You’ll end up with far more inconsistencies if you have high employee turnover. Team cohesion is often more important than getting all the technical details perfect.

curun1r··on My customized Wim Hof breathing method
It’s probably more accurate to say there’s a build back of CO2. Wim Hof uses hyperventilation to lower blood CO2 level well below normal so that when you do the breath hold, a big chunk of the time is spent just returning CO2 to that normal level.

This is in contrast with other breathing exercises to do cause an actual build up of CO2 to levels well above what feel normal. Freedivers call these CO2 tables and they’re used to build CO2 resistance and increase breath-hold times.

curun1r··on Advice for the next dozen Rust GUIs
AIUI, the major difference between the two is that Tauri uses the system’s WebView while Electron bundles a specific version of Chromium. That means Tauri will have a number of performance advantages at the cost of not being able to target a specific browser.

Still, the “why not use Electron?” answer is that Electron is much more hostile to the user…much larger download size, slower startup and increased memory usage. With Rust valuing zero-cost abstractions, Tauri comes a lot closer to that ethos than Electron.

curun1r··on Tell HN: Upwork has an impersonation problem
Facebook has a similar problem. They’ve known about it for more than a decade…it was probably reported long before I reported it, but I first saw and reported in in 2008. But recently a friend of my mom was taken for $1000, so they’ve obviously not taken the simple steps necessary to prevent it.

The scam is basically to find someone with a lot of friends and copy their profile, pictures and all. Once they’ve done that, they reconnect and have an emergency that requires the friend send money. People naturally see the profile photo and name and think their friend is in real trouble.

With all of Facebook’s efforts to de-anonymize users, how is it possible that they’ve done nothing to prevent foreign scanners from blatantly copying accounts?

curun1r··on SMS phishing is way too easy
I tried something similar when I went overseas. In my case, I tried to use Twilio and even got everything setup to forward correctly to the number I got in whatever country I was in at the time.

But that doesn’t work for 2FA. I ended up locked out of my online banking accounts for my whole trip and it was a huge headache. My recommendation would be to port your number over to Google Fi and then just use that in whatever country you’re going to. It’s a bit more expensive that local cell service in many countries, but there’s nothing like having your phone just work wherever you go.

curun1r··on Dentistry is less scientific and more gratuitous than people think (2019)
> aims to optimize for being on top of problems vs being conservative in treatment

You should really read the article as this is the exact problem they’re pointing out…that the whole field is rife with treatments that are not evidence-based and that what little evidence has been collected is pointing to significant over-treatment in the field.

The dentist discussed in the article would likely have been described by his patients exactly the way you describe yours. But, according to the article, he ended up settling his civil cases for close to $4m and is facing criminal charges. Which isn’t to say that your dentist is the same, but just that it’s such a natural trust relationship with your dentist that it’s really easy to end up getting procedures that aren’t necessary and dentistry doesn’t even have the data gathering infrastructure to determine which procedures really are necessary. That’s a really dangerous thing when a dentist’s financial interests are aligned with doing more procedures.

curun1r··on The state finally letting teens sleep in
A lot of that is sleep hygiene. People rarely had issues falling asleep early before electrification. And we’ve made it even worse with TV, computers and smartphones. Being very conscious of light consumption and turning off devices several hours before sleep makes it pretty easy to fall asleep earlier.

I’m one of those people who normally can’t fall asleep before midnight and struggles to wake up early, but I’ve done a few digital detox programs where I’m without any electronic devices, and I’m always amazed at how quickly I fall into a schedule where I’m asleep before 9 and waking up at 4:30. And it’s also amazing how much better I feel both mentally and physically when I’m on that schedule.

curun1r··on I’m switching from VS Code to VS Codium
It will require you to venture into C land, but I found the walkthrough of the code for the kilo editor [0] to be very informative. It’ll hit on a number of the basic concerns that a console-based editor needs to solve. Any vi/emacs impl will obviously be a lot more complex, but a simpler starting point is better for learning.

[0] https://viewsourcecode.org/snaptoken/kilo/

curun1r··on Simone Biles, Aly Raisman Suing FBI for $1B over Larry Nassar Investigation
It feels extremely likely that there were many other powerful people who were involved. The fact that many of them (Dershowitz, Trump, Prince Andrew) were publicly accused at a time before the Miami Herald’s reporting made all this common knowledge feels pretty damn credible. I find it highly unlikely that these multiple women could independently fabricate similar stories that then perfectly align with information and photographs that subsequently emerge once the media started digging.

The fact that Epstein’s original deal contained a ridiculous provision that shut down any FBI investigation into co-conspirators just seems to confirm that there were, in fact, co-conspirators. Otherwise there would have been no reason to put that in the agreement.

curun1r··on Rust Is Hard, Or: The Misery of Mainstream Programming
I feel like Go was built with primary design considerations that are often not considered publicly and often at odds with what programmers want out of a language. I saw one of the first public talks from the creators at Google I/O and they stressed two things: compilation speed and new developers coming up to speed quickly. From what they said, Google had a few C++ projects with multi-hour compilation times that, when profiled, showed about 90% of the time was spent reading header files. So a core Go philosophy was single-pass compilation to cut down compile times as much as possible. Similarly they stressed that the focus on simplicity meant there wasn’t as much variation in style of Go code and new programmers—even those unfamiliar with Go—could quickly come up to speed and contribute to a project.

Viewed through this lens, the resistance on the part of the creators to changes that compromise these values even a little bit makes sense. Generics take time to get used to and any code base that makes extensive use of them will take longer to get up to speed in, even if it enables you to move faster later on.

That talk has really shaped how I look at Go. I think it solves problems that Google has (really large projects built by teams that have a ton of turnover) really well. But as with a lot of things that emerge from Google, it’s a solution to a problem that not too many other companies face. The ones that do will get an awesome tool that’s proven to work. But the ones for whom it’s 90% of what they need are going to get a lot of pushback getting that last 10% accepted because it already does almost exactly what Google needs it to do and any departure from that will be, in their minds, counterproductive.

curun1r··on How to make decisions like a poker player
Results-oriented thinking is just one of many human cognitive quirks that are often maladapted to the modern world.

A major one is how we tend estimate probability. We naturally do that by equating it with how easy it is to imagine or remember it happening. This worked well in a tribal situation where our world was very small...if Grog got attacked by a tiger, there's a good chance that tiger attacks are a serious danger that I should consider. But this breaks down in the face of a global society of billions of people and a media that profits from making people afraid. Rare events get magnified by media attention and feel, to us, like they're incredibly likely. Plane crashes are incredibly rare. Even in a plane as fundamentally broken as the 737 Max was, passengers were safer traveling that way than by car. But since every airplane crash is covered extensively on the news whereas car crashes rarely merit a mention, people's primitive cognitive quirks kick in and they're more afraid of flying. You see it with mass shootings too. Even if you get 1-2 per day in the US, that's still maybe a few hundred people per day who are directly affected. Over the course of a year, that's roughly 70k people out of 330 million, or %0.02 of the population. Which isn't to say that we shouldn't do everything we can to prevent it, but when you hear people saying that they don't feel safe, that's entirely on the media and how it's warping our perception of the danger rather than it being a real threat to our lives. We also saw it with the spate of Asian attacks that became a media favorite. There was a story of Asians in New York starting to contort their lives to avoid becoming victims. But when I looked up the actual statistics, there were 20 such attacks at the time in a city with 1.2 million Asians. Which, again, doesn't mean that we shouldn't be treating each of those attacks as terrible and be doing everything we can to stop them, but when you consider 20 victims out of 1.2 million, that's just not a risk that's worth going to considerable inconvenience to avoid.

There was an interesting TED talk many years ago from a guy who specialized in these kinds of cognitive quirks. And he discussed the findings of one particular study that always stuck with me. In it, participants were presented with one of two hypothetical situations. In the first, they were going to the theater to see a movie and they pre-purchased the ticket for $20, and also brought along a $20 bill. When they arrived at the theater, they found that the ticket had gone missing. Almost all participants in the study said they'd turn around and go home rather than using the other $20 to purchase another ticket. In the second case, they were going to the theater to see the same movie, but instead of having pre-purchased a ticket, they were intending to buy one when they got there. But they had, instead, brought two $20 bills with them and managed to lose one on their way to the theater. Almost all participants presented with this scenario chose to use their remaining $20 bill to buy a ticket. Despite the situation being basically identical, when you're presented with both scenarios, we have a cognitive quirk where we don't want to pay for something twice whereas we can rationalize the loss of money that we never spent. But what got to me about that study wasn't the results, but how intuitive both decisions felt to me. I could feel how unpleasant it would be to buy a second ticket and, yet, how easy a decision it would be to buy a ticket for the first time even after losing some of my money. The lesson, for me, was that while I've always thought of myself as a logical person and someone who would always let statistics or other scientific basis guide my thinking, it's still really hard to follow through with that.

curun1r··on What One-person SaaS Healthchecks.io uses for hosting, hardware and software
I think you and the people disagreeing with you are both right, in a sense. These tools can absolutely simplify and improve even a small deployment…for someone with significant experience using them. But there’s a lot of learning that has to happen to get to that level of experience. And for a solo operator or small team without that experience, investing that time into learning may not be the best investment.

You see this contextual disagreement a ton here on HN. Those who gave taken the time to learn these tools and have practical experience using them for real deployments see the alternative as primitive, error prone and fundamentally limiting. Those without the experience see the tools as overly-complex distractions. Both are true, depending on your situation. Like almost all tech decisions, there are no universally correct answers. The best decisions are those tailored to the specific circumstances.

curun1r··on Kids are far behind in school
> It's sad one is labeled a racist or anti-feminist or w/e when you point this obvious fact out. ~70% of black kids are born to single mom's

Where it ventures into racist territory is to present these statistics on their own absent the context of mass incarceration, over policing and manufactured black criminality that play such a large role in the disparity that you’re pointing out. To blame it on culture more so than a correlation with poverty and a cycle of incarceration feels awfully close to blaming black people for the systemic racism to which they’re subjected.

curun1r··on Rust: A Critical Retrospective
> choosing Rust just for performance gains usually doesn't pay off

Performance is a complex topic. Other languages can be fast and you’re likely right that with simple initial benchmarks, Rust isn’t going to out-perform other languages by enough to make much of a difference.

But what about consistency of performance? Is your 1,752,974,468th response going to be as fast as the ones in your benchmark? To me, that’s been the eye opener of deploying Rust in production. We saw P100 response times within 10ms of P0. The absolute worst case was below the threshold for human observability from the absolute best case over many months of heavy use. The metrics graphs were literal flat lines for months on end across tens of billions of requests. I have never seen that in any garbage-collected language.

That kind of performance may not be necessary for your needs and you may be able to tolerate or otherwise live with occasional slowdowns. But there are plenty of cases where consistent performance is necessary or extremely desirable. And in those cases, it’s nice to have Rust as an option.

curun1r··on The hyped and distorted claims of psychedelic marketing
Studies absolutely don't show it to be common. Here's a meta analysis [0] of many that, as I mentioned, shows it below 1% of the population. That's rare. Don't confuse it being easy to find with it being common. Whenever you have a large number of people, you're going to reliably find rare traits and conditions.

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5896987/

curun1r··on The hyped and distorted claims of psychedelic marketing
> Cannabis is involved in approximately 50% of psychosis, schizophrenia, and schizophreniform psychosis cases. Thats significant, wouldn't you say?

Absolutely not. Alcohol is involved in 60% of the snake bites in the US. It’s easy to see the causal link. But that isn’t a reason to avoid alcohol or that alcohol puts you at a significant risk of being bitten by a snake. And that’s because alcohol consumption is common and snake bites are rare. Similarly, cannabis consumption is common and the conditions you list are rare. Even if there is a causal link there, and that’s a big if, that’s not a reason to avoid cannabis. There’s no reason to assume or even worry about being in the sub-1% group.

curun1r··on When I tell the Windows Terminal team something is simple, I am "misguided"
The internet lends itself to immediate/premature responses. People read headlines without reading the article. People stop reading in the middle as soon as they feel they have something to say about what they’ve read. People don’t take the time to think about what they’ve read before responding.

And that’s before you even get to the internet’s tendency to read what’s written in the least generous way possible in order to score internet points with a response to something wholly divorced from what the author intended.

Now add sarcasm to that mix. Pulling sarcasm out of context often leads to quick-draw responses to the exact opposite of the point the author was making.

curun1r··on Zim – The Zsh configuration framework
I’ve switched away from using OMZ as an all-in-one framework that takes over my .zshrc, but I still use some of its plugins. Its plugin management is too slow for my tastes, but there’s a few plugins that I came to rely on.

Switching to Sheldon [0] has given me the best of both worlds.

[0] https://github.com/rossmacarthur/sheldon

curun1r··on Why Compilers Don’t Autocorrect “Obvious” Parse Errors
> makes it difficult to share parser logic between the two

It’s difficult to reuse traditional compiler logic in an IDE, but there’s good examples that the reverse isn’t true. IDE validation of language semantics is a strictly more complex problem, but if you start by solving that, it’s not as hard to add a compiler backend. A compiler’s job is to either take correct code and translate to its compiled form or take incorrect code and report errors. There’s no reason an IDE-focused parser/compiler can’t do both.

IIRC, Microsoft talked publicly about how they built the C# compiler as IDE-first and found that it simplified things greatly. And I think there has been substantive discussions within the Rust community about bringing parts of rust-analyzer into the official compiler whereas the RLS approach of reusing compiler APIs wasn’t able to provide a reasonable IDE experience.

curun1r··on Ask HN: Any weird tips for weight loss?
Not after I got back from vacation, no. There’s not much opportunity where I am and I didn’t have training partners, so I the only thing I could do safely was dry training.
curun1r··on Ask HN: Any weird tips for weight loss?
I got one. I ended up accidentally losing 25lbs when I did this, but ymmv.

Basically, about 6 years ago, I got into freediving while on vacation. Once I got back to the real world, I got obsessed with training to hold my breath for longer. So I started doing breathing exercises just after I woke up and just before I went to bed. Each session took 15-25 min and was done lying down to minimize the danger from passing out. I used an iOS app called Apnea Trainer (no affiliation besides satisfied user), but there should be a ton of apps available on both app stores if you search ‘apnea’. You can also read a ton of information (including safety tips) by googling ‘CO2 tables’ and/or ‘O2 tables’.

After dropping the 25lbs in my first month of training, I started looking into why that might be and, from what I’ve found, training your body for longer breath holds can increase resting metabolic rate.

curun1r··on How fresh grads with zero experience get hired as senior engineers
As someone who has hired a new grad into a “Senior Engineer” role, it meant the title of the salary band that met the candidate’s salary requirements to make our offer competitive with the other offers he received.

We wanted to hire a junior role since our team was already relatively senior. But the company’s salary bands were not at all competitive for entry-level developers. So we classed the new hire as senior to make it work.

Some companies’ policies are stupid and inflexible and engineers would rather just work around the problem than having to fight against HR.

← PreviousPage 3 of 34Next →