skysight-inc/HackerNews huggingface dataset:
(Just adding a bit to that:)

It's not just subclassing.

It also breaks with higher-order functions, e.g. what is the throws clause of a map() method on lists? There's really no good answer in Java, so what people do in practice is to just re-wrap into a RuntimeException, but that leaves callers with a problem: Calling code cannot match on exception types using a catch clause on the checked exception -- it has to check for a RuntimeException with an embedded checked exception. This is disastrous for ergonomics and real-life use of checked exceptions.

The Result/Either method leads to its own ergonomic problems, but I think they could be solvable with support for row-types and (anonymous) union types. At least in Haskell, the Either method leads to a proliferation of FooError types whose only purpose is to wrap other error types. Well, either that or you accept that every little thing can return in a generic 'AppError'.
I've always thought of those two groups using different labels. The Code Artists and the Engineers. The Artists have a strong need to be creating to understand something, whereas the engineer has a strong need to understand before they can create. And those that believe the programming is not an art fall into the latter group.
Most people I know use Dropbox precisely just for that, and little more. For them, Nextcloud would be closer to a Google Drive replacement.

(Yes, I'm well aware Dropbox is way more than file synchronization, but try to change how people use things...)
securityheaders.io is now securityheaders.com

https://scotthelme.co.uk/security-headers-is-changing-domain...
There are boatloads of people out there who idolize Japan for peacefulness and never actually read about reality there. I'm just simply tired of the "ah, but Japan" attitude.

BTW, in my opinion, Japan is ~20years "ahead" of socilogical problems of the West - such as extreme isolation of elderly, young glued to the screens not even leaving a flats because everything can be done online, etc - mostly because their 80s housing boom bubble burst in the 90s and not in 2008. But this is unrelated.
If anyone is in Victoria, Australia and wants to play with an IBM z9 mainframe, i picked one up for about $500 and although I've managed to power and boot it, i haven't managed to load zOS on it properly. Got some time to spend on it and would love it if anyone else is interested in experimenting/getting it up and running.
I also bought the relevant storage array (but no disks). Unfortunately that takes up a heap of space and I'm looking to offload it, it's free if anyone wants it, otherwise ill probably have to scrap it :(

I usually lurk here but feel free to reach out via twitter (same username)
Seems unnecessary. If the point is to not pay after free trials, why not just have a card that declines everything. It is still valid to sign up, but never will actually accept any payment request.
The problem here is that years of abusing "insurance" - billing regular prescriptions to something intended to be used for catastrophic events - have led to prices being raised without the consumer feeling the net effect, right away. It was a band-aid, nothing more.

There was an article a few months back about an indian gentleman who was essentially industrializing health-care. This is what we need. Maybe some one who does routine carpal-tunnel surgery does not need a full MD? Some how, medicine was one of the few industries which never industrialized. By doing this, we can go back to looking at insurance the right way: something for catastrophic events. Regular health care is expensive, and no system can realistically have the balance of its members taking out more than they put in long-term.
Mail delivery vans and garbage trucks should be next.
I don't know how to say head-to-head more than this graph

https://speed.python.org/comparison/?exe=12%2BL%2B3.6%2C12%2...
I'm not going to acknowledge the legitimacy of his motives because it's what he wants. He wants to be viewed as a martyr and to have his grievances heard and discussed, but killing 20+ people over stealing some IP (and not even a life changing innovation but a fucking manga) is categorically unacceptable in any society and is a disgusting act. Therefore, I will not even acknowledge that he has rational motives; he will be considered insane and disregarded as a fool, and I will move on without paying him or his "grand gesture" any mind. This is the ultimate punishment for an angry idealist who is demanding to be heard.
BuildStream, the Software Integration Tool
1) With the Manifest V3 changes, will this apply to all already extensions installed before you install the latest version of Chrome? Or only extensions you install AFTER the update?

2) With the Manifest V3 changes, what is exactly stopping an extension from reading your browsing history, and the URLs you visit? I'm not sure I understand what they're changing.
Disclosure: Hong Konger

I agree with the suggestion that the Chief Executive will not resign right away, as does some rumor [1].

> The Umbrella movement in 2014 had greater participation, attracted much more international media attention, subsequently wreaked much greater havoc in the territory, and lasted much longer than the current protest.

However, I disagree that the Umbrella movement had greater participation, nor attracted much more international media attention. For one, due to timing and other factors (such as the extradition bill concerns foreign diaspora in Hong Kong, and the ongoing trade tariffs and “new cold war”), this protest coincides with more media attention and actual international actions, in particular the “Hong Kong Human Rights and Democracy Act of 2019” [2], which could put real pressure to get a response from China.

[1]: https://shanghaiist.com/2019/07/16/hong-kong-chief-executive...

[2]: https://www.hongkongfp.com/2019/07/12/hongkongers-us-launch-...
Peak podcast? Not sure that oversimplification makes sense. The number of podcasts may decline as a we get fewer, but higher value podcasts. I see this happening with YouTube. Higher production value shows with good content are winning.
This.

"Fra" is just how "for a" is pronounced where Armstrong comes from.

Insisting one knows better than the speaker is not legitimate.
What if you have no team and it is just you and you want to build something that you're passionate about? Or would you always start an Indy project by hiring a team first and then look at their skillset rather than deciding on the tech first and then hire accordingly?
Ensuring error values get all the way to the top-level error handling loop is generally more ergonomic with exceptions, not less. It's easier for values to fall by the wayside, and for errors not to propagate when they're paired (type-wise) with values.

If you do a lot of error handling close to the point of the error condition being found, the Rust / checked exceptions approach works well. For the kinds of applications that are written in Java, it's not the case. Most error conditions need to be propagated and the action in flight aborted.
According to the news, the doors had keycard locks but they were opened for the day because of a meeting that involved a lot of visitors
I think one thing that confuses people about Rust is it sends mixed signals with regard to functional vs imperative. It gives you lots of nice functional toys - closures, implicit returns, pattern matching - but you end up having to write a lot of imperative stuff too.

I've found that Rust flows much more nicely when you just embrace an imperative style "by default". That's its native tongue; the functional stuff is more of an exception.

Those of us used to multi-paradigm languages have taught ourselves that imperative == bad (actual for-loops! egads!), but the thing is, Rust is specifically designed to make it not-bad. It gives you all these tools to carefully control and limit mutability, so you can do imperative stuff with much less fear. It takes getting used to but in my (limited) experience this mindset significantly reduces friction when working with Rust.
It's interesting to me hearing people in the comments talk about committing after hours of work. I instinctively commit after every maybe 30 loc, especially if I feel it has value. I'll sometimes squash them down if the PR turns out particularly noisy. It would be interesting to compare the average size of commits as well I'd imagine.
I wrote a Battleship game in PL/I on a Univac 1100 ca. 1978. It was a pretty cool language, but those /* comments */ felt weird after FORTRAN and COBOL.
> and timezone information (+0300)

> to filter only the commits by one person get the local time of that commit and aggregate it by hour when the commit was make

So these are all in local time of the computer doing the commit, if I am not mistaken.
> Pornhub probably has such a map

Or rather MindGeek, who owns pornhub.com, redtube.com, youporn.com, tube8.com, brazzers.com, xtube.com, spankwire.com, extremetube.com, keezmovies.com, pornmd.com, thumbzilla.com, realitykings.com, mydirtyhobby.com, seancody.com, men.com, digitalplayground.com, mofos.com, babes.com, gaytube.com, twistys.com, peeperz.com, sextube.com, porniq.com, and webcams.com.

They also run their own ad network called TrafficJunky.
You could be provocative and say even computer science and programming are not very related. Traditional computer science education involves much more chalk and blackboard and less keyboard typing.
Hmm. Would it be possible to run these Apps in a VM like container? allow it access a dummy, empty folder to read from somewhat of a container for all apps? then there would be a manual transfer process between the shared folders after you've saved an image?

So when downloading an App it will ask would you want to run this in an isolated environment? and you can, so if it tries to scan over your photo gallery it will have an empty folder etc..
Aren't contracts with unlimited time periods non-binding? I was under the impression that any contract that said perpetual anything could be trivially disregarded. Or is that a regional thing?
Smart Software S2E2: Bryan Joseph on ElixirScript
I don't think so. My wife and I have started a podcast that's pretty much about our personal lives. Two of our recent guests went off and started a podcast of their own. Two more are talking about it, but haven't started, yet.

That said, IMO, the amount of podcasts that exist is just starting to ramp up. There are so many people who have yet to start listening/making one. The tools, like anchor, are miles ahead of where they used to be, but still have a long way to go.
Rust seems like a great language to write other languages in. Not as convenient than a lisp but, zero-cost abstraction, safe, fast and close to the metal.

So you may be see a rustscript at some point. Some people try to implement Python in it, which I think is very interesting: https://github.com/RustPython/RustPython

After all, replacing C/C++ is the raison d'être of rust.
The comments deserve all the downvotes they get and more, on two levels.

On the moral level, they value human life less than copyright.

On the intellectual level, they appeal to the idea of "valuing principles" while simultaneously throwing away the concept of principles because the universe doesn't obviously value them.
https://www.tweaking4all.com/video/gaming/split-screen-game-...
They weren't responding to you, but to goldenkey's flagged/dead comment.
As with many things, a high deductible plan makes sense in theory and does not work very well for the average person in reality.

To walk through some but by no means all of the problems:

- The average person is bad with money. Always has been, likely always will be. A high deductible plan only "works" if you hold onto the money you would have spent on higher upfront premiums so that you can directly pay for care if you turn out to need it. The problem is, the average person lives paycheck to paycheck, saw the extra money in their bank account, and spent it. Now they're reluctant to get any care, even when necessary, because they don't have the money and it looks like a new expense. Which leads to worse health outcomes, and more things being put off until they become expensive emergencies.

- Few people have the medical knowledge to determine what tests are unnecessary or what procedures are marginally useful. Most people are not in the habit of challenging people who are the experts in the field, who they explicitly went to see for their knowledge.

- Even fewer people have that medical knowledge and have the time and energy to spend on navigating near-incomprehensible bureaucracies to actually compare prices, quality of care, etc to try to make an optimal choice.

-----------------

The solution to expensive healthcare should not be that everyone needs to become financially disciplined, a domain expert in healthcare willing to challenge authority figures, and to waste large amounts of their own time attempting to provider-shop in a system unlikely to ever make that a simple process.

I have a HDHP. I save a bunch of money with it, and unlike the average person, I'm in a position where I can do all those things. I get a relatively optimal outcome, although it still wastes a bunch of my time to navigate.

While I personally benefit, I strongly feel that HDHP's are not proving to be a net-positive for the system or society.

Here's a recent Bloomberg article basically going through a bunch of those unintended consequences: https://www.bloomberg.com/news/features/2018-06-26/sky-high-...
Does it matter at all that people start and end low quality podcasts? Nobody listens to them, nobody spends money on them, and the producers lose little by trying something and stopping.

What I care about is the availability of high quality talk and news available on Podcasts. There seems to be plenty, and even if the ecosystem contracts by 50-75% there will still be far more good content than I have time to listen.

Also, considering "podcast" just means "digitally delivered serial mostly-spoken audio," it's hard to imagine it going away permanently. We have five senses, only two of which are typically used for informal communication. We have a few communication modalities for vision: video, graphics, text. And we have two that I'm aware of for listening: music and speaking (podcasts).
There seems to be a certain train of thought within the Rust community that unsafe languages are fundamentally invalid. I saw a comment on another forum claiming that C++ was even unsuitable for personal, experimental projects because unsafe code == undefinted behavior, and therefore your program produces "random results" which would not be fit for, say, scientific inquiry.

Apparently the Linux kernel, and all code written before 2010 is just completely random!
More employers ought to do this, for sure. If I'm a young, healthy, twenty-six-year-old man, I almost certainly don't need medical care. If I've got a good job, I can essentially self-insure. I might want to keep actual insurance, i.e. high-deductible protection for catastrophic events, but nothing more.
Hello! Just wanted to comment on this, since I'm a GitLab employee and my team is responsible. We currently only have 1 person who is able to do this (my team is 3 people but we all have our own focus areas), so when he's OoO they take a while to get renewed. But we're working on training up/getting access for the rest of the team and also potentially hiring someone else, so hopefully this can get crossed off your wishlist!
Automatic propagation without relying on macros like try!, or match with return on Err case.

As you make it easier to propagate the error case to the caller, you asymptotically reach checked exceptions.
C2C and B2C transactions can be, and in many places are, regulated differently.
> real firmware to boot^H^H^H^HIPL itself.

Have you considered using ^W?
I recorded 41 episodes of a podcast with some friends of mine. It was a lot of fun, and because we had a "format" it wasn't just "a couple of friends talkin' about whatever, especially dick jokes!!!"

We went into it not looking for sponsors or to make money, and we were not surprised :) It was a lot of work to get all 3 of us together every week to record, and then to get the episode edited and released on time. We'd typically record an hour and a half of raw audio, then edit it down to something closer to an hour, a process which took at least three hours--basically, whoever was editing the episode that week had to spend a full evening editing, which was hard for the two hosts with kids.
> If someone is not, not a user, but familiar with ALGOL, Simula, Pascal, Modula, Ada, PL/M, Smalltalk, Eiffel, and Oberon, they should not really promote their programming language ideas as relevant...

If programming is intellectual onanism for you, then sure you're free to entertain that idea.
I have a math undergrad, didn't program much until my senior year. Then went to grad school in computer science. Learning data structure and algorithms was very easy for me compared to other students who came from non-math non-CS backgrounds because writing math proofs and designing algorithms are very very similar and use similar though processes and methods. Udi Manber's Introduction to Algorithms show how you use mathematical thought processes to design algorithms.
>No one wants to take the train when flying costs almost the same.

Sure they do if it's more pleasant. In the US, the train on the Northeast Corridor takes maybe a bit longer depending upon the specifics than flying and costs in the same ballpark (depending on whether Acela or regular coach, parking, etc.) And it's at capacity at peak times.

When you're not talking big money in the scheme of things, many will take whatever mode of transportation is most convenient and comfortable--especially for business travel.

If you really are very price sensitive, you're probably taking Megabus or something similar.
It only makes sense for this epidemic to take place in the society we've developed. We are tearing apart the fabric and the bond that kept everyone feeling as a part of community; namely, religion.
Religion was never designed for people to fear the man upstairs; it was always about the values and the bond it created between each member of that religion.

Individualism and decadence are being more or less encouraged, or at any rate tolerated; families are shrinking and relationships are treated just like another object. The concept of friendship lost value as a result of the tolerance towards vices (envy being the leading cause).

I believe that the Christian religion was in part developed to address these problems. I am not aware of any society that lasted without religion and had strong communal ties.

I don't understand how anyone can be surprised at this result.

Stop for a moment and think: what bonds me with the people living in my vicinity? Since in 2019, you can't say: religion, race, nationality and nation without being labeled one way or another. And historically, nothing else worked.
maybe it would? maybe somebody could create a co-processor just for that.
sadly cpu's won't actually have specific extensions to have a good way of doing garbadge collection. but I guess it would be pretty helpful.
(I'm going to disagree with you in my comment, about your specific thoughts - but given the context of the thread we're talking in, let me be clear - this is a horrific attack that happened no matter what you think about IP, and nothing I'm saying below should in any way make it seem like I think otherwise. This kind of violence is horrible, and not the answer to anything).

> Yet here intellectual property has scaled beyond mere value into critical relevance and even a person's identity itself.

I mean, do you really think JK Rowling shouldn't consider "I wrote Harry Potter" to be part of her identity?

> In reality once an idea is communicated it is free.

If by "in reality" you mean "in nature, given that we don't have a government to change it", then, yes, of course, if I tell you an idea and you decide to use it, there is little I can do to stop you. But that's exactly why we have governments and laws - to not live only by nature, but to do things that we think makes more sense, both on a moral level, and a pure "what's better for society" level.

And say what you want, I think most people don't share your feeling that someone's work being copied without them getting any compensation for it is somehow more moral, and should be the way things work. I certainly don't share that intuition.
Strack traces? I love Rust error handling, but the one thing I sometimes miss is that there is no stack traces by default on errors.
I'd probably just try for the best UX/maintainability balance. So probably mithril.js.
You're talking about C.
Seeing my own list, i don't think i am comfortable with either c or java. So that's probably why. C, java, c++ are other notable languages i never could get into.
The "right" thing in Java would be to parameterize map() by the error type declared on the lambda passed in. In other words:

interface Function<T,U,Err> {
U apply(T value) throws Err;
}

interface List<T> {
<U,Err> List<U> map(Function<T,U,Err> f) throws Err;
}
The majority of podcasts I listen to are almost exclusively supported by Patreon and I think they probably need to be considered an entirely different thing than ad-driven podcasts.

The former is likely to persist consistently, albeit as possibly a more niche role than some currently occupy as opposed to a full time job for loads of people. One consistency among the Patreon sponsored ones is that they tend to involve a much looser approach and function almost as a kind of social substitute (very fluid run times, casual vibe even if they've been immaculately researched).
In fact, there's a few I listen to where it's pretty clear the main reason they still exist is so the hosts have an excuse to hang out more than anything else.

The latter type seems to be either at or past the point of total saturation where they're just too much work to keep up with and the format is just too sterile to garner the kind of stickiness that the smaller and more casual ones can generate.
The kind of quality required to garner a substantial audience for this kind of podcast is nearing the point of major TV shows. The peak was probably about two years ago when any crappy true crime thing could become a bit of a sensation (I'm looking at you, Dirty John)
Bear in mind GDP can be manipulated yet true at the same time.

If the government tweaks regulations, lending criteria and does other things to trigger huge spending on building pointless ghost cities, that will legitimately increase GDP because GDP is just summing up "stuff being done". There's a very subtle but deeply embedded assumption in western talk about GDP: that high GDP indicates a lot of useful things are being made and sold. But in a hard-left economy like China that correlation is weak; it's possible for lots of people to be doing things that aren't useful.
> single-payer system

Why could I not buy my own insurance? Or why can't I self-insure? If I want to pay for the best, I ought to be able to buy it (again, if I will pay).

There's a difference between actual single-payer (in which there is a single entity which pays, the government) and a government health-care plan. For which are you advocating?
Good thing rust doesn't have one.
If this goes anything like their "exploring integrating Python into Excel", in 18 months we'll have heard no more about it and it will be presumed abandoned.
The individual tax deduction is meant to be a temporary bait and switch. A full top line individual deduction of health insurance premium would allow corporations to shift their current contributions to their employees with no net tax consequence (income paid is deductible for the corporation and the premium would be for the individual).

Once that’s in place the next step would be making the general populace aware that the majority of the deductions, at higher tax brackets mind you, are going to the top. That would give the political capital to eliminating the “fat cat insurance deductions” and gradually get us to sanity.