skysight-inc/HackerNews huggingface dataset:
It's extremely unlikely these graves are fake. Why? Because the large number of deaths is not something newly-discovered. It has been known for a hundred years that large number of children were dying from disease (mainly turburculosis) due to overcrowding. For example Dr. Bryce wrote of the appaling conditions he saw in the 1920s https://archive.org/details/storyofnationalc00brycuoft

One clarification I suppose is that it is unlikely the graves were always unmarked. Most likely they, like many poor people, were buried with wooden crosses which later disintegrated.
DIY node_modules cache for Docker in your CI
This is a race against time. We need to put out the fire right now with whatever we have to prevent damage to this building and spread to other buildings. This might buy us some time to work on better fire prevention in future.
I've lived in Hawaii, and this just ain't so.

What there is, is a blindspot about territories. Just look at the flag: that there are parts of the United States which aren't States kinda doesn't compute.
I once idealistically believed that tablets were the PC of the future. The iPad pro is definitely within the top 5 most disappointing hardware purchases I've made. Terrible UX. Trying to be both a laptop and a tablet has made it bad at being both of those things.
It's remarkable that you said all of this, I'll be generous and say that someone else completely made up the part about the Jones Act and you just heard them and repeated it.
Java has scope based defer since version 7, while C# has it since version 4, with the improvement on version 8 to be syntactically like defer.

With a bit of generics and lambdas, they can be made to even be more defer like.
Why? Securities include a reasonable expectation of profit. Investors in a stablecoin expect their dollar investment to hold stable and remain unchanged.
https://mullikine.github.io/posts/the-most-surreal-day/

The meaning of life.
This type of happiness can't be bought with money.
You have to give away money actually to find happiness.
Statically adding code at the end of scope-leaves is different than knowing when the deallocation will happen.

The borrow checker doesn’t know when will the scope end, it only knows that however it happens upholds the invariants it cares about. You might call two entirely different code path inside a method and rust will only execute the dealloc logic at the end at a non-deterministic time. But maybe we just use different terminology here.
I wonder if this is a topical thread to check if anyone is aware of a Java based solution to parse a CREATE VIEW statement to get a mapping between the view columns and the corresponding source table columns. I checked out jsqlparser[0] and it does produce an AST which can be parsed using the visitor-pattern[1] but was wondering if there is a more "out-of-the-box" solution involving less work. Due to various reasons, querying the database information schema is not an option I can pursue.

[0]: https://github.com/JSQLParser/JSqlParser

[1]: https://en.wikipedia.org/wiki/Visitor_pattern
Yes, that was the plan. The raison d'être, even. But if it ever gets built, it will be obliged for political reasons to stop so often as to make it an unattractive alternative to flying from SF to LA or vice versa.
Who is the iPad Pro catering to exactly? I've struggled to figure this out.
You are, of course, welcome to make whatever judgement you like about my preferences. "Abnormal psychology" seems a bit extreme though.
You don't need a rigorous notion of limits to informally notice that irrationals have arbitrarily close rational approximations, e.g. by adding successive digits.
A lot of countries in Europe have a limit at 2000€. I don’t find it particularly surprising. It forces people to leave a trace of large payments in order to be able to track money laundering.
To be clear, any OS can attest they're running signed kernel/modules, it says nothing about how determined an attacker is. If you just want some confidence a user isn't a bad actor, there are other ways of doing that.
You're repeating the totally fallacious argument in the article that this was a "crime" in some Agatha Christie sense and therefore they have to dig up the children's bodies or they're liars and there are neither bodies nor crimes.

The original claim made by the people who did the survey was that they think they've found graves of children who went to the school.

You're talking about people overreacting and making things up in foreign newspapers, then making an argument based on stuff that you've just claimed isn't true.

And it appears intended to distract from the fact that we know for a fact there are graves and we know for a fact there were crimes. But by laser focussing and saying, this particular potential grave has not been proved to be a grave to my satisfaction, you get to cast doubt on all the known graves and known crimes.
Fun fact: Rust actually had a proposal at one point to execute drops entirely statically, with no runtime flags on the stack. It was decided against because people thought it would be too confusing as it would be hard to tell when the destructor would run, but for purely memory related destructors it would probably be acceptable.

I do see what you're trying to get at, I think, but it's also worth noting that the use of stuff like arenas and vectors to absorb the cost of the repeated reallocations goes a long way here towards making deallocation times predictable in practice (if not in theory). It is certainly the case that you can mostly reduce the deallocation overhead to ~ zero for any particular part of your Rust program without that much effort, unless you are writing an interpreter for a different language that expects GC semantics (at least, that's been my experience).
We can, via policy and regulations! EU would be your best bet for lobbying, as Open Data is already mandatory for public data, and an extension to some privately produced data is not out of the question (it was discussed for transport data for example, ie. Uber data)
German court rules bulldozing homes for coal is legal
Magpie developers would use any excuse to move on.

It is less boring than building up the skills to fix the plane in mid-flight.

https://github.com/usbarmory/usbarmory/wiki
Not at all.

In fact, I am now a fully functioning human being and not a human doing.

would your real friends not phone you for 3-4 years. They are not your friends.

Facebook's idea of friends is not the same as having real human friends.

I didn't miss a single thing about leaving Facebook, google, Amazon and all social media including anything that collects unnecessary personal data

I have real friends now.

I am aware of the inner sense of excitement I feel when I see one of my friends calling me to have a conversation on my phone.

In comparison to reading a Facebook message about what food they just ate or when they last wiped their arse.

utilise some other means of contact

signal
element
Matrix
Trifa
I wanted it!

I played through the first third of Arkham Asylum using OnLive. The nail in the coffin for me at the time was the paltry selection of games; I couldn’t justify the subscription.

I work for a European ISP though, so I’ve generally had better-than-most internet service for the last 20 years.
What I understood from their comment (which may not be correct) is the following.
Say you have something like this:

extern void foo(T *p); // some arbitrary function

void bar1(bool cond)
{
..
auto p = std::make_unique<T, your_deleter>();
if (cond) { return foo(p.release()); }
...
}

This requires the compiler to call your_deleter::operator() regardless of whether cond is true or false, even though it's unnecessary (and can thus be slower) in the case where cond is true. Moreover, the obvious way to avoid it is to write it "C-style":

void bar2(bool cond)
{
..
auto p = new T();
if (cond) { return foo(p); }
...
your_deleter()(p);
}

which can up being faster when cond is true. But this isn't something an expert would generally want to do, as now the C++ code becomes unidiomatic, fragile, and unmaintainable.

In an ideal world, though, you could have an optimizer smart enough to do that transformation automatically. C++ compilers already do that in trivial cases, but they can't do it in general. My impression is that their Haskell compiler exploits the internal knowledge of what your_deleter does (i.e. reference counting) in order to optimize the code in various ways, like optimizing out such code, consolidating refcount updates, etc. And if I understand this correctly, there's no surprise at all that it can be faster than idiomatic C++ code written even by experts.

The question for me isn't the expertise of their programmers. Perhaps in their case they genuinely do need to have lots of objects on the heap, have (say) tight loops where they (for whatever reason) nevertheless cannot avoid the heap allocations, and don't have much of a use for finalizers besides freeing memory. In which case, I'm not surprised their solution clearly delivers better results than the C++ equivalent. The question from me, instead, is how well they think that generalizes, such as to (a) well-written Haskell programs in general, (b) well-written C++ programs in general, and/or (c) other domains. It would be one thing if their solution delivers better results in Haskell than C++ for their use case; it would be another thing if they could claim their solution delivers better results in Haskell than C++ for most use cases.
Relevancy always depends on your use case.

If you are setting up a new system, it's almost always better to use a predefined format for common data structures instead of rolling your own - why do the hard conceptual thinking when someone else has done it for you? As an added bonus, using them, you can already claim interoperability with other services ("based on the h-recipe format").

If you want your stuff to be indexed by Google, it's good to use their format.

Are all of these widely used at this moment? No. Some even seem useless as compared to more widespread format (looking at you, iCal wannabe h-event...). And some ... look pretty much like a reskin of a preexisting format under a new name (XOXO?). Doesn't mean they aren't relevant.
Really nice work, gfodor. I've been working on a new p2p library and I see a bunch of ideas here that are new and useful. I'm definitely going to incorporate your work. Good stuff.
> However, I doubt the efficacy of your C++ experts: most of the people I know who write C++ are actually really bad at optimizing code.

Which is a very good reason to develop an optimized GC algorithm, the domain experts can crank out code without having to optimize every single memory (de)allocation which sounds like a waste of their time.

It’s funny, people don’t usually doubt that a modern compiler can do a better optimization job than an expert but add a memory management algorithm and that’s a bridge too far.
I’m not sure who asked you to ghostwrite my autobiography, but thanks. Saves me the trouble. Minor correction though: my cathedral is my dream game, or more accurately whatever my dream game is in the present.
(I believe it depends on the exact scenario. In cases where the return type is not obvious I also much prefer explicit types (eg. ConcrType a = someObj.someMethod() ), but I don’t find A a = new A() any more readable than the var version)
My estimate for the cost is on average more than the shoplifting costs... Plus all the administrative work.
Definitely use reference counting, it's better! Now you're avoiding cyclic data structures and it sucks, so maybe just for a few objects we'll put them on a linked list, maybe mark them, definitely sweep from time to time to see if anything is unreachable. I'm told there's an algorithm by Boehm.

Well, ok, let's go whole hog, we're collecting garbage again, and it sucks, we get all these baby objects, let's try and optimize the GC: we can keep, I dunno, a count of references to new objects, do some allocation sinking to see if we can avoid making them, put the babies in an orphanage, hey look, RC is GC, QED.
It is an argument that Java can do arenas like some other languages, while providing the productivity of a tracing GC for the rest of the non critical path code.
According to the internet (and the first result from google)

"Securities are fungible and tradable financial instruments used to raise capital in public and private markets"

It's a financial instrument, tradeable, and used to raise capital in public markets.

How is a stable coin not any of these?
> There are zero GC pauses. Unless you claim that a C++ alloc/feee call is “garbage collection”.

Alloc/free can introduce arbitrary pauses last I checked, so yes, there are pauses. Any time doing book keeping for resources rather than running your code counts as GC time.
This is an exception. In almost every other use case the mini will give you more screen estate.
The Tesla power wall has an optional huge contactor that isolates the mains power in the event of an outage. (which of course is an optional extra)

However the power swapover isn't seamless, so most computers will reboot.

That means that grid tied inverters can continue to function, but its not a UPS/

I suspect there are better/faster battery backup systems out there, but the the powerwall2 aint that.
I think it's more of an industry vs. academia kind of thing. In the mid-90's before Java was released automatic memory management was mostly unknown to the unwashed masses. So garbage collection became synonymous to whatever Java was doing. However, The Garbage Collection Handbook originally published in 1996 defines garbage collection as: "All garbage collection schemes are based on one of four fundamental approaches; mark-sweep collection, copying collection, mark-compact collection or reference counting." So that's an example of terminology #2.
This can be modelled as a regular graph simply by representing the hyper edge as another node with a set of edges. If those are labelled appropriately to differentiate them from regular nodes, it’s straightforward enough to represent it as a regular graph.
Never had FB, Twitter, or any social media. Experiences late 90ies made we well aware of how placing screens in the middle of human interaction isn't exactly bringing out the best in us, so I've been, except for a single forum, not interested in it. I did use WhatsApp, but in 2018 decided I did not agree with their new terms, Gmail ideam. No big tech communication software for me ever since.
See that last graph with memory overhead? Not everyone's definition of "better" allows for that.
I went through similar development, only with Android tablet. Sometimes I use it to show me things, sometimes I play games on it while listening to YouTube videos from my phone.

Most of the time it is just sitting in the stand. Very narrow usability.
yeah, that is true, I havent seen multi-source updater nor embedded feature within SolarisOS/SunOs.
I don't doubt such shops exist but based on job ads I've seen and interviews I've done they're very much the minority at least in my part of the world. Why a non-iOS developer would choose macOS I don't quite get but each to their own. I'm willing to bet a significant percentage of developers do typically use Windows, even if there is growing tendency to use WSL+Docker for core development activities.
This is a gross generalization. And I'm not sure where you are picking up those values from as well or their accuracy, for Flask is ~15,000 on uWsgi or Gunicorn? or the default werkzeug dev server? How you deploy matters very much I'm sure you'd understand.

However, Ultimately development teams make do with the skillset they have and saved development time is saved money. Who cares of the toolset, Most programmers forget about the business objectives ultimately. Instagram's backend was originally Django, they managed just fine for a long time. Using C++ is pretty overkill even for a simple API project and potentially a huge waste of developer time, people seem to forget developer time is expensive.
We aren't even thinking along those lines these days.

Some of us are. My side project is in many ways a 3D web; and i know I'm not alone in exploring the domain.
oh no it is! but, its only one letter away from arse.
The correct answer is - it would be prohibitively expensive to get insurance for shoplifting, so shops don't have any. They just take the hit as "shrinkage".
You don't really explain it in your marketing copy, but how do you detect residential proxies?

You say it yourself:

> Residential proxies can be impossible to detect.

The appeal of residential proxies is that the traffic comes from legitimate user networks. So how do you detect malicious usage there?

Moreover, it must be a game of whack-a-mole to keep your lists updated, as these services pop up all the time.
USDC, DAI, EUROC.

Merchants can also accept volatile base tokens like ETH and have it converted through a processor to fiat or stablecoin for income purposes. This gives the consumer the choice to pay with ETH instead of a stablecoin.
OSX >10,15

Might be helpful to mention system requirements, so people don't waste their time downloading!
Thank you for explaining that to me. I suspected it was something else and was trying to find the code that saved state and forked in C++ userland.

I once did cooperative multi-tasking, which I thought this library did as well, in the 1980s in Turbo Pascal under MS-DOS, and wondered how things have changed.
And if retail theft was daily occurrence, how much would you charge as insurer to insure against it? Less than the damages? I think if you started to offer that sort of business there would be lot and lot of takers.
I just rebooted and that first step still took 3.988s

I wonder whether it's something to do with the hardware. The box is a repurposed Dell Wyse thin client.
+1

If anything increasing energy production is the solution to climate change. Abundant clean energy literally enables terraforming. How we terraform will be important, but at a minimum we can terraform the climate into stagnation.
Put all the other factors aside, the author at least ignored quite a few critical variables:

1. Decaying of the panels. I'm wondering if the panels can retain 50% of designed output after 7 years.

2. Maintenance. If the inverter go busted in 7 years, hopefully the warranty would be still valid by then. Also, the extra load panels put on roof was never factored when the house was built, it's not uncommon to see issues caused by that.

3. Variance of feed-in tariff. So if the tariff wasn't locked in, I'm pretty sure there would be surprises on how fast it can drop.
Meta lost $2.8B on its virtual reality ambitions during Q2
Don't mix Unity's implementation, an ageing one, with the language.
To prevent damage from malware running with user privileges. If the user really needs to modify the binaries, they can reach out for sudo or ask the sysadmin. It's such a rare and risky use case that it warrants a barrier normally being in place.
Value types in .NET exist since forever, version 1.0.

Besides the runtime also does C++ since version 1.0, and any language can tap into it.
As slavery is constitutional in USA I wonder if starting some sort of gulags might make sense. Send these people to work there for their sentences. Thus provide value. Minimise the cost of housing in some ways too.
> Are people in Italy prude?

yes, no doubt: very few goes to church, but catholic background is really strong.

I think the Italian youths are most conservative then their parents
There are a couple reasons that compound together.

From the user’s perspective the native version can be faster, smoother, and more reliable than web. Part of the reason for this is that, on iOS at least, the functionality of web apps is deliberately held back by Apple in order to promote the App Store (where they earn a huge commission).

Native app users tend to convert better and spend more than web app users. This seems like a consequence of the previous point, but it’s an important one if you’re the one making business decisions.

You can also gather far more personal information on people with a native app… which is probably why you see all these pointless apps for companies which really have no business making apps. Look at the security analysis of TikTok’s apps for a shocking example of how much private information can be collected.
What would be a good self-hostable solution to replace ES aggregations? I'm also quite fond of Clickhouse which is a lot faster yet, but the sheer number of products which have popped up in the last decade always makes me wonder if there's still faster solutions out there.
Xbox Cloud is quite useable, Dirt 5 for example impressed me in regards to latency but I found it to be too high for Forza Horizon 5 to be enjoyable. I've found RPGs to be a good fit, e.g Dragon Age Inquisition and Yakuza 0.
I delved into the bewildering world of color last Christmas/New Year when developing a new reduce-palette/dither filter for my JS canvas library. The number of different color spaces available, converting between color spaces, calculating color distances - this stuff is mad and frustrating in equal measure!

I built my own solution, then afterwards came across the Color.js repo. I have a strict "no dependencies" rule for my library; discovering Color.js is the closest I've ever come to breaking that rule.
On a MacBook, how do I use only the external screen?
"Hi folks, hope someone can shed some light.
I have a Macbook Air hooked up to a 4K LG monitor through HDMI via a Thunderbolt 3 hub. Everything works fine, but I can't find a way to turn off the Retina Display on the Macbook and just keep the external monitor as the only screen (in Windows/Linux, you can simply press Win/Super+P and cycle through Laptop, External, Mirror, Extend).
Is there something similar for macOS?"
Why was R2 chosen instead of KV db/Durable Objects?
How Eratosthenes Calculated the Earth's Circumference in Ancient Greece
Where the hell do you see XML in java development anymore, let alone in Clojure?
I bought small device off the internet and now I am being jerk with it, look how tech wizard I am.
> And %timeit in the ipython shell is way easier than the black magic involved in profiling and benchmarking java

Unfair criciticm... first, Java has had a REPL for several years and you can time stuff like in Python as easily... second, profiling tools in Java are some of the best available, and are not blackmagic... quite simple to use, just attach them to the running process and hit "profile".

With that said: yes, I've also seen Java programs that run faster than the Rust or C counterpart. I suspect what OP saw falls into this category: a rare example that you take as a rule (maybe I misinterpreted the claim, I admit, but it does sound OP meant his Haskell program and, I assume, others which you write in the same style, cannot be beaten by the equivalent C++).
Sorry I misunderstood what you were after. Yes. It's one of the most annoying features of HN. I have to mentally carry my karma score in my head and then, if I note that it's gone up or down a few points, I know one of my comments has provoked some kind of response and then have to look through my profile > comments to find out which. Not the most user-friendly UX.

Stangely, TheRegister[0] is similarly opaque --it must be a tech site thing!

[0]theregister.co.uk
How do you get 18.6%?
Ok then I think the issue is not so much pre-commit but that python tooling in general should not be written in python. It's a minority opinion but the fact that there is a tooling python and an application python can mess with things as you're experiencing.