skysight-inc/HackerNews huggingface dataset:
Inn't this the Java API Oracle/Sun/Google/Android case, only cast with different players?
I think the biggest problem with Java exception specs is that they're not composable. In other words, I can't define a method X that calls another method Y - potentially via dynamic dispatch - and has an exception specification of "whatever Y throws, plus E".

This manifests almost immediately. For example, suppose you wanted to implement a key/value database with disk storage. The logical core interface for it would be java.util.Map, except for the fact that its methods are declared as non-throwing; thus, you cannot propagate IOException from the underlying storage layer, unless you wrap it into unchecked RuntimeException.

Conversely, java.lang.Appendable is a very generic interface for appending characters or sequences of characters to something. But because its designers knew that some of its implementations would be backed by I/O, all mutating methods in that interface are declared as throwing IOException. Thus, any generic code that tries to work with Appendable has to always assue that it can throw, and has to declare itself as throwing the same exception to propagate. And now the user of that generic code passes a no-throw implementation of Appendable to it, but still has to "handle" IOException that they know will never actually happen.

Or come up with some convoluted scheme, like java.util.Formatter does. This one wraps Appendable, but swallows all I/O exceptions to avoid having to propagate them in the most common case, where the wrapped Appendable is a StringBuilder. But since there are other possibilities, it still has to expose some API to examine such exceptions, which it does by providing a method on Formatter that returns the last swallowed exception that was thrown by Appendable. Of course, now you have to remember to actually check it, and you will silently get an incorrect result if you do not, which is worse than unchecked exceptions in the same scenario.

This all gets especially bad one you start working with HOFs, because their contracts are largely defined in terms of the behavior of functions that are passed to them. The old Java lambda proposal by Neal Gafter noted this, and proposed extending the syntax for generics to cover exception specifications (via union typing, indeed). In the end, they added UncheckedIOException to the standard library, specifically so that stuff like Stream.map() can be implemented on top of files, and propagate exceptions, without declaring them.
That outcome was not guaranteed. They could have failed anyway and it would have been twice as bad.
> There is a whole class of problems the field cars can never help with, since they lack the dead-reckoning sensor setup and precise odometry a development car would have.

Can you give an example? I'm curious what kind of triggers strictly require lab-calibrated hardware.
To me it’s worse. It sounds like a framework whose creator has run off and deleted the github repo.
I have a theory, of sorts, that popular retro game consoles are the most cross-compatible and future-proof software platforms we have.

Gameboy emulators are relatively simple to make and basically always in-demand. And the Gameboy "specification" can never change—a feature you relied on will never be deprecated or removed.
Yeah. I completely missed to see that.
Tokyo also has zoning that generally works on an "up to" basis, rather than prescribing narrow categories. For example, an area zoned for light retail can contain small businesses, but can also contain anything in one of the "lesser" zones, like small apartment buildings or single homes. It's a simple way to let the market build to demand for housing, as well as for upper-story residences or mixed-use business space to be extremely common.
Developer and former small business owner here.

Your attorneys may have been using the same base template that was used to create your competitor's documentation. Lawyers reduce the need to copy/pasta code, just like developers do. If an attorney's game of 20 questions leads to a bunch of templates that were drawn up before they ever knew you, values are filled in for your specific use case, you're not getting ripped off. You're (hopefully) not paying for words in a document. You're (hopefully) paying to have the contents of those documents cover your butt when shit hits the legal fan.

The trick is to know templates exist. If you hire an attorney to do a bunch of work, and you are pretty sure that all of that legal work is just going to be generated using boilerplate templates, then you can negotiate a better rate based on the fact that the attorney is doing very little custom work. The more boilerplate being generated, the more leverage you have to negotiate a better price.

Source: I learned this from a mentor to get favorable pricing on attorneys fees.
I love meat, but don't like it rare. When I got the impossible burger at white castle it tasted too rare for me to enjoy. A bit too authentic!
1) SSH agent will cache your passphrase. While that's the whole purpose of SSH agent, remember that nothing is more insecure than an unlocked secret.

2) SSH agent often starts automatically, frequently without user interaction (even if you specify `-i keyfile`). SSH client and DBus are both culprits here; there's also other culprits too.

3) There are often multiple different agents installed on Linux desktop systems. For example, ssh-agent, gnome-keyring, seahorse, gpg-agent ... the list goes on. Good luck auditing that.

4) Without `-i keyfile`, SSH will present to the remote server all keys, in sequence, cached in your agent (and will cause trouble with active firewalls from too many authentication attempts)

5) If the keyfile you specified in `-i keyfile` does not authenticate, then SSH will fall-back to using keys cached in your agent. That's especially frustrating since you might want to know that the key you specified was rejected!

6) Removing the executable flag from ssh-agent is not a permanent solution: updates will often overwrite the program with a new file and reset the executable bit. Obviously the same goes for renaming the program (that one causes a hell of a lot more noise in logs btw; programs seem to complain more if a program can't be found instead of just not being executable)

7) See also (related) concerns I posted about GPG agent on Stack Overflow [1]

Last, but not least:
8) Hope you don't use a system where agent forwarding or agent caching is turned on in the system settings!

[1] https://stackoverflow.com/q/47273922/1111557
If you use this word, you are a carrier of the plague. The only time this word gets used is when someone is getting ready to be obnoxious.

If you are a Liberal, you declare it as a way to draw out enemies and then argue. Or for sending virtue signals from a high horse, as a siren call to elitism.

If you aren't, and you use the word, you're usually throwing around shitty slurs and being a condescending, useless fuck.

I've never met a worthwhile person that spoke this word as either a positive or a negative.
That's correct. I am using amount as a proxy for this (less compulsive people in the same circumstance would have a lesser amount), but I am absolutely meaning to say it your way.
I would consider digging into WASM. I think there will be a lot of demand eventually and Rust has a good story there.

Rust is slowly gaining momentum. Jobs are starting to pop up here and there.
The Wild, Terrifying Story of an Influencer's Plot to Steal a URL at Gunpoint
Soon, most software will be built by freelancers
Amidst history's mist, turgid frost

Voicemail is missing, emails lost

Bytes and bits fade

Information is toast

"Welcome!" to this future dark age!

"You have mail!" you silly ghost!

~recovered data fragment from optical disc, late 20th century, all other works by this author presumed lost in 2015 tsunami or 2031 firestorm.
I did not market or sell this service. Back when I did this free, I worked closely with my mentor who had a startup (which later was acquired by a publicly listed company). I helped his company a lot. They were building an BI platform for big data.

That success gave me wings for a while. Word of mouth referring helped and I only took on clients who were recommended to me (i.e. they were aware of it)

Sometimes I meet business owners and founders at meetups or for lunch and we organically start talking about what we do (with no intention to sell). I always try to make the other person curious and then feed their curiosity. Also, I do an initial consultation for free.

The motivation is not money and my rates are pretty compelling (low) for the ROI I promise. Not every small business takes the opportunity but some did.
I am happy to see a bit more options out there. I do wish the pricing were better. It seems a bit silly to me that meat replacements actually cost MORE than the meat they are replacing. I don't know how efficient the process of extracting protein from soy or peas is, but it should be better than actually raising, butchering and distributing meat if we're to use it as a replacement.

I'm allergic to legumes though, so will continue to consume fish, eggs and meat.
Well, it seems clear that what he has a problem with is not "feminists" but people who actually promote junk science, either in parts of academia or on the media. It's the difference between saying "conservatives are anti-science" and stating the same thing about creationists or climate-change denialists.
I meant to share my friend link. I will come back and see what I did wrong soon as I’m at a computer.
On one hand, you have sentimental value. On the other hand, you have a crushing housing crisis that is causing incalculable financial strain on millions of people. I wonder which of these we should consider more important.
Eventually, yeah, there's a breaking point and industry will abandon that area.

But in the meantime, excluding people from one of the most economically productive places on the planet is hugely detrimental for the 'marginal' people who end up not living and working there. The economy overall loses out a lot, too.

https://www.vox.com/2014/7/15/5901041/nimbys-are-costing-the...

Also: there's a climate change argument to all of this. Forcing people out of a region that actually claims to care about it into places like, say, Phoenix or Las Vegas or Dallas or other sprawly places entirely dependent on cars... is not a win for the environment.
Traveling a bit, I've noticed that regardless the language, customs, atmosphere or locality that all pubs offer a kind of simple baseline. Whether it's in a ship or a totally foreign country, you can get a beer and some food and ask pretty direct questions of your bartender to get an honest lay of the land around you.

The best part of the crappy, touristy cruise ships is getting the hell off the ship and finding a local pub where you can chat with the locals outside of the tourist/vendor relationship.

The second best part of those ships is finding the empty pub onboard where the crew will open up and share their own stories and experiences.
The good news is your domain name is sooo much better than theirs
An important feature of a good framework is to be able to break out when needed to do normal JS, so I imagine you’d do that and grab a regular editor component.
It's very unpleasant to take part in an online conversation only for people to try to psychoanalyse you and discern hidden motives in your comments.

My comment says what I meant to say. What it doesn't say, I didn't mean to say on the subject. Responses to what I didn't say are none of my business and I won't bother with them any more.
You think they accidentally tripped and fell into their website design?
I mean, there aren't many but they hold the substantial fraction of total wealth. So if we have 100 people who can pay an extra billion/year and another 1k people who can pay an extra 100M and another 10k people who can pay an extra 10M then a total of 11k people are suddenly paying $300B.
Or perhaps something is wrong with computing. Go back to the dream of "computer as a bicycle for the mind", and say

> if the mayor of New York City actually wants to use tools to help him do his job better, something is deeply, horribly, terribly wrong with politics in the state of New York.

and see how out of place it sounds.
The entire content of that comment is a shallow dismissal of the events as a 'stunt' by people assumed to be acting in bad faith. It is an exact example of what is said to be discouraged.
That question is the essence of the ongoing Oracle v. Google case:

https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google....
anonymizing data is non-trival.
Here are two good practice problems for testing your personal bogometer:

http://sparsey.com

https://www.agilepq.com

It's not P=NP but two similar problems that attract a lot of quackery.
Or we could upzone Stanford and Palo Alto and no transit would be needed.
Red meat is a carcinogen & spoils quickly. There's the whole animal cruelty thing too.

If the imitations can get good enough and also beat on price to boot, that could seal the deal as well.
Here in Australia our Center Right conservative party is the "Liberal party". Thatcher, Reagan etc would fit with their views, which to simplify a lot is: Pro free trade, pro privatization, anti trade union and less state welfare.

My friend who is a member described them to me once as "economically liberal, socially conservative."
It’s nice to read a story about rare plants or insects that doesn’t include the words “after they collected it...”.
>Apple has strong competition and has already trimmed prices and revenue targets.

How is that the government's fault?

>China just purchased 300 planes from Airbus instead of Boeing.

Airbus is European

>McDonalds sold off 80% of its China operations to a Chinese stated-owned company years ago because it had trouble adapting its menu.

Again why is McDs inability to serve the Chinese palate the fault of the government? Consumer tastes in food are far more determined by culture than government.

The rest of your statement is a non sequitur and strawman.
While the evidence in this case seems to be against this statement (Amazon indeed offered worse service than competitors) I think it is otherwise valid. Chinese are really driven to become the world's superpower number 1 and give no quarter to Western companies trying to establish themselves in China.

So the big dilemma is, do we let them? Or more precisely, do we as the outside world let Chinese stifle all the foreign companies in their own market while their own companies operate freely in those foreign countries? It smells really a lot of mercantilism, and the Chinese culture of copy-catting freely doesn't help. It seems like the Western countries in particular have become too soft for Chinese tactics, and are too afraid to act against China. This at least has been my perception.
I meant “right” in the “it’s not illegal and your employer can’t physically silence you” sense, not the “you’re legally protected from repercussions” sense.

I think we’re generally in agreement.
Taxes also provide steady cash-flow. For much of equity you need to sell in order to get money back.
Let me put it another way. If people weren't allowed to accumulate large amounts of wealth, would there still be SpaceX? Why is SpaceX in the US rather than Europe?
You may be forgetting that load balancers have been working on a per request basis, and that no two requests are the same cost (despite what load balancer companies would have you believe).

Under HTTP/1.1 requests may have been hitting the LB and then being scattered across a dozen machines. Each of those machines was in a position to respond on their own time scale. Some requests would get back quickly, others slowly, but still actively being handled.

Under HTTP/2 with multiplexing, if the LB isn't set up to handle it (and they often aren't) they can be hitting the LB and _all_ ending up on a single machine, which is trying to process them while some of those requests might be requiring more significant processor resources, dragging the response rate for all the requests down simultaneously.
I have also seen calls for caution and warning dismissed as racism. I agree - this is an extremely sad situation.
Well, Cahill has his opinions, Ripon has hers. Obviously there is a
controversy on this issue, between experts on the matter, and I am not
equipped to resolve it, or even to know who is representing some kind of
consensus opinion. Basically, I know a couple of things about computers. I
don't feel I have the knowledge to weigh in on any other scientific subjects.

That said, I have to observe that if the matter was settled the way Cahill
claims it is, Nature wouldn't be publishing dithyrambs for Ripon's book, and
Cahill wouldn't be publishing his own article on Quillete. It would rather be
the other way. It's Quillette that's know to court controversy and Nature
that's know to be as controversial as a pot of instant noodles.
D&D alignment works too - https://en.wikipedia.org/wiki/Alignment_(Dungeons_%26_Dragon...
I'd argue that it was true of them when they were in the 24-35 demographic.

My in-laws have been here 35 years. They are old-school now: they own a home, they oppose further development or upzoning, they worked as a mechanical engineer in defense and a biologist in biotech. Nevertheless, when they were in their late 20s, they were recent immigrants from another country.

Their neighbor is close to 90. She's even more removed from today's gold rush: she was a secretary & later HR manager at one of the early electronics companies. IIRC, she came here as a child in the 30s, one of the dust bowl & depression migrants.

I'm reminded of a line from last week's Game of Thrones episode:

https://www.youtube.com/watch?v=hwOOeJxrhL4#t=95
okay so going with your analogy it's like publishing a picture of what's inside the vault but you publish the picture encrypted. imagine the encryption is a 20-letter random password in winzip (imagine winzip is secure) with the picture of what is in the vault. Although only an insider knows what's in the vault, the public gets the encrypted picture. Every day you publish one more letter of the passwrod. So if the password is p?jbAL;nQpg-37(z(feH then on day 1 you publish just "p" (the first letter) so now it's as strong as 19-letter password since you gave them the first letter.

I don't know what will happen exactly between day 1 and day 20, but on day 19 anyone can just try every 20-leter password with the first 19 letters you've published by that date. So if by then you've published p?jbAL;nQpg-37(z(fe already they'll just try

p?jbAL;nQpg-37(z(feA
p?jbAL;nQpg-37(z(feB
p?jbAL;nQpg-37(z(feC
p?jbAL;nQpg-37(z(feD

in winzip. Anyone can just try all of them until they find the one that unlocks it. So on day 19 if it's worth knowing, for sure someone will take a minute or two to try it. Not that hard if there's just 1 missing letter.

So for sure if you tell people it's a 20-letter password and give them 19 letters they will figure it out before you've given them the last letter.

All right, but on day 1 nobody can guess all 20 characters in the password. That's too hard. it's impossible.

So every day you make it easier, but it'll be "broken" sometime between day 1 and day 20, assuming that the insider information doesn't leak in any other way. that means that someone will break it but not on day 1. on some day between day 1 and day 20. The person who analyzes it "best" will have the insider information first, but for sure we don't have to wait until day 20 because by then it's ridiculously easy to analyze.

meanwhile you're making the analysis easier and easier. the person who can do the analysis best will have it first, and this proves that there's no "infinitely great analysis" already being done all the time by public markets. it's a simple demonstration of this fact. I don't think you actually need to do the experiment to now the results. hope this helps.
> you either handle it or add ? to the end of it to propagate the error, auto converting to the appropriate error type

But that can only happen if the method returns a type of Result, true? Does this have the effect that just about every function ends up having to return Result (so that the ? operator works)?
I paid off my student loans around 6 years after college because I:

- Chose a degree that would lead to a profitable career ( Computer Science )

- Worked during the day and went to school at night, paying for my books and other expenses as I went through school. ( I was a manual QA worker at a tech company. )

- Lived below my means. Always took public transit, never owned a car, always had multiple roommates.

- Avoided large purchases or expensive trips

- threw a large part of my paycheck at the problem. I wanted to get ahead of that compound interest.

I support student loan cancellation. Over a trillion in debt. SOMETHING needs to happen. I understand why it needs to happen. But as someone who "did the right thing", it stings to get left out in the cold on this one.

And either way: Even people still IN debt paid a LOT of money towards our student loans. What happens to the money people have already paid off? There will still be a 10-year wealth gap for people around my age. I will be outbid for homes by people a decade younger than me.

I delayed retirement contributions, home purchases, and having a family to pay off my student loans.
I can tell you, this is not something that is rare (humans in prod).
Ansible often enables this behavior rather than removes it.
I learned about the floods at Dry Falls, in central Washington, where you can look out the window of the little visitor center and see the cliff formed by the largest waterfall known to have existed in all of Earth's history. It was an amazing sight, and the whole landscape I had been driving through all day suddenly popped together in a new way. I've been back through the scablands many times since, both hiking and driving, and it's amazing how you can just see the shape of those ancient water flows on the land once you know what to look for.
This isn’t particularly surprising. It’s becoming more and more common hearing about these stories, the last one I remember being Nokia HMD and Xiaomi both sending packets to Chinese servers.
Holy hell, I had to double check that quote. How can the authors get something like that so absolutely wrong?
Compatible APIs happen all the time with SaaS. Look at all the S3 clones out there. Look at SignalWire, which cloned Twilio. It is very, very common.
92% is an awful lot of precision.
The first point seems to be the major focus of the project - it was developed entirely within IIT Bombay, which is one of the top 10 schools of India. As to the second point, the people in power within the Indian government, even the self-appointed "technocrats", are ill-informed on cybersecurity and generally only take on endeavors that appeal to a largely uneducated electorate. The Indian government seems to be focused on technology that helps meet basic bureaucratic needs, like Aadhaar (https://en.wikipedia.org/wiki/Aadhaar).
So then what other US company such as KFC, Starbucks, Coach, Tiffany & Co., Estée Lauder and Michael Kors do differently so they allowed to compete and enjoy success in china ?
To me this looks like a success story: mainstream linux distros have caught up to where SL was, or close enough, so that the marginal benefit of maintaining SL is wearing thin. Maybe they are even surpassing SL in some areas.
This is badly needed for public USB c chargers—a switch that disables the data pins but allows charging.