skysight-inc/HackerNews huggingface dataset:
There used to be a rule of thumb that the more things that the average person need not worry about, the better the civilization in which that individual lived, and vice versa. This was translated in the typical mind to mean, "The fewer things that I must worry about, the better I can understand the few things that really matter for me."
That era has ended because now, whenever one decides not to worry about X (for just about any X), one has given oneself a reason to worry if that decision is sound, given that conventional wisdom now accepts that fate has obviously aligned itself with the forces of disruptive change.

Whoever controls disruptive change controls the universe; whoever understands disruptive change does so only momentarily.
I created an account to play with it and noticed that when updating the ubuntu packages I see it uses the hetzner mirror
> Get:1 https://mirror.hetzner.com/ubuntu/packages focal-updates/main amd64 libpam0g amd64 1.3.1-5ubuntu4.3 [55.4 kB]

and the IP address is owned by "Hetzner Online GmbH"
Why I'll never build another static site generator:

- because I've done it already and I haven't gained anything from it other than feeding my ego

- it makes me work on keeping it updated to "my custom needs" more than I work on the actual project that needs it

- it always gets outdated really fast, esp if it uses js a lot

- I've learned that it's generally a waste of time, time better spent on other areas of your business and existing tools are good enough
Hilariously, the article URL contains "recent-discovery-may-give-solar-cells-a-thousand-times-more-power". Last time I checked, 1000% and 1000x were not the same.

From the original paper: https://www.science.org/doi/10.1126/sciadv.abe4206

> "In comparison to BTO, a staggering enhancement of more than three orders of magnitude is observed in the case of SBC222, while an enhancement of 100 times is observed in SBC252"

So it's both: one test showed a 100x improvement, the other a 1000x improvement.

However, these improvements are not being compared to standard silicon photovoltaic cells, but to ferroelectric cells that are currently merely laboratory curiosities with very low power outputs. In other words, these boffins figured out how to get 1000x more power out of this new type of PV material. I don't see any comparison to silicon PV in the paper, so it's probably still far too low to be commercially viable.
Thanks for pointing that out! It looks like the www. prefix wasn't set up correctly. It should be fixed now.
Why would asking the reporter to keep quiet be prudent, especially after the bug has been fixed?
The amusing thing about those ToS is that they literally prohibit you from reading them in full until you agree to them.
> It starts with the Singleton and vaguely hints that it has some drawbacks. Why start with that, then? And why not flat our recognise that it is understood more as an anti-pattern these days?

There might be significant tradeoffs with singletons, but I wouldn't go as far as claiming they are an anti-pattern. Far from it. Managing and sharing a single instance across the whole application is a critical part of other basic software architecture constructs like dependency injection or even handing app settings.
The title is wrong but the confusion is lifted with the first sentence:

"Researchers [...] achieved an increase in the photovoltaic effect of ferroelectric crystals by a factor of 10"

They did not increase efficiency of silicon-based photovoltaic (PV) cells but the PV effect of the crystals in question. They argue that these crystals might be easier to manufacture than existing silicon-based cells.

A PDF of the paper can be found here: https://www.science.org/doi/epdf/10.1126/sciadv.abe4206
what's the simplest way to have a fool-proof time based scheduler for an AWS instance?
Such rebuilds systems are complicated and might not work 100% when you first start out. There can be multiple complete rebuilds done while removing edge-case bugs that either fails the building or introduces variance into the builds.
Cache + avoid dynamic allocations like the plague. For example, high-perf search algos implement reversible transitions: instead of creating & pushing new states around all the time, modify just one state, in-place. And then apply the same transformation in reverse when backtracking.

If you design your data structures well – to reflect the required transitions and query operations, rather than what the problem looks like to a human when drawn on a piece of paper – the forward/backward transition is nearly a no-op. Just some binary bit fiddling over data that's already in a CPU cache. And there's NO DYNAMIC ALLOCATIONS at all. Your search will fly!

The OP also mentions another great "caching" technique, under "Entropy reduction". This is really hard but basically try to find symmetries in the search space which allow you to prune away entire subspaces apriori, without searching at all. Often it'll be something like "rotating by 90 degrees leads to the same position", mirror positions, invariance to color, time… the symmetry types and their runtime benefits are problem-specific, so you need to sit and think hard about what makes a solution unique.

In the limit, you may be lucky enough to prune away so much of the solution space that there's only a single state left. Congratulations: you've solved the problem analytically :)
I also said:

> The only point at which a company cares about cheaters is when the community starts to really get riled up about them and revenue drops.

My point is not contraindicated by Activision releasing new anti-cheat software a year and a half after a game came out.

Activision likely saw falling player signups/playtime/cosmetics spending, did some surveys, and decided improving their anti-cheat was the way to go.

> If you think there is a better solution to ban repeat bots and cheats please provide it or at least offer a creative response to what COD is trying.

In another comment I pointed out that the games are full of cheaters so blatant their K/D ratios are better than the top pros in the game, sometimes by a factor of ten. It would be trivial for Activision to automatically ban them simply on that alone, or at least auto-flag them for a manual review. A K/D ratio of 1.0 is considered "good" for an average player. 2-3 would be world-class. The top player on one of the CoD:WZ trackers has a K/D ratio of twenty six.
Arxiv Sanity is a good website as well to keep track of all the myriad of papers that come out in Arxiv.
Its not 10x compared to silicon cells, but 10x compared to prior barium titanate cells.
I made my own static site generator in a very similar fashion, a small recommendation/tip I found is that instead of creating your own "use this template" definition, you could use "Front Matter"[1] to define this initially:

---
template: custom.html
---

# My normal markdown

Since it's a fairly standard tool, parsing it is trivial with npm packages[2] and you don't need to be manually parsing the strings:

import fm from "front-matter";

const data = await fs.readFile(...);
const { attributes, body } = await fm(data);
// attributes: { template: "custom.html" }
// body: "# My normal markdown ..."

[1] https://jekyllrb.com/docs/front-matter/

[2] https://www.npmjs.com/package/front-matter
My tactic is similar: find 2–3 star reviews; find what they didn’t like; if it’s for reasons irrelevant to me—buy. Sadly, it breaks when there’s a flood of paid reviews or when factual reviews are censored.
Sweden's eco-town with a 20-storey wooden skyscraper
In my experience, the only way to make meaningful progress on performance from here on out is to:

- Squeeze out more entropy (for example, rotating states for symmetric boards)

- Make the heuristic function smarter (for example, by calculating the assignment bottleneck)

I wrote a Carcassonne solver once and found many little optimization opportunities by detecting fail states early for example. Avoiding dead ends saves a massive amount of time.
The announcements from NextJS has been really confusing. I don't think they are using SWC yet. They are just working on it. The reason for the confusion is because they write about the progress in the release notes, making it look like they are using it.
> we will truly own nothing.

So cash to the rescue?
Show HN: Everlint now also tracks trial periods and lifetime deal refund periods
Those silly apes leaving good food on the ground! That's quality aged meat!
Jony Ive's design agency launches website
Having access to the calendar of e.g. the Airbus management would be very useful for industrial espionage.

Snowed proved that the US used backdoors in Microsoft products to access calendar entries snd emails to give Boeing an edge during negotiations.
Vite only uses Rollup for the production build step. During development it uses ESBuild for pre-bundling, and then serves everything as native ESM, that's why it's so fast. They might get rid of Rollup in the future if ESBuild gains more features.
Both butter and margarine are useless, empty calories. No vitamins and minerals. There's a daily budget of calories, and it's better to spend it on foods with nutrients, not just pure fat or pure sugar. Better fat sources are whole foods - seeds, nuts and maybe animal foods.

>There is even halvarine, which is twice as bad.

It's a good option. Still has taste and feel, but less empty calories, and you can spread only a thin layer, easier than with butter.
I wonder, sometimes, how much have people thought through what they’re saying when they value humanity living on for thousands or millions of years. If your life comes to an end, you’re not around to see anything else, why do you care? Sure maybe you may care about your immediate family, but after that, then what? No one you have personally met is around to see anything. Is that hugely different to you than millions of years ago with just dinosaurs around?

Why do we have such values? Humans may look very different in 100 years (may be cyborgs) let alone 2 billion! Yet we have articles talking about “humans escaping the heat death of the universe” and so on.

Machines can be easily diplicated and programs can execute on many machines. If there is a rise in AI, why do we cling to the idea of “identity” when a program may have totally different values? Commander Data in Star Trek is not realistic when it comes how AI would behave. It might not have any self-preservation at all, more like the Borg than Data.

And in all this, where do we find ourselves? As they say in the Matrix, this was our heyday. Before we polluted the planet and left it increasingly toxic since we couldn’t live sustainably. Before AI took over and made it a zoo for us in the same way we make zoos for animals.

I just want to understand these anachronistic tendencies by smart people to discuss why they feel good humanity will be around in 500 or 1000 years, given the pace of change now.

Unless there is an afterlife where we all are resurrected and get to live out eternity happily in conditions we enjoy, I am not sure what you have to look forward to.
miller v johnson would be a case you should look up, from 1995, which made gerrymandering illegal. so it is absolutely correct to state they are committing election fraud, if they are using a federally illegal action to get elected.

cases of suspected gerrymandering are taken to court, often lost by the election fraudsters, and districts are then more fairly withdrawn. this does not stop the gop, and to a smaller extent the libs, from continually doing it. the only penalty for doing it, is they lose the election they would have lost without the fraud. there is no downside to trying.

the process by which districts are drawn is absolutely not legal if gerrymandering is used.

here's the issue with places like texas: no one is suing to redraw the lines, because the population is of low iq, of high anger, and easily manipulated to actually support this illegal action.

>failed to agree on a clear standard for the judicial review

which has nothing to do with making something legal or not. gerrymandering is illegal. the standard for judicial review is left open, and up to the judge in each case

>the partisan system by which we draw districts currently is sadly illegal.
>it is a stretch to say politicians are committing "election fraud" because of gerrymandering

it's a stretch to say people getting elected using an illegal process are committing election fraud. gotcha. you're very good at stretching. mental gymnast?
>they've decided to allocate EV resources towards laggards like Hyundai[3]. Nevertheless, it's quite the indictment of democratic planning.

Democratic planning is trying to get competition into that market. How is that bad? competition is inherently inefficient, that's why monopolies form and companies grow endlessly in the first place.
OpenSSL Is Implementing QUIC
MyMonero saved all private keys on server
Why is Threefold P2P cloud is better than AWS/Azure
Sadly I cannot remember the specific case but seem to remembeer at least one occasion where it did
The fact that it was previously restricted to only monied interests means that it was relatively rare in the past. Yes, there were the magazines and floating 'reviewers' who everyone learned were shills for whatever company was paying them for a good review, but the bulk of the reviews were earnestly trying to live up to consumer expectations for such reviews. Once things became more 'democratic' and cheaper we saw the review version of Gresham's Law at work -- fraudulent reviews flooded out sincere ones and the system has mostly because useless for its intended purpose, it is now just another marketing channel.
Review: Princes of the Yen (2014, dir: Michael Oswald)
The AIRS has no external references beyond the initial position set by the ground station before the missile was fired.

That was why AIRS had to be so incredibly low-drift. The point of the comment in the writeup is that the DoD found that there were almost no cases where at least some sort of external reference wasn't available and thus there was no point to having such an expensive, low-drift INS.
>A free open source tool exists for you to use if it suits your needs.

I do not believe that webpack suits my needs, it is in my opinion incredibly inferior to Gulp. So Gulp suits my needs.

Nonetheless I have had to basically use nothing but webpack for the last 5-6 years unless I do something for myself! Why is that?

Well it turns out that when I go to work at some place they have set up everything with webpack, why? Well that's what everybody else does, nothing we can do about it now. Hardly anyone in the real world only uses tools because they suit their needs, they use the tools that have been chosen by someone else.

Ok, so then something goes wrong with webpack build, anyone at the place know the depths of webpack and how every different plugin/module is screwed together - nope, we use webpack here but have no webpack experts - so they spend some days fixing things. Or even worse we want something that there is no webpack solution for that we can find - either we need to fix it ourselves with a plugin / module / fork of plugin module we want to extend (after asking fruitlessly on StackOverflow if someone knows) or we have to do a horrible hack to fix it.

I am sure there are some webpack experts out there who take minutes to fix problems they encounter in webpack, but my experience is that a webpack problem any more complex than we don't have a plugin for that file extension seems to require a developer day to fix (not just me as the developer, other developers always seem to take the same amount of time).

now before someone jumps in and cleverly changes my complaints to use Gulp instead of webpack (if you weren't thinking of doing this you can stop reading now) - can you point out to having a similar experience with gulp? Because I can't, and if I wanted to write a gulp plugin (which I have done twice) it was insanely easy because all you have to do is to understand vinyl streams and that's it; everything in Gulp has the same model of how things work - that really speeds up problem solving time.
Writing fake online reviews could be made illegal
> Largely it cools the house, which is usually a desirable byproduct. ... you could very clearly see the outline of the panels as a detectable cool spot in the ceilings.

Based on my cursory googling, it seems that this is indeed the case, since the solar panels absorb the sun's energy, rather than the roof. I'm having a hard time finding reliable sources, but my sense is that those black solar panels may warm the surrounding environment.

e.g. https://e360.yale.edu/features/urban-heat-can-white-roofs-he... (2018)

"
Urban Heat: Can White Roofs Help Cool World’s Warming Cities?

It has long been known that installing white roofs helps reduce heat buildup in cities. But new research indicates that making surfaces more light-reflecting can have a significant impact on lowering extreme temperatures – not just in cities, but in rural areas as well.
"

> Half of the world's roofs are probably already black or at least dark brown - asphalt shingles, slate, vinyl, many wood varieties.

Fair point. So... Would there be unintended consequences of an increase in the world’s number of black roofs? ;)
Yep, moved from webpack to esbuild + postcss. Great results.
What's the point of a "secure cryptoprocessor" in a controller when you can de-solder the buttons and trigger them via another MCU? Do you make them like POS terminals that self destruct when they are opened? I can just use a servo to press the buttons.

With the release of YOLOv5, the rat race for cheater free games just got even more one sided.
Project OSRM: open-source Routing Machine
New MOOC: How to promote scientific results
A mooc on coursera was released to better promote scientific results for researchers and phds : https://www.coursera.org/learn/promote-scientific-results

What do yo think about it?
Show HN: A New Implementation of the Seven GUIs Benchmark
7GUIs: https://github.com/eugenkiss/7guis

My implementation: https://i5ik.github.io/_____/7guis/

I built this after seeing Brad Woods' work on Show HN.

I wanted to do it because it was different to the other GUI benchmarks I had seen before such as RealWorld and Todo MVC.

I liked how the original author wrote the description of the tasks and the challenges they were supposed to try to address and I appreciated that design and usability thinking, as well as the chance to flesh out and test a framework for how it could handle this. I also knew that GUI programming was one of my weaknesses so I wanted to push myself to learn more.

The most challenging was Cells, and I procrastinated for a bit before getting into it. But actually the scripting side of that challenge was not as hard as just getting the markup right.

I was also building a web components framework at the same time and using these challenges to develop and test the features of that framework. The most challenging thing there was figuring out how to get a good load time without displaying partially loaded GUI components. Basically this man keeping track of a components subcomponent dependencies and and marking the ancestor component as loaded only when all it's dependents and it's uncontent was loaded.

In the case of cells which calls for 99 rows and 26 columns it ended up producing around 10,000 nodes which took quite a while to render in the browser and in my framework. It was a good chance to try to push the performance of that framework as far as it could go. A lot of time was spent in the performance tab of devtools.

Something else that was important was getting a good load time while maintaining responsiveness on the main thread render across a range of devices.

This was challenging because providing that responsiveness for lower end devices unavoidably sacrificed load time for higher spec devices that may not have had any lack of responsiveness at all. But I decided that I wanted responsiveness to be the priority and then to maximize the achievable load time given that constraint.

I achieved this by splitting up the work of the big render using a function to insert asynchronous sleeps between bundles of work.

The sleeps allowed the main thread to maintain some low frame rate of responsiveness while it completed the off screen rendering of the large component, without taking too long.

The current version of the demo uses a small Cells component just to save time. This will be my only comment on this thread, if you want more info you can check out the framework repository: https://github.com/i5ik/_____
> The old metal mill area is now being redeveloped for housing. I asked a nuclear scientist I knew if he'd feel comfortable living there, and he said "Sure! I mean, you might want to get a geiger counter".

Radioactivity is, funnily, one of the easier human health hazards to manage for precisely this reason - by definition, it's (generally) detectable. Not as easily as, say, a bear, but easier than a virion or most regular chemical contaminants.

Plus, radionuclides don't actively evolve.
This is solid advice. :)
Gitlab raises IPO range, targeting valuation of as much as $11B
I have been burnt many times by wordpress. Updates that fail and hose everything, continual hacks because you can't update, then automated updates that worked until they didn't, obscure PHP errors from oddly configured hosts, dodgy plugins that people add that get them hacked even if they are updated to the newest version of wordpress.

It is great for non-technical people, but the risks are high.

I personally find that github pages is a better alternative now: most users can handle doing edits in github's web UI, and on commit the changes are auto-deployed to the live site and appear within 60 seconds or so. And it helps me to see their git history when they screw something up.
May be in next release we get swc in nextjs?
Australian University investigates research misconduct in studies on ageing
The Fragile Internet Is a Threat to the Economy
“What is” is a vague question with no clear details in the answer. For example, parcel may have the middleware mode while esbuild may not. But then it’s parcel 1, but not 2, where it was removed to streamline plug-in development, so I better stick with 1 for a while. That is the context. By not providing it, the root comment has zero value, because an interested reader cannot learn at least some of the whys by simply reading the frontpage. Almost everyone knows it and thus will not follow your “open mindness” advice, because it’s pointless in this case.
I can put 16MB on my c64 with my 1541 ultimate. Haven’t looked at ir much but I believe there were some commercial productivity apps such as GEOS with very basic multitasking capabilities would be well able use this. Imagine they’d had an amped up CPU too!
You can also use cash, to deny data harvesting, which is one of the primary business drivers for CBDCs. Data about money is worth more than money. SF, NYC, Philly, MA and NJ have laws requiring cash acceptance. In addition, NYC passed one of the first bills requiring restaurant delivery apps to share transaction data with restaurants.

CBDC advocates are contemplating laws that will affect data (the most valuable asset and not well understood) while focusing most legislative attention on money. Instead, we could start by restoring legal data ownership to individuals. Then banks and fintech and bigtech can compete against each other to gain the consent of individuals for data access, in exchange for services and/or payment, with meaningful access and usage controls. In other words, enforce algorithmic micro-policy on corporate use of individual data, not on individual behavior.