skysight-inc/HackerNews huggingface dataset:
> Failing compilation on an uninitialized variable is easy.

On uninitialised variable, sure, but impossible to tell at compile time if the program is using an uninitialised value.

Compiler authors also appear, to me, to be malicious.

In the past, they worked hard to provide warnings when they detected uninitialised variables.

In the rare case, now, that the compiler is able to tell that a line is using an uninitialised value, instead of issuing a warning, it simply removes the offending code altogether.

If compiler authors now were more like compiler authors of the past, they'd value the user interface enough to make any and all dead code a compile error.

Imagine if past compiler authors had their compiler, when seeing the use of an uninitialised variable, simply go ahead and remove any code that used that variable.

Imagine how poor a user experience that would be considered, and then ask yourself why they feel it is okay now to simply remove dead code.

There is no situation where actual source code lines should be removed rather than warned.

Typing on phone so not going to go into all the data flow explanations.
It really isn't though. Spreadsheet at hand, having American children is.

It's always the Americans that get offended by this. Relax. It just happens to be your fault.
Unlimited as in no time/data limit, not "unlimited Western propaganda"
At the end of the day, if you’re firmly on either end of the spectrum it comes down to the same thing: you’re putting all responsibility of the social interaction on the other person. Because your position is fixed and theirs is (possibly) not, you’re making it their fault if the communication style doesn’t work. It leads to much frustration on both sides.

In your example, if you have a fixed position of « Let people offer things, don't ask », you’re putting all responsibility on the other person: they have to adapt to your style or they’ll be the bad guy. Even though the other end of the spectrum (« express your desires, don’t make people guess ») is just as self-consistent and valid.

Camping at either end of the spectrum is putting yourself as a victim, it’s using the other person’s brain rather than your own to make the interaction pleasant. As in most things: extremes and inflexibility don’t work with the subtleties of reality
fwiw this just says "Connecting..." with the 3x3 dots for as long as my patience lasted
no, hip-hop created a dialect of english. who remembers the ebonics movement ?
The whole picture is more complex, as others are pointing out, but sticking just to evaporation - the point is that more energy in can lead to more humidity at the same temperature. Phase changes like evaporation consume energy without increasing temperature. Land masses don't experience phase changes at regular temperatures reached on the earth, so more energy in just leads to higher temperatures.
They are multiple reason why it is better to leave AC on. But it really depends on the house.

One main reason is that when AC is off is that humidity increases which causes cooling harder. This is because the cooling process of an AC unit involves removing humidity from the air as well as heat. When the air is humid, the AC unit has to work harder to remove the excess moisture from the air, which can decrease its overall cooling efficiency.

The other reason is that house and furniture will store heat and then cooling will get harder.

Also AC runs more efficiently if its constant.
Without question the bootstrapper. You almost never hear about them but there are thousands of them out there. They don't have huge PR VC teams behind them, hence you never hear about them.
A carbon-carbon bond is 0.154nm, and the polymer chain lengths of common plastics are in the few hundred to tens of thousands.

If those are a "serious threat", then I wonder what they think of petroleum jelly... which is basically the same structure with much shorter chains, and is even more reactive!

How much chemistry knowledge some of these fearmongers have is highly dubious.
Google 'wiretapped' tax websites with visitor traffic trackers, lawsuit claims
Rust is making advances here (look at “embedded Rust” efforts). I am curious since I haven’t written kernel code since C went sideways: how easy is it to write a driver that has to manipulate registers with arbitrary behavior at arbitrary addresses with modern C compilers and avoid all undefined behavior? I seem to recall Linus has a rant on this.
So the label on the package that says "must be stored between 20-25C at all times" is bullshit? Because some random internet people said it was false? Why would they put the label on the package then?
I don't see how this could be possible, because it should always cost more energy to maintain a higher temperature gradient, assuming a non-zero R-value. If there are other factors you're optimizing for, such as energy cost rather than overall usage, then I could see how avoiding peak pricing could net savings in cost, but the laws of thermodynamics are pretty absolute if you're optimizing for energy consumption.
- There are many non-religious private schools like magnets and charters.

- The schools must be accredited.

I can't find one good reason to restrict a poor student from choosing a magnet or a charter school over their local public school.
You're not wrong, but there are some pretty big differences between south, east, and west. In a lot of ways US states are like independent countries that share a military
Did you even read TFA? The 400M came from planned stock sales. How are you gonna distribute that money if not by taking his ownership?

And your suggestion that anything remotely similar happened to the Reagan era corporations is plainly false.
Nizar Zakka is an IT expert, advocate of internet freedom and permanent US resident who was detained in Iran on dubious charges. His story is a matter of concern in tech as it pertains to the safety and rights of tech people working worldwide (like me)
Absolutely. I was given full access to all of their SLs, EADs, and staff members. I was able to brief Director Wray on my findings and continue to engage with their leadership on strategies for the betterment of the Bureau’s stance on key issues.
That's a good one.

It really bugs me that this ever passed in any country that has the concept. Companies are technically immortal and if they are given similar rights to people it is unavoidable that they will become superior to people on account of their life span.
Theoretically, solid state amplifiers would have a longer service life. Vacuum tubes will always have cathode depletion causing them to degrade eventually (although this is pretty well controlled in most cases for long life). In space though the answer might become more complicated. Because the vacuum tubes are more tolerant of high voltages, they are probably also more tolerant of charge build-up and discharge from free electrons in space. Significant amounts of free electrons trapped in the second Van Allen belt that affects satellites in geosynchronous orbit (like a lot of comm satellites with big TWTAs). Less of an effect in deep space though.
I've heard that the "do you not have" phrasing was used in polite Soviet-era Russian, leading to a joke about a customer who walks into a shop and sees all the shelves are empty:

- Excuse me, do you not have any bread?
- Sorry, this is a butcher's shop. We don't have any meat. The bakery is across the road. They're the shop that doesn't have any bread.
The Guidelines do not say that it must be connected with tech.
IT is ~2% of the US workforce. 'Professional and business services' at 14% might be a target for work from home?

https://www.bls.gov/emp/tables/employment-by-major-industry-...
Apple, Commodore, Osborne and others were using 5.25" disks at around or before the IBM PC came into play. IBM used 5.25" drives in the PC because they were inexpensive, reliable commodity hardware, much like the rest of the IMB PC.
There are always exceptions, programming for the PS3 was... interesting given the SPUs didn't have any caches, although one could argue they were closer to DSPs with the manual DMA required. I'm not really interested in arguing semantics but more that those languages tend to be what you see modern, battle-tested OSes developed in.

My point is if you're not using C/C++/Rust what are you using that exposes those concepts? Not saying you can't do those things in other languages(I've shipped cache-aware datastructures at scale in Java using ByteBuffers + flatbuffers) however you're having to reach through abstractions and/or other limitations. Say nothing that on most OSes that C tends to be the OS ABI as well.
The UK was a serious wine and grape producer in the Middle Ages. It was warmer. We’re not even at that stage yet.
The Biggest Question Mark in Astronomy
Kids can't read cursive now. My 13-year-old grandson, who gets good grades in school, couldn't read an inscription on a birthday card I gave him, and I have plain, legible handwriting. He had to ask his mom for help.
What could it be? Everything else runs fine.
It's rude to expect other people to be able guess what you want.

If you want something, ask me. I don't have crippling confidence issues so saying no is not a problem for me.
I think this only considers the direct impact of “work”.

If remote work means people switch their city flats for suburban or rural houses, the impact could reverse
Two EU countries are already investigating them (France and Germany).
When talking about hot path optimizations though assembly is still a good alternative.
This is just a report about another report from The Register yesterday: https://news.ycombinator.com/item?id=37166193
Do people actually stop heating/cooling their homes while at work?
That is not true and very important to understand. The optimizations a compiler does by eliding UB stuff are often very effective and I think no one in the thread has questioned that. It is a fallacy, though, to think that these optimizations could be replaced by diagnostics. That would be hard in most cases and sometimes impossible.
Why is this on HN? Some quick googling will tell you everything you need to know about the Epoch Times. I have never heard of this 'All Sides' site.

https://en.wikipedia.org/wiki/The_Epoch_Times
I'm much less bothered about "fibre Internet". It's a bigger number, people like bigger numbers, but they generally don't matter very much.

1Gbps symmetric would be cheaper here than my current 40Mbps. But, it would come from a typical mediocre "CGNAT is fine for reading Facebook and watching Netflix" company, whereas my ISP gives me a /48 to put all my stuff in so I can use it from anywhere without some dubious tunnelling hack.

A long time ago now, 1996, I moved into my first shared student house. We had Always On, because we were a household of nerds and we knew that's what we wanted. That's a shared (between maybe five people, more when girlfriends are in) 56kbps Internet link. But what matters isn't bandwidth it's the Always On nature of the connectivity. Within months, modern habits like searching for the answers to questions on the Web as a reflex, became normal in that house, because everybody had Internet all the time.

Now, I'm not suggesting 56kbps is good enough in 2023. But I don't find I have ever wished for 1Gbps rather than 40Mbps. Not even "Sometimes I wonder if it's worth it". It just never arises as a consideration. 1Gbps is more, but more than plenty is just irrelevant. It's like I've never been bothered that my electricity supply is only 100A. I've never felt like I'd need more, so, who cares ?
I really dislike attributes in C#. Their use is a big code smell for me. They look like C#, but they're not actually -- they're a part of the type system that has been disguised. The fact that their parameters must be compile-time constants helps perpetuate a harmful "primitive-centric" viewpoint that is antithetical to many good design principals.

Their only reason to exist is to support a use case of a 1:1 relationship between classes and functional units (or methods and functional units, or parameters and functional units, etc.), which is almost always an 80% solution that makes the other 20% extremely hard and/or impossible. I would go so far as to say that every single use of an attribute is your own code begging you for a better design. Unfortunately you're sometimes stuck with them, but that's only because you're sometimes stuck with a framework that itself is begging its creators for a better design. I wonder if Attributes were never added to the language, if developers would have just made those better choices to begin with. From my vantage point, they were a clear mistake in a language that was otherwise very well designed.

They certainly are nothing like the ability to attach methods to functions. A better example of that kind of convenience in C# is extension methods, which you can certainly define on types like Func<T>. I love extension methods and miss them in every language that doesn't have them!
This is cool, but it lacks any sense of priority beyond ordering (maybe a feature?), but for most news consumers having a clear hierarchy of important vs. less-important is desirable so I don't know if this qualifies as "best-designed" from an informational standpoint.
I searched and only saw a design patent. The standard for these is much lower.
If the result of `integrate(...)` depend on `domain` and/or `range`, what would you call that other than 'state'? Or if `integrate(...)` doesn't reference `domain`/`range` what's the use of it being there?

Or as I'm interpreting this, is sort of like documentation or information that could be used at runtime for code generation. Basically a shorthand for composing the function with its metadata. The nice thing about separation is that you know that when calling the function, there's no possible way for it to reference the metadata that is associated with it because it's composed externally.
A decade is roughly the upper limit of specified battery shelf life for cheap batteries. Making the battery bigger doesn't really help much at that point where it's limited by shelf life, not capacity.

There are longer life batteries, but they're _expensive_, e.g. a Tadiran TL-4934, 1Ah, with a shelf life of 40 years will cost ~5$ in bulk.
Simply typed lambda calculus? Untyped lambda calculus?
Display support is always last in this chicken-and-egg problem. As far as I know, there's still no DisplayPort 2.0 supporting displays, so any of the higher end monitors require display stream compression. I can't even get a DisplayPort 2.0 MST hub so I can chain multiple 1440p@144 monitors. Which is definitely something that HDMI can't do.
> Are there other languages that do this so nicely? It's the perfect blend of OO and functional.

Python

compressor = lambda x: x / 2
compressor(5)

helpful_compressor = lambda x: x / 2
helpful_compressor.help = "compressor"
helpful_compressor(5)
helpful_compressor.help

Scala

val compressor = (x: double) => x / 2
compressor(5)

object helpfulCompressor {
def apply(x: double) = x / 2
val help = "compressor"
}
helpfulCompressor(5)
helpfulCompressor.help

Ruby also has .call...but I can't remember it well enough
This fundamentally does not make sense.

- public transport does not run "anyway". If no-one goes on a route, any sane transit system will schedule less frequent services

- heating a big building may be more efficient than a house, but isn't it really dumb to heat it efficiently if you don't have to heat it at all? It's not like people can switch off 100% of their home climate control when they go to the office. Likewise, the building is likely kept in a certain temperature range 24/7.
Every SMTP service (Mailgun, Sendgrid, Postmark, etc.) does the same things AWS does to try to prevent spam and has the same features you mention (shared IPs to start, warmup on mass sending, developer tooling, etc.)

Email delivery is a commodity business at this point, hence why there's so many PE rollups in the space.

The fact of the matter is it only takes 1 bad send to end up on a blacklist, and SES is the cheapest so it will always be the most attractive target for spammers/fraudsters.

Am I correct that maybe you run a Saas built off SES and might have incentive to defend?
Earth's Hottest Month**

** Since 1850

Why do these articles always try to sensationalize things? You lose credibility when you create clickbait headlines.

My understanding is temperatures recorded before about 1880 are unreliable[1]. This article does not provide a source for where their data comes from.

[1] https://climate.nasa.gov/faq/21/why-does-the-temperature-rec....
I discredit all such talk as unrealistic and meaningless. People will have kids if they want kids, and if they don't want kids, they'll use that to say they're saving the environment. Same with eating meat, going on vacations, etc.

None of that is going to solve the problem anyway.
Paying enemy nations billions of dollars to kidnap and release people seems like a horrible idea no matter what way you spin it.

You know what the US government tells people intending to go to Iran? Do not travel to Iran due to the risk of kidnapping and the arbitrary arrest and detention of U.S. citizens. Exercise increased caution due to wrongful detentions. If you ignore that and do it anyway I don't want a single cent of tax money spent on trying to get you back.
We're not using terraform for multicloud but to have the same tech stack. Also the terraform documentation for the aws provider is just magnitudes easier to understand than the cloud formation docu. And in some cases more correct.

Our deployments are triggered with bash scripts and this way we can use the best parts of each cloud provider, all with terraform.

Still debating internally what this new license means for us.
I would go even further - it's complete nonsense. I'm going to guess the author never wondered why Americans feel uncomfortable asking for a discount at a store and would rather just not buy when they would've happily bought it at half the price, whereas in many parts of Asia, it's common for customers to ask for what seem like outrageous discounts to a westerner. Norms are highly contextual - in every culture there are things you can ask for and there are things you can't - and there's huge individual variation in the willingness to adhere to norms and the willingness to make others uncomfortable to get what you want.

> [Because of something something Asian culture] My parents rarely had to make explicit asks of me,

It baffles me how anyone with any kind of awareness could write this.
> There are states where they were successful in getting laws passed preventing "wasteful government spending on broadband networks"

The devil is in the details but arguing that municipalities shouldn't compete with private businesses is not the same thing as arguing that private businesses shouldn't have other private competitors.

I have no doubt that telcos lobby heavily to restrict competition. Last mile infrastructure regulation is complicated but I'm more in favor of a level playing field (i.e. regulation) for access to poles/conduits/rights-of-way than having municipalities operate their own broadband architecture or even worse operate and then protect themselves from competition by other providers.
Did no-one else cringe at the gargantuan oversimplifications necessary to keep this alleged cultural distinction afloat?

Was no-one else a little queasy seeing a U.S. person talk about the entire continent of Asia - pushing towards 4.8 billion people - as if they were an easily generalisable singular entity?

Seems utterly nuts to me. Perhaps it's related to the feeling U.S. people sometimes seem to have that they aren't just the centre of the world, but actually in some sense literally the whole world. Or something else, I don't know.
Of course there are control mechanisms. The question is whether plastics are more or less carcinogenic than everything else we deliberately consume. All signs so far suggest less, far less.
> For some reason people here just assume that anything that isn't web development or backend server CRUD stuff is a niche.

I think that's because anything more "low level" (using the phrase freely) quickly becomes highly specialized, whereas web / CRUD development is a dime a dozen.

Source: Am web / CRUD developer. It's a weird one, on the one side I've been building yet another numeric form field with a range validation in the past week, but on the other I can claim I've worked in diverse industries; public transit, energy, consumer investment banking, etc. But in the end it just boils down to querying, showing and updating data, what data? Doesn't matter, it's all just strings and ints with some validation rules in the end.

But there's my problem, I don't know enough about specialized software like CAD or video games or embedded software to even have an interest in heading in that direction, let alone actually being able to find a job opening for it, let alone being able to get the job.
Weight of a vehicle is one of the main risk factors for people in another vehicle in an accident. When you hit a pedestrian their weight is negligible, so it doesn't matter as much, but when another vehicle is involved, it makes a significant difference because you are largely doing a conservation of momentum problem.
>The Epoch Times opposes the Chinese Communist Party, platforms far-right politicians in Europe, and has supported former President Donald Trump

Yikes.
Are they just going to sit there for decades as the water rises and drown very, very slowly? Might there be some other way of "saving" them?
> Assuming good faith

The tech industry in general lost the "benefit of the doubt" years ago. That's not WC's fault, but WC could have mitigated some of that if they at least put some effort into not appearing shady.

Particularly since they're connected to cryptocurrency, which is one of the scummier segments of the industry to begin with.
Note that in Zig an unsigned overflow is also an UB in release unchecked mode.
Don't like it?
Don't use unchecked mode or use wrapping operators..
It definitely helps with "friendly fraud"
This is a good point but it makes you wonder - when the majority of the world’s population is urban, what percentage of them would move to rural areas if offered the choice?

What i see as more likely is people moving o suburbs. Suburbs, especially north american ones, are terrible for the environment and city finances.
Why isn't there a cost plus model for hosted open source software?
Make employers liable for the fuel costs of an average commute for the region then so they can face the pinch of carbon taxes. Give them a rebate for every day out of the office.

The way we have things arranged now, those with the authority to determine how much carbon does or doesn't get used are not the same people who actually pay carbon taxes.
That was about a decade after C had already won.
I don't think it makes a lot of sense to combine the languages. Your first point is the key: they are different tools made for different jobs.
X DOUBT.
Exceptions cost performance when thrown whereas return values always cost performance.

If all you care about is outright performance, having the option for exceptions is easily the superior choice. The binary does get bigger but those are cold pages so who cares (since exceptions are exceptional, right?)