skysight-inc/HackerNews huggingface dataset:
No, unless you plan to have one team focused on the front-end and another on the API. In that case, it might make sense to make your code more modular (and explains how Conway's Law [0] comes about)

Otherwise, it's easier to support one monolith. Imagine having to change some back-end code that your front-end code relies on. This could be accomplished in one deployment with a monolith, but would require two deployments if you separate the FE and API. Not only that, but it would require you to keep them in sync or version your API.

[0] https://en.wikipedia.org/wiki/Conway%27s_law
I worked at a startup in 2015 that did something similar. Using an NLP called Yseop, we wrote sports articles. The team consisted of me on backend, a journalist writing the Yseop code, a technical writer building the story trees, and a data scientist building the DBs from a plethora of sports sources. It's fairly straightforward. Provide enough variation and you don't lose readers.

Yseop is not cheap, though, and the company went under after massive financial fraud. The Tribune Network used a fair chunk of our content at the time. I've been waiting for this to be more common-place.
Robot Coffee Bar Opens at San Jose Airport
They've moved away from that due to complaints about I/O performance. There was no way to "fix" it without the hyper-V shim.

https://devblogs.microsoft.com/commandline/announcing-wsl-2/
They could have covered costs with stupid Reddit Gold and spared us the ads altogether.
I think that overemphasizes Pupeteer itself.

It's really just bindings for the dev tools protocol.

Half the GitHub issues result in "well the protocol requires X and we can't change that".

Pupeteer is popular because it's web automation protocol bindings for a web language, not because it a sophisticated layer or does very much.

There are literally dozens of language bindings for the protocol. [1] Some are quite good and widely used, for example chromedp (Go bindings). [2]

[1] https://github.com/ChromeDevTools/awesome-chrome-devtools#pr...

[2] https://github.com/chromedp/chromedp
Loneliness Has Become a Global Epidemic, Ford Futurist Report Finds
We also recently switched from Pipenv to pip-tools and so far it has been very pleasant.

Our workflow:

- Use pyenv to manage python versions (mostly works pretty well)

- In the beginning, use builtin python 3 tooling to create virtual env for the project: "python3 -m venv venv"

- Whenever needed, add new libs to "requirements.in"

- Run the "pip-compile" command to generate a new "requirements.txt" with the dependency and its sub-dependencies pinned by default to the exact version

- Run "pip install -r requirements.txt" to install the new package and its sub dependencies

- Check both requirements.in and requirements.txt into version control

The big advantage is that requirements.in specifies just the packages you care about, while requirements.txt has your packages and all of the sub dependencies pinned to the exact version.
I've been hoping that the Cloudflare folks will open source parts of their Workers; they seem to have figured out a secure, performant way to run untrusted javascript at scale.
Truth, I remember reddit cratering the active user base there ten years ago, but I've found myself going back again over the past few years again, craving the type of community there vs the lowest common denominator and ad filled garbage that is reddit.
One solution might be a "federated reddit". Hacker News is essentially just a subreddit run by YC, so getting people/organizations/interest groups to run their own reddit forums is probably a good idea. It would let each community figure out its own income stream and not worry about advertisers running wild or the entire thing being bought out by the Chinese.
Sure; In the same way that a pediatrician would have the slogan "Don't diddle kids." If you need a slogan like that, there is already a problem.

Eventually, as we saw, they couldn't help themselves -- Maybe just one little oppression platform wouldn't be such a big deal...
>Are web ads evil? Some will say yes for the intrusion, or the interruption, or the compound effect of all the ads people see in they're lives. All valid reasons.

It's entirely possible to run ads based on what might be of interest to someone reading that particular content without spying on users.

It's just not as profitable.
Biopharma has abandoned antibiotic development
> Yes blocking the event loop is easy. No it's not THAT easy. I've never done it because you think about it while writing code.

To be pedantic, all JavaScript functions block the event loop. It's just that the vast majority of functions execute so quickly that the amount of time your function blocks is very short.

I once had a loop that processed tons of data and would block the event loop for 1-3 seconds. I ended up solving it by writing an asynchronous loop which used promises and process.nextTick() to make each iteration a separate execution block on the event loop. But I've only had to do something weird like that once in 10 years of node development.
One of the criticisms of when Google Maps API was basically a free for all was that it was suppressing the ability of startups to exist by devaluing products; it seems like with these pricing changes Google is giving the competition an opportunity to swoop in.
In India, this is known as mass recruiting where IT recruiters like TCS and Infosys hire about to graduate students in bulk irrespective of their stream or experience.
The release notes for 6.0 (the release prior to this one) contain:

“Added support for using Hyper-V as the fallback execution core on Windows host, to avoid inability to run VMs at the price of reduced performance“

Is that the workaround you’re looking for? It seems like it comes at a cost, but workarounds often do.
The Pinterest issue has been there for 4+ years. When does Google figure it out?
People forget that Google ran without ads for several years.

Also one reason their search was so much better, was that they refused to sell search result placements.
Bitcoin and Sanctions
Show HN: Be Your Own Password Generator
No 'real' AI/ML journalism is claimed in the article; the meat and potatoes of the article are provided by Mr. Robert McKenzie, editor of BBC News Labs. It is probably best to direct your vitriol towards the right source.

"None of the stories have any quotations in, none of them have any analysis of what happened or what the significance is. It is purely a written version of what has happened based on the data. So that's quite a big downside in terms of quality of journalism."

However, Mr McKenzie said the BBC was still in the "very early stages of understanding what audiences want from the technology".

https://twitter.com/nicerbloke
Agree with most of the points but I mean people want to work for google is also due to their tech and innovation. Look at the products that has come out if google !
Nobody involved in this project should be allowed to ever be in the same room as a computer again.
That's a good point. Seems like Let's Encrypt certificates contain an OCSP URL but no CRL URL, so they are a bit smaller.
Well, to be completely fair to anyone who isn't a criminal, ethics usually means changing your behaviour before you get slapped by the law over it ...
Pushing the app is why I never managed to use reddit for anything.
Astronomers find 19 galaxies missing dark matter
“This bash script contains hidden JavaScript to improve in-browser readability”
> literal punchline

Did you read it on " Microsoft is dead" "(2008)" "hacker" news?
Related, from the article:

> We hypothesized that increasing the Node maximum heap size from the default 1.7GB may help. To solve this problem, we started running Node with the max heap size set to 6GB [..], which was an arbitrary higher value that still fit within our EC2 instances.

Sounds like they were utilizing their EC2 instances very poorly. Why not run more workers per instance, or switch to an instance type with less RAM (or more CPUs)?
I used to use virtualbox but I became afraid of being trolled by Oracle using gradually changing license terms a few years back and stopped updating.

I'm curious if anyone knows of a table summarizing these products and what their licensing would mean for a laptop you may take to work, etc?
Writing and maintaining concurrent code for greenfield projects is relatively hard compared to sync code.

Provisioning and deploying with ECS is usually just mouse clicks.
Funny enough, Amazon.com uses a Digicert certificate similar to the one mentioned on the article, they don't seem to use the ones they provide for free on AWS :slightly_smiling_face:
Try the inverse Ackerman function instead: https://en.m.wikipedia.org/w/index.php?title=Ackermann_funct...

If non-computable functions are on the table, define f(n) to be the smallest k such that BB-k >= n, where BB-n is the n-th Busy Beaver number: https://en.wikipedia.org/wiki/Busy_beaver

Edit: looks like @tromp managed to reply before I added the bit about BB-n. :-)
"By which point I had already, in my heart, given up on Google. It’s just not worth it. Let me outline the reasons:

They clearly don’t care about small developers. That much is pretty obvious if you’ve tried to develop with their products. Look, I get that licensing to big corporations is the money-maker. But Google pretends to be developing for more than just them… they just don’t follow through on those hopes.

They can’t distinguish between universities as entities, and academics as university researchers. There’s a big difference there, in terms of scale, goals, and resources. I don’t make university IT policy, I do research.

They are fickle. It’s not just the fact that they change their pricing schemes rapidly, it’s not just that they deprecate products willy-nilly. It’s that they push out new products, encourage communities to use them to make “amazing” things, and then don’t support them well over the long term. They let cool projects atrophy and die. Sometimes they sell them off to other companies (e.g., SketchUp), who then totally change them and the business model. Again, I get it: Google’s approach is throwing things at the wall, hoping they stick, and believes in disruption more than infrastructure, etc. etc. etc. But that makes it pretty hard to justify putting all of your eggs in their basket.

I don’t want to worry about whether Google will think my work is a “social good,” I don’t want to worry about re-applying every year, I don’t want to worry about the branch of Google that helps me out might vanish tomorrow, and so on. Too much uncertainty. Do you know how hard it is to get in contact with a real human being at Google? I’m not saying they’re impossible — they did help me waive some of the fees that came from me not understanding the pricing policy — but that took literally months to work out, and in the meantime they sent a collection agency after me."
So, to be clear, I also tend to prefer distro-supported packaging. However. Forcing everything to go through the distro means that you massively limit what's available by raising the barriers to entry, you slow pushing new versions (ranging from Arch's "as soon as a packager gets to it" to CentOS's "new major version will be available in 5 years"), and you lock yourself into each distro's packages and make portability a pain (Ubuntu ships libfoo-dev 1.2, Arch ships libfoo-dev 1.3, CentOS has libfoo-devel 0.6, and Debian doesn't package it at all). When distro packages work, they're great, but they do have shortcomings.
https://encycolorpedia.com/
>Voter turnout was down by 3.5 percentage points since the last general election.

hm, this example they used was my constituency. I walked around for about 15 minutes until I found the entrance because somebody moved the "POLLING STATION" sign against a wall where it was less clearly visible. I wonder if that's related :/
If I thought my bank was running thousands of node containers in parallel to handle transactions, I think I'd look for a new bank.
What comes next? Don't say Discord.
How about taking the best of both worlds? Move the printer relatively nearby (it could be on a boat, for instance), and have it print prefab items on demand; those can have complex and one-off shapes as well.

You likely make it cheaper by using locally-sourced materials (gravel, sand, cement if possible) instead of transporting those. And you can probably pack the rest a lot more tightly than moving those air-filled walls around.
Instaparse is excellent (https://github.com/engelberg/instaparse) if you are using Clojure
There's also a CYA element to a degree, in that the person actually in charge can blame the development process or execution of the "strategy" (optionally along with one or more of the people who were nominally in charge of those things) if their attempt goes awry.
the framing of this headline is ridiculous. corbyn's characterization as a "radical" is contradicted by this own article, which claims he wants to re-nationalize utilities. is nationalization of water really "left-wing"? is the us left wing for having a national mail service? his characterization as unpopular also seems mystifying to me, the article says that under his leadership membership in labour has increased.
I doubt it. AWS's certs are just another three-quarters baked AWS feature. They did the best they could with the resources they had.

At my last job we had a fun and exciting outage when AWS simply didn't auto-renew our certificate. We were given no warning that anything was broken, and it apparently began the internal renewal process at the exact instant the cert expired (rather than 30 days in advance as is common with ACME-based renewal). Ultimately the root cause was that some DNS record in Route 53 went missing, and that silently prevents certificate renewal.

We switched TLS termination from the load balancer to Envoy + cert-manager and the results were much better. You also get HTTP/2 out of the deal. We also wrote a thing that fetches every https host and makes sure the certificate works, and fed the expiration times in prometheus to actually be alerted when rotation is broken. Both are features Amazon should support out of the box for the $20/month + $$/gigabyte you pay them for a TLS-terminating load balancer. Both are features Amazon says "you'll pay us anyway" to, and they're right.
California is solving those issues by passing laws, which solves the problem for everyone, not just a subset.
Date Formats in International Contexts
The Gadgets of the Decade
Yes but Minecraft doesn't allow your roof to cave or require you to insulate your electrical wires, much less handle severe weather events.
Most of those people aren't maintaining forks in any meaningful sense.
FWIW I was excited about this in 6.0 but never actually got it to work with Hyper-V. It may be a hardware issue on my side (my CPU is ~6 years old and doesn’t support some VM features) but I’ve also seen a lot of other people say that 6.0 changed nothing for them in regards to Hyper-V compatibility.
Do you have any basis in fact for what you're saying? Because this might be the most wrong top comment I've ever seen on HN. I worked at google for most of the 2000s, and no one was ashamed of the company or how it made money. We didn't even regard ads as a necessary evil, because back then, most of the ads were very clearly non-evil. You can argue that we should have been ashamed if you want, but that's a different matter.

And no, it was not hard to convince people to work for google. Everyone wanted to work at google, and everyone understood exactly how google made money. But, everyone also understood why google was exciting. There was no deception necessary.
HyperCard was a great idea. In 1989 Bill Appleton released SuperCard. SuperCard had support for networking and better support for colors. I wrote an email client for it. If SuperCard only had been able to download supercard code from the net, it could have become what the web is today.
The cult of personality that is being nurtured around certain members of the Python community definitely harms the Python ecosystem, because solutions with glaring flaws get a pass when they are stamped with someone's name, and the mismanagement of projects is rarely addressed.

Then there's also the issue of such members of the community exploiting the human tendency to worship others.
There’s also an hours of viewing requirement.

The sad part about the sub requirement is that many forms of content are valuable but not sub-worthy.

If you create a video on how to fix a ‘93 Hyundai’s brakes and next week how to fix your vintage garage door, I’m not going to sub. It’s not « feedable » content

Maybe I would if it was entertaining in a time-wasting way, but that shouldn’t be a requirement.

ChrisFix isn’t going to make a brake-change video for every car out there.
As far as I know, the first time Bill Atkinson publically mentioned that LSD inspired HyperCard was in an interview with Leo Laporte on Apr 25th 2016, which claims to be "Part 2". I have searched all over for part 1 but have not been able to find it.

Then Mondo 2000 published a transcript of that part of the interview on June 18 2018, and I think a few other publications repeated it around that time.

And later on Feb 4, 2019 he gave a live talk to Brad Myers' "05-640: Interaction Techniques" user interface design class at CMU, during which he read the transcript.

http://www.cs.cmu.edu/~bam/uicourse/05440inter2019/schedule....

It's well worth watching that interview. He went over and explained all of his amazing Polaroids of Lisa development, which I don't think have ever been published anywhere else.

See Bill Atkinson's Lisa development polaroids:

http://www.cs.cmu.edu/~bam/uicourse/05440inter2019/Bill_Atki...

Then at 1:03:15 a student asked him the million dollar question: what was the impetus and motivation behind HyperCard? He chuckled, reached for the transcript he had off-camera, and then out of the blue he asked the entire class "How many of you guys have done ... a psychedelic?" (Brad reported "No hands", but I think some may have been embarrassed to admit it in front of their professor). So then Bill launched into reading the transcript of the LSD HyperCard story, and blew all the students' minds.

See video of Bill's talk:

https://scs.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=...

The next week I gave a talk to the same class that Bill had just traumatized by asking if they'd done illegal drugs, and (at 37:11) I trolled them by conspiratorially asking: "One thing I wanted to ask the class: Have any of you ever used ... (pregnant pause) ... HyperCard? Basically, because in 1987 I saw HyperCard, and it fucking blew my mind." Then I launched into my description of how important and amazing HyperCard was.

See video of Don's talk:

https://scs.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=...

Here is an index of all of the videos from Brad Myers' interaction techniques class, including Rob Haitani (Palm Pilot), Shumin Zhai (text input and swipe method), Dan Bricklin (spreadsheets, Demo prototyping tool), Don Hopkins (pie menus), and Bill Atkinson (Mac, HyperCard):

https://scs.hosted.panopto.com/Panopto/Pages/Sessions/List.a...
> The next time the pendulum swings, and management has more leverage than labor once again, I wonder how they will react to the reality of that landscape.

Google employees probably have so much money laying around after years of working there that they don’t care anymore.
That's kind of what I figured was happening, but I guess I'm getting too old to keep up with where the action is at on discord. I get why keeping it private has become so popular, but I struggle to find the flavor there. Reddit seems to have successfully killed everything that was fun.
There's definitely some, but discussing this requires tact or you quickly find yourself making "all lives matter"-type arguments that can look like they're trying set the two sides up as equally dangerous or equally responsible. Or worse, an argument that ends up boiling down to "as a motorist, I will only ever drive more slowly and carefully once I no longer see any cyclist or pedestrian break another law, ever."

It's particularly a challenge because of confirmation bias on the motorist's side. Every driver can remember times that they were frustrated or had to swerve to avoid an irresponsible person on a bicycle, but it's likely that those cases where a cyclist or pedestrian had to jump out of their way have passed from memory, if they were even noticed at all in the first place. I'm not immune to this— I have a recollection from a few years ago of driving out to a pumpkin patch with my family and passing a cyclist on the shoulder of the country highway without slowing down or given them a proper side buffer. I wouldn't have thought anything of it at the time except that my partner called me out on it, but it's perfectly possible that rider felt threatened by what happened. I suspect that most of the drivers who blow through crosswalks in front of me have no idea I was in them— in their mind, nothing registered as "wow, I almost hit someone because I didn't see them, I should down!"

My sense from having had these conversations over the years is that most drivers enjoy an enormous amount of privilege on the road and are very resistant to acknowledging the role it has in shaping their views and experiences.
> whose main source of packages is managed by a single company

thats not true today, conda-forge is a community led effort that have open source recipes of the packages built by anaconda inc and many more others contributed by the community. I run conda with conda-forge packages only and it works great.

https://conda-forge.org/
Back to /.
Well, no.

Or at least no in the near futur.

Debian dropped support of ppc32 with stretch.
That's a rather strong case for taking the law into our own hands, rather than essentially subcontracting it out to someone who you effectively don't have management power over. Putting trust in myself and my neighbors rather than police seems to be a better solution especially if the police aren't really residents of the specific neighborhood.
Mentally calculating weekdays of any date in any year
I'm confused how the performance can be better. There's two competing kernels that both think they're running the system, how can that not be slower than mapping some POSIX calls over?

I mean I trust that it's true, and I'd love to understand why :D
Aircraft safety is the opposite of black and white. Engineering is all about making compromises, in aircraft, you compromise with weight, otherwise, we would be giving every passenger an ejection seat/parachute.
Its not just WSL2, its anything that makes use of hyper-v like docker for windows IIRC
Punchline? Oracle isn’t the biggest cloud provider but it’s naive to say they are a punchline. Oracle Cloud may not be used much amongst the startups or app/web dev crowd here on HN, but other parts of large enterprises are indeed eating up Oracle Cloud just as they ate up Oracle on-prem apps in past years.
Do you figure out every bug the first time you see it?

Or do you have to look into it for a while
Travelling for Work, with Kids at Home
> I think the mindset of changing of something from within is actually a good one.

This assumes the disagreeing people are right. In reality people genuinely like different things.

If a disaffected minority tries to change what a majority likes, I'd expect they'll just ruin things for everybody.

Finding (or founding) a company that acts according to your ideals to work for, while letting Googlers work they way they like, is the obvious solution to me.
> With fewer moving parts, electric cars could last even longer

Judging by what is happening right now with EV cars already produced long time ago [1] general outcome and EV cars lifespan will be lower than IC cars due to non-available batteries, there are already people who are seriously disappointed [2] and I think that it is going to be worse because lack of affordable batteries replacement is in best interest of car maker companies.

[1] https://www.reddit.com/r/leaf/comments/aocih1/battery_replac...

[2]https://www.reddit.com/r/leaf/comments/b2etie/more_affordabl...