skysight-inc/HackerNews huggingface dataset:
The “elite” people in this story aren’t relaxing more, they have their shit together and plan. They report that they work the same but probably actually work more because they are dedicating blocks of time.

Working smart, hard is how you get value from hard work. Good luck and timing manner, but fortune favors the bold.
I think it’s OpnSense or PFSense but requires hardware that it can run on. Not consumer grade firewalls.

The days of a $50 router in the home having great software seem to be over.
How does one verify if the output is correct?
> It works better on layered architectures, when you can easily just test the business logic independently of the framework/glue code. It has failed me for exploratory work, that's the one scenario where I just prefer to write code and manually test it, since I don't know what I want it to do...yet

Totally with you on this, when I am clueless about the what/how, I throw a bit of exploratory code and test it manually or semi-automated fashion. But once the learning has happened I will use the acquired knowledge to feed a proper TDD cycle to do it properly now that I know a little better.
I’ve always been highly skeptical of this approach. Often what you’re doing is so clear cut that tests are entirely unneeded. In fact, outside of the most complicated cases, I don’t even use unit tests. I have black box testing that I use to check for regression. My biggest reasoning for this is that test code is effectively another code base to maintain, and as soon as you start changing something it’s legacy code to maintain.

All that being said, I haven’t spent much time on teams with a particularly large group of people working in one project. I think the most has been 4 in one service. The more people working in a code base, the more utility you get from TDD, I believe. It’s just tough to have a solid grasp on everything when it changes rapidly.
No, I consider my tests to be as much part of my code as my code itself, so I write them together.
There's even a fancy umbrella term:

https://en.m.wikipedia.org/wiki/Metasyntactic_variable
Here's another list of factorial implementations in Haskell, which I think does say something about the language and its mindset. Be sure to scroll to the end: https://www.willamette.edu/~fruehr/haskell/evolution.html

Here's another illustration. Since values in Haskell are immutable, implementing something like foo.bar.baz+=1 becomes a bit clunky, so they wrote a library to make it easier. Check it out, especially the diagram that says "simplified": http://hackage.haskell.org/package/lens

So I agree with the article that Haskell can be dauntingly abstract. (Though you can write code that's perfectly straightforward if you want.)
Seems in bounds for a thread about moderation.
The factorial section he should have, yes, just left out because it makes no sense as an argument.

The first two bullet points may have some truth to them, the rest seem like a result of using google search to find the "cons".
Would this opinion change if scientists were able to prove the multiverse theory where there are infinite numbers of "us" living concurrent lives as well?
The application i am working on right now has a 766-line setup method written like this. Each block corresponds to the setup of one component. If there is something from that block that needs to be reused (typically, the channels that the component published data to), it is declared immediately above the block.

Many small bits of logic are broken out into their own methods (checking if today is a public holiday, configuring the HTTP server, configuring the KV store client, etc), but the setup of the domain logic components is all in one method.

There's no way to split the setup of the components into methods without either introducing a comparable volume of boilerplate, or having to write some kind of framework to make it easier. Neither would be a win.

A caveat: this codebase uses a language which doesn't have out parameters or multiple-value returns. If it could use those, the boilerplate involved in breaking up the setup method would be considerably smaller. But still probably not worth it.
> FaceId is great, but you HAVE to swipe up after you unlock.

No you just swipe up. You don’t unlock and then do something, you just do. That’s the whole point. When I pick up my iPhone I just swipe up. The unlocking of the phone is something that just happens to happen. You don’t pick up the phone “wait” for it to unlock, and then swipe to the home screen. That defeats the whole purpose.
Face Recognition with FaceNet and MTCNN
I believe you're asking how to best promote this specific content?

It depends on who your target audience is: yourself, strangers, coworkers, or friends?

If you want others to follow this advice, do those same people use HN?
If not, what approach will help them see this?

Do you want to save it, and your thoughts on the article for later review? I do this publicly to wrap my head around the problem so I can try to get others to pick apart my mistakes (though perhaps to not great effect due to echo chambers).

To your specific post for this thread: does the article pose a question or an answer?
I believing that is trying to answer a question.

To the boring meta part:
It's my common approach to upvote without replying (sometimes I write the post add discard it).
I'm not 100% clear on the HN culture and focus my replies to further the discussion (this being a meta post feels weird).

Both comments, and upvotes keep a that "alive", having read a few articles due to the sheer number of responses, I believe higher vested effort increases likelihood of others investing time (this is true but only of posts, but work in general).

Onto other articles: I like discussing the topics with data behind them. IBMs Mac rollout is interesting, but I'm wondering (given the source) if it's a PR piece.

To the target audience: It depends on if it's me as a recipient for practicing or me as a vehicle for spreading more humility when working with others (strangers on the internet).

In this case: I'm going to try to remember and reference this article. I don't want to share it yet as I haven't practiced it. (with this post being more a response to your question than the article)

Perhaps the best way to promote this post is living it with intent and sharing it when others ask how you deal with the problem (hopefully doing so well), thus directly answering your question: Upvote and thank you for posting so I could think about this more :)
Son of Assange’s judge linked to anti-data leak co created by UK intelligence
I don't like having to continually scan different blocks of code to see what changed, and try to make sense of how the changes fit in the bigger picture.

Indeed.

Visual diff tools were invented for a reason, and using a side-by-side layout with some sort of colour coding and some attempt to align equivalent code is now close to universal. No-one would suggest doing code reviews by printing out the last two versions of a source file and comparing them on paper any more.

In presenting tutorial material like this, IME the two most effective formats have been either something like that side-by-side diff, often with some extra annotations like chunky labelled arrows to highlight the specific areas or changes of interest, or something like the style here, with the changes at each step being highlighted and/or animated so it's easy to follow along. Both of these work for code but also other illustrations.
Buy Adderall, Hydrocodone, Dextroamphetamine, Oxycodone,Cbd Oil, +1864-513-2442
Our online pharmacy is a reliable vendor of Adderall ,Dextroapmhetamine, Dexedrine, Ritalin, Desoxyn and other Add/ADHD products quality is outstanding .
We ship to all locations payment and shipping are all secured .
Other products are available besides ADHD products and quality is outstanding .
To visit our web page go to www.trustedmedsshop.com
Our contact is +1864-513-2442 calls, texts, whatsapp accepted.
Lorem Ipsum but for javascript
> I don't really see what this front-end brings to YouTube compared to the original front-end.

Well I don't want my Google account to be associated with the videos I watch. Nor do I want to be automatically signed into YouTube if I login to my Google account and watch a YouTube video.

As long it plays YouTube videos and it removes Google's tracking, then that is enough for me, UX changes is a bonus.
Breaking down cognitive score with JavaScript
He went to one of the most elite high schools in the country, and in fact his cofounder went there too.
This is a big topic, and you're asking some good questions. Rather than tackle it all, I can recommend expanding your questions with the following.

When someone tells you they don't write tests first, ask them how they refactor. How do they know the changes they made didn't break anything?

You can fool yourself with test-first, but it's quite difficult to do if you're rigorously following the practice. First write a failing test. Next, write only enough production code to fix the failing test. Optionally refactor. Rinse and repeat.

Code created this way can prove that every line of production code resulted from a failing test. Nothing is untested, by definition. The code may be incomplete due to cases not considered, but everything present has been tested. Note that it's possible to break this guarantee by writing production code unnecessary to get the test to pass.
Taylor Swift provoked fans to go after Scooter Braun and now he’s being doxxed
Both field name overloading and deep updates have been problems and are worked on as we speak: https://github.com/ghc-proposals/ghc-proposals/pull/282. And yes, that is what the lens library has been solving till now.
What is the letter? Sounds interesting.
Sure, one way is government price control, the other isn’t.
China's voluntary organ donation data perfectly fit quadratic equation
In my day job as an FPGA developer I am using totally open source tools for simulation and verification (the only tool we pay for is Vivado but you have to pay for that in order to build for the FPGA). The simulator is icarus verilog and does the job pretty well. I use cocotb for simulation.
It has a removable battery, storage "expension", and a headphone jack! To me, that puts it ahead of the majority of smartphones today...

I have a several-year-old generic Chinese smartphone with very similar specs, although it's a Mediatek 32-bit SoC which has a built-in modem for all the communications (GSM/GPS/WiFi/BT/FM combo chip). The Allwinner A64 is not a smartphone SoC so I wonder what the battery life will be like, and what it will actually have for a modem.
The trick is tempering those values of continuing to make money vs chasing down growth and new sales. With agile you’re always focused on short term. The next few sprints.
Yes, "Workflow" has to be one of the most abused word in the industry.

People seem to use workflow for all of these things:

#1 Business process modeling and automating platforms - Camunda, BPMN, jBPM etc.

#2 Assembling together software functions (also called tasks, sometimes) for getting an output data - Airflow, Cadence, CWL is related too.

#3 Moving one entity (bug, document, deal) through different stages of a state machine, until the entity reaches an end state - Sharepoint workflow, Zoho Orchestly, Comala workflows

#4 Orchestrating several apps together for automating something, usually as reactions for events - Zapier

When developers talk about workflows, it's mostly about #2. When business people talk about workflows it's mostly about #1.
When managers/leads of a team talk about workflows it's mostly about #3.

We should accept that Workflow as a word is too ambiguous, and come up with what kind of workflow category the tool belongs to, before branding it as an "one stop solution for all things workflow".
I fall under the category of, if I'm getting paid to do it then it's up to the client and in that case most want things done fast and cheap so testing isn't going to get done. when i'm doing open source stuff, that's for me and others to benefit and learn from, so i test EVERYTHING i can so i learn.
So you're saying backwards-compatibility is awesome. I agree.
German work culture could cause trouble for Tesla's new Berlin factory
In new code, I'll usually write high level black box tests once enough code is in place to start doing something useful. I rarely write unit tests except for behavior that is prone to be badly implemented/refactored, or for stuff that's pretty well isolated and that I know I won't touch for a while.

Then as the project evolves, I start adding more high level tests to avoid regressions.

I prefer high level testing of products, they're more useful since you can use them for monitoring as well, if you do it right. I work with typed languages so there's little value in unit tests in most cases.

Sometimes I'll write a test suite "first", but then again only once I have at least written up a client to exercise the system. Which implies I probably decided to stabilize the API at that point.

Like others have said, tests often turn into a huge burden when you're trying to iterate on designs, so early tests tend to cause worse designs in my opinion, since they discourage architectural iterations.
It is tempting; I have been waiting for a while. Having just moved to Europe I don't know what getting the delivery here will be like. Anyone have any reasonable indications about customs etc?
https://www.bafin.de/EN/Verbraucher/Bank/Produkte/Basiskonto... is in English.
.NET Core 3.0 AWS Lambda Benchmarks and Recommendations
Books We Can't Wait to Read in 2020
Hey, I made this. I needed dummy but syntactically valid code to show in demos like this one: https://github.com/pomber/code-surfer/blob/code-surfer-v2/re...
this is why i love HN. that is such an outstanding idea.
As an idea there is nothing wrong, infact it is brilliant!

Not very unlike fast food franchise business, or Coca Cola bottling franchise - corporate puts in standards, best practices, supplies 'secret sauce' (some times literally), invests massively in branding and advertising which would be way out of thinking league of small time owners of the outlets.

If this was done purely from problem solving perspective (and not as 'growth hack'), then it would have worked beautifully.
Why wouldn't you?

You do need some sort of indication in your editor that the line is soft-wrapped. If you have line numbers in the gutter, then you already have that.
Turings Cathedral by George Dyson is fantastic
https://books.google.com/books/about/Turing_s_Cathedral.html...
I think that seals it, no?
The weakest link in your software is always you. Automation that can help compensate for human failings always has value. I can't count the number of times writing tests has led me to catch simple mistakes in code that I'd stared at for hours and declared good.

Not to even get into the ways that tests can help guide sensible architecture, especially for junior devs, because "this is hard to test" is the single most straightforward code smell for "this probably needs to be simplified or broken up".
So students that know they are not going to be great study to become teachers. Very smart of them.
Arindo Talks About Wordpress Website Development and Things That You Should Know
Yeah. I also floss every day, clean up the kitchen as I cook, keep off-site backups of my personal data, call my mother regularly to thank her for raising me, read the terms and conditions to online services, keep an up-to-date to-do list, and change all my passwords once a month.
> If young artists cannot sign away their rights to the songs they create they won't get funded in the first place.

Bullshit. We are perfectly fine accepting all sorts of contact limitations in other areas. How many times have I heard on this site that people wish all states were like California in making non-competes unenforceable. And yet engineers still manage to get hired there.

I don't see why it wouldn't be possible to amend performance contract law to state that artists who actually wrote songs should always be allowed to perform them, even if someone else owns the "rights". Heck, even put in some reasonable royalty payment that the "rights owner" must be paid if the original performer performs her songs, but don't allow an outright ban on performing them.

The "rights owners" would still have full control over ability to use that music in other areas, and by other artists, commercials, political rallies, etc.
>0% and 100% are indefensible for any uninformed prior.

If none of the answers are correct, the chance of picking the correct answer is 0%.
> If young artists cannot sign away their rights to the songs they create they won't get funded in the first place.

Of course they will, because there will still be plenty of money in it. They've made quite a bit of money off of Swift already.
So I keep hearing that the IME can do remote KVM.

I've got an old laptop lying around, could I hook at up to my router and access it without remote desktop software from another PC on my network?

Or does this require some expensive intel software with a subscription?
Making fun of non-native speakers' mistakes is so cool, it makes you look very clever.
DOM Manipulator
Why doubtful? Bill Gates is incredibly talented, and being in the right place at the right time is more or less the definition of opportunity.
1. I feel like your flip side is a straw man.

2. Your description of algorithms and how they can/should behave is completely beside the point. Thats the problem with vague marketing language like "AI". The article isn't about artificial generalized intelligence, it's about machine learning algorithms used widely today. These are problems now, not hypothetical discussions about how we want some idealized "AI" to behave.
More like a gold sovereign in Piccadilly. I only skimmed, but it's a sweet result, and something an insightful undergrad could have come up with, but never did.

Linear algebra for large scale "muh big data" applications has had a mini renaissance in recent years. Haven't seen any this cute and basic though.
In the same vein, there's the classic infamous self-referential aptitude test. http://faculty.uml.edu/jpropp/srat-Q.txt
How does the audiomode work? I tried playing a video and the backround and it doesn’t seem to continue streaming. Is it because i’m on IOS?
This is definitely true.
Also when applying the mantra "Dont repeat yourself" (DRY) it can have the opposit effect; that when you are optimizing a hot loop, like a game render loop you inline everything and discover there are repetitions that can be vectorized or removed/optimized. Maybe because you applied DRY and abstracted too early or what not.
Thanks for the response, IMO this issue should be addressed and be built in into the protocol before regular users could just start using it, so IMO using bitcoing for the PornHub is not a general solution and people that promote it without mentioning the anonymity problem are making a disservice.
> I've looked into it months ago and it seems that there are a lot of breaking changes on every release and this scares me from using it.

Don't worry, as soon as Auntie Apple, Uncle Uber or someone as large as Mr Microsoft goes and adopts Crystal as soon as it reaches 1.0, then we will all immediately run to learning it just like we all did for Kubernetes, Docker, Elixir, Go and finally with its great success and without any formal introduction, we have all wanted to purse learning Mozilla's new and most excellent general-purpose programming language:

Rust.
It's an old topic, see, e.g. 'Etudes for Programmers', Charles Wetherell. Code dojos, code katas, code retreats, I suppose I should put together a list.
The name is kind of misleading. I expected it to generate random lines of code, instead of just replacing identifiers with lorem ipsum.
Ohio bill would allow students to be scientifically wrong due to religion
At random has to imply uniform random for the question to make any sense, otherwise you can simply bias your answer choices so the answer is always correct.

Given uniform random none of the answers is correct:

25%) There's a 50% chance of choosing this answer

50%) There's a 25% change of choosing this answer

60%) There's a 25% chance of choosing this answer

If you're allowed to pick your own random distribution then any answer is equally valid. Say we pick one of the 25% answers 25% of the time, and the other ones uniformly:

25%) There's a 25% chance of picking this, as defined by our random distribution.

50%) 37.5% chance

60%) 37.5% chance

But if we instead pick our distribution so we pick the 60% answer 60% of the time and the others uniformly we've suddenly got this answer:

25%) ±27% chance

50%) ±13% chance

60%) 60% chance

So depending on if you interpret random as "uniform random" or as "whichever random distribution you like" either none of the answers are right or you can pick any answer to be right.
> and so now she is playing victim to get her fans to pressure the label into giving her more generous rights to the music she signed to them.

Also known as "trying to renegotiate her contract".
I found this on LinkedIn. I assure you, it's not satire...
When travelling, if you get into any kind of troubles: from casual ones like «my wallet was stolen I don't have any papers now», to «corrupt cops are trying to racket me» or «I had a car accident and the locals want me to pay for everything because I'm rich».

All the examples above are things that happened to people of my family / close friend in the past few years, and the (French) embassy/consulate helped a lot each times.
I have no idea about the state of modern mathematics but I wouldn't have guessed that the idea of a lone mathematician has passed. What are the big projects in mathematics?
Unless your five minute break ends in two minutes.
Another way to put that is that tech people, being tech people, try to solve fundamentally political or social problems by throwing technology at them. And so far it pretty much never works out, unsurprisingly, since it turns out not all problems can be solved with a website.
It's a good idea to solve the problem instead of what the article describes, but there's an issue with canopies.

The types of storms that produce hail, usually supercellular, often have damaging straight-line winds. While out storm chasing, I've seen several gas station canopies collapse from strong winds - I'm struggling to think of a canopy solution that wouldn't have the risk of collapse.
I am so happy to see this article about Von Neumann on HN!!! I have been posting about him on here for years, and have read all his books, but not as many of his papers as I would like, they are really hard! I have been working for many years now on continuing his theories of weather control technology and self-replicating machines. He is my absolute personal hero and the scientist who, far above all others, I consider to be the one in whose footsteps I want to follow.