HNHacker News
TopNewBestAskShowJobs

dmayle

1,161 karma · joined March 16, 2009

submissionscomments
dmayle··on Framework announces AMD, new Intel gen, 16“ laptop and more
When the Framework came out, I was excited, but not in the market for a laptop. I've been waiting for the chance to buy one, especially as they announced more and more things that I'm interested in. Now that I'm finally in the market, I was waiting eagerly for this new announcement.

The only question I'm left with now, which Framework to get? Do I pre-order the AMD 7040, or do I wait for the new 16 so that I can get a GPU? I'm thinking about going the AMD route now, buying the dGPU option they have and using it as an eGPU when it becomes available, and then switching to the 16-inch chassis when I'm ready...

dmayle··on I don’t want a new phone, but I’m probably buying one
I just wanted to correct a little bit of misunderstanding here about how target SDK works (and min SDK).

Having a target SDK e.g. at Android 12 doesn't prevent you from supporting versions of Android before 12, it prevents you from fully supporting Android devices newer* than Android 12.

The target SDK defines what is the minimum feature set that you have access to (and sometimes what you're required to implement). If you target API level 31, you can add all of the latest features (e.g. improvements around network usage to save energy that wasn't present in older SDK versions).

You, as a developer, decide on your "min SDK", which is the lowest level of Android that you're willing to accept. That is determined by how much you're willing to work around missing or buggy features in old SDK versions, something with is really helped out by using AndroidX (née Support Library), which is a shim you install that provides compatible implementations of newer features when your APK is installed on older phones (similar to polyfill on web).

* During the beta of a new target SDK, old phones won't run an app targeting it, this is to prevent people from building and shipping apps against a beta SDK.

dmayle··on Ask HN: Anyone try semaglutide / Wegovy for weight loss?
I'm a little bit disappointed in the downvotes, though if no one ends up contacting me, my life goes on as normal. I do want to make one thing clear, however, when I say cost money, I mean perhaps for the change in what you eat, the cost of a doctor visit to make sure you don't have a thyroid problem, etc.
dmayle··on Ask HN: Anyone try semaglutide / Wegovy for weight loss?
No monetization. As I said, not making money, just being honest about what it's going to be. In terms of email harvesting, I just don't want to be overloaded on my personal email account. Personal email is for my personal stuff, this is just for helping out.
dmayle··on Ask HN: Anyone try semaglutide / Wegovy for weight loss?
I myself at one point took Contrave for weight loss, and it was effective at cutting appetite (with the side effect of terrible motion sickness), however I don't recommend it.

I'm going to make a personal offer here which I wouldn't normally do, but after a six year journey, I've finally figured out what works (for me at least, and I think for other people like me). I've managed to take off 50 pounds, and I now know that I'll never be fat again.

The skinny people are wrong, it's not exercise, it's not willpower, it's not some magic fad diet (not no carb, not no fat, not no suger, etc.). There are some real changes, simple changes (though definitely not easy), and you can be in control again.

If you'd like to give it a try, I created a gmail account with the two initials of this site and the word weight. Send me an email, and if I'm not already overloaded, I'll try to help you out. You've got to be at least 50 pounds overweight (and I'll ask you to verify it). I'll prioritize people who've ever lost a significant amount of weight (shows you can work hard at weight loss), and it'll probably take at least six months to make the necessary changes before you can lose weight, but once you do, you can be as aggressive with the weight loss as you want (I lost 50 pounds in about 4 months).

Check my comments on this site, I'm a real person with a real history. This is not one weird trick, and I'm not charging anyone. The changes you need to make will probably cost you some money (not going to me), and they will be hard, but you won't be spending time in a gym, you won't be hungry or starving, and the changes you make will be sustainable.

[Edit] To be clear on the money, this is not some way for me to make money, I'm talking about the cost of a doctor visit to see if you have a thyroid problem, or perhaps the cost of your food being more expensive. There is no money that will go to me in any way whatsoever.

If I am able to help people, and it's not just for me that it works, I'll open up and share this more publicly later.

dmayle··on Six Shooter Glue Gun
And this is why I posted the comment. Thank you so much!
dmayle··on Six Shooter Glue Gun
Related, but not entirely ontopic... I've been trying to find a good gluegun, and have been unable. When I was a kid, my family had a gluegun with a detachable base, where the base plugged into the outlet. When the gluegun was sitting on the base, it heated up. That gave it someplace stable to sit when you weren't glueing, and no cord when you were. I can't find anything like it nowadats.
dmayle··on Closing a 30 pixel gap between native and web
I think this is a sign that Microsoft sees the writing on the wall. There will be a day when Windows is left behind, and they want to make sure that they can continue to deliver the Microsoft experience, even on other platforms.
dmayle··on Beautiful Soup
It's actually pretty trivial to speed up, if you have multiple documents to parse, you can use multiprocessing.

    from multiprocessing import Pool
    
    def parse(html):
      result = []
      soup = BeautifulSoup(html, 'html.parser')
      for p in soup.select('div > p'):
        result.append(p.text)
      return result
    
    with Pool(processes=16) as pool:
      for texts in pool.imap_unordered(parse, my_html_texts):
        for text in texts:
          print(text)
dmayle··on Apps commandeered the age-old idea of takeout
Back in the early 2000s (maybe 2006, 2007) I visited Montreal, and there was a pizza chain similar to Domino's that we ordered from one night. They had a single phone number for ordering (as opposed to having to look up your local pizza place), and the call experience was fantastic. The person was attentive, got the order right, was not worried about seven other things going on at the store, and could route the pizza to the closest chain (or even the second closest, if the closest was overloaded).

Even back then, it was clear that there was room for drastic improvement in the food ordering process. I worked in NYC during the Seamless web food delivery era, and while terrible, it was still ten times better than the alternative...

dmayle··on My self-hosting infrastructure, fully automated
You are unlikely to find what you're looking for. I'm going to dig into this article a bit, but what you're talking about is inherently hard, and delivers tremendous value to businesses. There are a lot of people doing it for money, and someone builds something that starts to actually work, they get acquired, or they take their project and make it enterprise-y (because that's where the funding is).

There's flatcar and k3os and fedora coreos and talos and lokomotive. There are maybe a dozen others as well, but those are the ones I know something about.

The real problem is that the orchestration of PXE boot, DHCP, name services, server registration, cluster bootstrapping, while simultaneously building a light distribution that makes the right calls on persistence, security, etc. is just *really hard*.

I took at a stab at it myself (failed startup) and have a custom distribution based on alpine, but the amount of work to go from there to everything is so large that it's tough to take on if you're small (and there is the constant desire to go enterprise because of the money)

dmayle··on An Origami Samurai Made from a Single Sheet of Rice Paper
You've hit upon some of my favorite pieces. Any of Lang's opus pieces are amazing (I really like the rock climber that sticks out of a piece of paper).

Satoshi Kamiya's works are also pretty darn amazing (the wizard, the dragons, etc.).

Lang really brought out the science in origami (he's en ex-rocket scientist turned origami pro), and wrote software for calculating the fold patterns and extraction points from paper for pulling out points of manipulation (like limbs, etc.)

dmayle··on Towing a Tesla at 70 MPH replenishes battery at fast charger rates
Fair enough... Memory is definitely fallible. In my memory, the car is blue, and what I remember seeing is someone pulling the poles off of the line, but just like we've seen with neural networks, maybe my brain is backfilling the events after having read the story.
dmayle··on Towing a Tesla at 70 MPH replenishes battery at fast charger rates
Be that as it may, I saw the actual car before I ever saw the article. Maybe it was him, maybe the article is fake, but it inspired someone to try it for real. Either way, I've seen a real life car doing this.

EDIT I've found confirmation that the article is an April Fool's joke. I still, however, have seen a car doing this (or at least attempting to do this) on the streets of San Francisco.

dmayle··on Towing a Tesla at 70 MPH replenishes battery at fast charger rates
I don't know whether or not it is legal, but I have seen an electric car with tram whiskers before. I think I saw it in San Francisco, and I think it was a Prius. Some quick Googling fails to turn it up, though.

EDIT Found a link: https://thebolditalic.com/hacked-prius-running-on-muni-power...

dmayle··on 3 years of GDPR: The biggest fines so far
In France, we're starting to see sites where they give you two options:

1) accept advertising/tracking cookies

2) pay a monthly subscription

I've seen this on AlloCiné (French IMDB), and "aufeminen" which is a random forum that a Google search led me to.

dmayle··on Framework Laptop pre-orders are open, starting at $999
Hi!

I've got two questions about input:

1. Will there be an ISO option for the keyboard layout? (To support non-US layouts, and for those who aren't familiar, just changing the key mapping isn't sufficient, ISO has an extra key and a different shape on the enter key)

2. Any plans to support Sensel touchpads? The tech is really amazing (I've heard the latest described as better than a macbook)

dmayle··on Benchmarking division and libdivide on Apple M1 and Intel AVX512
This is probably the most unusual CPU comparison I've ever seen.

The Xeon processor that he's comparing against is a six thousand dollar processor from two years ago that is absolutely destroyed by modern processors that cost less than one eighth of the price.

It is expensive because it is designed for 8-processor systems, with 4.5TB memory support, and it runs cores that are glacially slow individually, but meant to make up for it by the massive amount of them (24).

Finally, the test is effectively a single-core test, since he's measuring the execution units.

I think Apple deserves some kudos for having delivered a chip that would be competitive on the open market (if it were available as such), but all of these ridiculous comparisons just don't paint a picture that has any dose of reality.

The M1 is one process node ahead of AMD and two process nodes ahead of Intel. With this advantage, the M1 is performance equivalent[1] to AMD Zen 2 processors (3XXX series, which is one architecture behind) but much more expensive. They are price equivalent[2] to AMD Zen 3 processors, but much slower total performance (though the M1 has about a 25% perf-per-watt lead against the 5600X when limited to the same power envelope). The integrated graphics, however, is a step above.

And before I get downvoted to hell, the easiest way to see the actual performance of the M1 as compared to other processors is to look at Apple-to-Apple comparisons (pun partially intended) by comparing benchmarks from an Apple M1 to an Apple Intel, and looking at that same processor off of the Apple platform compared against other processors.

If you look at Phoronix Apple M1 to Apple i7-8700B benchmarks (ignoring Rosetta benchmarks since those unfairly favor Intel), you'll see that they perform similarly (in some cases Intel pulls ahead, in some cases the M1 pulls ahead, and in some cases they tie). Then when you compare that 6-core processor to a modern AMD six core processor (5600X), the AMD processor is 33% faster in single-core and 80% faster in multi-core benchmarks.

1. Cut out the synthetic benchmarks, because they are provably biased (e.g. intel biased userbenchmark). Look for application benchmarks that depend on compute, like file compression, or software compiles, or even real-workload browser benchmarks) 2. At MSRP, before current issues with chip availability

dmayle··on Why I Work on Ads
I think the problem probably lies with the difference between your point of view versus his.

Advertising is not 'prima facie' unethical. It's actually a societal good. I know this is an unpopular opinion, but if you can set aside your emotions with regards to the discussion, and view it from a distance, it's not too hard to show.

To start off, I've never actually met anyone who doesn't want advertising at all (despite their claims). They just use the term advertising to refer to those kinds of advertisements they don't like, or find too intrusive.

Advertising is, at it's base, finding a way to deliver a message to someone who is doing something else. Thus, getting rid of advertising means no more signs on buildings (yes, being forced to read the name of a store as you walk down the street is a form of advertising). Even if you were willing to accept how difficult this would make it to discover businesses (life harder for the end user), this would make it nigh impossible for new entrants to any market. That means that pretty much all commerce would be funneled into a few catch-all stores, and not only would the economy suffer, but consumer power would be greatly diminished.

Advertising indirectly improves the quality of life of people who have more time than money. (Generally the less money you have in total, the more advertising benefits you.) This is because advertising as a source of revenue is a useful tool to amortize the cost of a product over many users. Free-to-watch TV would be mostly non-existent without advertising, not to mention all of the internet services like search and news; also consider free newspapers like the Metro or 20 Minutes.

That doesn't mean that I don't understand what people really get worked up about. Let's forget spam and obnoxious blinking signs, or having to punch the monkey. It's like how knives are great in the hands of chefs, but not murderers. Crime is crime, and someone like the poster of this article is not trying to defend those kinds of practices.

Let's get into what people tend to get really worked up about: customized advertising. However, it's not the customized advertising that really bothers people, it's the fear of abuse of tracking. In a world where customized advertising was perfected, you would see 95% less ads. Why? Every ad you see that isn't a match is a waste for everyone involved. The business doesn't want to pay, because you aren't interested, and the user doesn't want to see it, because it's distracting and wastes your time.

But still, tracking, that bothers you, right? You don't want an advertiser to know your kink, right?

Well, what if the advertiser is the store that happens to serve whatever your kink is? People shop in adult stores, and they have no problem letting the store know that they're interested in their wares, so clearly it's not just the stores learning that is the problem. The problem is the abuse. People want to choose who they trust to share information with, and don't wish to risk. But... if you're clicking on an ad from some store that delivers your own brand of kink, you're okay sharing that with them, so what's the problem?

Well, as an example, maybe if you're a teacher you don't want your community to know that you like buying purple teddy bears because it might cost you your job. You're okay shopping in a purple teddy bear store... but if the purple teddy bear store had advertising that only targeted teachers, suddenly someone knows that you're a teacher that likes purple teddy bears, and you consider that dangerous.

So yes, abuse is a problem. This is why advertisers actively engage in trying to solve the abuse problem. This is why the advertising industry is looking for ways to move forward.

Yes, they also fight the change, because in their own eyes, they're trustworthy (to at least their own standards), and change is hard and expensive. But that doesn't make advertising unethical, 'prima facie' or otherwise.

dmayle··on Beginner’s guide to mechanical keyboards
Thanks for responding to me... I went into a deep dive, since I didn't know that was a possibility. Unfortunately, there are no full-size split hot-swappable ergonomic boards.

I can deal with a separate numpad, and I can use shortcuts to replace media/brightness/volume keys, but you can take away my arrow keys when you can pry them out of my cold, dead hands ;-) I'm not ready to go the chording route of something like the ErgoDox.

I found the Cloud Nine C989M, not hot-swappable, but ANSI layout only, no ISO, so it's out of bounds.

The Keebio has the Quefrency, which I can kit out with a separate numpad and wrist rests, but that's not hot swappable, and 1.5 to 2x the Matias Ergo Pro.

I think for now, it'll have to be the Matias, and maybe later I'll decide it's worth the investment to go chorded, or invest 4x what I'm used to (as opposed to 2x)

dmayle··on Beginner’s guide to mechanical keyboards
I'm not ready to do a build myself. If I wanted to use these switches in an ergonomic, what are my options?
dmayle··on Beginner’s guide to mechanical keyboards
Along those lines, I have plans to purchase a Matias Ergo Pro as my first foray into mechanical. I can't type on a non-ergo keyboard (I've been using the Microsoft Natural for over a decade), and I'm thrilled at the idea of going mechanical, but the noise bothers me.

I heard a side-by-side of a silenced topre (realforce 87u) vs Matias quiet click, the the silenced topre is much quieter.

Are there any ergo topre keyboards out there?

dmayle··on Apple's follow-up to M1 chip goes into mass production for Mac
How do you think you would feel about 65" vs 55"? I've been using dual 39" 4k monitors (no longer available on the market), and when I replace them I want to go to a single 55" or 65". The current area in square inches is almost identical to a single 55", so at 65" I think I need to lower the screen in order to have full visibility.
dmayle··on The Origins of the Wirecard Scandal
The GP is not saying they aren't issues, just that they don't add much value to the conversation. It's especially clear in how it triggered your response... and in how you've mostly overlooked those same problems in Europe (with the minor nod on violence). I'm an American and European (yes, two passports) who has lived in three different major cities in the US, two in Europe in separate countries, and I've traveled extensively in both areas. Let me offer some counterpoints:

On healthcare, I've had to sit for 2-3 hours in an emergency room in London with my throat mostly closed struggling to breath because I hadn't turned blue yet (no kidding), which put me behind the people with stab wounds. That's a normal ordering of priority when there aren't any doctors available, but it was mostly because I was on a six-month waiting list to see an allergy specialist and hadn't yet been diagnosed. At least in the US, your only fear about getting sick is because you're worried about the cost. I had a xenophobic doctor (said I was just coming to the UK for the healthcare, hah, even though I was working and paying taxes) prescribe me medication I was allergic to despite saying over the course of several visits that I was. Luckily I looked up the medication before taking it.

As to homeless people, sure, there may be less in the cities (though still there), but in exchange you have shanty towns and cities setup on the outskirts like with Cañada Real outside of Madrid, or Christiania in Copenhagen. I've seen smaller ones in France (Nice and Paris), though at least one of them was removed, and know of short-lived ones (on the order of months and years) in London. On both sides of the pond you have people trying to make things better, like Utah's experiments or those of Helsinki.

As to violence, Europe is a dangerous place. If the people you've spoken to were afraid for the first time in their lives, that's mostly because people grow accustomed to their own brands of violence. I was about an hour away from being blown to bits in the 2004 Madrid bombings, I was lucky enough to have decided not to bring my family to the Promenade des Anglais in Nice the day the terrorist decided to drive his truck through the crowds, and I've experienced the terror that is walking through the streets of London at night during an uptick in knifings (never attacked myself, though a colleague was and escaped).

We can talk about the abduction of children like Madeleine McCann, or the acid attacks on people like Katie Piper. We can talk about the shootings in Northern Ireland, or the annexation of Crimea, but instead you should just look at the Wikipedia page on European terrorism, even though it's only one type of the violence you can encounter.

As to obesity in Europe: Yes, the USA is on top, though there are variations by city (and people trying to fix it), but I have seen people too fat to board a bus (and no, not Americans) in both England and France, at the least. Don't believe me? Look for pictures of Virginie Grossat, French (!) model size 54 (though I've never seen her in public, just ordinary people).

But what about your claim that Europeans measure their style of living by how the poorest people in their country live? What does that say when you look how the Syrian refugees were treated in Europe? Maybe they're discounted because they weren't citizens? Well then, how about how the Polish are treated in the UK and Ireland, or ex-colonial immigrants in France? What about eastern Europeans in general, or the Romani people?

None of this is meant to say that America is just great, or Europe just sucks (I happen to be very fond of both). Why do you think so many people emigrate to the US? What the grandparent was trying to say is that when creating this caricatured version of the US (or any place that happens to be "other"), then you end up engaging in the very thing you're decrying, "whataboutism", and you actually blind yourself to the reality.

dmayle··on Arch Linux partners with Nitrokey to equip its staff with USB keys
An HSM is a device that's meant to hold keys, allow you to use them, but never allow you to access them. In other words, it's a true digital 'key' that can't be copied.

If you truly care about the encryption on your servers, for example, then normally your server can't boot/decrypt the drive without an HSM (which you aren't supposed to leave plugged in). You give one to your CEO, your CTO, and your CFO, for example, and you require that at least two of them are present to boot your servers (to prevent attack by theft).

There are more fault-tolerant possibilities out there (e.g. Hashicorp Vault), but they're generally bootstrapped from HSMs.

dmayle··on Arch Linux partners with Nitrokey to equip its staff with USB keys
I've been tracking Nitrokey for a couple of years now, and am really impressed with the products they offer.

If you want an HSM (secure key storage), their Nitrokey HSM is available for only 70 euros (compare to YubiKey HSM at 600 euros).

If you wanted tiny (e.g. leave-in keys) YubiKey was the only option, but the Nitrokey 3 is supposed to be coming soon with leave-in for USB-A at least

dmayle··on Smart METL airless metal bike tires use a “shape memory alloy” for deformation
I received a pair of Tannus Airless tires ( https://tannustires.com/ ) for christmas, and have been waiting for good weather to install them.

While they weigh more than regular tires, they weigh less than the combined weight of regular tires + pump + patch kit, so it's a net win on weight.

For me, the biggest win is not about not worrying whether or not I get a flat, it's not having to pump the darn things up week in and week out before going out on my (admittedly city commuter) rides.

dmayle··on Girls perform better academically in almost all countries (2015)
> “IT’S all to do with their brains and bodies and chemicals,” says Sir Anthony Seldon, the master of Wellington College, a posh English boarding school. “There’s a mentality that it’s not cool for them to perform, that it’s not cool to be smart,” suggests Ivan Yip, principal of the Bronx Leadership Academy in New York.

Which is it? Their brains/bodies/chemicals? Or the social pressure?

Testosterone doesn't really kick in until high school, and the article (at least the part outside of the paywall) seems to suggest the problem exists in adolescents, not young children, so that would suggest that it's the former not the latter.

The next question is... what has changed in the last 30 years? The answer to that is most likely going to be social, and not chemical, unless you mean less lead in the air. Maybe the answer is more complicated.

Finally, what has changed in the last 30 years that might be linked to both? Well, easier access to pornography could be a factor. It's a social change that lines up with male adolescence that could be related.

In any case, the 'answer' is to try to combat the change, and wait for statisticians and scientists to study the problem to understand the root causes.

dmayle··on Why did I leave Google or, why did I stay so long?
As I was writing that statement, I was sure that someone would ask this very same question, but I think explaining it in the middle of that paragraph would have distracted from the overall point I was making, so here it is apart:

Yes, sometimes management needs firing as well, but in the context of my comment above, we were talking about a case where one employee's performance doesn't match up with the expectations of their manager.

To put it in the context of software engineering, if you have an engineer responsible for ten features in a year, and nine of them are coming along just fine, but the tenth was completely bungled, it would be incredibly rare to think that it was time to fire the engineer over the tenth. You're more likely to restructure things so that the engineer has less of a workload, or has help on the tenth, or maybe even just give them a bad review and make it clear that their performance needs to improve.

Firing a manager has an even greater cost for a company and team than firing an employee because the manager is a representative of the relationship between their employees and the company, so firing a manager also damages that relationship for each of their employees.

This is not exclusive to managers. Other roles like engineering team leads and senior architects also have a greater cost, because they're the employees whose roles have a connection to more people than just themselves.

dmayle··on Why did I leave Google or, why did I stay so long?
*This

I came here to say something similar. I'm a founder, I've been a manager and a software engineer, I did 5 years @ Google.

When I hear someone in "upper management / founder / in a position of power over employee's lives" say that what they really needed for their own success was a way to threaten/risk the livelihood of their employees so that they would work harder, it just makes me sad for anyone affected by them.

Yes, sometimes employees need to be fired... but sometimes management also needs restructuring. The truth of the matter is that at a company the size of Google, it gets harder and harder for an individual employee to directly influence success. I think that's mostly because of the policies in place to make sure that employees don't directly *damage* success either.

This means that you have to work within the system you have. An employment contract is two-sided, you're offering something that the employee wants, and they're offering something that you want. If your first reaction when there's a problem is to cut their pay or fire them, then you're the one with the problem, not them.

Yes, there are times you need to fire someone (and I have), but that should be reserved for one of two cases: 1) they are actively damaging the business (e.g. destroying company property, morale, hurting business prospects), or 2) despite your best efforts, they are unable/unwilling to fulfill their side of the contract. Just realize that firing someone has a cost for your company and team as well as for the employee.

I'd rather part ways amicably, finding them something that works for them if possible, and I think what Noam said about managers recommending great employees is unfair both to the managers and the employees. I've had employees who were hard-working and passionate, just not passionate about the project they were working on. When that happens, the best thing you can do for both of you is to find them the fit that works.

Can you build a large company that doesn't get mired down in things like management and governance and legal and policy? I hope to someday get large enough to find out, because I've got some ideas... (Like separating those functions out in the same way there are engineering teams dedicated to software tooling.)

But it requires a will and effort from the top down, and the people who get excited about building billion dollar businesses don't seem to get excited about maintaining them once they get that size.

← PreviousPage 3 of 8Next →