skysight-inc/HackerNews huggingface dataset:
Ok, I agree that PQ is slow. It is possible to calculate a running total of a column in a million row table before the sun burns out though.

I am very not an algorithm person, but I got a huge speedup from a "parallel prefix sum" instead of the obvious sequential approach or the even worse N^2.

I translated this to M by rote and trial and error (page 2): https://www.cs.utexas.edu/~plaxton/c/337/05f/slides/Parallel...

Implementing the parallel, recursive solution got me a million rows in about three and a half minutes.

Fill down (which I had to do anyway to compare) was about 10 seconds.

So...probably not the first choice in this scenario but could be worse?
Ex-pat here in Germany, normally I'd agree.

This article is written by Tim McMillan, who also owns the site. He's from Georgia originally, even a former Lieutenant.

He spent some time in Germany, but it doesn't appear he is originally from there.

His native language is English. There is a fair amount of credit list when grammar mistakes are made (means, usually, only a small number of people, or even just one person, looked at the copy before it was published, which is a red flag).

Just playing devil's advocate.
The Apostrophe Protection Society
I would argue that it's a pretty good measure of programming and CS problem solving skill with weak alternatives.
They managed to describe fully what it does in the project name and post title.

Unless you want an explanation of what verilog and factorio are, but then that sounds like it's another question from "what this project does".
I don't get the scientific value of this. What can be learned from doing this opposed to observing normal human embryos?

If it's done for ethical reasons then I don't see how injecting human cells in an monkey embryo then killing them is more ethical than just killing human cells.
As far as I can tell the Amazfit Blip is the latest with a transflective display. If there was an option to install a different OS on it, I would love to use one.
Literally all programming fits that sentence. Your language is an abstraction, the opcodes it compiles to are an abstraction, the machine code is an abstraction and the microcode it translates to - also. The engineering software for hardware is a highly simplified abstraction based upon physics and math. The physics and math, ...an abstraction for reality we barely understand.

We all stand on the shoulders of giants.

But maybe you create your own universe from scratch and program it without abstraction, who knows.
I just had a look at the site myself having read the GP comment. The layout felt reasonably unambiguous and accessible to me personally, although everyone's different - but then when I clicked a game and wanted to go back to look at another one, I noticed that my browser's back button was disabled!

Sure enough, a global search showed that you're using history.replace() to change the URL path. I can totally appreciate the likely trepidation about the work required to correctly juggle the JS history stack, but... it's very disorientating to see the back button greyed out :)

I know it'll get fixed eventually, but I crashed into it within 6 seconds. ¯\_(ツ)_/¯

Also, it would be kind of cool to be able to watch active games, but the current UI doesn't really surface activity in any way. Adding this would naturally attract ebb and flow and interesting oscillatory behavior (with lots of people randomly joining and leaving) and whatnot, but it would also allow for actual large-scale spectation, and the general appearance of a site that's a Destination™ and a flurry of activity.

(While probably obvious, I've just thought that recency (what's being played right now), activity (what's attracting the most chat and the most frequent/periodic/consistent movement), and volume (what has the most eyes on it) would all play a role in ranking.)
From the paywalled Telegraph:

"John Richards, who has died aged 97, was once described as the “Don Quixote of the grammar world”, as founder proprietor of the Apostrophe Protection Society (APS), which he established in 2001 in an attempt to save an endangered species."

https://www.telegraph.co.uk/obituaries/2021/04/24/john-richa...
Ive came to the conclusion you can do three things well at any one time. So if u have work and family then that's two, and the problem with spending the third task on a tech side hustle is you risk burn out
If you mean by "free market", a market that prices in all externalities, then yes. If you mean by "free market" a market where environmental destruction is free, then no.
Sure. I probably wouldn't call Wuxi insignificant myself.

My main issue was just citing Wuxi's historical importance and background to defend its significance, in comparison to pre-Anglo Saxon Britain. I see Chinese people do this a lot in regards to China, often to shut down criticism of the country from "lesser" countries, ie ones that were tribalistic or uncentralized during Imperial China's heyday. "We were the center of civilization while you were backwards tribals", that sort of rhetoric.

Not saying that's what you meant, mind you.
Omatsuri – PWA with 12 open source front end focused tools
I truly cannot fathom why anyone would Zuckerberg as their president.
i believe the claim is the ability to understand these algorithms vs understand business problems is not.
A little sobering to see the note at the end and then go back and gaze closer at the last few photographs they took inside the sarcophagus. Those dosimeters weren't wrong! You can basically "see" the radiation since so many pixels in the final image are oversaturated, presumably even more looked like that before they were cleaned up in photo processing.
That's how I read it. NASA: "Yes, there is a non-zero probability."
The diagrams in this article are excellent. Does anyone know what the author used to make them?
But the number of people who understand verilog, but not typescript (or at least javascript), is probably close to zero.
The nearly brand-new theoretical physics building in Oxford has a chalkboard in every communal area and office bar one -- the head of department, a man whose surname 'Chalker' belies a slight personal preference for whiteboards.

It is also one of the few places in the world I have seen Hagomoro chalk left free for people to use, along with free, excellent, bean-to-cup coffee machines.
Those libraries will come and go, but <dialog> is part of the HTML specification. I like to invest in learning things that are more likely to be around for a while.

Historically it's more likely that an unpopular tag will be removed from the HTML spec and removed from browsers than JS will lose compatibility with your code.

For example, a JS flashing text effect from 25 years ago still works. <blink> tags don't.

Most tags that are deprecated in the spec aren't removed (eg marquee) but you shouldn't assume something in the spec will be available forever.
https://en.wikipedia.org/wiki/Power_to_gas
Dataloader is an implementation quirk of a particular library, not a protocol quirk of GraphQL as a query format.
At first, I don't think the business model was there yet. I haven't read a recent report so I know it is out of date, but on the order of half the costs were installation. If the company maintaining a contract on your roof goes out of business? Who owns the panels? Who funds a company where if it goes bankrupt they have contacts that give away their remaining assets?

Now that property owners understand it better I think there's less hesitation and I have seen it more. We're even getting some on our building before long.

But there's also the issue of trust, which is coupled with ownership. If your friend convinces you to borrow $5k as a homeowner line of credit, install panels (and own them) and that you will make it back in lower bills in a few years that's a lot easier to swallow than someone that makes money from you saying yes.

I wouldn't want strangers owning stuff that might get passed along to different strangers as a major structural component in my house, cost to maintain, and especially if I don't even own the power produced. I can't fix my roof, I can't replace the panels, it seems like a very tough sell without a track record. I don't think anyplace had that track record five years ago.
Yes, and at a small scale it already happens today. I was working for a largish tech firm a few years ago when they made an agreement with the local and state government to get the right to run their own private police force on their campus. This was not security, they had (limited) rights to detain, arrest, and use deadly force in some cases, very similar to American university police if you're familiar with that.
I didn't look at all. The first real story about aliens will be at the top of HN with 2k+ upvotes. This is just noise.
Belarus' nature reserve in the shadow of Chernobyl
> There's lots of systemically horrible things that can happen if you're not careful about what you allow.

Of course there are. But what specifically are the harms that are going to be caused by either this research or a landing page A/B test without a click through pop up? The existence of theoretical harms for broad categories of potential research does not have a whole lot of bearing on these specific lines of research.

> If you're interested why these ethical principles exist in the United States, I suggest you at least skim the Belmont Report

I read it. It was interesting, but I don't think it's particularly relevant here. The only prong of its test that would be relevant to this experiment is "respect for persons". The idea that somehow not revealing the bug or the experiment was intrinsically harmful as a violation of a person's moral autonomy.

I don't buy that line of reasoning, and I can't really think of any valid consequentialist justification for it, and the report itself does not attempt to justify it either, as far as I can tell.
Fielding has no problem recognizing the web needs one architectural style, and small-grained data APIs need another. The web doesn't need to "die". Our infinite ignorance on what REST is and what it should be used for has to die. Fielding hasn't mentioned the word "API" once in his paper. This entire REST API movement is a paradox that mocks everything he explicitly warned us about in his dissertation.
Blaming individuals for obesity may be altogether wrong (2015)
I am quite enthusiastic about grapql, but the teams at my clients just stare at me like I am crazy and then go back to work. Basically everyone would rather do create /api/userswithgroupsandaclsandinvoices next to /api/users than look for other options. It's just so quick & easy to do that instead of look at other tech. I guess in companies beyond a 2 people startup team, the persons having to use the API and the persons creating it are different groups and they both are doing what is easy for them and their team. I think we would need to see a lot more server implementation and benefit tutorials for grapql to fix that issue.

In the case of most of our partners and clients for instance, the API users are other companies in the same vertical; not only do the API teams not care a lot about the usage as long as it works; spending time doing something 'fashionable in the cutting edge dev world' might be nice, but no-one in their vertical will use it. They will simply ask for the 'normal API' instead.
My biggest point of confusion from article is that regulation(s) do not require explicit consent from human subjects on use of there's time, irrespective of what information is collected.
Idk. It requires server side resources to keep the connection open, isn't it? I think nginx keeps them alive by default up to a certain limit.
OPPO Find X3 Lite 5G offers much more than the basics
Ask HN: How to get back hacker's mentality and joy of coding
I've been coding since I was 11-12 years and I can remember the incredible amount of hours I was able to put in just because I was completely zoned out by the fascination of coding.

Now I'm 30 and I grew to be, at least according to market, capable (scala/backend) software engineer, but I no longer take any joy in coding. It's been around 12 years I've been coding professioanly (I had my first part time job at 15), and I can build a variety of interesting things.

My biggest problem is I can't find motivation and focus to do it. I don't enjoy work, and I'd like to WANT to build new things, just like when I was 12, but I just don't care anymore. I pretty much count down hours when I don't need to code (when does my job finish). When I finally manage to overcome exceptional effort and start coding something of my own, it's usually a lot of fun, and there are some sparkles of fun, but it never turns into fully fledged flame that I used to have.

And the next day it's the same again. For the most days I just can't overcome the lazyness to do something useful with my skills. I have balanced life, even considering corona, but overall I would just like to be fascinated by tech as I used to be, and toying with it would be something that I'd look forward to and take as a relaxation instead of something that saps the last pieces of energy that I have from work. I used to be like that, but last few years (5+) it's no more.

Any tips on how to perhpas change perspetcive, habits, or what to read, so I can enjoy the skillset that I had developed over the years rather than feel miserable?
I don’t know where you are living but this method had issues when different networks are involved.

One example of this is Norway vs Europe : Norway is interconnected with the rest of the Europe for « green electricity » market but doesn’t share the electric grid of the rest of Europe.

The consequences is that any European can buy « green contracts » that pays Norway renewable industry. Sounds ok as an European.

But now, by this market rules, a Norwegian citizen that doesn’t pay the « green premium » is considered consuming non renewable electricity even if he have no physical way to consume non renewable. And as a Norwegian citizen, it can be difficult to understand the incentive to pay more while knowing your electricity is physically constrained to be only from renewable sources.

As a French I have a similar problem : why should I pay a premium to get CO2-free energy while knowing my country spent billions of public money (which I’m really glad) to be self sufficient with nuclear power plants ? And since nuclear is not a renewable energy, I have no way if I wanted to pay a « premium » that would help fund nuclear energy even if I politically support it as en important ally against global warming.
1) "We apologize for any harm we might have caused"

2) "We apologize for any harm that we caused"

3) "We apologize for all the harm that we caused"

(1) is the least apologetic. This could be interpreted as saying "we might or might not have caused harm, and we think we didn't but you think we did, so we're going to apologize for your sake, but we're not really sorry because we didn't do anything wrong from our perspective".

(3) is the most apologetic. You acknowledge that you did something wrong, and that you're apologizing for it. This might be followed up with a specific list of the things that you did wrong, and that you are apologizing for. That would make for the most sincere apology. This could be interpreted as "we caused harm and we're sorry, whatever harm you think that we did, we agree that you are right, and we are sorry for all of it".

(2) is partway between (1) and (3). You acknowledge you caused harm, but you won't enumerate the things that you did wrong. So, you leave yourself a little bit of wiggle room. This could be interpreted as "we caused harm and we're sorry, but we didn't cause that much harm, we think it was actually quite little, you think it was a lot, but we're saying sorry, so let us go with this apology".
I find it mildly disturbing that so many comments are saying "But breakpoints!"

One would assume that anybody who used a debugger for more than a day knows about breakpoints. TFA isn't saying you have to step through every line in a debugger.

It's saying that, even if you employ your amazing debugging skill to find exactly the point you want to look at, you will only be looking at that exact point in execution, and not other points at the same time. Sure, it will be a very detailed representation of that particular point, which can be extremely handy, but sometimes you want to look at a hundred different points in execution, at once. That's when printf comes handy - you just need a large monitor (or a small font and good eyes).
Unity APIs have always been an incomplete mess.

Big sprawling projects will do it themselves, with a proper action dispatch pattern somewhere, and small indie projects will do it the basic way, like so:

https://docs.unity3d.com/ScriptReference/Input.GetMouseButto...

Meanwhile Unity has tried releasing several different input management solutions, none of which are particularly popular. With more exotic stuff like XR/VR or Steam Input it's even more of a mess.
I also found the apology lacking in that they did not specifically acknowledge that they were indeed experimenting on people.
We are all in the same, closed ecosystem, all humans, and that should be reason enough. Pandemics are a human scale problem.

Mother nature has boundary issues.
Over large distances, high-voltage direct current transmissions would be used which has losses in the low single-digit percentage per 1000km. See following link for details:

https://en.wikipedia.org/wiki/High-voltage_direct_current#Ad...
It's definitely hard to argue against something so easy, right? At the same time, it's often really hard for people to grasp that a solution now might have repercussions later -- and even if they do, maybe they won't be around to worry about the repercussions anyway.

And if there won't be repercussions -- maybe the product is short-lived, maybe they're okay with forcing clients to upgrade every X months, maybe they rewrite the backend software regularly so cruft can't accumulate so easily -- are they wrong?

GraphQL can't tell you what your problems are. I agree that there could be more resources out there, but as software engineers, we have to wrangle with the specific problem domain we're being asked to solve, and decide what the core issues are and how to tackle them. Nobody outside your team can do that for you (and I count consultants as being on your team, even if temporarily).
These GM mosquitos are about to be released in Florida (750 million in 2021-2022) and Texas, https://grist.org/science/first-gmo-mosquitoes-to-be-release...
Here you are, that is unless Google has misspelled their own name a bunch of times on their own pages in a tiny font, white on white or otherwise unreadable:

https://www.google.com/search?hl=nn&q=%22goolge%22

Edit: this used to work before and sometimes works now in some settings. This was just the first thing that popped into my head and I don't care about jow many people misspell Google, but it is infuriating when they do it as you try to find information on a rare error message or something.
An app-driven, dark kitchen-dominated future?
Can You Measure Individual Developer Productivity?
Powerpoint I'm guessing?
Isn't an e-bike a bit more practical for rural areas?
First GMO mosquitoes to be released in the Florida Keys
I made them in draw.io
It's not about space reduction, it's about handling the small file problem. HDFS can handle up to 500M files without issue but the amount of RAM needed to store the files' metadata starts to go beyond what you'd typically find in a single server these days.

When you store multiple images and/or videos inside of a single PQ file, you'll end up keeping fewer files on your server.

I believe Uber store JPEG data in PQ files and Spotify store audio files in PQ or a similar format on their backend.
> That's not to say there aren't weaknesses to the password manager model, but you're overestimating them

Doesn’t this very article show otherwise?
At that point add a 2 to the end or change your username. Worst case you have to try a few times to get in, but eventually you'll remember it's one of those sites that uses the extra version information.
Did the recipe say "burn the food"?

Ok, then you didn't follow it.
I think the bass and drums in live performances are intentionally exaggerated to make people feel more 'part of the music', by having their bodies vibrate to it.
Linux interpretation of "everything is a file" includes that things like sockets (including netlink) are files, because you interact with them through file descriptors.
In my experience, it depends on the band and the venue. Indoor venues are a lot harder to get the bass resonance right. I don't think I've ever had bad sound (for whatever style of music was being performed) at an outdoor venue. One band I saw at both an indoor and outdoor venue. At the indoor venue, the sound was a constant woom-woom of bass resonance from the kick drum, with the snare poking through. At the outdoor venue, I was able to hear all the instruments well balanced with one another.
But to use TS as a language of choice? Different story.
What about amazon? Chrome is really slow for amazon sometimes... the javascript hangs the page.
Sure, some Greek people do that too. FWIW I'm neither Chinese, nor a fan of centralization, and I know too well that neither virtue nor wisdom follows bloodlines. It's kind of despicable to see people attempt to defend their tribalism by claiming blood descent from non-tribalist people...

I started with Wuxi's history mostly because I find it fascinating but partly because, without that paragraph, I thought someone might respond, "Well, sure, Wuxi is a big city now, but it doesn't have the depth of culture and tradition of a place like London—it's just a soulless consumerist metropolis!" or argue, "Sure, London's population is only twice Wuxi's, but it's a very high profile city because for centuries it ruled an Empire on which the Sun Never Set!", maybe mixed with some deniably racist remarks about "imitation" or "IP theft" or "sweatshops" (of which I think the Guardian's "Australian smarts and Chinese industrial might" is a mild version).

I didn't want to leave an opening for that kind of silly nonsense. It misinforms people.
Microsoft Game Stack Keynote: Delivering the New Generation of Gaming Graphics
> For me, now that I recall it, getters and setters in Java made no sense so much that I only got them after maybe a year, though I dont even know why didn't they make sense at the time.

well they don't make sense :) 99% of the time they are just a pointless ritual to appease the OOP god.

I especially love when company mandates 90% test coverage and no lombok so I get to write tests for setters and geters :)
OpenAstroTracker: 3D printed, open source star tracker
Traffic Management: Focusing on the elephant, ignoring the mice
Out of the Trees (1975)
I would hope at such small levels of production, the proximity to the user would reduce power losses and be automatically corrected for by the timing generators so as to shift production closer to the user.

It does seem like close to retail rates aren't outrageous to believe are fair for small quantities. I think you'd need to get to the point where generation was a significant fraction of local usage before transmission was costly or inefficient... but by then you'd likely find batteries cheap enough to also just load shift by physically storing the electricity in small buildings around a city.

Maybe the retail rate should go down, but it does make some sense for a tiny generator right next to or even in the same building as a user should get closer to retail rates than generator rates. If enough people did it they could eliminate transmission lines entirely and just use batteries.
What happens is you learn, and next time you have a concept. That doesn't mean you stopped using recipes.