skysight-inc/HackerNews huggingface dataset:
> And how much impact does it have on runtime performance? Well even computing a sum for a relative small number 1000, according to cppbench, the signed version is 430X faster.

Although you can find these kind of examples for a few lines of code snippet, the question is what is the impact on overall program? Nowadays, I guess it has no impact for almost all programs. Because memory access patterns, system call overhead, operating system interaction etc. have much more impact on overall performance compared to optimizations enabled by undefined behaviors.
I have incurable cancer and I wish I had the option of going to the vet to "move to a farm upstate."
The real issue is that python doesn’t really make it easy to define anonymous functions. If you want one with more than one line, you need to name it and move its definition outside the point of use. Quite annoying.
The cat is out of the bag regardless of what Firefox does. Even without firefox any bit of malware could bundle their own DoH library.
I work with many brilliant engineers who have been in Google for 5-10 years and are at L4. The pay is good enough if you don't have a large family to support and they simply can't be arsed to play that game.
>There's nothing currently that would prevent a repair shop from repairing a device or sourcing parts from other devices.

It can be done, but it is a huge waste.

Take the A1989 Macbook. Let's say you bring it in because it stops charging. It's 2019. It's dead. Let's pretend I am a normal repair shop, and not someone with youtube fame that can find someone at intersil/renesas that can get me chips.

Let's say the ISL9240 charging chip dies.

I can, in theory, do my research, and find out that the iPhone XR charging case uses the same chip. I can buy that charging case for $100+, disassemble it, locate the ISL9240, remove it, reball it, and replace it on the customer's logic board.

but......this is insane.

a) I have to waste a battery charging case, including the lithium battery.

b) I am adding $100+ to the repair cost since I have to stock & sell this case now just to get a chip.

c) I have to do research to figure out what other device on the market uses this chip, on top of the work of figuring out what is wrong on a complex 5+ layer PCB.

The viability of this repair, for a shop that needs to get their customer in & out in a day or two for them to remain satisfied, goes out the window almost immediately.

>Even if we're talking about Apple devices or even Sony devices, there needs to be a balance between repairability and access.

What does this actually mean? What is the downside to this chip being made available for sale, so that when the device fails it can be repaired? What are we balancing here?

>Now, someone with enough social followers can create a PR nightmare for a company based on something that's totally out of that company's control so it's no surprise that no one wants to open up that Pandora's box.

It is 100% within the company's control whether or not they want this part to be available; the reason it cannot be sold to anyone is because they make it that way.

>I'm fascinated by the fact that people like Louis Rossmann are both the perfect example of why Right to Repair should work while at the same time being an amazing example of why the current versions of R2R can't work.

Where is the argument in favor of why this cannot work, and how I am example of it? Where is the citation? How is it for decades parts and chips were made available with zero problems and now it can be asserted that this "can't work" with no explanation?

This increasingly feels like someone's throwing poo at the wall in the hopes of finding something that sticks.
Coca cola sells that many drinks every day.

Training someone to do injections takes an hour.

There are millions of people available to help if it'll save their lives.
It looks good but I dont want to pay 120 per year, maybe 50-60.

There is also another risk that you have access to my name and my financial status :)
This is far-fetched sci-fi problem invention. The only real danger of AI in the next 1000 years is in things no one in the field is seriously addressing: use of AI in things like law enforcement, trained on bad data, to accelerate and justify existing systemic biases.
You're forgetting income taxes and then add CoL on top of that. Sure you're making gross more but that $214k turns to ~$140k after taxes while that Texas $169k turns into ~$126k. So closer to a difference of about $14k. Then think that housing is way cheaper, gas is almost half the price, electricity can easily be had for 7c/kWh in DFW, etc. I just filled up this afternoon for $2.49/gal, what does gas cost out there these days, $4.60/gal?

In the end I imagine the prof at UTD could easily have more cash at the end of the month than the prof at UC Berkeley.

UTSA is such a small school it really shouldn't even be compared to UC Berkeley or UCLA.
I'm sure stackoverflow is a better place for this, but the problem intrigues me.

I don't have my iphone with me, but do you have an iPhone app installed that supports text files?, there seem to be several on the app store. I'd find a free one to see if works and then "open with xx"
The issue is that you can't pick up on one device where you left off on another. Adding an app changes/copies the file.
Instacart CEO will be replaced by Facebook executive
https://archive.is/oTSZb
Or table
A society doesn't just need productive, value adding jobs which fill 100% of the working generations time. A society also needs fine arts, theatre, film because its part of being human. If we were all corporate wage slaves the world would be a terrible place to exist. The system as we have it in Europe is the perfect balance of this, you pay nothing or very little for your higher education and in return you can explore different areas which interest you without having this lingering thought of bankruptcy or financial ruin always in your head. I don't understand the US system at all, it is 100% geared toward profit and leaves no room for the creative, is that really a nice system to live in?
RonDB: Read hotspots: scale up with threads, not scale out with new partitions
I'm so sorry to hear that.
I was too lazy and/or insufficiently confident in my mediocre handyman skills to put up bird feeders, so I just put little piles of seeds on the railing of my deck with maybe 4" (10 cm) between adjacent piles.

As a side effect, I get nicely social distanced animals. During the most crowded times there are still ~3x as many piles as there are simultaneous diners.
Yes, it's quite annoying that the term was co-opted.
I left dates. They never told me what they wanted to see, other than "bank statements".
It IS relevant right now. If the "lifecycle emissions" of near-term renewables is used to argue against deploying them and instead using existing carbon-emitting sources, then you've delayed progress and made things impossible to resolve except by basically shutting down everything (which would kill people and is politically infeasible).

Decarbonization compounds. That means that "lifecycle emissions" analysis can end up being too pessimistic if you consider changes made in a vacuum. Electric cars require steel and electricity to make, so considered by themselves (while still definitely worth it) don't look as good as they do when you consider we will need to be decarbonizing steel and electricity as well.

Power plants need vehicles and steel as well, so decarbonizing transport and steel also reduces the lifecycle emissions of power plants!

I think people resist this type of thinking because of a different kind of magical thinking: a sort of anti-silver-bullet magic. They have the idea of fossil fuels as fundamental to civilization, like we can't actually get rid of them. But this isn't true. We can eliminate fossil fuel usage just fine.

We should consider fossil fuel as the seed corn. Instead of feeling bad that it takes fossil fuels to do the initial manufacture of geothermal (or whatever), consider it as simply priming the pump, as seed corn. There is no better use for fossil fuels than assisting in manufacturing their total replacements.
That comic can be read as Sundar finally getting rid of the pain in his shoe. This is not what happened. Manu described in his goodbye the reasons he left (mostly being tired by all the things he's complaining about in his comics and wanting to go somewhere that is remote-friendly) and I have not noticed being pressured out among them.
But what’s the alternative to SNI for multiple domains on one IP? And don’t say IPv6, because my ISP doesn’t even offer that yet…
I can't reply on @robertsbernans's comment for some reason, but his previous comment definitely did not mention that he's a cofounder of this Nordigen, so he deleted it and made a new one to make it seem "transparent" only after being called out, which makes this whole thing even shadier.
This isn't the only possibility, but bald cynicism might just be the only creative tool he's got in his quiver.

Makes you appreciate the likes of Scott Adams, XKCD and Norman Rockwell, who use parody, irony, and soul respectively, each with skilled nuance that shifts the viewer from their same old place to open the possibilities for some new take.
I have written this in serious code before, and I don't regret it:

from itertools import chain

flatten = chain.from_iterable
def lflatten(x): return list(flatten(x))
def sflatten(x): return set(flatten(x))
What's the timeline look like for widespread production of a Pfizer vaccine targeted at the delta variant?

Would such a vaccine be mixed with the current vaccine to give resistance against more varients?
Most of us here in CA already start charging at midnight, because of time of use power incentives. However, after using an app that showed the carbon burden of my charging, I learned that charging at midnight means I’m using relatively dirty power sources - there’s no solar at night, and the wind typically dies down.

The greenest time to charge here in Northern CA is between 11AM and 1PM, when solar production is maximum.
Could a four-day working week become the norm?
Turning down hundreds of thousands of dollars of cloud credits because of vendor lock-in is extremely shortsighted for the overwhelming majority of projects.
To be fair, communicating with (and even training) AI has always been an Eldritch incantation at some level…
> This is very much a US thing

DNS censorship is absolutely a thing in Germany and the UK for example. While here in Germany we might not get injected ads and other stuff, there are still more than enough problems to not make this a "US thing"
'Sulli Deals': How photos of Muslim women were misused on a GitHub app
This is not my experience working for Bay Area tech companies at all. A significant number of employees seem to think criticizing their employer is their primary job function.

If there’s nothing to complain about at the moment, they’ll manufacture it. They need a constant outlet to express how awful and oppressive their employer is, and if they don’t get enough attention internally, they’ll turn to Twitter and try to drum up outrage externally.

If a company has crossed an ethical (not political) line, I’m all for taking a stand. But this goes far beyond that.
Worthy of note: https://attrs.org, which inspired dataclasses and has more features.
Except for the fact that YouTube already has a membership model for creators on top of their ads model, so you can be a paid subscriber (which includes other benefits) on YouTube too to support your favorite creators.
I always thought of that as a feature.
What if you have, say, a 7 story building and someone on each floor presses the call button at around the same time? Do you send the elevator to each floor based on the time the button was pressed, or do you maybe go to the top floor and pick everyone up on the way down, or do something else? The algorithm probably also needs to consider max weight/occupancy. I think even for a single elevator it's quite complex, assuming you want operation to be both fair and efficient.
Besides, he didn't write this in a textbook. What he probably meant is something more like, if anecdotes seem to be pointing in a certain direction, it may be worth exploring the causes and understanding them, rather than just ignoring the anecdotes because they contradict some other information you have. What you don't know can hurt you.

This is the kind of thing good CEOs and leaders do. There's some overlap with Andy Grove's observation that "only the paranoid survive."
There have been several gas stations around where I live with big vinyl signs, last year and before, advertising they take Bitcoin. I think it’s ideological.
Conservatively, there's enough heat down there for the current world's energy use for 17 billion years:

https://www.wired.com/story/how-long-will-earths-geothermal-...

Considering our sun will explode in 5.5 billion years, that should be good enough.
For anyone wondering what exactly the assignment semantics are, see: https://nedbatchelder.com/text/names1.html and https://www.youtube.com/watch?v=_AEJHKGk9ns
Same here on Android Chrome
If you do get sued, the Copilot page is written in a way that would make Github legally responsible for it, not you. "Just like with a compiler, the output of your use of GitHub Copilot belongs to you."
Which is why, if there's any possibility of a sudden 10x price hike, the rents will start going crazy in advance. Because rent prices don't hike like that unless there's some disaster event, the existing system works well.
These are my favorite blog posts on HN, what a wealth of history. The amplification method reminds me of how undersea optical cables have in-line laser pumped amplifiers. Obviously the underlying mechanism is a different one but it also allows power from the amplifier to be added to the signal in a very elegant and 'in medium' way.
We can start it in a few years. And it can assist in part by just showing that we have a societal capacity to do great things. In the words of Carl Sagan:
https://www.youtube.com/watch?v=8Xtly-dpBeA

(And we don't need to and probably shouldn't spend a lot on this. What we currently spend on space exploration/settlement through agencies like NASA is sufficient for this. And we also get the spin-off technology advantages.)
You do what every company does. Deploy industry standard methods and record your processes. And then when someone comes asking, you show them you did everything right and that is usually the end of it.
Landlords derive their revenue from rent. That’s it. And they aren’t in the business of losing money. So one way or another it comes out of the renters pocket.

Its like when a broker sells a house and says the seller pays the fee. In reality the buyer is the only source of money in the deal so they are effectively paying the fee.
This made me think of indy games! With zero advertising and through word of mouth alone (And I guess steam reviews!) you can make an amazingly successful game. Minecraft being the biggest example.
So don't let untrusted devices on your network. Once they are on the network they are able to do anything you don't block.
Note that inset is a very recent introduction, only supported by Firefox 66+, Chrome 87+ and Safari 14.1+ (14.5+ in iOS). It will take quite a while to use it without thinking.
Can correlate, author is a truly a genius. We had a company mandate to be ML first, we went through a lot of phases and so many conversations happened as described in this amazing piece. Thanks Erik
The Raspberry Pi Compute Module[1] has in-built storage. The downside of using the compute module is you need to plug it into a carrier card to breakout all the ports etc.

--

[1] https://www.raspberrypi.org/products/compute-module-4/?varia...
Oh wow...

While being Serbian, with family from Croatia (some of which are now there dealing with corrupt government employees accepting faked papers to transfer land ownership). Means I totally get the pessimistic and corruption focused view of the world/governments/etc.

We just don't have enough info to go into such tabloid level direction for this guy.

---

Maybe his wife or one of grandparents came from N.Z. and he can live/work there without visa?!?

Maybe it's intra-company transfer (like how many Googlers from "east" start in EU/Canada, and then get transferred to USA after a year or two) there?

---

Either way - it's still pretty shitty "Do as I say, not as I do" behavior from the guy, and Google itself (Hey, here are great tools for remote collaboration with your team - as long as you're not a Google employee).
Beetle walking upside down under water surface filmed in Australia
Same for plenty of vehicles, early ECUs were often potted and the ones you see today sometimes still have a resin coating on the component side to harden the device against vibration.
Your TV will have its own cellular chip soon to report back data regardless of what you do. Or it will automatically collect to Amazons mesh network.
This is great because it will help avoid the rate-limiting issue (and probably save HASS a good amount of money).
I strongly think Python should have more functional programming support. Functional Programming Languages are usually scary to look at for many programmers. Python would not only be a good FP introduction to them, it would also benefit greatly.

Years ago I found out the Guido wouldn't let tail recursion included, and even tried to remove map function from built in functions. Therefore I got the impression that python wouldn't have further support in FP. I really wish that is not the case. With the coming pattern matching in 3.10, My hope is high again.

I have very high respect for Guido van Rossum, I'm not here to discredit him. He's one of the authors in PEP 634.

I wish python would have simpler syntax for lambda which is currently using the lambda expression, even JS is doing better on this. A built-in syntax for partial would also be great. It could be even better if we can have function composition.

Some problems are better solved the FP way. It could even make the program more readable which is one of the strengths of Python.
Precisely! We have the technology, but I think people do not realize we have the technology. They think to tackle climate change, we have to reduce our ambitions for the future (which isn't true) or that human life depends essentially on fossil fuels. There are no fossil fuels in space. That is why space travel and tackling climate change go hand in hand: space travel is tangible evidence of civilizational capacity, that we can do ambitious things even harder than fighting climate change (and we don't even have to spend THAT much to do those things) and we don't need fossil fuels to do it. It also provides an essential kind of perspective that I really think is essential to broad-based environmental consciousness. In the words of Carl Sagan: https://www.youtube.com/watch?v=8Xtly-dpBeA
This is why I knew how to be a frontend engineer at one point in life but never pursued it past the early 2000s.

The brainpower wasted on web layout is immense.
The companies willing to do this already made their products fail to load when their ad domains could not be reached. I tried pi hole for a week and found every ad infested service would just throw an error.

This also means nothing for firefox. Firefox can not use DoH and iot products can just implement it themselves.
A first-gen Pi should be perfect for this.
Doesn't UB also mean whatever it does might change?

This summation thing seems clever but in a large code base you probably don't want to have a bunch of clever UBs.
Not really. Ionizing radiation can knock electrons out of atoms. This sounds like knocking atoms out of molecules. But the wavelength these radio waves is several cm, so it's dubious that they would affect individual atoms, or even individual cells.
I think the motivation there historically was to encourage use of generators and generator expressions — it’s definitely intentional, because things like `apply` and `reduce` used to be builtins but now they’re imports.

If you reach for itertools imports often in an interactive REPL, you might be interested in Pyflyby: https://labs.quansight.org/blog/2021/07/pyflyby-improving-ef...
I'm a little embarrassed to admit that I've been working with this stuff for decades and I just now found out that margin and padding top is based on parent width if expressed in percentages. I'm only a little embarrassed because who expresses margins in percentages anyway.
This is incorrect. You were correct with Google Cloud: While it's a market follower that can't even break the top three, it's definitely a non-ad-based business unit.

But Nest is, when viewed in a context that understands why most Google products exist. It should be obvious that Search exists to serve Ads. The first result of every search is generally an ad. That one's easy. Android and Chrome both exist to protect Google Search: They ensure that most people's default experience is to search Google for everything, so they get ads.

Nest is about ads, but you have to look at the competitive context. Apple, Microsoft, Google, are all shipping ecosystems. Large catalogs of products which interoperate best with each other. It's absolutely anticompetitive and most likely illegal, but that's a digression: The issue is that for Android and Chrome to protect Search to serve Ads is that people have to pick Google's ecosystem over other ecosystems. Sure, you can pick Apple's, and Google has paid Apple eleventy-billion dollars to still send you to Google Search, but they can change their minds at any time, and it's more beneficial for Google if they don't have to pay another company for your attention. Also sometimes Apple gets on a privacy kick and makes tracking users harder, which Google wants to do to sell ads better, so they gotta fight that too.

So the issue here is that Apple has iOS and then it has Siri, and then it has HomeKit, which all works very well together and provides a very clean unified experience. If Google didn't have an experience comparable to Apple's experience, people might leave Android for Apple, and that's bad. So products like Nest are entirely there to provide a Google ecosystem that is competitive to other tech companies' ecosystems, so that you view ads.
I've worked with at least several hundred of them over the past 5-10 years. Granted, I'm in Europe and the author is in the US, perhaps you are too. I'm not sure what talent/skills are like there.

In several firms I've worked in now someone missing so many things wouldn't be above consultant level, and wouldn't be approving PRs let alone deleting a live prod off from their local laptop without some significant questions being asked.

I get everyone must learn things, but when you position yourself as a technical expert (Director, in this case) you should have enough experience to be a bit more thorough with your work so if a mistake happens, there's a way out, or just not make what amounts to several design and implementation mistakes.

Part of what I think makes this a little egregious is the author didn't f** up his own systems, he f**'d his clients. I'd understand a little more if it were "I'm the in-house guy upskilling" rather than "look at this mistake I made as a (presumably) highly paid outside consultant literally brought in to make sure stuff like this doesn't happen".

However, I still must give absolute kudos for sharing mistakes publicly. We all do make mistakes, and most people try and hide it. When the author realised there was an issue, every step after that was handled like a pro.
The problem with Copilot is, that so far it doesn't seem to be much of an AI and more of an copy-bot. If you are just copying code, you quickly run into copyright issues with your sources. A true AI based on training on open source software would be something different.
https://github.com/facebook?q=&type=&language=&sort=stargaze...