skysight-inc/HackerNews huggingface dataset:
This is a spot where the potential for test-induced design damage comes into play.

With bite-size integration tests, I find it's generally not too hard to isolate the cause of a failing test, because the code it's testing tends to be straightforward, and fairly easy to step through, if necessary.

I frequently have a harder time with unit tests. The code ends up involving a lot of extraneous abstractions that I need to think through. The test code is often so heavily mocked that it's hard to distinguish the behavior under test from stuff that's just being mocked or stubbed to get the SUT to run cleanly, meaning I've got to start with trying to figure out whether the bug is in the test or the code being tested.

It gets worse in long-lived code bases, where the unit tests are often subject to significant bit rot on account of how brittle they are. I've definitely had some code archaeology excursions reveal that the reason an entire suite of tests were tautological is because someone was doing a nominally unrelated refactor, and just put in the minimum effort necessary to get the tests to go green again.

You can argue that developers need to be more diligent. Me, though, I figure it's sort of like those lines of bare dirt you see criscrossing the lawns of university campuses: when things get to that point, it's a sign that the official way of getting around isn't appropriate to most people's real needs.
Your testing strategy should be situational.

Unit tests can efficiently handle, for example, libraries, error handling which cannot normally be reached, complex algorithms which are not AI based and require a large number of test cases, fragile pieces code and code patterns, and program design patterns which can be tested using inexpensive common tests. Consider the business value of quick tests in each of these situations. It is high.

While your units have to come together in a way that allows your users to actually use your software, your business logic has to be represented in whole or in part by one or more unit. Testing this logic earlier on in the process and faster than other types of tests is better.
Well that's an other thing, when you look at these solutions from afar you often see the core functionality and think it's not a big deal but the devil is always in the details, the millions of small functionalities hidden everywhere for specific tasks is what makes it very hard to compete. Every company has specificities, they want to interface with $external_software, they want to import $arcane_data_format etc... You start by writing a slim and tidy database engine and the next thing you know you have to implement an MS Excel to protobuf converter.

It's easy to underestimate the complexity of an ERP for even a moderately sized company, let alone one the size of LIDL.
Government debt, much like large corporate debt, almost always takes the form of bond issues. By definition, to raise debt capital via a bond issue someone needs to buy those bonds. Buying bonds is buying debt. Thus, governments cannot raise money through debt issues if people are unwilling to buy the debt.
I think that price is a little inflated. 1200€ a day for a freelancer maybe, but the "normal" consultants will cost no more than 800-900€ a day because of blanket orders, etc.
Advice that boils down to “try harder” typically provides no value. If you want an outcome to change, you have to change an input. Better tooling or better processes may achieve that. Trying harder rarely will, because most people are already trying quite hard to do a good job.
Would you mind expanding on this a bit? It seems HGE makes a call to a webhook for every GraphQL query/mutation [1]? This sounds rather expensive to me. Thanks!

[1] https://docs.hasura.io/1.0/graphql/manual/auth/index.html
Curcumin is one of those compounds that does everything, that's not necessarily a good thing, it is a hit in every assay. When you google compounds and they are antifungal, antidiabetic, antibacterial, anticancer, etc., it isn't a reason to get excited, they have no specificity.

Source: I work in natural products chemistry.

https://en.wikipedia.org/wiki/Pan-assay_interference_compoun...

http://blogs.sciencemag.org/pipeline/archives/2017/01/12/cur...
They disabled the feature. Its still there if you know how to enable it. But that's the point: why disable it, if they're going to include it anyway? Because they made a sexist decision to not market it to that version of the product, for girls.
So cool! Please do reach out to us on discord [1] if you have any questions whatsoever :)

1: https://discord.gg/vBPpJkS
Aigo.AI has spent a few million attempting to build AGI with a GOFAI architecture
Yes, if you change a unit's interface you will have to also change any code relying on said interface. That's a maintenance cost of unit tests.

But it doesn't follow that changing a unit's interface means unit tests suddenly become just a burden. Ideally unit tests are, well, testing a bunch of core functionality of the unit under test. You adapt them to the new interface. Then you're back to having a quick, automatic sanity check you can run against the unit whenever you have to make a change.

I don't understand people bemoaning this 'cost' of unit tests when the benefits they provide typically far outweigh the costs. It's possible broader functional/integration tests have a better ROI in certain situations, but they come with a maintenance cost as well.
I don't understand why these should be mutually exclusive. Starting from a common parseable markup you can have both responsive HTML for browsers and formatted PDF for print. Why don't decouple content from presentation?
I don't think they can maintain 5,000 Model 3's a week pace without improving their process. However, ramping from 5,000 to 10,000 cars per week is simpler than getting to 5,000 per week.

Also, 5,000 is in reference to just Model 3's. "The delivery breakdown for the quarter was 18,440 Model 3’s, 10,930 Model S vehicles, and 11,370 Model X SUVs." https://electrek.co/2018/07/02/tesla-official-model-3-produc... 5,000 Model 3's per week ~= 65,000 per quarter.
Yeah, it's like a trade you refuse to cut in the hope it may turn around some day!
Drawing with CSS in a single div
MIDI has short messages that requires a translator for storing information into the format or an extreme familiarity with the signals and bits. It does not hold quarter notes/beats but rather ppq or parts per quarter note in ticks. It is complex. I cannot write MIDI on pen and paper and understand it later without a very large table of what each byte does. HexNoteG9 requires a much smaller table, and it is human readable, 9-f being notes.

LilyPond as well as ABC notation cannot be stored in an int array, which makes moving things back and forth more difficult.

GUIDO looks cool and looks similar to an earlier format I tried using strings to store data. It looks fully featured, but it is not hex.

MusicXML takes a bunch of time writing tags. If I were to write it out by hand, it would require more tags and more lines than hex.

RTTTL : I'm not sure how to do dotted quarter notes, tied 8th to a dotted triplet. It seems similar to a text2Midi solution I created earlier, except my solution accounts for those edge cases.

I took your suggestion on getting started and put it into a github readme:
https://github.com/fornof/hexNoteG9/blob/master/README.md
> I've taken the train across china from Hangzhou to Beijing and there is no lack of living space, or empty housing from the speculative bubble.

The point of the parent's reference isn't to a lack of actual space, it's to Germany's complaint in the 1930s of not having enough Lebensraum: https://en.wikipedia.org/wiki/Lebensraum

... which was similarly spurious -- the Germans had plenty of room for their population too. Lebensraum wasn't about actual space, it was about imperalism, about the Germans feeling strong enough to grab territory from their neighbors just because they could. One could be forgiven for looking at China's military expansionism in the South China Sea, for instance, and thinking the Chinese polity is feeling the same way.
The predictions were not so bad. At least one of the favourites won in the end. GS had France winning with 11.3% probability, second to Brazil with 18.5%. UBS was less fortunate, they had Germany (24%), Brazil (19.8%), Spain (16.1%) and England (8.5%) before France (7.3%).

I compared the logloss for their predictions with the "uniform" benchmark (giving each team 1/32 probability of winning, 1/16 probability of getting to the finals, etc) and the results are the following (if I transcribed the data properly):

Getting to second round:

GS: 0.495
UBS: 0.495
bench: 0.693

Getting to quarter-finals:

GS: 0.463
UBS: 0.459
bench: 0.562

Getting to semi-finals:

GS: 0.310
UBS: 0.327
bench: 0.377

Getting to final:

GS: 0.231
UBS: 0.269
bench: 0.234

World-cap winner:

GS: 0.097
UBS: 0.113
bench: 0.139

The performance of the models was ok until Croatia got to the finals. This hurt specially UBS, who predicted less than 0.9% probability of such an event (compared to 2.1% in Goldman's model).

Edit: these would have been the "best case" scores (if the high-probabilty teams had classified to each round, ignoring that this may be impossible due to the structure of the tournament):

GS: 0.432	0.302	0.220	0.141	0.079

UBS: 0.365	0.251	0.176	0.111	0.070

UBS could potentially achive lower logloss metrics because it had more extreme predictions.
I saw a rando blog article out there about an old paper studying the components of tumeric. They found it had lots of components each with separate benefits. Unfortunately, the conclusion of the paper was “We should separate all the components so that we can market and sell the same tumeric 10 times!”

Obligatory mention of how piperine (black pepper extract) is necessary for bioavailability.
Could not agree more. In fact, I’d go as far as to say they’re not just the best .gov site out there, but one of the best sites, full stop.

(I know a few people who worked on various parts of it and for what it’s worth: they’re all legit. They care, and they’re good. It should come as no surprise that the site turned out the way it did, if they’re hiring these sorts of people.)
The majority of US debt is held domestically, same with China.
A few uses of Racket: https://github.com/racket/racket/wiki/Friends-of-Racket
Wheelchair: Vote for better politicians who invest in accessible public transportation. E.g. in Switzerland and I suspect most of Skandinavia this is not a big deal.

Rock climbing: That's when you rent a car [1]. Although again, Switzerland's trains, post buses and cablecars bring you there without any big issue, so if there's the political will there's also a way, as long as you don't want to go to a place that's too remote from densely populated areas.

Bleeding dog: Again, rent a car [1].

Windsurfer: You got me there, if you have that hobby you probably best have your own car.

[1] we have a car sharing service here that is ubiquitous and costs you around 40-50 bucks for half a day and 40km or so. Doesn't sound that cheap, but a car costs you at least 400 a month here (cost of ownership). Renting cars once a weekend plus public transport subscription (70-250 dollars depending on your needs) means you never have to care about parking spaces, you can comfortably work on your way to work and you have a car when it's really the most useful method.
What is a high-turnover country?
No. Just fills the screen with a massive scrollable area which is really hard to navigate on mobile (iOS and Chrome on Android).
I have some university degrees in (non-software) engineering. Engineering school is pretty far from a vocational program, but engineering students often mistake it for one. When I was in industry, it was easy to spot the people who'd made that mistake -- they couldn't engineer their way out of a wet paper bag. Engineering is applied science, and if you don't understand the science, you're going to have a heck of a time trying to apply it. The difference between engineers and scientists is that scientists know how to make new science, and engineers know how to make new things using science.
This is what all the China fear mongers don't get. China has in reality zero external debt when you consider their real, income-producing over seas investment. China's extraordinary growth is not being financed by overseas investors. (Just the opposite, China itself is aggressively investing over seas.) All of this is being financed by the Chinese people themselves. No other country in the world had been able to so successfully boot strap their own economy with so little help.
Who said laptop ? You can have a DNS resolver on a server somewhere you own, that way it can remain encrypted on your ISP's network.
I actually used Boost for a project, but I only needed header files for the subset I was using. I made each of these a submodule as in [0] and was able to benefit from Boost without all the pains of linking.

So before deciding you can’t use it, see if there’s a way to make it header-only.

[0]: https://github.com/dnbaker/frp/tree/master/boost
Do you live in California? As a resident of the great state, I do not see our government as dysfunctional. I find it interesting that people who do not live here think that we are somehow doing it wrong. Last time I checked everything was running fairly well and we had a surplus of 9 billion dollars.
So is this just the gratuitous 'Musk has fucked up, better send out some PR pieces'? Because this article is basically just some guy off reddit. How would you feel walking into a showroom asking about how it fairs in crash tests and the salesmen says 'well some guy on reddit said it was fine'?
From the abstract:
"These authors report that infection with a different herpes virus, herpes simplex virus type 1 (HSV1), leads to a similarly increased risk of later developing SD [Senile Dementia]. Further, when the authors looked at patients treated aggressively with antiherpetic medications at the time, the relative risk of SD was reduced by a factor of 10. [...] antiherpetic medication prevented later SD development in 90% of their study group"

So yes.

Source: https://sci-hub.tw/10.3233/jad-180266#
The amyloid beta theory is likely completely wrong. All drug trails so far have failed:

https://www.insidescience.org/news/Alzheimer%27s-Drug-Trials...
Announcing: NATH for Redmine, NLP-Based Tickets Classification
The Reddit thread link https://old.reddit.com/r/teslamotors/comments/8yy3jk/my_wife...

Engadget article is a clumsy rewrite of this with some added padding. I too wonder how this car is on the market without having passed federal safety tests.

IIHS link http://www.iihs.org/iihs/ratings/vehicle/v/tesla/model-3-4-d...
Why Typewriters Continue to Be Relevant in the Indian Judiciary
Deploying a React App on DigitalOcean
Can you elaborate on what constitutes a "cheap taxi ride"? Is this a flat percentage discount off the regular fare? Something else?
How to Create Future-Proof Design System – Case Study
The test environment on a local machine, as the tests are pretty useless if you can't run them. There can be database issues, as you aren't going to connect to the production database for running tests locally.

We have a full continuous integration environment at work, and the tests run there fine, but trying to reproduce that on a local machine is often a fairly difficult experience.

We have maybe 30 components in our system, so often I haven't touched the component before and I am asked to fix a bug in it. Sometimes they are using standard testing libraries, other times there are a lot of extra libraries that I haven't used before. Getting everything to play nicely isn't always trivial.
Yeah, it's pretty much the way it goes in all the New England states I've lived in. Maine is one of the clearest examples, any time there is a big election, check out the map of the results - basically Portland and its metro area votes one way, and the entire rest of the state votes the opposite way. In that case, it's completely impractical for a split to be made, and there's usually not a lot of conflict, except when out-of-state interests start trying to meddle and enact poorly conceived ballot issues.
Still less than Adblock Browser (31 vs 32 permissions)
Any subscription support?
How does a minor marijuana possession even remotely escalate to unlocking your phone?

Especially today, when for many people in America who may not even own laptops, a phone is their own device for managing nearly everything. The 4th amendment should absolutely extend to that device. You're talking about potential banking information, all e-mail, messages, photos, social media; access to nearly everything.
Syntax can also help here. Complex or verbose syntax can make bugs that aren't actually subtle much harder to spot. A readable syntax, API, or even an EDSL can make errors more obvious by making incorrect code _look_ incorrect.

And of course naming things is a huge part of this, not just the raw syntax.
SEEKING WORK | Indiana, USA | Remote

I recently finished a contract position and am on the market looking for more work. I am a web developer with experience in front and back end. I also have quite a bit of experience in the corporate IT world (System Engineer, System Admin)

Technologies: JavaScript, ES6, HTML5, CSS/SASS, NodeJS, Express, PHP, Wordpress, MongoDB, MySQL, AWS, ReactJS, GraphQL, Product Management, SEO, API Integrations

Email: hackernews@plexxstudio.com

Latest project: Custom CRM/Ecommerce Platform in ReactJS/GraphQL (Access can be provided upon request)

LinkedIn: https://www.linkedin.com/in/cory-onay-2894b9103/
Guess next question is: what's the motivation for it? Where do you see use cases for it that currently use ad-hoc formats or badly-fitting ones?
The ban was lifted early this month - Uber and many other ride sharing/taxi companies are now legal
No, really, it was just a PR push.

Simple as that. And his anger shows that he's frustrated for not managing to score goodboi points with the global media and public opinion. If you really only cared about the outcome (saving the kids), you'd be more modest.

But he only cared about his image, hence his frustration and name-calling.
The number of hours I have spent trying to find an alternative note taking system to paper is rather more than I like. Unfortunately search sucks, they tend to get lost and I have horrible handwriting.
I meant that as a hypothetical, as in if the government proves itself untrustworthy (or technically incompetent, as is the case of Australia judging by these comments), you can't legally switch to a new system, whereas you could if it were private.
Back then, they called it a subnotebook, and it was plenty useful offline. My Contura Aero (in 1994-95) had a 486 (SX I think, 25 or 33 MHz), 4 MB of RAM, and a ~170 MB hard drive. The 3.5" floppy drive was indeed connected via PCMCIA. Its primary purpose was taking notes in class and doing homework, but I also did some QBASIC and assembly programming on it.
Here's another one

https://youtu.be/tt7gP_IW-1w

And another that mimics the effect

https://youtu.be/FQlhQ-GrzLk

And another that appears to be a mixture of both

https://youtu.be/b4Bj7Zb-YD4
This reminds me about my apprenticeship, which started near the year 2000. Worked in big swiss retail company (comparable to Lidl, but much lesser in size). They already had SAP R2 and AS400 (IBM?) and wanted to migrated to SAP R3... well they finally did, but it took many (5-6) years and it also cost millions, if I remember correctly 60 millions. The headquarter who consisted of two houses with each 4 floors had at least two of the 8 floors packed with external SAP consultants. In 2005 or 2006 the company had to sell one of its sub companies after the other to get more money and the whole group was finally sold to a German competitor (I think they use also SAP R3 :-) ).
US is exporting $500 billion currency to China;
And China is investing that money back in https://en.wikipedia.org/wiki/United_States_Treasury_securit... resulting in $1,181 billion debt to USA
FYI, they didn't remove the feature. They didn't disable it. Serious question: did you read the article?
If anyone would like to learn more about shenzhen, I have two youtube channels that I like to watch about China. I personally have been to China many times, both rural and modern, and it definitely feels like a different world unlike any other country I've been too

Video sources I like to watch:

Strange parts:

https://www.youtube.com/channel/UCO8DQrSp5yEP937qNqTooOw

Seprenztra (the first western youtuber in china)

https://www.youtube.com/user/serpentza
Hmm now it just takes me to a list of random hacking projects...
What do you do when somebody interupts you on the way back from your interruption? Do you just log it as "interruption"?
collyw is right. “Tests don’t take much time” is bullshit. Testing a feature typically takes as long as writing the feature, whether you pay that cost with unit tests, end-to-end tests, or ad hoc testing. (As hoc actually costs less up front but eventually many times more over the life of the product.)

If you’re very familiar with testing and/or doing TDD, you might include your testing costs in your estimate, but you still have the cost to pay. And if you write good testing up front, it will cost more up front.
The team behind it have done some excellent writeups on the methodology and reasoning behind a lot of the design decisions. I only wish 1/10th of the web was this considerate towards the user.
I remember attending a talk by some of those involved a couple of years ago where they stated that the air cover from the (then) minister responsible - Francis Maude - was what enabled the progress which was made, and that other ministers attempted to frustrate the process throughout.

I don't know if it was recorded or not, but if it was it's an interesting insight into getting things done in the UK government.
I love the typography of iA Writer: https://ia.net/writer
It saves to plain text markdown files, but supports directory-based search etc.
Pretty sure the sales guy would mention, you know... actual crash test results. I agree this might be PR spin but the Tesla (all of them) tests quite well, well enough that they don't need to rely on "some guy on Reddit".

Edit: I realized this is specifically about the Model 3, which doesn't have official data yet. What I said is probably still accurate - what do BMW salespeople say about a new model that doesn't have data in yet? Probably: "Look how safe our other cars are!"
Exactly.

And this is why credit ratings matter. Because for people to buy the bonds the credit rating needs to be high to keep the yield (interest) low.

If a country receives a less-than-stellar credit rating, the only way they can entice people to buy their bonds is by offering higher yield (interest rate) which means they have to pay back more.
Your pricing is off. Check your competition. Your pricing should be in the realm of $5/mo.
Using per person GDP when discussing China is a cruel joke. Like most usages of per person GDP in any country, it glosses over regional disparities and (more importantly) economic equality measures like Gini coefficient.

Taking Gini coefficient into consideration, China still has a long way to go.
That's an interesting option... I'll grab a VM and have a play on that. Thanks
This.

Documents are generally created and laid out for print and email distribution and often have very carefully laid out data tables, charts and page number referencing (as well as less important cosmetic formatting). Simply changing the file format isn't going to solve the accessibility problems and is going to create new formatting/compatibility issues, and and changing the workflow of every member of the civil service to require them to use an accessible HTML generation tool in place of word processors for anything that might be later made public isn't a trivial undertaking either. Said accessible HTML generation tool is probably going to want to change those nice HTML files back to PDF or Word files for restricted email distribution too...