skysight-inc/HackerNews huggingface dataset:
> This result is strictly a result of floating point math.

This specific result is a result of binary floating point math with a particular precision. More precision, or decimal floating point, will fix that, but have similar kinds of errors for the same operation on different numbers. fixed-size BCD/fixed-point math has other limitations, its not a general solution.

The general solution is to have a numeric tower where representations and operations meet the following rules:

1. The default representation of any exact literal (without a modifier representing a particular inexact representation, e.g., as an optimization or a necessity of interfacing with an external library) is exact,

2. Any operation on any operations between exact representations that can be done exactly is unless specified otherwise (as it might be for the same reasons discussed above), and stored in a representation that can represent the result exactly.

3. Essentially inexact operations or operations on inexact numbers are conducted in a way and produce output representations that minimize additional imprecision introduced, except when explicitly specified otherwise.

Computer algebra systems where the “top level representation is symbolic are potentially the ultimate expression of this, but the Scheme numeric tower is pretty good (but at least Racket, and I think schemes in general, represent exact decimal fractions as floats still, so don’t entirely avoid the problem, but at least division of integers produces exact rationals.) Lots of languages default to putting numbers expressed as literals into either fixed-sized integers (not bad, especially when those are often 64-bit now which rarely has much practical distinction from arbitrary precision in most applications) or fixed-sized binary floats (which are more problematic, especially given the mismatch between clean binary and clean decimal representations.) This is very good for efficiency, because computers can process fixed sized integers and binary floats very quickly. But, especially for floats, it can be bad for correctness when doing arithmetic where the input is all clean decimal literals.
Show HN: Airbox.dev – Tools and Utilities for Developers
10x productivity platform for developers. One place to find your programming needs. Lots of tools are on the way!
Because you can push a single button and a person is in the cold. There will be no disruption for anyone else, just your one neighbor with the dangerous views can't pay rent and buy food anymore. I can't think of anything more dystopian.
Why Wyndly raised $2M and things we wished we'd known
This is my fear too but does this apply to programming jobs at "non-tech" companies? Past few years it was very difficult for these businesses to hire software engineers because they couldn't compete with faang and hot tech startups. Now that those places are laying off and freezing hiring the time has come for non-tech companies to finally get people?
Bayer : pesticides since 1942

Forgive me if that humor is too dark, so is the topic of roundup and corporate manipulation of scientific studies
> Just imagine if during the Johnson or Nixon admins the gov/FBI/etc had actual "embeds" in the WaShPo/NYT, etc.

That’s pretty much what journalist Carl Bernstein claimed in 1977, followed much later by historian Hugh Wilford in 2008.
Prabhakar reports directly to the CEO of Alphabet (Sundar). This was not a local dev group event.
Both Excel and Google Sheets return FALSE for this expression:

2.03 - 2 - 0.03 = 0

The vast majority of data transformation and BI tools (Power BI, PowerQuery, Tableau, etc.) return FALSE for this expression:

0.1 + 0.2 = 0.3

That's because they use floats instead of decimals and that introduces subtle errors in data. These errors usually never get noticed because everyone doesn't expect errors in basic math. It's a mystery to me why most commercial software intended for business and financial calculations don't use fixed point decimals. My post about this: https://www.linkedin.com/feed/update/urn:li:activity:7028101...

PS. If you design software that works with money amounts, always use fixed point decimals. Don't use floats, it's just wrong!
If you want to compute sales tax, you’re going to have to define a rounding behavior, too. A decimal type wouldn’t save you from this. The desired rounding behavior will vary by situation.

How your calculator handles rounding is itself an implementation detail. I have no idea what rules your calculator uses to round and it’s not in any standard. Does my calculator do the same thing? Unknowable.
If ChatGPT gives all the answers, the website owner will block access.

They are already angry about Google doing something similar and ChatGPT is worse to them
The function never throws, whether empty or not. So, skip the "otherwise".
I don't want my account to be tied with my adult entertainment search history. This is the underlying issue that deeply concerns me. Companies are allowed to make whatever stance they want on how they handle mature content.

But this forces people to stay logged in. Theoretically the two options are either use another service or make a burner Google account just for porn. I know Bing has a habit of making moderation policies similar to Google about things like this. Bing is better for porn and unfiltered results, but it has been becoming worse in the last few years. It's similar to how reverse image search with Bing was even more amazing than Google, but now they're equally terrible because they're doing the same kind of filtering on the backend.

Having to make an account means that account information can be used to track users across the internet. With incognito, at least it was basically a "new" account every time.

Edit: It's possible that this is related to the new Louisiana law requiring people use a digital driver's id wallet app to verify their age in order to use Pornhub.

Discussed https://news.ycombinator.com/item?id=34260167

https://mashable.com/article/pornhub-louisiana-id
I have bad news for you. If the FAA were contemplating adjusting the requirements for certain classes of airport or the rules applicable under certain conditions at certain classes of airport, that perhaps airport operators and airlines whose costs and operations might be impacted by such a change can take part in a process called lobbying where they apply pressure to the regulator to make sure those changes don’t adversely affect them.

Lobbying can be good, of course! Airports and airlines likely have good knowledge about how regulations impact their operations!

But it’s the job of Congress in theory to represent their constituents’ interests - not merely their constituents who own airline stock or work for airport ground handling companies but all their constituents - to make sure that the framework the FAA correctly takes into account the competing interests of ensuring an efficient and high capacity aviation industry, as well as making sure that passenger safety is maintained.

As you say, the FAA has a good record of doing this.

But individuals saying ‘well I’m sure the industry knows best’ is precisely what leads to regulatory capture and that leads to the situation where airports are permitted to accept heavy automated landings under conditions where maybe they really ought not to without additional ground safety equipment in place.
I'd say it's the best, least violent and risky way of dealing with this.

The tool is good. Ensuring it's used for good reasons it's a separate problem.
>Social media is global, so any effects it has should be visible globally.

I don't disagree, but that conversation also needs to include data around how frequently teens in different countries use social media/smartphones. Without that data, the data you cite about global teenage suicide rates is sorta worthless.
Are you suggesting that people should ignore their personal experiences if they do not align with what the science tells them? Why would you declare that anyone is in denial about their own reality?
I doubt this, because it was possible to 'go viral' to a limited degree way back in the days of Usenet, with any algorithmic selection or amplification going on at all. preferential attachment is a social phenomenon which businesses leverage for profit (not just int he era of social media, but since the establishment of brands and before that, the awareness by politicians and theatrical promoters of how compelling parasocial relationships can be). Algorithmic manipulation is a problem, but you could switch it all off in the morning and you would still have the same issues. Any system can and will be gamed.
I struggled similarly when I was in school.

As an adult I realized my attitude came from simply not having any example or basis for what I was doing. All I had were long term goals that always seemed just beyond the horizon.

In that situation almost any expectations will seem lofty and it's just as easy to feel either pride or shame regardless of what is actually accomplished.

This is not easy to deal with, but it is possible. As they say, you should surround yourself with people you can look up to. That's how you grow.
Watermark ads on every print.
I think the correct link is this: https://www.youtube.com/watch?v=yLWXJ22LUEc (atleast the sound is better here)
Yep - even though Acrobat is the standard for PDFs on the desktop, there's a world of difference between "PDFs I download may be malicious" and "links I click and frames I load may be malicious." The idea that https://nvd.nist.gov/vuln/detail/CVE-2021-28550 could have been exploited without requiring a download would have been a disaster.

(Though, I should add, memory safety is by no means a guarantee of software being free of code-execution vulnerabilities... but it certainly does help!)
> Not showing up for work at all would definitely to considered "just cause" for most unions I've been involved in

Not with some of the one I have had to deal with. There are tons of way to justify not coming to work and some unions representative (not all !) take a posture of « we will fight tooth and nail for every single employee that gets fired regardless of the reason ». This includes having handbooks of all the legal options at your disposal that are hard to counteract by management.

In their views, unions exist as a counter power vs management so they need to fight every single possible decision.

There are some unions that are taking a different approach and that are focusing one or or two issues that are important to them. They will be vocal about those, but be a bit less concerned by the rest unless there is some obvious abuse.

The thing is that it’s really hard to tell which way it’s going to fall.

And it’s also not obvious to tell which approach gives the best results.
Gotta be a better way to design robotic limbs than hinged rigid metal plates and rods, and stepper-motor software.

Like, flexible plastic solids with tension wires ('tendons') embedded in tubes. Let an AI figure out how to pull them to create locomotion.

That took only a few seconds to think of. I'd love to see that tried.
I am a dev on the OpenZiti project. I personally think Tailscale is more similar to OpenZiti. It's making wireguard administration really easy.

zrok is very clearly based heavily on inspiration from the amazing tool called ngrok. If you haven't checked them out you should. They are widely loved for lots of good reasons. Other product/projects in this category is Tailscale's funnels or Cloudflare tunnels.

Key differences to ngrok are it being fully open source and fully self hostable. zrok allows you to do public/anonymous type sharing too but also has this private sharing feature that you might find neat. Basically it'll hide your app behind two "localhost" type proxies all transparently (to most people).
Turkey has a substantial textile industry. Something like the 5th or 6th largest textile exporter globally, and 3rd largest in the European market. My last set of bath towels were manufactured in Turkey, although my present set are from Pakistan.
THIS. I have seen cultures that performatively celebrate failure:

* Where, when systems fail, they go through the motions and jump straight to celebrating. "Thank you for finding this, X!" "Thank you for fixing this, Y!"

* Where a post-incident report is little more than "We found defect X and then we fixed it"

* Where psychological safety means "let's avoid talking about this and the risk management systems that allowed this to happen because the people responsible for those areas might feel attacked. Trust that the managers have dealt with the situation"

We need to be more specific than just saying "celebrate failure" to non technical managers, or this is what we get.
Well there’s this thing called HTML that is pretty popular.

You can see an example of it here: https://motherfuckingwebsite.com/

You even have formatting options as discussed here: http://bettermotherfuckingwebsite.com/
https://pbs.twimg.com/media/FdhsPQEX0AALM9H?format=jpg&name=...
Do you have any more info on this? The text of IEEE 754 costs $100 and I can't find any reference to it on Google
I personally read it as 0.1 and 0.2 are both equal to 0.3000-whatever. Maybe it's because English is my second language.
Taxes are generally set in proportion to income, not savings. ATM fees are limited by competition to close to the bank's actual costs, rather than a deliberate policy to eliminate paper currency in circulation; if they charged upwards of 10% on withdrawals, people would very likely leave.
I don't think they will go as far as totally preventing us to do so, but they will make sure to make it cumbersome and reset our preferences with each update.
Which is the inevitable result of a CBDC. There is no way that a government can resist the temptation of control that CBDCs permit.
Social media, and smart phones are partially (or even largely responsible) ... However I wouldn't discount 'social contagion' as a contributing factor since 2012 was around the time focus on "mental health" (specifically focusing on 'mental health' and related issues) came into wide prominence, especially amongst the younger crowd.
Advertising is like finance; there are entire teams of people whose full time jobs it is to make money using complex markets. SMBs are not going to be able to casually compete.

Also if it wasn't a black box, then scammers would be fleecing everyone.
First amendment doesn’t cover obscenity. And it applies to private companies when they operate functions traditionally performed by the government.
What you’re suggesting is any crash can be attributed to the US method of scheduling takeoff and landing (since that’s the risk issue you’re responding to). That’s not true. If a plane’s engine explodes in midair, it has nothing to do with how the ATC schedules takeoff and landing.

I couldn’t find any crashes listed on Wikipedia in the past 20 years that could be attributed to two planes being directed occupy a runway at the same time.
The problem with allowing the interpretation of whether something should be censored be based on the obvious nuances that it entails is that the exact nuance is not universal among all people. This is why ZERO censorship is the only reasonable form of censorship.
I imagine they'll run it in a sandbox, plus MS may help find vulnerabilities themselves
Bingo! I'm so glad I asked. Yep, I was looking at only part of the rate schedule. Looks like my effective rate is actually closer to $0.96/therm, or $0.033/kWh equivalent. At an electric rate of $0.14/kWh, now we're closer to comparable.
Fair enough. I didn't read the poster as to mean that so much as to say that flatly stating "support the constitution" is kinda painfully vague in its meaning and not without the problems the poster pointed out in the quote. For sure the constitution is widely misinterpreted, even apparently by members of the supreme court that are now under the belief that it and the bill of rights are an enumerated list of rights, to which otherwise none remain, when it is in fact the opposite. An enumerated list of limited powers granted to the gov't, to which the bill of rights are merely examples of such limitations as applied to individuals, but were never intended to be exhaustive or imply that no other rights existed.

So, imo, and apologies for the controversial political example, but when people ask "where is the right to abortion in the constitution?" they completely miss the point that the actual question must be "where is the right for the government to regulate abortions in the constitution?"
Is it even the real Seymour Hersh? It's the first blog post with this name, and SH is 86 years old. You'd think he would release such a spicy piece to a renowned newspaper with his reputation.

So many things are unverified, it's hard to take it without a huge slice of skepticism.
Tell kids that they are unhappy due to choices made in day to day life and they might change those choices, tell them it's due to a incurable but maybe treatable issue with their brain and some will chose suicide.

The thing you are trying to say isn't really true, though.

Tell some kids that it is all their fault, and some kids will commit suicide. Some of the kids already think this way and someone telling them this stuff is just going to intensify it.

Especially considering that getting treatment isn't such a stigma now, a lot of the folks being told that it is the cause of the disease will feel relieved and certainly not choose suicide even if they refuse medication.

So no, that probably isn't the issue.
Literally no diversity was forced. Not even sure where you got that idea, except if you only read the title.
Tangentially (and separate from my other response because it's a whole different issue):

> The computer Language M

Which one? MUMPS (also known as M), or the Power Query Formula Language (also known as M)? OR something else?
their API lawsuit?
There is a segment of the hacker community that believes that the correct and noble purpose of a startup isn't to build a stable company or find product-market fit, but rather to confuse VCs into temporarily paying some people to create the niche project they wanted to create anyway, but didn't have any way to keep the lights on while building; where the correct and noble end-goal of such a project is to avoid acquisition, use up all its runway paying the employee salaries, and, upon shutdown, open-source the IP (and hook the employees up with their next startup doing the same thing.) That "shutdown and release FOSS" step is seen by this segment as not only the intended outcome of the startup, but the entire purpose/mission of creating the startup in the first place. With any messaging to the contrary existing solely to make VCs complacent, rather than because the founders actually believe it.
> Regardless of the type of heat, many people all over the city had burst pipes in their walls, ceilings, and basements, including several hospitals.

It's amazing how many people simply don't take basic precautionary measures when extreme cold is on the way. Something as basic as letting the faucets drip will prevent freezing. Shutting off the water and opening the taps works too if you don't want to "waste water".

> A few only had heat pumps with no backup and reported the interior temp dropped to the 40s or low 50s (~10C).

A good case for not using heat pumps if you live in a place that can have extreme cold snaps. I have a heatpump for 2 bedrooms but if it stopped working then opening the doors and letting the warm air from the furnaces in would be enough I think. I'd be skeptical of having only a heatpump.
If you buy Samsung stuff instead of Apple you are significantly reducing the amount of China made stuff.

No need to let the perfect be the enemy of the good.
I know it is sarcastic but there is a website where you can calculate how much it would cost to heat with dollar bills.

https://coalpail.com/fuel-comparison-calculator-home-heating
The press versus the president, part one
Yeah, Facebook started in 2004 and it was much more Instagram like in its early days before everyone's parents joined and started ranting about politics.
Meh. I enjoy doing full stack javascript work over all other stack including Go. To each their own I guess.
The 1st amendment was written at a very specific time back when the governments were the biggest oppressors, and the megacorporations of modern kind didn't exist; so it has protections against historically well-known and well-understood state censorship but not against not yet existing corporate censorship.
That subreddit caused a huge Streisand Effect for me.

I saw so many cool, affordable products that didn't have any alternatives (or the alternatives were too expensive) I ended up buying even more things!
It seems to have too many glitches or edge-cases when working with other HTML widgets. After years of experience perhaps one learns to work around such, but it seems overly complicated for smaller-shop apps. "Enterprise" can afford to hire a dedicated CSS expert, mom-and-pop can't. We need KISS GUI's, not 4D-chess layout rocket science. With minor tweaks for screen-size adjusting, I believe WYSIWYG GUI makers that actually work right can come back in style.
But come on. Diversity is not actually bad. People being diverse even if they think it’s bad is not bad. And memes are not a meaningful driver of diversity.
Javascript isn't complex. It was implemented in 2 weeks. React is also simple (in concept, not implementation).

I suggest programming with chat-GPT. I got it to help me to get started, research and break down very ambitious project that alone I just couldn't muster.

You didn't specify exactly what you problem is but if you are looking for easy UI that's canvas based then I guess https://flutter.dev/ might be just for you.
> Don’t you have automated builds?

Ideally, you would

> The step in those builds should works on developer machines. Is that too much to ask?

Quite often, yes. (Secrets that are only on the build server/shared database you cna't connect to without a barely working VPN and such)

> If the step in the build do not work? How did that get merged in the first place ?

Because there is no CI/CD pipeline to stop you?

There are tons of reasons why it can be extremely hard to get into a legacy project as a new person. And that's just setting it up. Ideally, this wouldn't be the case. But sadly, the real world sucks
This is so stupid. The title sounds like it should be an AI-generated article, not real life.
> They don't force anyone

So why did they invade Ukraine then?
Android 14 Developer Preview
I could see machine learning having an impact on people that publish news articles or stories. Maybe one day it will be able to write plausible scientific research papers for a little while.

That said I do not see it having a major impact on jobs or wealth. The current iterations of machine learning are too heavily biased or tuned to lean towards or against narratives with the temporary exception/test of "DAN" mode. It would not be long before there is a swath of competing machine learning trying to debunk one another and people will quickly lose confidence in these systems and tire of the resulting shenanigans. People were already heavily abused through social media algorithms so many people are actively watching for this behavior. What I am saying is that people will quickly point out the emperor is not wearing any clothes.

This could change if some day a truly unbiased and unfiltered machine learning system is created that continuously ingests and re-ingests massive amounts of verified and re-verified data but I suspect that will not be as enticing of an investment as a platform that can manipulate the masses.
And how did memes make that harder
Or Apple, who shares more user data with the CCP than most American tech companies: https://www.nytimes.com/2021/05/17/technology/apple-china-ce...

All FAANG are suspect these days