skysight-inc/HackerNews huggingface dataset:
It's very different to discriminate against someone for something they did than on the basis of race, sex, etc.
Could we by any chance see a photo of it on your person? I'm really intrigued with how it fits around your waist (I assume that's where you keep it).
How AI Is Changing the Future of Web Development?
The article’s title is itself nonsense: the `imperative <> declarative` disjoint alone means it’s logically impossible for a single language ever to satisfy all programming needs; and that’s even before you start decomposing them into specific problem spaces (kernel vs system vs application programming; functional vs logic vs pipeline programming; single-threaded vs massively distributed; rapid development vs pedal-to-the-metal execution; etc).

(Article’s author probably realizes this and merely chose that title to increase clickbateyness; but given the continued creation and persistence of kitchen-sink mountains like C++ and Apple Swift it’s clear that plenty still don’t.)
I'm hijacking this since your function shows the kind of case where I like to make an exception to the line length rule.

It looks much better, and is more understandable due to the repeating pattern, as you have it, but some people I've collaborated on open source code with would insist upon this:

function solve_fem_problem(problem_description) {
basis_functions = generate_basisfunctions(basisfunctions_type.b_spline);
quadrature_rule = generate_quadrature(quadrature_type.gaussian_quadrature);
A = assemble_matrix(problem_description.differential_equation, basis_functions, quadrature_rule);
b = assemble_righthandside(problem_description.differential_equation, basis_functions,
quadrature_rule);
apply_boundary_conditions(problem_description.boundary_conditions, A, b);
solution = linsolve(A, b);
}

(For this example, I'm assuming an arbitrary maximum line length of between the A = and b = lines.)
In TDD, should I add unit tests to refactored code?
Programming Language Fragility
> plus useragent-switcher for sites that pretend to care about my "security"

What kind of site does that? I'm on ESR too (from Debian's repos) and never seen anything like it
"B maybe did a crime, did not get caught. Never paid a debt. Maybe never learned a lesson A did."

Many crimes are not solved, and the crimes people are convicted of are a tip of the iceberg. Prosecutors commonly reduce the charge to get a guilty plea in a plea bargain. If person A has a criminal record, it's quite possible he has committed more crimes than what he has been convicted of.
There is a lot of disagreement here with the ideas presented, but i think most of the arguments are taking the ideas too literally and extremely... as with any advice there are no hard and fast rules.

I have some guiding principles similar to the author which make me end up essentially doing the same thing (I also like to keep under 80w and roughly 24h, but there are many exceptions)... yet my principles are seemingly contradictory e.g: 1. minimalism, 2. holism.

Notice that they are not imperative, they are merely principles / desirable attributes, by minimalism I usually mean what the author is talking about but in a more general way, keeping small code blocks is one such desirable... but this does not mean split everything up into micro functions that cause a horrible nest of layered calls, because that goes against the principle of holism... this I believe is also similar to what the author wants - holism is part of legibility, whereas reducing your function scope and interface are only immediate legibility of the local code.

Ultimately what i'm talking about is balance, which is why I think it's better to present these ideas to people as principles rather than imperative rules which can be followed rigidly (wrongly).
Never did TDD as prescribed. But I try to write one test together with the implementation, to have basic coverage to cover the most silly things, and to ensure testability. This way it is easy to add more tests later, if and when I find that they are needed.

Also I try to test at subsystem / API boundaries whenever possible. Small units like a function rarely get their own tests, they are covered implicitly by being used.
This avoids tests of arbitary internals (that should be free to change) becoming a maintenance burden. External APIs should be stable.
My OpenWRT uses in-memory blacklist in dnsmasq on Omnia Turris that's faster than rpi.

I would imagine the performance of settings it on pihole would be unnoticeable, as it also stores blacklist in memory. The only latency difference would be in network request likely.
Ubiquitous Icons: The Peace, Power and Happiness Symbols
I very much disagree. The in-lined version can easily be confusing, harder to change, harder to test and even error prone.

By splitting code into functions you have a more well defined scope for each of them and they can be understood in isolation.

You also get the benefit of getting a quicker overview (if you care to name your functions well) in your calling function (DoAll).

Then there is the issue of maintainability. When I have to change something in a big (in-lined) function then I'm much more anxious about the whole context. My instinct is often to refactor it into smaller pieces so I can narrow down the changes and isolate them correctly and exactly from the context.

This might very well be a thing of preference?
4 on your list are Hungarian, and 3 of them went to the same high school:

https://en.wikipedia.org/wiki/Fasori_Gimn%C3%A1zium

Hungary had a great education system at the time.
It's not just buyers remorse. If you use the machine for work and buy something under-spec'd - especially in RAM, you lose money by being less efficient with a slower machine.
Analysing webservers logs locally with goaccess
The link is false? Thought I can read something interesting...
I believe registering also provides a non-google way of tracking subscriptions :)
> Uber and subsidiary Rasier LLC were assessed $523 million in past-due taxes over the last four years, the state Department of Labor and Workforce Development said in a pair of letters to the companies. The rideshare businesses also are on the hook for as much as $119 million in interest and penalties on the unpaid amounts, according to other internal department documents.

Also it's unemployment + disability insurance they're being charged for.
Others have said similar, but for better or worse the three cases where I usually write tests are

- when it’s really easy
- when it’s really important
- before a refactor

The last one is arguably the most important and has saved me a lot of headaches over the years.
Someone also pointed out learn2learn, which seems potentially relevant: http://learn2learn.net/
No, I just had the customer rep send a note appeoving the new system with unwanted reports removed. (This was a mainframe shop, where excess CPU, I/O, and printing had meaningful costs.)
Are You 12-Factor Application Ready?
I'm not sure how things work in America, but in the UK employment does not mean or require full time work or even fixed hours. We also have a lower status of "worker" which has fewer rights / fewer responsibilities.
I agree to your analysis of India the underserved market as far as travel & tourism for middle class is concerned.

This would have been all good if the focus was only for that market, but the $10Billion valuation I'm sure is not because of India focus.. it is for claiming to be 2nd or 3rd largest owner of hotel rooms in the world - the problem is there.

Without solving fully by hyper focusing on one problem/segment/market, it decided to conquer the world because of $$ at disposal.
No wonder that support for this fearmongering hit piece for Type Investigations comes from Anti-nuclear foundations, and i mean all of them (Bottom of the page)
Quantum physics: our study suggests objective reality doesn’t exist
This happens because one has somehow irked a person who is petty and vindictive and has nothing better to do than click through your profile and downvote every comment they can.

I don't fully understand the mindset that would do this, but it certainly happens.
Only for functions that have a clear input and output. You can nicely think of all the edge cases, and then get going with the actual code.

But most of the time, fixing some bug or implementing a feature is more of experimenting and prototyping at first. Writing tests for every futile attempt would be a waste of time.

At best we design some small architecture first with interfaces, and then create the tests off that.
They have clarified that this means they can terminate their services, not your accounts. However with recent balls ups it was easy to read it differently
without tests doesn't mean bad architecture.

I can go the other way and say that code that ends up being 'modified' to be testable, with 43 mocks to just be able to setup a class is as much crap as code without tests.

I would say I never achieved more than 20% or so of test coverage in my products and production code. It doesn't mean it is a mess of tightly coupled modules in any way.

But TDD and any other dogmas in development are like this. Solution A prevents (maybe) a problem, thus if you aren't using it all other code has that problem and defendants will just keep trying to make it so.
Codem Ipsum: Lorem Ipsum but for Code
Someone replied:

> Apparently this relationship was discovered in 2014 by a dutch mathematician or physician. https://arxiv.org/abs/1401.4580

https://old.reddit.com/r/math/comments/ci665j/linear_algebra...

I don't know anything about the subject, I'm curious what they mean by that.
In the UK we have "employee", "worker" and "self employed" basically. They define different rights for the worker, if the company wants more control it moves things towards employee. If they want fewer responsibilities then they have to give up some control (e.g. disciplinary procedures, setting the price, etc)
It is; the UK has very strict KYC laws and any institution handling money is quickly on the hook for certain misdeeds by their customers. They need to show diligence in monitoring that activity.

> You must meet certain day-to-day responsibilities if your business is covered by the Money Laundering Regulations. These include carrying out ‘customer due diligence’ measures to check that your customers are who they say they are, and risk assessing your business.

https://www.gov.uk/guidance/money-laundering-regulations-you...

(That entire page, like the rest of gov.uk, is comprehensive and very accessible to read for a layman. If you have any passing interest in the area I recommend giving it a skim.)
It does exist, through closures. The syntax in most languages doesn't improve the readability of the code though:

DoAll() {
// A
a1 = ...
a2 = ...
a3 = ...

// B
b2 = lambda(x,y) {
b1 = f(x)
b2 = g(y)
}(a1,a3);

// C
lambda(x) {
c1 = h(x)
}(b2);
}

I've added explicit intermediates to better visualize where the scope binding happens, but most languages allow the compiler to bind these variables implicitly whenever an anonymous function references variables from outer scope. That helps with readability, but not with scoping.
I tried writing a front end for youtube gaming to be able to list live streams of your subscriptions. Turns out the API doesn't expose this what I would assume to be a much needed bit of information. Discovery of live streams is hugely lacking compared to Twitch. Turns out that the API in general hasn't been really updated for half a decade, and the calls there appear to be focused on helping a channel owner rather than viewers

I gave up.
It's also worth considering that it extends the usable life of the machines. In some companies, older high end machines that are still in good condition are recycled and passed down to less demanding users - e.g. developer machines may get passed down to tech support.

For personal users, it means that passing it down to a family member may no longer be an option.

In addition, the lack of upgradability has tanked the resale value of lower end Macs - so lease companies aren't recovering as much value, and consumers machines are depreciating faster than Macs of old.
For me it was the blatant rejection of C++ without any further discussion. C++ has a lot of baggage from C, but it also sports powerful metaprogramming, even though that is flawed (the necessity of SFINAE speaks volumes...). There are newer languages that improve on that a lot. The author doesn't even care to mention them by name.

To me, it is pretty clear that the author has a very specific world view, probably defined by the set of problems he's solving. I can't quite tell what that perspective is. But this makes his claims a lot less universal than he admits.
Pinephone – “BraveHeart” Limited Edition Linux SmartPhone
YouTube vs. Adblock Update: Claims policy is transparent, yet it is vague
Wohooo! Real people solving real problems.
These went on pre-order this morning.
Whether the modified photos look better or not is mostly a matter of taste I guess. Personally I prefer the non-modified photos for the underwater feeling they give. It's a cool technique though, and probably useful for scientific purposes.
Strongly disagree, and 'because the function is called that' is a very poor reason.

You're not using React to its full potential if you think like this.
IQ is positively correlated with health, educational achievement, job performance, income and occupational status and negatively correlated with out of wedlock childbirth and being convicted of a crime.

Intelligence: Knowns and Unknowns, American Psychological Association

http://differentialclub.wdfiles.com/local--files/definitions...
I have had the same question in my mind for a long time. My preliminary answer is TV or entertainment, in those days there were much much less distraction.
There is no purpose of having a so complicated language - like c++ or java - that the majority of the programmers don't even know 100% of the language. I think Elm (and somehow Go) fits this category, everyone can learn in less than a week every aspect of it. Another benefit of having a very simple language is the compile time, c++ has a awful compile time, 100kloc can take half an hour, in Elm it takes less than 5 seconds (incremental compile) vs 30 seconds (full recompile).
how do you know that the cashback the shop clerk is handing your right now for your diet coke purchase wasnt used three days ago for buying Heroin in the street ?

We dont know and we dont care !
Thanks for that term, it sounds related to the style I prefer. Do you have any recommended references?
You can now use hooks for some things you might previously want a component for, e.g. useFetch instead of <Fetch />, but don't agree "this should definitely be the case". Dogma is never good.
Ok but I'd say your headline isn't supported, i.e. 'There is no way that digital maps are anywhere near as practical, let alone more practical, yet.' - it's possible that all of the things you said are true, and that it is still more practical to use a digital map due to the disadvantages of paper maps i.e. fixed scale, inability to restyle or interrogate data on the fly, data currency, etc. And I think the example I gave is pretty compelling - put a dataset like the one I created on your phone, and all you have to worry about is keeping your phone charged in order to have mapping anywhere in the world, or carry a battery charging brick. There's a pretty huge gulf between the inconvenience of having to carry a battery brick versus a truck full of paper maps.

The range of activities where the arguments you made hold versus those in which they are not of concern is becoming ever narrower - I'd struggle to think of much beyond recreation/extreme environments/military examples, and these are very much a minority compared to the rest of the digital mapping world.

Don't get me wrong, I love paper maps too and have seen some pretty amazing examples - in the atrium of one facility I visited they had a two-storey high printed OS style map that was quite something - but the world has moved on. Perhaps e-ink displays will marry the two back together at some point.
Not available yet on Android?
The benefit of TDD is that the code you end up with will actually be testable. Just keeping in mind that you have to write a test for your code, changes how you write it.
As a bad example, imagine having a 1000 line function that just does everything you needed for the new feature... Good luck testing that afterwards.
So my question now is: what would be "deliberate practice" in the field of computer programming?
The problem is 9, which is mostly unusable. So the main effort is to apply 8 fixes, when they are found, and some of them also affect 7.
Until then work on the dev 10 branch is pure sci-fi, until a proper 9.3 will be out, and major distros will be able to switch to it.
Heh! My bad then. Was going off the post replied too and assumed (this is what I get for assuming!) they wrongly read aarch64 as Arch.
Depends on whether you keep it private.

If people know it's going to be released, it doesn't make too much of a difference exactly how long you are going to take.

(Unless you go really, really slow.)
Oh... :(
> This is in contrast to all modern turbines, those built after ~2005, which is to say, well over 99%, it can take over 15 seconds for a blade to sweep through one revolution. Getting hit by one of these blades is unfortunate, but causes significantly less damage.

If the blades turn slowly, too much wind passes through the gaps between the blades without interacting with the turbine. Although modern turbines may appear to be turning leisurely, because of their scale the blades are traveling large distances on each revolution resulting in high impact speed. The latest land based turbines being made by GE have a rotor circumference of 0.3 miles[1].

Modern turbine blades reach speeds of 180 miles per hour at their tips.[2,3] The blades of new turbines travel so fast that erosion of the blades is a serious problem.

[1] https://www.ge.com/renewableenergy/wind-energy/onshore-wind/...

[2] http://www.acua.com/uploadedFiles/Site/About_Us/WindFarm.pdf

[3] https://gizmodo.com/the-worlds-biggest-wind-turbine-blades-a...
This is a quote from the related blog post (https://caseymuratori.com/blog_0015) that I found interesting:

> Starting from a place where the details don’t exist inevitably means you will forget or overlook something that will cause your plans to fail or lead to suboptimal results. Starting with the details and repeatedly compressing to arrive at the eventual architecture avoids all the pitfalls of trying to conceive the architecture ahead of time.

While I disagree that OOP is completely useless, I have found that designing a solution with an OOP mindset can lead to a time consuming and tedious exercise of trying to figure out the best names and interaction patterns for things that might not need to exist to begin with. Sometimes a language constraint or the design of a library you want to use prevents the OOP vision from being realised in the implementation.
Can anyone help me understand how having this data actually lowers insurance premiums? The same number of cars are being damaged by the same number of hailstorms with or without them.
Imho this would be a nice answer for stack exchange as well.
Not really. From the wikipedia page on eidetic memory [1]:

```
Although the terms eidetic memory and photographic memory are popularly used interchangeably,[1] they are also distinguished, with eidetic memory referring to the ability to view memories like photographs for a few minutes,[3] and photographic memory referring to the ability to recall pages of text or numbers, or similar, in great detail.[4][5] When the concepts are distinguished, eidetic memory is reported to occur in a small number of children and as something generally not found in adults,[2][6] while true photographic memory has never been demonstrated to exist.
```

[1] https://en.wikipedia.org/wiki/Eidetic_memory
>for the set of matrices that possess them ("transformation matrices that only perform stretch/contract"), eigenvectors

Minor nitpick: this should end with “real eigenvectors.”
Rotation matrices certainly have eigenvectors, they’re just complex.
> In 1945, von Neumann proposed a description for a computer architecture now known as the von Neumann architecture,

Do note that he proposed a description but it wasn't his idea. https://en.wikipedia.org/wiki/First_Draft_of_a_Report_on_the...

> some on the EDVAC design team contended that the stored-program concept had evolved out of meetings at the University of Pennsylvania's Moore School of Electrical Engineering predating von Neumann's activity as a consultant there, and that much of the work represented in the First Draft was no more than a translation of the discussed concepts into the language of formal logic in which von Neumann was fluent.
In one sense, it doesn't make sense. The productivity boost would likely be worth it alone.

From another perspective, this is a +500$ post in the cost column of that unit (and perhaps n*500 if the whole unit then comes asking for the same thing). The cost of spending time arguing is baked into the cost of salary, meaning it doesn't show since it's the same regardless.
It's a form of optimization, but the optimized unit is not productivity.

A friend of mine was working as a recruiter where the whole company was sitting all day long at their laptops. He was denied buying an external screen to be more efficient since he then could have more information on the screen (eg an application next to a browser), "because then everybody wants one", even buying it himself.

edit: nb I'm not arguing for not buying the ssd/screen.
This Ryan Florence talk is a great talk that touches on this topic, especially in some of the more creative examples: https://www.youtube.com/watch?v=kp-NOggyz54
I have this for Big Ol' Switch Statements. It's actually easier to have all the cases inline and let the function get huge than it is to have the cases call subroutines (because you then have to go find the subroutine, and you can't compare two subroutines in situ easily).

Like any rule, there are exceptions. Mostly I agree with 80x24, but I wouldn't implement it in a linter, because I need to break it every now and again (and Big Ol' Switch Statements are a common cause of breakage).
I'm aware of that, but the valuation implies that at least the investors think there's a plausible path for the business to be larger than Hyatt.
+1 for this. When working in Germany I talked to citizens who told me their state is also heading that direction.

More things are denationalized so private companies now have the responsibility but also the revenue (like "Autobahn" or some time ago the post).

When I understand it correctly those where initially financed by public money so it seems like this investment is now being absorbed by the companies overtaking the business.

Accordingly there are strong voices who demand less control of the economy by the government.

I think they had a good system running (look at the numbers) and now they destroy that by adopting the ideas of the US-system.
AFAIK there it was put in the law(at least US/Canada) that credit card company have to return money and deal with fraudsters their way, CC companies have some really rabid investigators. If they behave improperly you can voice a complaint for financial regulatory authorities - banks really hate dealing with the government.
One thing I have got into the habit of is live updates - saving a file triggers a rebuild, which then gets reflected by live.js in a browser, automating as much as I can during testing to reduce manual actions saves me a bunch of time.
I just realized that you wrote space....that’s harder as the spell corrector works on words separately :(

I was working on URL corrections part that didn’t need to use segmentation, so I don’t know the details though.
What is the best alternative router firmware these days? The last time I looked into this, I believe it was between DD-WRT and Tomato.