skysight-inc/HackerNews huggingface dataset:
>I'm not trying to spec "Ugh wanders out of the jungle, sees our pretty rock, and personally has a 20th century civilization up and running in 10 years" or anything crazy.

Quite coincidental, there is currently an Anime running named "Dr. Stone" which is quite exactly about that; jump starting human civilizatio from the stone age to modern day as fast as possible. Atleast in-story it's been a few months and they're currently building radios and have a waterwheel generator.
For what it's worth, in the common user journey through SO (Google SRP to SO question page, scroll to answers), where does SO ever tell you about the license or the requirements of complying? If they simply rely on people knowing that generally there are licenses and such and they should look into it, then it's hardly a surprise almost no one complies. I've worked with many people, developers and not, who probably couldn't even rattle off a few common licenses.

I'm not a professional developer, but I've copied snippets from SO before. I've always included the answer URL in a comment next to it though. But mostly because if I ever had issues with it, I wanted to know where I got it and on the off chance anyone else looks at my code, I wouldn't want them thinking I wrote code I didn't write.
Citation needed.

Literally two lines later:

> But decaying wood and organic material releases carbon back into the air. A climax forest is close to a steady state: The rate at which it removes carbon from the air is roughly equal to the rate at which it releases this carbon.

Trees keep on growing, yes, but it’s the old, decaying material that releases CO2 back in the air again, compensating tree growth.

Edit: clarity.
> So in your view, it's okay if there's a Wikipedia article about my pet cat?

I wouldn't have a problem with it. I think we should build tools that empower people to involve themselves in the things they care about (and filter out the things they don't care about) instead of having moderators/deletionists/nanny state decide what's good for you.

I agree about the "truth problem."
> at that price point sizing isn't the factor that people care about, it's luxury brand names.

Is this your personal experience or do you have data on this? YSL is one example has very tight (thin) fits on their jackets. You will buy the one that fits the best, otherwise it's gonna look ridiculous.
The Wikipedia article picks one of many pieces of research to quote. Your criticism are fair as a criticism of that specific research paper. But after you've looked at a dozen of them, continuing to say that it is just an artifact of terrible methodology (even though most actually are terrible) becomes much harder to support.

But that said, here is a classic test showing strong gender differences accidentally discovered by Piaget. Draw two cups, one tilted. Assuming that both are halfway full of water, ask the subject to draw the water line.

Until puberty, neither gender can perform this task well. After puberty around 90% of men and 30% of women find it trivial, while the rest do not. (The most common answer that I have seen from women is to tilt the water line with the cup. The second is to tilt it double!) Performance on this task is not particularly correlated with education.

Ask a few friends and family, and it isn't hard to verify for yourself that a gender gap exists.

Interestingly I have yet to encounter a programmer, male or female, that doesn't find it trivial. I have no idea why programming would select for people who find this task easy. but it apparently does. And the population of people who find this task straightforward has 3x as many men in it as women.
Yes I am serious. Are you? How about we keep this respectful and do away with the condescending tone, which is not really welcome here on Hacker News?

9/11 was presumably intended to damage as much property and kill as many people as possible. So no, the people who died as a result of that terrorist attack against the US were not killed by accident.

Yes, if your gun accidentally goes off during a robbery, that is by definition an accident. An accident that could have been avoided if different choices had been made, but still an accident.

If the intended target in this case was the Ukraine, and companies in the USA suffered immense damages it's reasonable to ask if those unintended consequences were accidental. Similar to how a bomb dropped on an Italian border in WWII might accidentally kill ally French citizens on the other side of the border. With cyber warfare it becomes much more interesting, because those accidents don't respect physical distance.
Remember Knol? Me neither.
That isn't a very good comparison. Lifting weights isn't a competition in the way that basketball is. I want to say the latter is more "zero-sum", but I'm not sure if that's correct terminology.
I'm a bit astonished how here on HackerNews there are articles all day about how sophisticated and surprisingly complicated and convoluted stuff like hosting, IT security, people management, scaling, updating etc is and yet it is somehow ultra suspicious that a page with massive growth had to change in a non-lineary way over the course of two decades with rapidly changing culture...

Wow employing 300 people to keep up with a massively more popular internet on much more differentiated devices in times of information platforms manipulating national elections is not exactly 300 times as expensive as employing one dude to do odd jobs around the house?! Must be mismanagement!!

Wow administrating a site which went from changing slowly to changing at inhumane pace and serving those pages with media formats which did not even existed at the beginning to a growing global population does not just include changing a checkbox on hostgator?! Must be scammers in their IT!!

I realize this comes off as very salty - I actually don't have much stake in this personally but I despise the pseudo intellectual criticism here in this otherwise very down-to-earth community.

PS: Comparing things to cancer is the Hitler-comparison of biology.
"Bad use of header files" is the fault of C++, not the developers. Until Stroustrup fixes the header processing behavior (it's 2019 already...) C++ will not become a sane language to use for new development.
Honest question: what is the added value of having transparent background on matplotlib images ?
Full disclosure: I am the author of the Wikipedia essay "Wikipedia has cancer".

See https://news.ycombinator.com/reply?id=21700802 and https://en.wikipedia.org/wiki/User:Guy_Macon/Wikipedia_has_C...

Letting the endowment grow by at least inflation is already covered in my essay:

"We should make spending transparent, publish a detailed account of what the money is being spent on and answer any reasonable questions asking for more details. We should limit spending increases to no more than inflation plus some percentage (adjusted for any increases in page views), build up our endowment, and structure the endowment so that the WMF cannot legally dip into the principal when times get bad."

"If we do these things now, in a few short years we could be in a position to do everything we are doing now, while living off of the endowment interest, and would have no need for further fundraising. Or we could keep fundraising, using the donations to do many new and useful things, knowing that whatever we do there is a guaranteed income stream from the endowment that will keep the servers running indefinitely."
The journal article:

https://academic.oup.com/res/advance-article/doi/10.1093/res...
Show HN: Boilerplate Code for Flask - Docker - Nginx - Letsencrypt
Nope but someone might anonymously report that there is someone with this mailing address selling drugs...
> The first thing is not to give up hope

On the other hand - "We Need Courage, Not Hope, to Face Climate Change" (https://onbeing.org/blog/kate-marvel-we-need-courage-not-hop...)
I'm sorry, but what users ?

AFAIK Facebook, Instagram, Snapchat, Twitter doesn't have a WYSIWYG editor.

Are there some hidden users that send font size 30 all capitals red colored text in Times New Roman to each other ?
The point is if their goal was to just serve news or articles the site would be just thin layer over a CDN serving raw HTML. In order to serve and track dynamic advertisements they build sites with MBs of JavaScript instead.
I'm not always in the right headspace to read long form content. Twitter threads, that are more of a list than a text, can be very condusive to short attention span reading, I have found.
This is relatively easy to do with OpenFaaS and Knative on Kubernetes. If we're paying for idle, why not take a look at EKS on Fargate?

https://www.openfaas.com
I use Ruby(not Rails) daily. I love the language. It's really good for fast prototyping or small scrips but I can complain all-day long for how bad is to maintain big codebases because of the dynamic nature of it. I really miss type hints that can make this much easier.
Cool article! It's a simple mistake to make when starting out - good to get a nice explanation of why it's a bad practice
It really depends on how much a fast request is worth to you. With a manual ping, you can keep only one function alive. In the worst case you may actually block your existing function with that ping which causes another instance to be spawned for real requests (and experience slow startup there).

The timed pings are just a hack and don't solve all the issues.
Moral of the day: Grumpiest programmers win !
Not really per the article. The article says there are claims that it was an act of war against Ukraine. It does not provide proof that it was in fact an act of war.
G&T was the most disgusting thing I had ever tasted until I acquired a taste for it and now it is one of the nicest. Mind you for some reason my recollection of how I acquired a near-constant craving for G&T is somewhat blurry.

Edit: Note that I don't drink that often but even thinking about a G&T literally makes my mouth water.
>- casting away types unsafely is required for many common patterns in C, including any form of runtime polymorphism

Which patterns? I'm thinking of stuff like the Berkeley Sockets API, which you can absolutely implement safely.

re numerics: fortunately, that's 100% amenable to static analysis (see -Wconversion, -Wsign-conversion in gcc/clang and coverity's warnings about potentially unsafe casts - e.g. promoting an int to a long is always safe, but an int to a float not necessarily) and follows very straightforward rules.
If another developer reviewed your code, how much time it would it take them, and how much is that time worth?

If you divide the 50 bucks by that number, you get a cost ratio. If it's lower than the ratio of (benefit expected by automatic code review) / (benefit expected by manual code review), it's worth using.

I guess we can speculate all we want; in the end, only experience will show if the service is worth it or not.
> connected televisions can provide hackers a window into homes

Yes! Like almost all other connected devices we are using. (Computers, Phones, Routers, DSL Modems, WiFi Access Points, Smart speakers, Cars, Modern cameras, ...)
Why can't I, as an end-user, have the choice of who I want to trust?

My ISP, Cloudflare, Google, somebody else? Give me a dialog box in which I can choose whether to use DoH and if so which provider to use, and then I can make up my own mind over which of those parties I trust the most.
> Three sources, three differing results. lol. Dr Philo needs his own blog.

This provoked me to find the original source published in the Journal of English Studies this week, which appears to be freely available [0].

I haven't read the journal article yet, much like the journalists. It's not clear from the abstract whether the page in question was written by a professional or by the queen. The abstract does mention other stylistic arguments for the queen being the translator.

[0] https://academic.oup.com/res/advance-article/doi/10.1093/res...
Two malicious Python libraries caught stealing SSH and GPG keys
Full disclosure: I am the author of the Wikipedia essay "Wikipedia has cancer".

See https://news.ycombinator.com/reply?id=21700802 and https://en.wikipedia.org/wiki/User:Guy_Macon/Wikipedia_has_C...

Re: "Um, the graph shows that the reserves are increasing every year. Money in exceeds money out year after year."

You missed the first part of what I wrote in my essay:

"Nothing can grow forever. Sooner or later, something is going to happen that causes the donations to decline instead of increase. It could be a scandal (real or perceived). It could be the WMF taking a political position that offends many donors. Or it could be a recession, leaving people with less money to give. It might even be a lawsuit that forces the WMF to pay out a judgement that is larger than the reserve. Whatever the reason is, it WILL happen. It would be naïve to think that the WMF, which up to this point has never seriously considered any sort of spending limits, will suddenly discover fiscal prudence when the revenues start to decline. It is far more likely that the WMF will not react to a drop in donations by decreasing spending, but instead will ramp up fund-raising efforts while burning through our reserves and our endowment."

I made it clear that Wikipedia is not in trouble at the present time. But there is a real possibility that there are bad times ahead, and we should prepare for them now.
Has anyone taken a stab at pricing up comparable rack of conventional gear? I realise that wouldn't be exactly fungible, because it wouldn't have the cool integration with the AWS mothership, but it would be an interesting point of comparison.
WeWork: Auditor EY didn’t warn about the risks
CSS Cascade: Importance
>If left unoverridden, it only yields a description of it’s class and location in memory

It contains the hashCode(), not the memory location. The default implementation of hashCode could use a memory location to generate the hash, however that isn't the case in all implementations. OpenJDK seems to have used an RNG by default in the past and currently derives a value from the thread state[1]

[1]https://srvaroa.github.io/jvm/java/openjdk/biased-locking/20...
Companies like Rigetti are betting on making money by building quantum computers.

Whether they prove to be right or wrong, their motives aren't primarily scientific.
This also definitely does not apply to .NET where there are many classes that override ToString for meaningful, well-documented behavior (StringBuilder is one, funnily enough). It's best to check the docs or look at IntelliSense before applying this rule in a blanket fashion.

That said, it does seem like Microsoft has since moved away from overriding ToString for such things. In all honesty, Object.ToString was probably a mistake to begin with.
I worked at Merck for three years as a scientist and only left a week before this went down. My former colleagues said they stood around and did absolutely nothing for days and then struggled to get the tiniest amount of work done for weeks.

The article chooses not to get into stunning mistakes by Merck's IT that allowed this to happen in the first place. The patches for the EternalBlue exploit were released by Microsoft on March 14, but Merck's IT chose to sit on it for over three months. (Like many large companies, they disable Windows update, choosing to release patches on their own schedule.) Even after the WannaCry attack crippled computers around the world on May 12, they still had a month before NotPetya brought them to their knees on June 27.
Not sure if it was a regression, but I found myself _having_ to use the editor to insert an image in a thread. I couldn't drag and drop in the threads view.
NIXI is subject to the jusrisdiction of CERT-IN (Indian Computer Emergency Response Team - https://cert-in.org.in/), which in turn was one of the participants of the Avalanche takedown program.

A legal request originating from Germany would have been approved by CERT-IN and NIXI would have had to comply.

https://www.cyberswachhtakendra.gov.in/alerts/avalanche.html
> if opponents are better than you, but not overwhelmingly so ,it is indeed one of better ways to train. It is a matter of mindset - you are playing to deliberately "git gud", but not necessarily win.

if you train in something, you aren't playing. Training is actually the total opposite of play; you need to do things that are not fun but are beneficial for your goal, and it sucks. You have to do a lot of tedious study and memorization to get better at chess beyond a point, or spend a lot of time in a fighting game's training mode just to be able to consistently do moves and combos on demand.

I think with videogames one of the worries I have is people are now viewing them as work they have to train for; we are creating a professional class of gamers, and whenever we do so eventually players become spectators instead
I have a hard time believing that. Lots of parents are afraid of dogs, but that doesn't give their children the visceral irrational revulsion towards dogs that arachnophobes have towards spiders. I've never heard of someone who can't even look at pictures of dogs or birds or bears, whilst it's very common for images of spiders to make people very uncomfortable.

As far as I can tell, not being afraid of them has to be learned. I cannot find a source, but I recall reading that even people who keep spiders as pets, still have a raised heartrate when holding them.
In a somewhat similar situation I used PHP with `include`.

The structure was something like this:

- index.php
- header.php
- sidebar.php
- footer.php
- page-1.php
- page-2.php
...

In `header.php` I used variables for the title, description, etc. and then in each page I specified the values for those variables. This way each page had the same header HTML code, but with a different title, description and so on.
Okay lets say that that action would cause me to write outside the backticked area.

How would I go about adding something new to the beginning of a backticked area placed at the beginning of a line? That would either be impossible, or there would be a move of the cursor that doesn't move a character (to go in and out of the backtick/code segment.)

Isn't that just how it always is when working in WYSIWYG? The same struggle is real in word or google docs, where you constantly have to add a remove formatting when editing around inline blocks with styles or formatting.
> Surely you are kidding. If that were true, why doesn't OCaml curb-stomp C in benchmarks?

Exactly because nobody (except backend writers) can predict what C compiler backends emit, especially when abusing undefined behaviour.
Huawei Lost the Heart of the Chinese Public
I'd argue you are massively underestimating the complexity of AGI (or overestimating the complexity of self driving).

> Navigating a construction zone with a flag man directing you on the opposite shoulder requires a brain, not pattern matching. Opening the window and following verbal directions...

Both of those things seem very much in the realm of what's possible with today's AI tech.

I'd bet a lot of money that self-diving cars will predate AGI by quite a bit.
given the current state of the art of IT, any close to AGI system most probably would need capacity close to a couple of datacenters (maybe a nuclear reactor close to them to provide power).

Before stating "AGI was delayed" I would double check what's running in any massive DC complex built in the last 5 years, and more interesting, how much power are they using compared to standard datacenters.

If AGI is actually "discovered" at some point, it will spoted by leaked information about power consumption (any money dump in that kind of technology would be seriously disguised probably).
New Way to Social Media
️ ️

http://www.cloudtpass.com/

Get rewards for your post!
Brand new device ‼️ Brand new OS‼️ Follow us @cloudtpass share!
What's the advantage Beagle Security offers over a manual penetration testing procedure?
> Is it really me who is coding if I can't get forward without searching the web and without IDE pleasantries?
The programmer as an individual is an outdated idea.

https://twitter.com/andrestaltz/status/1195388056855031814
Go ask the ceo of your company for unfettered access to his personal phone and see what he says.
How interesting that that is the reason for the 80char limit default setting of many terminal apps!
Yes, partisan said it much better.
In prisoners dilemma each prisoner is in solitary confinement with no means of communicating with the other. This is not the world we are in.
Indeed, but for how long, considering the Google Books team itself seemingly wants to delete the ~100M books database ?

P.S.: Might be soon, considering that it was basically what Google was initially about, and one of the founders just resigned from Alphabet...
Twitter bots steal artwork for t-shirt companies
Park It, Trucks: Here Come New York’s Cargo Bikes
It's cool to read, but yeah, it's like reading Beginner's Java, lesson 3.
I love the trick with the diagonal red line to indicate the order (and help you to sort if you did drop them). It's so beautifully neat, and simple.

https://twitter.com/Foone/status/1201959165926592513
I'm not familiar with their environment but depending on the software and vendors who support aspects of software, those patches may be held at their request. That is people like Rockwell, Emmerson, whatever, may not “release” a patch because it can have implications for GxP environments. So not saying this is the case, but there are times when that is the case and companies have to sit on fixes.

However in these situations those systems are siloed and segregated do that things don’t propagate. I have no idea how Merck is setup.
Not just digital. In the analog age, all those little "yellow pages" publishers around the world were in a similar position and got quite fat from it as well. Now that entire market is concentrated, with enormous automation benefits, at a single address in Mountain View.

Injecting Google intro the interface for brick and mortar businesses is why Maps and Android exist.
I'm glad I learned to program using punched cards, in a batch-job system.

At my university, the local (IBM 1130) machine was used during the day to send jobs to a larger (IBM 360?) machine at an affiliate university. The turnaround from putting cards in the output tray and getting output was often over an hour, since a local operator sent jobs in groups, and separated printouts only when there was enough paper to justify interrupting her other work. The whole computer system was behind locked doors, and this operator was like a god who took our offerings and bestowed her blessings when she felt like doing so.

Past 6PM or so, the local machine was available only to researchers, who worked through the night. I think the weekend was also dedicated to local research, so mere mortals (undergraduates) like me did not get a lot of chances to meet our deadlines.

The upshot of these restrictions is that code often worked the first time. You didn't write it on coding sheets until your logic made sense. And you didn't punch cards from those sheets until you had gone through them again, and were sure not just on the logic but the variable spelling, etc. Then you punched the cards. Then you worked through the deck, one by one, imagining yourself to be the machine. Every extra hour spent this way increased your chance of getting results before the end of day.

The difficulty of the process led to good habits.
SafeLife: AI Safety Environments Based on Conway's Game of Life
AFAIK it's not a solution, it's just a workaround.

As others have said, the previous workaround was a cron event that would invoke a function every few minutes to keep it warm. This is a lot better than that.

They're still working to get cold starts as fast as possible, but this helps a lot in the meantime.