jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I still don't see why I should care since its only for my personal use. I agree in other areas like law enforcement and news curation this is an issue but for my personal photo search all I care about is that it works pretty well, which it does. Some mistakes are fine here.

Which is my main point, why should this apply to all tech when in some cases unexplainable mistakes are fine?
Yes I should edit my comment - it is not closing down but favilous remains an alternative, we hope a credible one!
"Mentor someone about your–or your company’s–core competence.... Don’t forget to get mentored as well."

It's the MBA reinterpretation of swinging!
I've stopped using functions for just the same reason.
I don't follow. I am not talking about any kind of cause. However, you made a specific prediction, that "Python will be beaten", and I'm saying you haven't made a proper argument why that is so.

As someone who cares about performance I still use Python for the non-performance critical parts of code, which is the vast majority.

I'm pretty sure that in the end this is just a matter of personal preference, but you make it sound as if there are objective arguments without actually presenting them.
Ireland usually does not use post codes :-)
There is room for improvement in the modern world. But you know what could be making us sick in our everyday lives? Cholera. Makes bpa a little less scary after all.
It's just an alias, but the way I use it is different. When declaring variable I opt for `string` but of course you should probably user `var`. But when calling method bound to the class, I would use `String`, i.e `String.format()`, etc
I agree and have made that point before. Java tried to be a language for "enterprise programming", which tried to keep the language so simple that having lots of people wouldn't muck up your code. IMHO, it failed epically at this, and today we would basically laugh at the idea that Java is good at that, but it was in fact a design criterion back in the day. One could make the case that it sort of succeeded at the isolation bit, but at the cost of making everything so verbose that it's absurd and a constant stream of technologies to deal with this has been coming out for Java ever since.

Despite the taint Java left on it, it's actually a good idea! It's a common use case. After years of programming in Perl in a fairly large programmer environment I can see the virtue of the idea of using a simpler language helping keep a lot of programmers in sync in their code base, instead of living in a world where I can look at the source and virtually instantly tell both when and who it came from due to massive differences in dialect. But Java seems to have failed so badly that it soured everyone on the entire idea, and nobody has tried since.

I think Go actually has a better chance at this, not for any large reason but for a series of smaller ones. Defaulting to object composition, once you understand it, is a powerful-yet-simpler approach to putting objects together than inheritance, and makes it much easier to both use the objects of others and to create objects to use for others, because you don't need to worry about what will be F'ed up in the "child classes", as there is no such thing. Implicitly satisfied interfaces don't sound like they'd be a big change over Java, in practice it's night-and-day to be able to declare interfaces that are automatically satisfied by objects you don't control. Contrast how many ways there are to write the same Go function as there is to write it in, say, Scala. And writing some decent multithreading primitives into the core is probably a good idea for this use case, too.

It won't happen tomorrow or next year, but, arguably, rather than Rust or even Python, the language that Go is the biggest threat to in the long term is Java. And it's a threat for precisely the reasons that people on HN tend to complain about. Indeed, I personally have the same objections that most HN'ers do for personal usage, but right now bar none Go is the language I'd most like to work in, precisely because it was written for the Google use case which also happens to be the one I have.
Do you also `Int32.Parse`?

I just stick with `string` everywhere.
I would observe that A: nothing I said precludes any of that; certainly "science's" job is not done with the mere observation of facts and B: nothing about any of that is helped by including spurious theories in the observation of a brute, unexplainable fact.

Also, I'd happily set the bar higher on correlations to be reported in this manner... then again, I consider 0.05 to be a mistake anyhow that should simply be rectified as that has been concretely demonstrated to not be enough, IMHO.
Sure, but isn't it nice that you don't even have to read the paper to play with the full model, to see if the claims hold up, using the same Python tools you and everyone else uses?
Invader Zim was prescient, it turns out.
Call it whataboutism if you wish, but it's relevant to the discussion when it comes to evenly applying the rules.
One time pads don't necessarily have to be pen and paper. You can distribute a MicroSD card with 128GB of random bits that is used to encode/decode messages. An additional advantage of a system like this is the OTP can be encrypted so if it is captured it can't be used to decrypt old messages without further getting key material from the end user (possibly with a pipe wrench).

The biggest problem is that no matter what, the OTP ends up being some sort of physical medium that requires shipping to the end user. But really it's a scaled up version of the key distribution problem.
Here is the actual source of information which should be the link: https://www.reuters.com/article/us-usa-election-cyber/laptop...

edit: it's confusing as to what the actual, documented source other than "he said she said" is after looking at all three

edit edit: a previous HN submission which didn't gain comment traction pointed at Reuters: https://news.ycombinator.com/item?id=25688418
> A private company choosing who to allow on their platform? Seems like the freedom to me.

I wonder when people stopped thinking. By the same argument, should they be allowed to block all black people?
Please, can we put this canard to rest? It is an extremely simplistic take that is bordering on cliche at this point. It adds nothing, it illuminates nothing, and it fails to address any of the very real and complex issues by turning everything into a binary of tolerant/intolerant.
I actually created the same exact product years ago. I hope it goes well for you! I wasn't a very good entrepreneur at the time and never did make it work.
"definitely"? Even if true, how do you know either way?
If one person is spending money, someone else is receiving it.
> inadvertently slip into extremism

Hate when that happens..
VERIFIEDlet’s have some fun after work (204) 674-4191
> the ability to synchronize a byte stream picked up mid-run, with less that one character being consumed before synchronization

Can somebody explain or link to an explanation on how UTF-8 allows for this?
When I upload photos to Instagram, I am not explicitly consenting to my photos being used for people's fetishes, even privately. I can't stop people from doing what they want privately with my public photos, and I know that, but I still find it morally wrong and disturbing. But I'm not sure that it's legal to republish someone's public Instagram photos on another website either. I'm no legal expert, but I believe it's still a copyright violation to copy someone's Instagram photos and use them as content in your own creations.

But legal or not, I think it ought to be considered common decency not to post photos of someone on a fetish website without asking for their explicit permission to do so.
Perhaps you're not familiar with Trader Joe's --- they are known for good food at low prices. And it's hard to see any parallel between a grocery store (open to local residents) and Twitter HQ (where most workers never interact with local residents at all).
but regular business takes work and risk of total loss of capital. I can double my money buying Snapchat and then do nothing but watch TV and eat Cheetos for the next 6 months as VCs bid it into the stratosphere
Huh? T-Mobile has no streaming content service.

They also give Netflix away for free with many of their plans.
I believe many ISPs are current trying to avoid abusing their position in an obvious way, both because they anticipated this would eventually happen and a more obvious abuse would have triggered it even more quickly.
You missing your own point here. The 'needs' of the government aren't determined by the rich but rather the imbeciles elected by the masses. If you want change the people have to demand it but instead they simply advocate for more of the status quo.

Simplifying the tax code is a valid idea. Targeting the 'rich' and ramping up tax fraud witch hunts, not so much.

Historically if you want to collect more taxes you lower tax rates and get an increase in compliance. A flat rate is the fairest approach, setting an income threshold or a negative income tax to offset taxes for the poorest citizens provides the progressive aspect.
Really should be billed on a combination of peak utilization and total consumption.

Having the ability to download at 1Gibps for a few minutes a day is a lot less strain than downloading 24x7 at 1Gibps.

Such complex billing models are pretty common with electrical utilities. With many industrial consumers even installing Flywheels to reduce their utilization spikes.
To clarify... 2289 is the amount anthropogenically emitted, before reabsorption (whatever the correct term is). 1030 is the amount left behind after reabsorption.

The (probably out of date) IPCC guideline is to stay under 2900 emitted, and the 37.1 is how much is emitted per year, so those numbers don't have to take absorption into account.

Therefore, the difference is 611, or about 16.5 years from whenever that measurement was taken. So, roughly - 2036. The world needs to be carbon neutral by 2036, according to that math. (And those numbers are behind the science in more recent articles, which are implying overshoot and that 2 degrees is inevitable.)
Addendum to previous comment: I am reminded of Leviathans of Jupiter by Ben Bova(we lost him to covid pneumonia and stroke on 29 nov 2020)

The Leviathans..city sized sentient whale like creatures that replicate by splitting themselves ..a process called ‘budding’. A very enjoyable read. This thread made me look it up to read again. If you like good old fashioned sci-fi, I recommend it. It’s part of Ben Bova’s Grand Tour series.

https://aliens.fandom.com/wiki/Leviathan_(Grand_Tour)
Thanks apple for bringing people back to the web. Please ban more
> We've reached the point where the American left is afraid of the idea of free speech.

Debating the merits and demerits of free speech surely has to fall within free speech. From what I've seen, free speech often gets raised as an unquestionable ideal and kills off sometimes uncomfortable discussion.
Especially the media channels - from Fox downwards.

Make lying to the public a criminal offence. Without lies these channels are nothing.
Elizabeth from Knoxville was there for a revolution. She said so her self. I don't know her views after getting maced. Maybe she's down for talking it out, now?
You call the past few years "tolerance"? Just about any and every application that attempts to support a fully free-speech network that isn't literally a web browser has been kicked off every app store out there.
Things are much less likely to escalate when these groups aren't able to communicate.
what is going on in this thread
For someone who doesn't get it, why do you need https on websites that just show you some text?
It is (sadly) but also it depends where that data goes. From the US government perspective:

- data goes to US corporations == fine

- data goes to CCP == not fine
A few cool tricks I use with window functions:

1- To find blocks of contiguous values, you can use something similar to Gauss' trick for calculating arithmetic progressions: sort them by descending order and add each value to the row number. All contiguous values will add to the same number. You can then apply max/min and get rows that correspond to the blocks of values.

select min(n), max(n) from (
select n, n+row_number() over (order by n desc) group
from numbers
)
group by group
order by 1

2- You can use a window function with exponential/logarithms in order to calculate the accumulated inflation for the last n months:

select date, inflation, (exp(accumulated)-1)*100 from (
select date, inflation, sum(ln(1+(inflation/100))) over (order by date desc rows between current row and 11 following) as accumulated
from inflation
)

3- You can do all the paging in SQL (fetch page n of m) or simply add a column with the total number of rows (this often makes it easier to process the results).
I want to push back on this as hard as possible.

It is a miserable disaster that machine learning and data science have largely settled on Python, because if you attempt to actually do anything in Python then it is far too slow. If you want to implement an alphazero-style training pipeline, you'll immediately discover that pytorch does not ship with an MCTS and a board game rules engine, and the only way to accomplish your task is to write these components yourself in C or C++.

More appropriate tools for the job exist. The state of the world we are in is largely dictated by what languages developers are forced to use because companies want hires to be highly fungible, because of library ecosystems, or because they want to ship code that runs on platforms that ban almost all languages.
I acknowledge that it is valued differently, I'm asking why we collectively do it.
Yes, I'm pretty sure that's what he meant.

Most people who are not in "enterprise" IT (that includes many web developers) only think of applets when they hear Java.

Sad, but true.
There are many different kinds of meditation.

While Buddhists commonly practice meditation, Siddartha Gautama's actual question was "Why are so many people so very unhappy?"

No amount of money, fame, power, sex or what have you will make someone happy. If one is happy, it's not likely the result of anything that one possesses.

The simplest answer to his question is that people are so unhappy because they are trying too hard. Perhaps it is better just to accept what we have, rather than striving for what we do not possess.

I personally am as poor as a churchmouse. There are times when it bothers me, but not a whole lot. By contrast, the very most miserable time I ever had, I was making $120.00/hour as a software consultant, but had to be far away from my wife so as to work on-site.

When I do get any significant amount of money these days, quite commonly I give it away. I find it odd that many of my colleagues, even my own mother, regard me as grossly irresponsible for doing so.
Or:

foo = print =<< getLine

which often reads better when trying to build something that looks more like a nested function call and less like a pipeline.
OpenBSD security is more than few security patches and kernel configuration. Check out their web site for more information.

Most Linux distributions I've played with (CentOS, Redhat, Ubuntu Server, Debian) are pretty mediocre when it comes to security. I've actually stopped using Debian since this incident :

http://www.debian.org/security/2008/dsa-1571

In addition, my own experience would point out that OpenBSD is more reliable than Linux, but I'm just a single data point.

For development however, we use FreeBSD for a wide range of reasons including ports freshness.
"Whether you think you can, or you think you can't -- you are right."
— Henry Ford
When I looked (2 hours after your comment), the top comments were pretty sensible. Looks like downvoting works.
If only the world would stop using pie charts. They are inherently broken. http://blog.jgc.org/2009/08/please-dont-use-pie-charts.html
The core kernel code will be released in the next few weeks, along with a community site, probably code.acunu.com. We hope to post an announcement when that happens.
JAXA's pie in the sky SSPS project avoids the problem of variability of supply.

Emplaced at a Lagrange point, one could imagine a potential 24/7 source of energy.

Also, one of the proposed ways to transmit the energy back to earth is via lasers. Could be fun if there are issues with the targeting subsystems :)
I know some Australian Victorians that would feel different... http://en.wikipedia.org/wiki/Victoria_%28Australia%29
Haha an important detail! Looks like they're trying to make an easily installable version for Mac. I see commits in the log about MacOS as well as a note that mentions building it yourself:

> There are no macOS port of flameshot now that can be easy installed. But you can build flameshot by yourself and use it.
> the fact that they are completely ignored by the standard implementation. They're glorified comments.

Not quite. You can reflect on and interact with them at run-time, too. This does make it possible to implement run-time checking as a library solution.

I can't speak to why run-time checking wasn't built into the language as a default behavior, and the PEP doesn't explain why (though perhaps the answer is in the mailing list), but one possibility is that it would be wasteful. Most functions that are only prepared to accept certain types already have some form of run-time type check baked in, either explicitly or incidentally, so adding a second check would likely introduce overhead without producing a whole lot more type safety.
I believe that the state has sovereign immunity and can commit copyright infringement without any repercussions. [0]

[0] https://www.copyright.gov/policy/state-sovereign-immunity/
> Most of those were political decisions, not ones made by domain experts.

One thing to think about is when domain experts speak on behalf of political/regulatory organizations, it's the organization making a statement, not the person sharing their honest personal opinions.
It can be done with Linux or any OS that has a RAM-based file system. And with machines coming with gigabytes of memory, the installation supported by a RAM FS can be very complete indeed. See Puppy Linux as an example of a distro that can run from RAM.
> You do have some idea, don't you? Enlighten us how it works and why algo change notices are impossible.

I work at Google, but not on search. How do you even interpret "algorithm changes" there? It can be as broad as any code or configuration push. Across a complex service, that's probably happening hundreds of times per day. (And even if you narrow the scope to just some search-specific code, changes are probably still happening many times per day.)

Are you supposed to have a mandatory 14-day waiting period for every change to hit production? With a lawyer to approve and transcribe an external description for each one?
Type hints are not perfect, but IMO after using them for a while, they are significantly better than nothing.

If you do the legwork, you can get mypy[0] type-checking done on your codebase in a way that is similar to how TypeScript does type-checking. There are stub files that are provided by project maintainers that are then used by mypy to infer things like e.g the return type of a function.

Type hints are also inline in the code, and not technically comments. They can be retrieved from class attributes using facilities from the standard library [1] and can facilitate other tooling that is specific for your project or that are more general.

> And even then, if you're so thorough with your typing, why not just use a proper statically typed language?

That would remove a lot of the benefit of choosing Python. Python is dynamically typed. Type hints make it possible to do type checking statically, but with a lot of extra leg work (as I described above). Making Python itself statically typed is not something that would interest 99% of the Python community IMO.

[0] http://mypy-lang.org/

[1] https://docs.python.org/3/library/typing.html#typing.get_typ...
> A later increase in infections does not invalidate statistical significance for earlier studies. It’s just math, not “an excuse”.

So your theory is that masks worked then, but stopped working now?

Convenient!

> You’ll never see the data for how many cases would have been recorded without the measures in place.

Well, yes, exactly...these are uncontrolled studies. Which is why they’re such garbage.

You can see that in the title of the paper you posted: “a synthetic control study”. That means they didn’t have a control. Which means all they can do is squint at correlations and try to claim they prove cause.

(oh also: the WaPo “data” is from a phone survey...so yeah: people who say they wear masks a lot claim they have fewer “symptoms”. Whatever that means.)
for finite lists, why not just have it return in k-diagonal order? (sort of like Hope's "diagonal comprehension" but with wraparound repetition)
You can't reduce the number of humans quickly enough without a genocide.
Robot overlords it is then...
That's the core of what I was going to do, but I want to put on top of it something like Bundler, where I can specify which libraries I want (and which ones depend on other ones) and it will build it for me.

Although I think the only one I want is Penlight, so that is probably overkill. :)
Also, Apple is doomed. Have you seen their stock charts in the last few years? Straight up.
Don't describe some technology issue as rape; it's insensitive and completely unnecessary.
Upon waking in winter: "does my clock say 5:30 or later"? -> GTFO of bed. In spring/summer/fall: "is the sky no longer pitch black?" -> GTFO of bed.

I will cheat if I went to bed > 12:00.

Why rise at insane times? Because there are far too many awesome things I want to do that day, and as soon as I wake up they pop into my head. Between 6 and 9 I do whatever I want, so I use it to read about interesting tech stuff, perhaps do a little planning, check Facebook without being stalked, etc.
Right. Where's the bit about determining the constitutionality of laws? It's not spelled out
Have a kid. Nuff said.
We've got a lot of things to do. People keep deleting shit on short notice.
Respect.

Edit: not a good comment for HN. More: it was a great service, and it had a good run. And mad respect for Google for running it well but shutting it down gracefully.
There's an important distinction between the set of "private citizens" and "private citizens willing to donate funds to government officials." The latter is a much smaller subset of the former.
If I were Lamebook I'd be registering hundreds of silly lame/facebook related domains per hour and offering them as alt urls to use via Facebook. Make the 9-figure-valuation company dance and jump for a scrappy joke site, nothing will make a mockery of them faster.
Copy:

Much of Ruby’s standard library (the set of classes shipped with the Ruby VM itself) is old and crufty. For laughs, go look at the code for some of the classes that you’ve never used. Chances are it’s from 2000-2003 and doesn’t even look like idiomatic Ruby. I’m wondering what classes should be removed from the standard library or deprecated so that higher quality replacements can take their place.

The canonical example is Ruby’s net/http library. Its performance and API are just terrible. (Side note: how do you know if an API is terrible? If you have to consult the docs even after having used the API for the past 5 years.) But because it’s in the standard library, most people use it as the base for higher-level API abstractions (e.g. httparty, rest-client).

So looking at Ruby’s core RDoc, my suggested list for removal (where removal means move to a rubygem):

Net::*
DRb
REXML
RSS
Rinda
WEBrick
XML

Any others I missed? Will Ruby 1.9.3 or 2.0 get a good spring cleaning or will we have to live with these classes forever?
Have you considered that maybe actually selling them to end users is > double the cost?

Massive amounts of risk, supply chain, logistics, all eliminated when selling to the UN like this.