skysight-inc/HackerNews huggingface dataset:
> The only thing you achieve with unit tests is to prove that you are still bug for bug compatible when changing your code.

People love to ignore how fucking awful code is when you aren't forced to write unit tests.

Unit tests before you write code help you code, they provide a tight feedback loop, they force or at least encourage modularity to be testable.

Adding tests to my code after writing it forces me to challenge assumptions and frequently requires refactoring to improve the code along with testability. It also documents my intent better than comments can and often gives consumers valuable example usage code.

Yes it's a trade off and sometimes overkill but that's why 100% coverage is a stupid goal. You should always evaluate RoI of the tests you're writing.

Integration and end to end testing is much the same, they're simply different grain sizes, we need all of them to be effective.

The biggest mistake that happens with testing is assuming it's all about correctness, doing so is why we have 100% coverage people around, they're equating 100% coverage with 100% correct which is just a wrong conclusion.
Leela uses mcts, sf does not. SF also trains on human positions, while I think Leela is self play only.
Excellent information, I never heard this before. Thank you.
"Locating a lone, disillusioned war veteran wandering around post-WWI Europe is perhaps the ultimate needle-in-a-haystack search"

A time traveler shouldn't have a limit on time to search, so this doesn't make sense as an objection to me.
holds true for people, too.
Arendt vs. Strauss on Solitude
I suppose you can interact with stockfish by hand, but it is designed to plug into a chess board app like xboard or others: https://www.gnu.org/software/xboard/
I'm so glad somebody gets it! Sometimes you have to hold onto your ideals of architectural purity in the face of minor performance hiccups.

(This is my project and I'm really happy it made its way on here)
I'd be interested in reading about this some place where you won't be silenced. I'm amazed you can post so many comments without being throttled, like I am. Don't let these scummy sites destroy you.
That's an interesting theory that I hadn't seen before. It would require the horizontal rebar in the pool deck to be strong enough that it could pull over the columns, which contrasts with that rebar also being weak enough to collapse. Likewise, in this scenario, would there still be punch-through columns in the parking deck area, instead of those columns falling over too?

The other question that obviously follows from this is, were those columns to fail, why did the failure of the columns on one edge of the building cause the entire section of building to collapse catastrophically? At 1:08 of the simulation, you can see the rest of the columns are still standing under the building.
250/50 sounds amazing. How much per month does that cost? Is it unlimited or with a data cap?

Are you inner city or right next to a node, if you don’t mind me asking? I’m in a ‘regional centre’ and while ISPs are happy to charge us for 50/20 or 100/20 plans, we just can’t/won’t get those speeds here (even before the pandemic and the work from home shift).

It’s so frustrating trying to help out less tech savvy family and explaining that they’re basically getting the broadband speeds they had before and that’s all they’ll get on this NBN (if they’re lucky), and that paying more than the minimum $70/month for higher speeds is throwing money away.
I was idly curious about the account state, so went digging for visualization tools. Most of them have nice designs and not very much info :) but

- https://mempool.space/address/12PCbUDS4ho7vgSccmixKTHmq9qL2m... shows a presumably-USD$ amount next to each transaction

- https://explorer.bitquery.io/bitcoin/address/12PCbUDS4ho7vgS... (select "Sankey", slide "Detail level" all the way to the right) shows how the money's mostly going elsewhere
Tesla AI chief explains why self-driving cars don’t need Lidar
I have seen some very very bad tests written with mocks. The tests were written in such a way that you couldn't change the underlying implementation without completely rewriting them because they were testing underlying implementation behavior down to ensuring that certain methods were called on certain libraries used by the underlying implementation code. Please don't do this. It is a nightmare to improve the implementation.
The fact that _you_ are "still puzzled" should give you a hint about who is subject to "uncontrolled extreme emotion" in your exchange with Alexandra.
Some journals rules prohibit submitting to arxiv. Researchers still want to submit their research to these journals because they are prestigious. One of the main goals of researchers is prestige (for their work to be widely read, for getting grants, for attracting grad students and post doc laborers, etc.).
I haven't found a good solution to a fallible constructor without exceptions. You might want this if you have a C++ wrapper around a file or some other OS primitive. I would love some allowance for constructors returning std::optional. One problem with this is that child classes' constructors would have to return optional too or else they might throw an exception when they call optional::value.
Although GPON is shared, it is not half duplex! I'm not exactly sure why the asymmetrical version won out, perhaps due to cheaper optics back in the day?

Latest iterations (NG-PON2 and XGS-PON) are 10G symmetrical, and XGS-PON is now cheap enough that GPON doesn't make much sense. AT&T Fiber in the US has been deploying it for the last few years.
Can confirm - some of the poorest palaces where I live had the most fun with fireworks.

It takes a particular cruelty to take the fun away of those that don't have much.
Fascinating read! Well written and super interesting! One additional performance boost to this, now that it is using <canvas> for rendering is OffscreenCanvas[1] although it is not well supported in all browsers yet. It can use feature detection to fallback to main thread canvas renderer.

[1] https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCa...
"Forward error correction" is really just the application of ECC while transmitting data over a lossy link in order to tolerate errors without two-way communication.

The ECC used in memory is likely relatively space inefficient at the benefit of being computationally simple so it can be done quickly in hardware. More redundancy could be added to tolerate more bit flips, but it would either add a lot of memory overhead, or a lot of computational complexity. In particular, something really good like reed solomon would likely be very difficult to encode on every single memory write, at least not without taking a several order of magnitude performance hit. It would likely be easier just to have 2x ECC memory, or 3x non-ECC memory and do majority voting.
Huh? The Logitech 920 has been around for years, and produces a crystal-clear 1080p image in regular office lighting conditions.

Apple uses a lower-quality webcam in laptops because of the thinness of the lid.
Do you have some breakdown of the costs? Because SpaceX can loft them easily enough, and they already have a functional network, and a client base from the former victims/users of viasat at a minimum.

How would terrestrial fiber work in rural america, far north alaska and canada, the sahara, antarctica, siberia, etc?

Once the satellites are aloft, and the customer base established, assuming they get special SpaceX launch rates, what makes the upkeep expensive that would require subsidy?
Schema API to extract structured content from the semantic web
I rather suspect that it’s just experience. It’s an oft quoted fact that to build an iPhone in the United States would cost 10,000 dollars- because the expertise isn’t here, and the infrastructure isn’t here, and we would be just building one instead of a whole bunch of them. There are network effects you get by having an ongoing industry devoted to some task rather than approaching every project as a one-off.

We suck at building railroads because we never do it.

A century ago we were the best at it, because we did it all the time. But the muscle memory you build up by having an industry devoted to doing something is lost in a generation or two, when you stop.
You are right that this is a scenario. I imagine that a permissible solution could be to effectively join the requests together by waiting for the (original) request to be finished.
This is a joke, right? The authors report conducting two "intelligence" tests: "Wordsum task"; and "Raven’s progressive matrices".

The first is a verbal test. Correlation should be expected..

The second is a kind of visual puzzle. Among other things, Wikipedia has this to say about it:

> A 2007 study provided evidence that individuals with Asperger syndrome, a high-functioning autism spectrum disorder, score higher than other individuals on Raven's tests.[10] Another 2007 study provided evidence that individuals with classic autism, a low-functioning autism spectrum disorder, score higher in Raven's tests than in Wechsler tests. In addition, the individuals with classic autism were providing correct answers to the Raven's test in less time than individuals without autism, although erring as often.

https://en.wikipedia.org/wiki/Raven%27s_Progressive_Matrices

Lots of things could correlate with the ability to solve this kind of puzzle.

So it's really odd to use the adjective "honest" in front of the noun "intelligence." I know there's some mumbo jumbo about what the word means in the paper. But seriously, how can you talk about anything correlating with intelligence when the tools your using are so primitive?

What if the "honest" signal of intelligence is the ability to detect bullshit?
Agreed, old news. Also think about apartment buildings with coax https://ieeexplore.ieee.org/document/6083650

"Human intruder detection with Leaky Coaxial cables for wide area surveillance system" 2011

https://en.wikipedia.org/wiki/Time-domain_reflectometer

Paranoid memes below

https://www.youtube.com/watch?v=Kr7AONv3FSg

https://www.youtube.com/watch?v=aPMULk7AhWw
This is an interesting theory... one would wonder, how come it collapsed at the place, where it only held one slab, and not somewhere under more weight... but i'm not a civil engineer, so yeah... time (and analysis) will tell.
There's also Pyxel: https://github.com/kitao/pyxel

Similar, but no paid version at all, and you can write as much Python as you want.
>Division is slow

I wondered if that's really still true, since I haven't done much assembly language programming since PowerPC was new.

Here, it says the M1 has 7-9 cycles latency for division instructions, but throughput of 2 cycles per.

https://dougallj.github.io/applecpu/firestorm-int.html

"The M1 is 10x faster than the Xeon at 64 bit divides. It’s…just wow."

So, given all of the other things that can slow you up, I wonder if it really makes sense to avoid division any more?

(I guess the energy efficient "Icestorm" cores have throughput equal to latency, so it's only the "Firestorm" ones where it's super fast)
Not sure where you're getting your definition of science from, but it doesn't correspond to those from authoritative sources.

Here, for example, is Brittanica's:

> Science, any system of knowledge that is concerned with the physical world and its phenomena and that entails unbiased observations and systematic experimentation. In general, a science involves a pursuit of knowledge covering general truths or the operations of fundamental laws.

> Science can be divided into different branches based on the subject of study. The physical sciences study the inorganic world and comprise the fields of astronomy, physics, chemistry, and the Earth sciences. The biological sciences such as biology and medicine study the organic world of life and its processes. Social sciences like anthropology and economics study the social and cultural aspects of human behaviour.

https://www.britannica.com/science/science

This article has been on the web since 1998. The Encyclopedia from which it is sourced has been publishing in print since 1768. If the entry on Science wasn't in the first edition, it probably wasn't too long before it first appeared.

I encourage you to take your issue up with the editors and authors there.

https://corporate.britannica.com/contact/

Do let us know how you make out!
The best way is to remove police rights on some case and to have multiple social services and not just police.

But the way to sell it? Call those social services police.

"Neighborhood police", "Homeless/mean drug addict police", "road police", "proximity police". They should be able to coordinate (share a police precinct) or even have multiple roles in smaller cities.

35 years ago, my grandmother pushed for highly coordinated social services in our 15k hab town, and coordinate those with the two distinct police force we had in the area (think state level police and local police). The local police accepted, and from what i'm told, there was a decrease in small crimes, more people going to the formation center and more people involved in association, and even more people going to church (disclaimer: i'm not a believer, but i think church as a social mean of emancipation is good), all around the city, and the state-level police commander decided to help after ~5 years to increase the range (ex-farmers, alcoholics were a true danger on the roads). Even drove them to the formation center (my father is really anti-olice and even he told me they were the best cops he ever encountered, i think it is just social determination). Lasted into the 2000s, but the population decline and job going elsewhere were too much.
You need to upload the original tex and somehow it always took some tweaking to get it to compile relative to my local setup. But yes, it’s a low barrier.
Chess engines' stdio is for IPC with graphical front-ends, not interactive REPL use. Stockfish isn't really packaged as a standalone software program.

Here's an immediately usable browser version (supports WebAssembly with SIMD instructions):

https://lichess.org/analysis

If you want to experiment with ./stockfish anyway, the protocol documentation is here:

https://www.shredderchess.com/chess-features/uci-universal-c...

edit: also someone mirrored it here (in a more convenient format)

https://gist.github.com/DOBRO/2592c6dad754ba67e6dcaec8c90165...
Yeah I get that but the what is the upside to winning exactly? You continue doing exactly what you did? It just seems completely irrational
Not your parent post, but I'm on 1000/50, it costs me $140/mo, no data cap. Edit: Inner suburban Melbourne.

I'm with Aussie Broadband, who are more expensive than most.
Ahem! The byproduct of that stuff is

[1] https://duckduckgo.com/?t=ffab&q=oil+sands+sulphur+mountains...

which could be used to induce a little bit of global dimming by spraying it into the upper layers of the atmosphere, doing some geo-engineering.

cough cough

Just sayin'...
OpenPilot isn't actually Open (comma.ai)
From the reply to a GH issue (https://github.com/commaai/openpilot/issues/21480)

"This repo doesn’t have any training code. The training code is not public."
Similar to the Grenfell Tower fire in Uk, where over 70 people burned alive. The residents warned that the building was unsafe, fire inspector warned it was unsafe, yet nothong was done. Now investigation is 4 years in and it has been an endless processions of code violations, cost cutting, lost building plans (the company told the court that intern deleted them) and outright fraud by the company that produced cladding to mark it as firesafe when it wasn't.

This prompted a review of many building across UK, and lo and behold, thousand or so buildings in UK have massive structural and fire safety defficiencies. Remediation works go anywhere from 25%-75% of original property cost.

The best part is, the builders are not on the hook, the building owner is not on the hook, the management company is not liable, but a leaseholder that bought 25% of the apartment is responsible for 100% of the bill to put things right. Those properties are unsellable, and have become a toxic asset.
FortressOne dev here. Noticed quite a few 'TF' bots that I hadn't heard of. Anyone know more about these? Or even just the vanilla bots? Looking for something that can bunny hop mostly.
> As an old person, I like this system. I can't argue against it, it makes a lot of sense to me. Right on.

It makes sense to anyone of any age because the alternative is to dig a hole, dump food into the hole, pay people to stand around and guard the hole, and then, 40 years later, the 60 year old will dig up what their 20 year old saved and eat it.

For each individual, there is am illusion that you can "save" wealth which you consume in your old age. But for society as a whole, it is only possible to transfer wealth from one generation to the next. Except when the individual is "saving" he is buying from someone else who sold, and when the individual sells his assets to consume, he is selling to someone younger. If you close your eyes and don't think about the other person on the side of the trade, you can pretend that you, as an individual, have stored wealth somewhere. But for the society as a whole, it is always transfers that are taking place, so neither the 20 year old nor the 40 year has any choice -- this is the only game in town. The only question is whether these transfers be centralized or distributed, or whether they be administered by governments or private entities. But neither the shift from centralized transfers to distributed transfers nor the shift from government to private is going to make this system any less dependent on promises and transfers. It's promises and transfers simply due the lack of an efficient consumption storage technology.
Question: this says a duplicate request MUST respond with the previous result on retry. Doesn’t this run the risk of returning bad data to the client in the event that the API result includes the “current state” of some resource? And by that I mean if I call this API to make a change and get back the current state of the resource, and I retry my request after some other change has occurred, since this must return the previous result it’s going to return something other than the current resource state.

Having said that, it’s not actually even clear if this is what it mandates, or if it really just means it must return the same HTTP status code as the original request. It says

> The resource server MUST respond with the result of the previously completed operation, success or an error.

It’s that “success or an error” bit. That could be read to mean “if the original result was success, the new one is success, otherwise the new one is the same error as the original”. But if you ignore that bit then the obvious interpretation of the sentence is the entire result payload must be the same. Though storing the data necessary to return the original payload could be prohibitively expensive if the payload includes some large regularly-modified resource.

I also wonder why this mandates returning the same error if the original request failed. If it failed with a transient error, why not allow the retry to attempt the request again? It would make sense if the draft said it MAY do this, but requiring it to preserve and return transient errors does not seem helpful.

And now that I’m on a roll, I also wonder about scenarios where the retry should error, such as authentication issues, but the original succeeded. If I send a request that succeeds, then my auth token gets invalidated, when I retry that request should it succeed again because of idempotency, or should it fail because of an auth error? I can see arguments both ways (it should succeed so the client knows its previous attempt worked, or it should fail because otherwise the client thinks it’s auth is valid).

And finally, I feel like a retried request that had previously been fully processed by the server should include a new response header indicating whether this is a cached response. This would help the client to make more intelligent decisions about the response (i.e. whether to believe it represents current state, or whether it may be outdated). I’m tempted to say it should include the Date value that was returned in the original response in this new header, so the client can see not only that it was a cached response but also how old it is.
but.. they're using a pretty big neural net themselves (NNEU) as far as I can tell? With datasets of hundreds of Gigs.
Doesn't this remove the significance of the matchup, that was supposed to be about Deep Learning vs more traditional chess bot methods?

Claiming that something that uses a neural net trained on hundreds of gigs of data isn't deep learning .. I mean it's possible, I don't know the details.

What is it about now, open vs closed source? Different methods of deep learning and big data fighting? (Both of these are also interesting ofc)
No. This is an example of “have your cake and eat it too”.

Scientists want to publicize in a prestigious journal. Elsevier is prestigious. Elsevier charges a subscription fee. Other scientists can’t access it.

So what scientists want is to be able to publish in the most prestigious journals and have free access to them.

It’s like if I said “i want to be able to attend the most prestigious school but I don’t want to pay for it”.
Also worth noting that Dijkstra did not write the title for that letter, CACM editor Niklaus Wirth did.
Nice snark, I guess, but it totally misses the point, which is that if the narrative is right, you can't trust those statistics. So trying to use the statistics to disprove the narrative is completely not going to work. You need to have objectively verifiable statistics in order to disprove the narrative (or at least something better than "reported to police").
That seems like the obvious behavior, but this draft says the server MUST return a conflict error, which means this behavior is not permissible.
If you read HN regularly you also know the app store has a huge share of scam apps that Apple has been made aware of multiple times and that perfectly legitimate apps gets removed for strange and suspect reasons (like because Apple is making a competing app for example).

Earth's population shouldn't be forced to do something for your sake. If you have a problem like what you mention with your job, solving it for yourself is much better than wanting to force something on everyone. It's very egotistical to even think that another person shouldn't be able to sideload apps because you have a shitty boss or job.
You might be Interested in re reading about the 2018 congressional report on costs. There are a few HN articles on the topic. Here is an article to get started.

https://www.google.com/amp/s/nymag.com/intelligencer/amp/201...
“Didnt contribute anything but prestige”? If that’s such a minor contribution, then instead of publishing with a journal you hate, publish with an open source journal? Put your money where your mouth is.