skysight-inc/HackerNews huggingface dataset:
VSCode is also written in Typescript. I believe the teams work closely to ensure that new versions of TS are supported right away, and features are added to take advantage of them.
Paraphasia
Water/sewer hookups (1) have most of the cost recovered at construction time, via a $20-30,000 per-house charge; and (2) once built, don't require upgrades to keep up with advancing technology and higher per-user demand. If municipalities struggle to maintain infrastructure in the face of static or slowly growing demand, why on earth would you expect them to do better when it comes to infrastructure with rapidly advancing technology and exponentially increasing demand? Why would you trust government entities that can't simply keep 1970's-era automated train control technology working with infrastructure that improves dramatically every decade?
Ask hackernews. The posters here know everything about ui...
And this justifies your "scabs" slur how, exactly?
That one-time cost is at least an order of magnitude greater than the sum of the many-time costs, in my own experience. And that’s before you run into tangential problems like increased time to respond to security issues.

Further, I would bet a large sum of money that the overwhelming majority of vulnerabilities discovered and patched in open-source libraries are never officially reported and never have a CVE or OSVDB entry; they are simply patched in situ with no announcement or fanfare.
Please change the headline to "Dumbfuck journalist reveals self to be dumbfuck."

Facebook doesn't know you searched for information about stillbirths because Facebook isn't Google. How fundamentally unintelligent do you have to be to not understand this? I'd be shocked if her IQ was above 90.
Sorry what is the common misconception? Exceeding a 32 gig heap size will cause the JVM to stop using compressed pointers? This seems to be widely accepted:

https://www.elastic.co/guide/en/elasticsearch/guide/current/...

I understand there's overhead I wasn't suggesting that all 32 Gigs were useable
Exactly. To me 'sharing' means barter and what happens in villages and Creative Commons. Not LSC dressed-up in 'sharing' clothes.

You can fool some of the people ...
These objections seem pretty easily addressed:

1. Don’t use exceptions

2. If you have constructors that can fail, use heap objects and factory functions.
> Just be clear that it's a self-imposed limitation based on irrational fantasies

What an interesting problem, legalism as religion.
I think the point is that a lot of the products and services wouldn't work outside the Google Cloud platform without a significant amount of underlying infrastructure to support it, such that it would be very difficult to just provide some ready to go package for people to buy and implement themselves.
One thing I learned from this link is the traditional eye exam charts are from a set of only 10 characters. Interesting, good to know.
> actively excluding competition

Is that what's happening here? Comcast bid "$462,123 plus interest" and the city decided that they would rather build themselves. Doesn't sound like they are being excluded. Am I missing something here?

> Comcast is actually pretty reasonable in competitive markets;

The problem as I see it is that most of the US (particularly rural areas) are not competitive, and the costs of entry typically prohibit new entrants from providing service. There are massive fixed costs involved in building a new cable/internet service. Elsewhere (e.g. the UK) this is at least partially avoided by having the ex-state-owned telcos provide mandatory unbundling of last-mile service.

Perhaps state-provided conduits would unlock more competition though; I haven't seen any analysis of that option (would be interested if you know of any).
Only if the underlying Windows control gets multi-level undo/redo. Since that information needs to be kept by the OS I assume it's kept simple on purpose.
https://medium.com/@bahadirbalban/what-is-serverless-and-wha...
Backend API: .NET Core

Web Frontend: AngularDart

Mobile: Flutter
Body fat is a risk for multiple disease. The general idea is that whenever viruses enter the adipose tissue they are hard to reach by the immune system. We dont really understand yet what causes Alzheimer but now there is suspicion of a viral link.
Apple fanboys are jerking it to this.
I have a secondary gmail I use for some signups.
"when one's experience is statistically unlikely"

It's important to note that this is not an especially unlikely event. Of my 10 closest female friends, who eventually had children, I know that at least 5 of them had a miscarriage at some point in their life. I've a friend who had several miscarriages before having a successful pregnancy carried to term.

Admittedly, if a woman makes it past the first few weeks, her chances improve:

"Once a pregnancy makes it to 6 weeks and has confirmed viability with a heartbeat, the risk of having a miscarriage drops to 10 percent."

https://www.healthline.com/health/pregnancy/miscarriage-rate...
I was wrong, it appears I can vouch but as you mentioned you have to dig for the option. Mea culpa.
There is also the upgrade to MS Paint to Paint 3D.

I tried to like it ... it isn’t horrible but it hasn’t exactly grown on me either.

Lots of (to me) useless features clogging up the UI. Can’t remember where various functions are, on the rare occasions I need to use it, half the time.
Where I live there are both. The word on the street (thankfully no firsthand experience) is to pay attention to the name if you go there for a sprained ankle. If it says "emergency" in the name, you're going to pay a LOT more.
I'd suggest that the author understood it. The point he seems to be making is that writing such code in C++ was not that much better than in C. At least with regards to exceptions, boilerplate and such.
Maybe you're arguing something else, but I was responding to the general sentiment on this thread that small towns are somehow more susceptible to corruption than other places. It reads to me like you were trying to provide causation for that. Important local decisions being made by a vote with pitiful turnout happens in towns and cities of all sizes, and if anything I would argue the greater bureaucratic complexity of a large city and the better salaries make them more susceptible to 'corruption', not less. (Though I'm also suspicious of anyone complaining about 'corruption' without clarifying what they mean, which seems to be happening a lot on HN lately.)
I get this point but if you’re using the STL then you’re going to have to deal with this stuff.

At one point hacking around these issues become a bigger cost than just using some C library

Though personally I think the abstraction ceiling on C is so low I can’t imagine that cost ever being that high, other people are more comfortable with macro-based APIs
True it requires classes as RAII is based on a destructor. However this doesn't require OOP design, which typically is associated with classes and objects.
I'd be interested in replacing an in-house logs filtering/aggregation solution with Loki, but there's a lot that is not clear to me from the initial announcement & materials. Could you please help me understand what are the answers to the following questions?

- Can I use Loki without Prometheus? I'd like to feed raw logs to it, with custom-generated metadata. I don't want to have to use Prometheus, nor InfluxDB.

- Can I edit (modify) metadata for some old log line after it was already inserted? Specifically, I need to be able to rebuild metadata later, if I add some new "filters" to my logs (I want to be able to apply them retroactively).

- Can I run aggregate queries on the metadata (sum, avg, min/max)? If not, what can I do with the metadata? Can I graph the metadata on normal Grafana graphs?

- Is the text of the logs compressed? If yes, what compression algorithm is used? If not, why?

- Where can I find the API docs (or at least the API source code) for Loki?
They also mocked the notch of the Pixel 3 XL and they are implementing an even worse solution. Oh and they are trying to pass on a DSLR captured photo as their smartphone’s photo. They are also hooking up with a counterfeit brand Supreme Italia. Oh and they post twitter posts using iPhones.
If you're interested in alternate languages along the lines of 'C with metaprogramming' (and without the bad stuff C++ forces you to deal with in some cases), you may enjoy taking a look at Zig (https://ziglang.org/) or Rust (+ RAII).
The problem with Pascal's Wager is the infinities in the loss function, not the use of probability to represent uncertainty.
Indeed, all of this is but more examples of lies, damned lies, and benchmarks...
Of course you can do various things in various languages, but good luck getting any adoption of a library that goes against the language idioms in its language. You expect certain kind of API from C libs, certain one from C++, and different one from Java packages.

If C idioms work better in your project, just go for C. You get other advantages from that, like faster compile times and being independent from C++ stdlib, which can be messy at times (not even speaking about Boost). You don't have to stay with C++ just because somebody else (or even you) thinks that it's generally a better language.
Use a Gitignore file
You can use a returned stucts in c to pass both an err code and a value

typedef struct
{
int err;
int value;
} rtn_t;

rtn_t rtn = foo();
if(rtn.err < 0)
printf( "err=%i", rtn.err);
else
printf( "value = %i\n", rtn.value);
Sun-soaking device turns water into superheated steam
I think Midori might have gotten error handling right, without getting rid of exceptions. It's too bad it only lives on in a series of blog posts.

I wish I could summarize the error model here, but I really couldn't do it justice. Read the blog post -- it's very good.

http://joeduffyblog.com/2016/02/07/the-error-model/
I go one step further - All changes (even single commits) are in a feature branch.

Feature branch is prefixed with issue number. eg. PROJ-1234-update-ui-to-do-something. That ensures that every commit is logged against an issue.

If you list --first-parent and show the list of merge commits, you see a list of features which were implemented into the dev branch.

If you need to drill down into lower level changes of a feature, you can look at the individual commits that were made in that branch.

That way merge commits are atomic commits of features, and commits in a branch are logical commits/steps for an individual feature.

And in answer to the original post - I try to make all commits have a message of what was the type of change, what the change was, and where it was. eg. "Added a clear button to reset all form elements on the update address page". The general rule is, you should be able to read the commit message and know exactly what was changed and where. Compared to "Added clear button".
Imagine Apple came up with a new iPhone 5 in 2018 and removed the headphone jack. Few people would care. This is a very different stance, in terms of user hostility, than getting rid of the jack in their flagship product.
Same mocking occurs every time Apple removes a soon-to-be-obsolete piece of hardware (serial/parallel ports, disk drives, CD drives, USB2/3 ports, etc). So far I think the only big mistake they've made is removing the Esc key.
Those solutions have other consequences because of how everything interacts. No exceptions means no std and you have to be very careful about what other libraries might do. Likewise it makes the consuming code more complicated, they now have to deal with return codes and exceptions.

You can't really just avoid language features like that.
I'm not sure adding black boxes really helps design reliable/performant distributed systems :-).
I do not see anything in the parent comment indicating a linear relationship. Making a more general comparison of prices is perfectly sound. If you must make an inference, you should construe the argument in the most favorable terms. Also, your choice of comparisons were of unlike goods, and "argument from analogy" is a weak form of argument.
You're replying to a description of corruption. You have that already. Wealthy corporations write your laws and the corporate elite are immune to prosecution.
Why would you go to an emergency room for a sprained ankle anyway? Doesn't seem like an emergency.
Visiting a Manufacturer
That's a very interesting view, as Norman had an engineering background himself. I didn't notice that tone myself, but that doesn't mean you're wrong.
Because you might not be an expert in technical medical lingo, so you go to the nearest place with doctors.
Can now open multiple files simultaneously.

...OK, now what?
You've described a slightly different x32 ABI that is in most ways identical. And sure, what you've described has some benefits.

However, It doesn't defeat the criticisms that x32 is facing in the linked LKML email: it's implemented in a brittle way; it lacks real users; and toolchains often either lack x32 support or accidentally break it.
Ask HN: What are the best ideas for employee schwag?
Does anyone have better ideas than tshirts, hoodies or Patagonia jackets?
i find it amusing that the essay alludes to the succinct-sentence-prescribing style guide, the elements of style, written by strunk & white (of charlotte's web fame), whose affiliiated institution also produced thomas pynchon, a writer whose meticulous verbosity may know no bounds but also produced some fascinatingly long sentences.
Chang’e-4 Successfully Enters Lunar Orbit
In order to buy a publicly traded company outright, you need to get permission from the board. This is just the machinations to get that to happen -- at a price that they wanted.
This was, hands-down, the single best article I have ever read about Lisp, after three decades of reading all kinds of stuff. It so far outclasses anything Paul Graham ever wrote on the subject that he (Paul) would best never mention Lisp ever again.

If only it were not ("just") a reply to a shitpost, I would print it out (yes, some of us old-timers still do that) and hang it on the wall, so I can point to it when somebody mentions Lisp and say "read that first -- if you disagree, then take it up with him, and don't mention Lisp to me ever again".

My Hat Is Off To You, sir.
> Did you even read the article?

Please edit such swipes or nasty tropes out of your comments here. This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html. We're trying for a bit better than internet median in HN discussions.
> The AT prefix, as such, does nothing whatsoever for error detection or recovery. If we add an AT prefix to an N-character command, the possibility of corruption in the N-character command part is exactly the same as before. Now, the AT also has to be correctly received, too.

I did not claim it does any such thing.

In historical contexts, and even in some modern contexts, the data stream may include random noise data.

If we did not have a state machine looking for "AT" before beginning command processing, then we would potentially process some of this line noise as a command, which could potentially be bad.
I have always heard that "Exceptions" should be "exceptional". Meaning that most expected errors (eg: getting a non 200 response to an HTTP call, having a file not found when opening one, ...) should not be handled in exceptions, but in regular if...else blocks instead.

Exceptions are great for exceptional stuff we really could not have expected (or just don't want to deal with so we want to cleanup nicely), but they tend to be overused for "anything that is not the expected result.

On the other hand, deferring non expected path to later using exception like you clearly state sometimes actually is good thing as it speeds up development time significantly. Depending on the project, you may actually really not care, and having that power in your hand in invaluable.
This strategy tends to fail economically. The tech startups that succeed are usually ones that let their customers do things they would not otherwise be able to do. Usually doing something that nobody has done before is hard enough without considering the corner cases; if it follows a typical 90/10 rule, then doing 100% of the job will take 10x as long as the competitor who's only doing the easiest 90%, and your market will have been snapped up by them long before you can release a product. Customers would rather use a product that works 90% of time than do without a product entirely, at least if it delivers functionality they really want but can't get elsewhere (and if it doesn't, your company is dead anyway).

Once you've got a commanding lead in the marketplace you can go back and hire a bunch of engineers to finish the remaining 10% and make it actually work reliably. That's why solutions like testing & exceptions (in GCed languages) succeed in the market: they can be bolted on retroactively and incrementally make the product more reliably. It's also why solutions like proof-carrying code and ultra-strong (Haskellish) typing fail outside of markets like medical devices & avionics where the product really needs to work 100% at launch. They force you to think through all cases before the program works at all, when customers would be very happy giving you (or a competitor) money for something 80-90% done.

Someday the software market will be completely mature, and we'll know everything that software is good for and exactly what the product should look like and people wouldn't dream of founding new software startups. At that point, there'll be an incentive to go back and rewrite everything with 100% solid and secure methodologies, so that our software has the same reliability that airline travel has now. That point is probably several decades in the future, though, and once it happens programming will not be the potentially extremely lucrative profession it is now.
>she will make system more human centered, more friendly to humans. I can understand her, but I cannot understand you.

Any marginal increase in human friendliness this may cause is negligible because advertising in general is a inherently "thing" oriented industry worth hundreds of billions of dollars.

It is at odds with human satisfaction and survival.

I am reminded of an MLK quote:

"We must rapidly begin the shift from a thing-oriented society to a person-oriented society. When machines and computers, profit motives and property rights are considered more important than people, the giant triplets of racism, extreme materialism and militarism are incapable of being conquered".

Advertising is the driving force behind the current state of insatiable materialism/consumerism that is leading to the destruction our ecosystem.

With all that being said, "advertising" can indeed be used for "good", human oriented goals, but as it stands it's mostly being used for exploitation.
Or in your local public library, which is quite free. :)
I don't mean to be negative here but you can axiomatize anything if "axiomatize" one just means "describe what you do".

It took quite a while but Kolmogorov and company actually formalized what is really meant by a "random sequence". But now you have a strong description of the real world behaviors are expected asymptotically if a probability is assigned to a behavior. As far as I can tell, all that's being axiomatized here is how the arbitrary quantities people make up for the fuzzy logic of things get manipulated. IE, there's not description of the relation of fuzzy logic and "reality" (because if there were, it would map to either regular logic or probability).
>...why would you see a movie with a bunch of shorts on it?

If you were long, among other reasons.
Imagine how much real estate they get after removing it, right?
This to me seems like a good thing for Vietnam. There will be alot of people now who having lived in America will be able to bring their skills and expertise back to Vietnam.

I'm sure there are plenty of hospitals and doctors offices that could really use some extra professionals.
Not just hardware. TPU probably was only tested to work on one kernel version, one compiler, one version of GRPC etc.

It probably takes a lot of effort to develop Windows driver, libraries, support for many kernel version etc.
So will DuckDuckGo change their name to Duck? DuckDuckGo is a terrible name.
You should have written it in Rust. Why? Because ... idk
> If you're not spending at least half your time on so-called 'error handling', you're probably doing something wrong, like using a language feature (like exceptions) to defer that technical debt to later -- and you'll regret it, if your project matures, I assure you.

Clarification please--are you suggesting the programmer can anticipate all reasonably likely error conditions and implement handlers for each?

I lean towards treating recoverable errors as uncommon, preferring a log->retry->give up strategy in most cases. The biggest sin is often in obfuscating the source error or prescribing a bogus resolution. Exceptions, while not perfect, remain a pretty good way to convey what was going on when things went sour.
Edward Snowden.
How can you call yourself a christian and also expel refugees? How can you say you support religious liberty but send Degar christians to their deaths by vietnamese communists? It’s just so much pointless sufferring. No one voted for djt to kick these few people out. Trump’s ideology is the opposite of conservatism—it’s fascism.
There's something to be said for having at least a small part of the Web hidden from the Google panopticon
Disassembly of the Canon RF 50mm f1.2L
Whenever the news reports findings of a new study, they should format it this way..
It would be more efficient to have a single domain promoting F# on toilet paper, rather than having two separate domains.
They were throwing a lot of money at aerospace back in those days. Space race, Cold War, actual hot wars fought with US and Soviet equipment and expertise. The moon landing was a huge project too.

https://en.wikipedia.org/wiki/File:NASA-Budget-Federal.svg

Nowadays money gets thrown at other things, stuff is still happening.
Mind Sports Olympiad