skysight-inc/HackerNews huggingface dataset:
For me Dart comes very close to the perfect set of features and the overall feel of the language. I just wish it was more low-level, with pointers and native code rather than VM.
Clean Code: The Next Chapter
I've always found it easier to write the skeleton of a module first (or an interface, depending on the language), and then write the tests to cover the main functionality, then the tests for the edge cases, and then finish the implementation.

I usually finish by checking the test coverage and trying to make it reach 100% branch coverage if I have the time. The coverage part is important because it usually makes me realize things could be made simpler, with fever if/else cases.

I could never get used to writing only the tests first simply because all the compilation errors get in the way (because the module doesn't exist yet).
Ah, the old endemic versus non-endemic debate. Increasingly, you're right, but some brands really like the prestige of having their ads appear with content related to their topic.
There's nothing inherently slow about selection on psychological traits. To give just one striking example, there is extremely rapid selection against intelligence in advanced societies going on right now, at a rate of about 0.25-0.3 standard deviations per century.

US: https://www.pnas.org/content/suppl/2016/05/25/1523592113.DCS... (Table S11)

Taiwan: https://www.sciencedirect.com/science/article/abs/pii/S01602...

Iceland: https://www.dropbox.com/s/9vq5t6urtu930xe/2017-kong.pdf
Maybe a soft one-inch foam canopy secured closely to the vehicle so wind can't catch it, with couple straps under the vehicle chassis? Could that work? Could it be put in place in time?

Alright, that's not really a canopy, more like a shield or body armor.

</edited>
I’ve actually found it helpful to start by writing tests, and then in the actual code, documentation (just about what the code does or should do), especially when I’m not entirely sure how to solve a given problem.

But for code that’s trivial to implement, it seems unnecessary...
With appropriate organization and accounting, there's no reason malfunctioning units couldn't be repaired or reprocessed. It seems like that would be a sensible regulation for companies building self replicating machines.
Come on, if I defined f(x)=x^2, and later used f(y) for y=x/2 or something, do you have problem with that?
I hope very much you're right, and that as medicine gets cheaper we get more of it.
Section 2.3.4 DDoS Defenses in the book https://www.scion-architecture.net/pdf/SCION-book.pdf talks a bit about their DDos defense.

The next section "2.4.1 High-Availability Communication": In addition, the SIBRA extension, as described in Chapter 11, offers an extended level of availability through a concept we call DILL, which stands for dynamic inter-domain leased line. DILLs provide a lower bound on the guaranteed bandwidth at inter-domain scale, regardless of the bandwidth requirements of other ASes.

Also on the account of who is running it, the book and FAQ mentions 2 large Switzerland ISPs. Also appears some universities there are using it as well: https://dig.watch/resources/launch-scion-pilot-server.
Management Levers: An Engaging Engagement Model
> The most prominent example is when the Amazon had to learn the hard way after poorly-paid temporary workers and poor working conditions resulted in the labour union being called in as well as widespread condemnation of the company.

> In 2006, the US retail giant Walmart had to pull out of Germany because it failed to recognize regulations around labour groups, working on Sundays, holiday entitlements, and sick leave.

I'm not sure how these examples can be used as a black mark against Tesla, only if they choose to fail to learn from this history.

Tesla might end up failing to heed that historical past, or instead it could just as easily end up adding it's name to the Audi, BMW, Mercedes and VW car making history of that country. Only time will tell.

While Elon Musk does seem to be turned out to be a bit of a live wire, I also think to date he has proved most of his critics wrong.
Where is he wrong though? Self-driving trucks WILL be terrible for millions of truck drivers. Self serve fast food kiosks? Self checkout? Automation isn't coming, it's HERE, that's his point. Freedom dividend won't be a handout for the lazy paid for by the working, it's paid for by these robots putting those people out of work
TDD hardens interfaces (tests rely on an interface, and must be changed if the interface evolves). If they are already set, this is OK.
I can't get behind this.

End to end tests are indeed important.

But let's say you have an end to end test that covers A, B, C, D, E, and F.

One day this test stops working. Well, what's the culprit? A? B? C? D? E? F? If you had more granular tests in addition to the end-to-end tests, you'd know.

Now, I agree there's a possible downside here. Maybe there comes a time when C and D are no longer being used. It might not be obvious and C and D could linger in the code base, with corresponding dead weight in the test suite. This is not ideal. However, I would rather have this than a tough-to-debug test failure.
Suddenly I feel very lonely for the fact I do actually clean the kitchen during and right after cooking...
I’ve bought other Pine64 products before (ARM SoCs) and they were high quality and well supported. I don’t expect my recommendation to mean much, but for $150 I’ll be taking a punt on this phone too. Even if it ends up as a brick I’d be happy knowing I’d supported Pine64’s efforts to make commodity hardware like this succeed.

If anyone has experience otherwise I’d be interested to hear.
It has a Quectel EG-25G according to the specs, which is even a Verizon approved module.

Librem 5 didn't go with a smartphone SoC either. My presumption is that you can't get as open a platform as they wanted to go with the traditional ones?
Yeah... DRY is probably the most over-used principle (likely bc it's so easy to identify). I like "AHA" (Avoid Hasty Abstractions) as a counter-balance.
dd-wrt is willing to include closed binaries from router MFGs so they tend to support a larger list of hardware than OpenWRT and on certain models have far better performance. OpenWRT has a massive community supporting it so, in general I'd say they're progressing faster/adding more features.

If you have the luxury of buying new hardware, I would go the OpenWRT route but just make sure you read EVERYTHING on the hardware support page before pulling the trigger. If you're trying to convert an existing router, definitely do research on both, there are advantages to each. Personally if I had a router supported fully by both, I'd go OpenWRT at this point.
Rust eases newcomers into the language a lot more than C++ does. As there are plenty of novices learning C++ as their first(!) programming language, I'm not sure why newcomers would be expected to have more of an issue with Rust
I was actually thinking about the lack of SQL alternatives using the postgres engine; for example, why is datalog not simply available as an extension? Or MySQL syntax? PG implements a wide array of alternatives to PL/pgSQL (including standard programming languages eg python), but for whatever reason these SQL-alts never seem to consider being layered on top of the postgres engine.

However, the lack of GUI frontends is also really weird. I don't see why it'd be harder to support than any other DB, and afaik pg has gotten fairly popular..
Ruby hits that sweet spot for me. Have you seen Crystal? Ruby, but native. Amazing stuff.
Perhaps I should rephrase. If you're trying to effectively unit test a project, when do you decide you've tested enough? And are there any metrics which help support that?

Coverage for example is a weak signal that you've at least run some fraction of your codebase at test time.
same with their phones.
If you know walk out of a mac store with a new laptop and a phone you can't charge the phone from the laptop...
Making experiments opt-in seems like a good first step, no? As it is, there wasn’t even a clear opt-OUT.
I had this issue with a different client about 6 months ago. I understand there are 'coding styles' that some companies stick with, and I'm not strictly opposed to them. I do bristle when I'm presented with the 'one true way' from devs who spend all their time on one project, or one tech stack, or one company. I jump around a lot, and multiple companies have "the one true way", and the conflict. Processes around commits, flow, commenting, etc - these vary more than some people would care to admit.

In response to that, I've started to care and focus more on tests and sample data to illustrate the core issues, changes and value for an issue. You want to change the code from 4 lines in to 1 4-line chained fluent interface to match other bits of the code, or to try out your new builder syntax? I really really have grown to not care too much - as long as I have some tests to demonstrate when something stopped working (or when our understanding of the project changed).
I suppose you can ignore the letters, if having your bank account suspended for some weeks doesn't cause major business risks to you. The downside with box ticking exercises is that eventually, someone may calculate the ticks, and his/her guidelines will say that this account belongs to a risky category.
I agree with your fundamentals. But I don't believe Oyo's execution is right. Nor do I agree with this statement:

> It's a worthwhile bet given the Indian consumers purchasing power/quality expectations are on the rise.

India's income and consumption growth have been slower than expected. A recent report even found that rural consumption in India fell compared to 2011-12, and urban consumption increased by a paltry 4%.

In the last two decades, everyone has been building businesses in India with the assumption that India will continue growing at "China pace". Real estate prices are the best example.

But as everyone is also beginning to find out, the money simply isn't there. At least not for now.

Oyo might be a decade too early. This business needs to be built, but not now
What 15 CEOs Learned Building Top Agencies
Nope. We are judged by our individual performance by how many points (tasks) we complete. Since this has been a metric, unit testing is always an afterthought. During code checks / reviews, some developers will ask others to add unit tests, which will be hastily written.
Even more frustrating would be:

Multiple Choice: If you choose an answer to this question at random, what is the chance you will be correct?
A) 20%
B) 40%
C) 60%
D) 20%
E) None of the above
No. Doesn't agree with exploration.

I once had a job that didn't require any. I was given a specification and my job was to write some DSL-code of it. This would have been an excellent setup to practice TDD! Unfortunately, I wrote a script that basically translates the specification from word documents into DSL snippets and quit soon after.
Standard VNC is enough. If you want other fancy features too (power control, remote media mounting, re-configuration), use Intel Manageability Commander (free): https://downloadcenter.intel.com/download/27807/Intel-Manage...
Just armchair engineering here:

It wouldn't be hard to make some thick foam mats with straps sewn to them that can be rolled out and fastened to cars in under a minute each. Maybe toss in a couple plastic strips to make it unroll itself like the reverse of a slap koozie. Weather forecasting is pretty good. It's not like you don't have decent warning. You can cover everything out back and leave the cars that are on display out front uncovered until the last minute.

Tossing a mat over a high roof van or large pickup wouldn't be easy but the hordes of crossovers could be well protected.
My assumption is this creates a boundary in which the phone manufacturers can physically sever, as both have physical hardware switches for camera, Wifi/Bluetooth, Cell, Mic. Additionally, I have seen the SoCs with integrated modems require proprietary blobs in order to even boot.

I am getting a "Birch" Librem 5 and I just ordered a Pinephone, so I am curious to see how they compare to my Google Pixel 3a. I really hope one or both can be a daily driver.
I had a manager argue over the cost of a training class once. They'd moved me to a new team with unfamiliar tech and I wanted to bone up on some concepts before getting started.

It was an $11 online class on Udemy.

(Well, technically it was a "$199" class, conveniently discounted to $11. You know how Udemy rolls.)

Generally, I'd say nobody's that petty. A manager would typically only be that petty if trying to get somebody to leave. However... this guy was not very good at his job.

I don't think he was literally upset over $11, and clearly our relationship was on the rocks at the point, but I'm not sure what his exact problem was. May have been me on a personal level. May have been the fact that I wanted to spend a working day uh, learning to do my job better. Perhaps he didn't feel anything on Udemy could be worthwhile. Perhaps it was just his fragile yet rampant ego. Could have been any of those things or all of those things. Nonetheless, it's hilarious that an $11 class was where he attempted to draw some sort of line.
Harry Styles – Lights Up (New Version)
So you think an attack would have been the right thing to do?

Edit: To be fair, in the event of an Able Archer '83 war we might have all have have wished that such an attack had happened (not me though, I'd be dead). So its not impossible to construct a timeline where it was the right thing to do. I'm just curious whether if you had been a decision maker back then whether you would actually choose to do that.
AKA SRO, single room occupancy.

Funny companies wrap $#i+ in tech and call it the Next Big Thing—-Taxi hacks become Uber. Subletting becomes AirBNB—like, who knew being poor and having a lousy job and strangers in your house could be so hip. /rant

Disclosure. I’ve live in several SROs and they’re sad.
What made the school great? Was it brilliant teachers, or some replicable system?

I have a theory that maths being taught as a skill, instead of an intuitive system, derivable from axioms as with Euclid may a cause.
“we seem to be talking about "Scientific Computing Workflow" or some sort of data pipeline”

So, more along the lines of https://en.wikipedia.org/wiki/Dataflow_programming. A good problem space to bring declarative/functional/logic/concatenative concepts and tools, IMO, as opposed to the ubiquitous “hit it with a rock” of the usual C* suspects. Be great to see real progress here, but my bullshit detector is immediately dialed to MAX.

The great problem with “workflow systems” is that they very easily disappear up their own ass: “Potemkin solutions” that solve every problem except the customer’s own. (See: https://thedailywtf.com/articles/The_Inner-Platform_Effect). “Enterprise workflows” in particular I think are just a way for indolent code monkeys to shirk learning how the business works for themselves. Looks all very impressive without ever solving shit.

..

FWIW I do think Alan Kay was onto something with his Nile strategy (https://news.ycombinator.com/item?id=10535364). Pity there wasn’t followthrough (bit of a mayfly, Kay). Ditto Iverson and APL, although APL’s sidelining was more down to a nascent Programming Profession redefining Programming™ to be what they do for users rather than what users (mathematicians in this case) do for themselves.
Public schools--even "nice" ones--are an ideological battleground and/or laboratory, where your kids get caught in the cross-fire and/or experimented on.
Unfortunately, this doesn’t lorem ipsum code comments.

I also wonder how large such an obfuscated code fragment would need to be to be able to find back the original code on GitHub/GitLab.
Amazon held a gun to your head and forced you to work there.
Here’s a case for 80rule: our vision is (mostly) two dimensional, research shows reading comprehension drops as lines get longer, that’s why books and newspapers mostly have fairly narrow columns, comprehending code is less about reading but more about scanning and picking up context for things, much easier to do when perimeter is minimized.

Lots of gut instinct here, not enough citations, maybe one day I’ll compile a more substantiated post about this.
In the bug thread, multiple orgs stated they tried to downgrade to the last version and encountered the exact same problem. This alone is going to leave orgs circumspect about their security and Chrome’s reliability, at the very least.
I've seen this with people I've worked with that came from those environments. Usually it's a balance between knowing how the current implementation fails is better than not knowing when the new one will.
Wake up, check HN, see a lively argument about whether something that can't happen has a 0% probability of happening or not.

Maybe I'll go for a walk.
Oh but maybe he did. It's just that you're looking at the compiled version.
If you enjoy this kind of puzzle, look up the famous SRAT - self-referential aptitude test.
>>>Women most certainly don't resist male contraception. On the contrary, women are usually the ones who have to keep reminding men to do it, or to use more reliable methods.

I should have clarified, I wasn't referring to condoms but to pill-style oral contraceptives. Entirely my fault for the lack of specificity.[1][2]

>>>I'd say that women have embraced sex robots a long time ago.

Not as a replacement for THEMSELVES. [3][4][5]

[1]https://www.dailymail.co.uk/femail/article-1251868/Of-course...

[2]https://www.independent.co.uk/voices/the-male-pill-contracep...

[3]https://www.dailymail.co.uk/news/article-6730555/Swedish-fem...

[4]https://www.theguardian.com/commentisfree/2017/sep/25/ban-se...

[5]https://www.feministcurrent.com/2017/04/27/sex-robots-epitom...
I got as far as your first sentence - "what is the question".

I can't work out what the question is asking, so I don't know how to work out what answers are correct/incorrect.
Ask HN: How do you “un-Google” your digital source of truth?
(Sorry if the title doesn't make sense, I'm struggling to put a word to the important place that a Gmail account has in most peoples' lives)

After seeing some harrowing stories of people having their google accounts banned, I'm increasingly concerned about how important my Gmail account is in my life.

Essentially everything digital I have is tied to my Gmail account. Many services even use two-factor auth tied to email, so were I to be locked out, I would be locked out of all of these services.

So it got me thinking about what the safest "source of truth" would be if I were to switch away from Google. Privacy is nice but more important is reliability since losing that loses everything.

In the ideal world, self-hosting your email would be a good option, but you risk reliability there.

It seems to me that the best solution is to use a personal domain rather than an @gmail.com account since if you get google-banned for whatever reason you can just point your DNS at another service.

Not completely without risk, it's easy to accidentally uncheck the auto-renew button with your domain provider. But you do have the option to add many years at a time, so it is easy to deal with that.
Of course, a uniform distribution is implied. The fact that you choose to misunderstand this on purpose, doesn't make you smart or right. It makes you a pedant who is still wrong.
I don't think people are arguing Gates didn't do anything to warrant his success, but they are saying that if he hadn't been afforded early opportunities significantly more advanced than perhaps 99% of other high schoolers in the US, or 99.999% of other high schoolers in the world (and I don't think that's an exaggeration - seriously, search for articles about how his HS computer system was networked in with U of Washington ... in the early 70s), that he wouldn't have been nearly as successful.
I see this over and over also in organizations I work in and even have to fight it in my own behavior..

If you run an end to end test automation and it fails and then you are afraid or otherwise hesitant of doing the process manually you are out of touch with the system and probably missing the forest for the trees when you work on subsystems.

While I would like to have better end-to-end tests, I know that I will have to fight more problems of getting too far away from how the system works.
Amusingly Chromium shows up in my list of things to disable in the Google security checks results.
I mean I would "like" too, however, working in a startup there are some limitations. Our primary focus is building software that will improve metrics for our business, often time that software will only last a few months or so. As a result, it's just too costly for us to write tests for code that will only last a couple months most likely. Again, we would like to, and there are certainly some parts (small-parts) that have lasted for more than a few months and those don't have tests either, in that case, we "just never got around to it".
No, you'd have to be logged in with the CLI as a heroku user that has privileges to said database.
Key words: AMT, vPro. You should have compatible CPU and board. Remote KVM is provided via VNC protocol, so any VNC viewer should work. You need to open web interface and proceed from there.

Basically it's a business feature and usually not available on consumer laptops.
4 Essential Members of a Design Team
Understanding what you should (and should not) be building
You are right, but technically speaking you already did implementation for POC without having the tests. So the full answer is "do POC without tests first, continue implementation with tests first".
Better to check rules for your specific country, but usually you have to pay VAT tax (about 20%) plus customs fees. This page provides some info: https://ec.europa.eu/taxation_customs/individuals/buying-goo... - but I'd start with asking locals and then google for "${country_name} vat".
Show HN: What Animal Am I? – An Alexa Guessing Game for Speech Development
https://www.amazon.co.uk/dp/B081GV8Y7V/

Let us know what you think, my wife is a Speech therapist so we wrote a fun skill for improving communication in children.
I'm a python developer so was fun to work on this as a side project. Also happy to answer any questions anyone has about developing skills for Alexa.
link to that screenshot please ..
'A long sequence of code that flows in one direction'. I guess I agree in that case but how often does that happen? Generally a 100 line method will have loops, ifs and be quite deeply nested. In that case it should be split. The most important benefit is that you get to give the smaller blocks a, hopefully, descriptive name. That way it becomes much easier to follow what is happening.
Reminds me of something similar that happened to me once a long time ago.

I hacked into a server. I wanted to take a copy of everything so I made a tar of / to wget it to computer later. Only that the disk was at >50% usage so I filled it by making the tar file. Everything stopped to work with 0 bytes left of disk space (I wasn't root) so I kinda bricked the machine. I had to walk away in shame.
The incidence is negligible. It's juts a unnecessary concern to sell books. It's also fancy to blame new technologies, like the clouds. I'm betting dollars to droughts that he didn't include the energy to spin the LP/CD/cassettes.