skysight-inc/HackerNews huggingface dataset:
Haha. Linux really was a virus. The good kind that eventually won out because it was open and solved real problems that people wanted it everywhere.

MS really playing the “we’ll go wherever the developers are” game really well.
Attempts to Censor AntiPolygraph.org
Installing Linux in VirtualBox is not hard. If anything, it's extremely easy. Microsoft does not bring anything substantial, you could use Linux in VirtualBox since forever and they just bundle it in their OS. Windows just getting worse and worse. I was amazed when they decided to develop Linux syscall layer, but now it's just extremely lazy approach. Hey, guys, we don't have enough money to build proper Linux layer, let's just ship VirtualBox with Windows. LoL. I just don't understand all that hype. There's nothing innovative with their approach.
"even Ive’s exit was beautifully designed."
Boeing's 737 MAX software outsourced to $12.80-an-hour engineers
I grow tropical fruit, all stolen by squirrels except for the dragon fruit. I make and homeschool kids, a dozen so far.
And the third point is where that trouble can be resolved: light doesn't move through matter at c.
First time I've seen that (haven't used any JS frameworks in anger), this seems a little crazy, especially after espousing the benefits of TypeScript elsewhere. What other frameworks do this?
The name of this is a bit confusing since there is another language by the same name that also is related to databases: https://link.springer.com/chapter/10.1007/978-3-7091-7557-6_...
I wish he gave actual examples to illustrate what he was talking about. So you have an additional API layer the tests hit to call the functions you’re testing? Do endpoints map to classes? Modules? So aren’t you just tightly coupling this API to your service? When the service changes, you still have to update the API. Can you explain to me how this solves the problem?
The problem is that you need one function and you're pulling an entire library. Also you have some limited use-case (e.g. you don't have to support IE 6), but libraries tend to accumulate all the cruft in the world over the years, so you're pulling and executing lots of unnecessary code. JavaScript is too dynamic to reliably delete unused code, so even approaches like tree shaking, etc do not work well. And left-pad style libraries has its own problems, yeah.

There are universal utility libraries. jQuery for DOM, underscore for general utilities. It's OK to use them, because everyone knows them. But if you miss some tiny function, just write it yourself. DRY principle often brings more harm than good.
How to Speak Silicon Valley
> What we really need is for everyone to vote.

If the people who currently vote are a representative sample of all people eligible to vote, this would change nothing at all.

They're not, so what would end up happening is that both parties would spend more time pandering to the people who currently could vote but don't, the additional votes would end up split evenly between the two parties and the difference from the status quo would be modest at best.

First past the post creates a polarized two party system independent of what percentage of the population votes.

> Or, for nobody to vote, which would trigger chaos.

That would never happen because the fewer people who vote the more incentive there is for anyone go to vote, because your vote counts more when other people don't.

It's more effective in general to cast a protest vote for a third party you know won't win than to stay home -- especially since they often need a certain percentage of the vote for ballot access or public financing. And if enough people do that then the third party actually wins. Then ideally they can do away with first past the post.
Not saying that HTML isn't also readable (although... once the number of attributes grows larger I always end up with a bit of a mess, but that might just be me).

The real feat here is getting rid of the hacky way that XML and/or template strings and JS are mixed together in the compiler, without sacrificing readability per se.
ICOs: Deploy your C# monolith to the cloud as scalable microservices
There's a very old programming style rule about only ever having one entry and one exit to a function. This rule dates back to the days of assembly programming, where any 'function' could just jump directly into the middle of some other function, or jump out before the end. This made understanding and maintaining code super-difficult, and this rule made a lot of sense.

Eventually, "structured programming" languages like C and Pascal were invented, where you couldn't just leap from one arbitrary part of the program to another. In these languages, the compiler enforced that each function had a single entry point, solving part of the problem. However, for C in particular the rule was still kind of useful - all the resources allocated during the function needed to be cleaned up by the end, so it was still good practice to have a single exit point that always did whatever cleanup was required.

These days, most languages have a garbage collector that will automatically clean up for you. Languages that don't have a garbage collector, like C++ and Rust, generate all the deallocation logic at compile time (the RAII idiom).

If you're using a language designed after the early 1980s, the "single entry and single exit point" rule is either wholly irrelevant, or does more harm than good.
> MicroG talks to Google servers and uses Google's infrastructure while breaking the terms of service (at least in case of FCM).

Depending the country where you are based it might not matter, it might fall into interoperability legal exceptions.
This is such a great kept secret. Most people just scoffs of when they see a project on github not updated for a couple of years. Not with Clojure.
However, if you don't have/use exceptions and you forget to handle an error code, then instead of a loud exception, the situation is silently ignored and shows up as some problem elsewhere. For instance, oops, the program believed it saved something to a file, but that wasn't actually done; it didn't notice the failed write.
Sure, but that turtle is carried by four "elephants, which are standing on the back of a giant turtle". And that turtle ...
Its not a realistic choice for them. Large parts of developing nations still have absolute poverty problems with their population dying due to the lack of basic necessities. Having them remain on that level of poverty, or worse, reducing their standard of living further is not an option. Its up to the West to solve global warming globally and that includes providing at least India and Africa, but likely every developing Nation, including China, with climate neutral ways of development equivalent to the potential these region shouldnt take in the form of polluting development options.

This is going to be very expensive and not something governments alone can stem. I dont see how this could be achievable in our current market structures.
"Embrace, extend, and extinguish"

These words are not made up by journalists, these are the exact words Microsoft used internally.

They do this, every. Single. Time.

Everyone keeps falling for it, talking proudly about how MS changed so much and they are now somehow totally turned around. Yes.. ok, whatever you need to believe in. Just be warned, they will utterly drstroy everything they come into contact with.

Or should I say: denial is the most predictable of all human responses. But, rest assured, this will be the umpteenth time we have destroyed it, and we have become exceedingly efficient at it.
HN is very sensitive to timing, afaik the moderators allow resubmissions when that seems to be the case.
that's incorrect. the dependency resolver in dnf is far faster and accurate than ubuntu.

Its pretty good computer science reading as well - https://fedoraproject.org/wiki/Formal_methods_tool_suite#Boo...

https://developers.redhat.com/blog/2016/08/30/why-red-hats-n...

I have done system upgrades since fedora 22 to fedora 30 without breakage. I have never had that happen with Ubuntu.

In general, Wayland/Systemd/Xorg etc are maintained by Fedora .
If you look at the blog post - https://blogs.gnome.org/uraeus/2019/06/24/on-the-road-to-fed...

>>he reality is that X.org is basically maintained by us and thus once we stop paying attention to it there is unlikely to be any major new releases coming out and there might even be some bitrot setting in over time. We will keep an eye on it as we will want to ensure X.org stays supportable until the end of the RHEL8 lifecycle at a minimum, but let this be a friendly notice for everyone who rely the work we do maintaining the Linux graphics stack, get onto Wayland, that is where the future is.
The highly competent researchers have to answer the question:

“why have the number of children diagnosed with ASD increased?”

They can’t “control” for changing diagnostic rules: that would literally mean “controlling” the exact thing they’re trying to analyze.

What they are doing (as medicinal chemists?) is identify a compound(s) that correlate with the increased diagnoses.

Another study might investigate the method by which ASD is diagnosed - eg applying modern diagnoses to old diagnoses, and vice versa.

There are also definitely sociological factors that could contribute - in the US specialized educational support for kids diagnosed with ASD is much better funded per-capita than most other learning difficulties, so there is a clear advantage to pushing for (or shopping around for) a dr that will give an ASD diagnosis - eg If you can get FAS diagnoses as ASD you’ll get much more financial and educational support.

Personally I expect there to be a parental age component (which would explain the increased prevalence, relative to overall average, of ASD in middle and upper class Caucasian families, at least in the US).

I suspect however it’s going to be a combination of all those factors, and probably a few more for good measure.
> I imagine it starts with "links -dump", but then there's using the title as the filename,

The title tag may exceed the filename length limit, be the same for nested pages, or contain newlines that must be escaped.

These might be helpful for your use case:

"Newspaper3k: Article scraping & curation"
https://github.com/codelucas/newspaper

lazyNLP "Library to scrape and clean web pages to create massive datasets"
https://github.com/chiphuyen/lazynlp/blob/master/README.md#s...

scrapinghub/extruct
https://github.com/scrapinghub/extruct

> extruct is a library for extracting embedded metadata from HTML markup.

> It also has a built-in HTTP server to test its output as JSON.

> Currently, extruct supports:

> - W3C's HTML Microdata

> - embedded JSON-LD

> - Microformat via mf2py

> - Facebook's Open Graph

> - (experimental) RDFa via rdflib
If $9 per hour is the problem, may be going with $500 per hour lawyers would be better ?

Price is not always a good proxy for quality.
Thats somewhat more forgiveable: the desktop should be a superset of laptop ports, and laptop a superset of phone ports
I liked iOS' "skeuomorphic" design and despise the flatness that Mr Ive introduced, i think 5 years back. The first iPhone was mind blowing because it seemed to make apps pop out of the screen and invited you to tap on them. Flatness is two steps back and made iOS Androidish, not a great design inspiration.

Also the ridiculous obsession with thinness of macs and iPhones probably at the cost of making them do something useful, if that is Mr Ive's doing, he has clearly outlived his usefulness.

Those iMacs though were pretty. Never used one but Ben is right about them being Ive's best work. Wish him a happy and most well deserved retirement.
Do you actually use a mac? Because I've NEVER had that happen to me. Ever.

The trackpad software is exceptionally good at detect errant touches.

Maybe my experience is abnormal.
Fuchsia Developers Website
(Aus$12.80) = about US$9
In practice, the vast majority of docker containers are Linux containers, so most uses of docker for windows need a Linux kernel to do anything useful.

As such, the 'native' docker for windows you linked is actually managing a Linux VM (HyperV or VBox) fot you; the docker server runs on that VM, and the native docker windows binary simply connects to that server.

They also do a lot of tricks to connect networking and file shares with that VM. The file shares part is almost completely non-working in my experience, with scary comments in the bugs like 'doesn't work if your windows password contains certain characters' (it sets up CIFS shares between the Linux VM and some parts of your Windows file system).

So, not sure what docker for Mac looks like, but Docker For Windows is only 'native' in a very hand-wavy sort of way, unless (maybe) if you're running Windows docker containers.
That cannot run Linux containers, only Windows containers, no?
Well, if I am your enemy, I sure as hell won't let your missile cruise around my shore for a month
Submarine cables are a mystery to a lot of people. I had to show my dad a complete map of the cables once to convince him they exist. He just couldn’t fathom we’re actually able to run thousands of km of cables at the bottom of the ocean.
The iMac Pro is a fantastic machine, so if you want a workstation, that's probably your best bet.

Hell, even the 27" iMac is a great "everyday driver."

I do software development + sysadmin and am very happy with my iMac. (Retina 5K 27", 3.6G i9, 64GB RAM)
Never knew about that equation! That's cool.

Angles are always such a pain. In my experience it's worth applying trigonometric identities and working in terms of unit vectors, sines, and cosines instead of using angles directly. In this case angles seem unavoidable, though: acos(tan(x)*tan(y)) doesn't simplify to anything useful.
Totally understand how this could rub someone the wrong way, but my intention here is mostly to clarify my own thought process. Not so much "everyone else's shit stinks but mine smells like roses", but rather "my own shit used to stink, so here are my goals for developing something that might work better".
I'm very surprised that early returns are still commonly used and advocate in 2019. In my opinion, they are obviously terrible. I'll try to convince you.

First the practical, in my experience, a big function with many early returns has a bug or has a convoluted logic, 100% of the time. I've literally made a living and a career by untangling big functions with early returns. I've really saved many situations and code just by doing that. The reason this happens is that early returns are gotos and gotos are harder to follow.

Also, you can't move easily (think copy/paste) code than has early returns, which means that the code is defacto harder to refactor. So in practice, code with early returns stays in place and grows.

Early returns are artefacts of the assembly jump instruction. They shouldn't even be in a high-level programming language because it makes no sense to have jumps in such a language. They make the programmer lives in the assembly language world (succession of instructions that update a state) instead of the wonderful world of high-level programming (expressions).

If you interested by what I'm saying, you should try removing all returns, continues and breaks from your code, you'll see what wonderful things happens. It's literally magic. Things becomes so much more expressive without them. Which is the point, high level programming is about gaining more expressiveness over assembly code.

Early returns is one of the big pillars of bad inexpressive entangled convoluted programming. And what is people reason for using early returns? It makes less indentations...

You may wonder why early returns doesn't sound that much like a big deal after all. And you are right, there is no big deal. No big deal in terms of what the market reward. Now if you care about the art of programming, this is a huge deal imo.

edit: thank you for the fair discussion. I would like to insist that obviously, if your code is more expressive, you will take better decisions and at the end, what I'm saying is that you will end up with a totally different program. Early return or not is not about cosmetic. It's about writing better program.
Interesting article.

There is both left and right recursion in the definition of <number>, but this EBNF (Wirth notation) uses iteration only:

number = digit { digit } [ "." digit { digit } ] .
What would be the motivation for Apple to do such a thing? MacOS is already a Unix, with a BSD-based userland. Also, they are doing active kernel development - as in architecture development - to enhance the system security, so that even root cannot compromise the system. One part of this is moving kernel extensions into user processes thanks to the fact that Mach is a microkernel. They couldn't do that with the current Linux architecture.
Have you considered that workers in JS absolutely suck?
> all stolen by squirrels except for the dragon fruit

It's flying foxes & possums in my neck of the woods ;)
No mainstream type system can do that so GP would be fine with a unit test here.

You could use Coq, Isabelle, or Lean. Their type systems are powerful enough to allow such checks.
Even less with Common Lisp, in my experience. There's some rot, sure, and some dependencies that have disappeared — but there's a lot of things that are no longer under development because they're finished.
Back to graphics drivers.

Most professional graphics developer I know rather user better tooling than only bare bones graphics drivers and RenderDoc.

I guess that is the same point of view that gave us OpenGL and Vulkan without any kind of tooling beyond drawing framebuffers with hardware support.

I does appeal to some, but not the majority, otherwise Linux adoption would have moved beyond 1% by now.
It wasn't pointless, your contributions however have been.
> At the moment, the world is really better served by signal than most other messaging solutions.

Matrix/Riot is superior in about every way to Signal, and they welcome third party clients without any restriction.

> What sort of weird FOSS zealotry is this where you want to use someone else's network resources without their consent

Well, are they in the business of building something open, or building yet another walled garden? Because this is precisely what they seem to be doing by creating such restrictions.
Any suggestions for Google Keep replacement? I really hate that all reminders end up in Google Calendar. I've already tried almost all Tasks apps from F-Droid, but each has some or other annoyance that prevents me from using it.
Would you like to elaborate? Always eager to hear such anecdotes:)
Like what exactly?
Correction: Jerry, not Larry.

mh and xmh

http://shop.oreilly.com/product/9781565920934.do

He's a co-author of the classic UNIX Power Tools

http://shop.oreilly.com/product/9780596003302.do

Add'l ORA pubs:

https://www.oreilly.com/pub/au/28#Books

"Power Tools" columns for Linux Magazine:

http://www.jpeek.com/articles/linuxmag/

Though I've not read it specifically, From Bash to Z Shell seems likely to focus on shell art and arcana most closely.

https://www.apress.com/us/book/9781590593769

His 1999 SVLUG talk was a classic, the slides don't give it justice, though there are some nuggets there for many users.

http://www.jpeek.com/talks/svlug_19991103/
Luckily it's not only a research result: actual libraries and tools exist for a lot of languages. See this list: https://github.com/theofidry/awesome-mutation-testing
Metric, Imperial... whoops!
Polymer immediately comes to mind: https://polymer-library.polymer-project.org/3.0/docs/devguid...
Doesn't that describe a lot of MMOs too, though? The inventory/transaction systems seem like they'd have similar needs (but with a LOT more items in the Second Life database). And the in-world state is a lot more variable than in an MMO. But compared to MMOs, those seem more like differences in degree than differences in kind. Programmers with that background should be able to get productive a lot quicker than web devs I'd imagine.
Somebody link that one Dropbox comment.
Play around. Make things. Try things. Sit down with a rough plan and a few hours and see what ends up slowing you down, then surpass it.
5G Protection
If I’m honest? Probably not. I made use of my free articles when that feature worked, and rarely hit the limit. I pay for 7 different subscriptions at other outlets that I read more often, such as The Guardian, a few more technical (like LWN), and local papers.
Kent Beck (yes, the Kent Beck): “I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level of confidence”

https://stackoverflow.com/a/153565
Well I still have trouble with that, and a map wouldn't help very much. Imagine convincing governments to make the huge en-devour of placing thousands of kilometers of cables under the sea, and maintaining them, just for some "nerd stuff". If they did, they probably had a very good reason convincing them.
Interesting. I wonder if some extreme events could have kicked up enough microorganisms that some even went to the moon! That would be a false positive for finding life on the moon.
I do the same thing, but it doesn't play nicely with the modern JS ecosystem. I have a library of re-usable JS/HTML/CSS components that I can sling around at will. But I can't use them on React of Vue projects so easily.

One of the selling points of React/Vue was that components were portable. But I have seen so few people actually re-use anything in the real world and you didn't need a library to make re-usable components to begin with.

I believe that re-usability isn't a language or framework feature, it has to be a personal or team choice to prioritize it. It could be as simple as a utils folder or as organised as a bunch of modularized git repos but ultimately you have to choose to organise that way.
Toshiba and WD NAND Production Hit by Power Outage: 6 Exabytes Lost
While people nitpick over what "linux desktop" means, don't lose sight of the fact that general purpose computing is slowly dying and being replaced by iOS and Android. Roughly as many iPhones are sold per year as desktops and laptops combined.
Apollo astronaut Charlie Duke says he almost died on the Moon fooling around
Turn off the internet.

I usually start out by creating an offline reference material dump (offline docs - zeal, offline stackoverflow - kiwix, ebooks, pdfs etc) so I have no great excuse to get online. Then I setup a schedule in my router to block all internet traffic for N hours.

For me getting work done also depends on the environment I am in. If its a problem that I am making progress with, then I can sit alone for hours and work on it. But if its not going well, I need to be around others who are all looking busy and productive :) That has some weird effect on me to stay focused.
What happens if the cable stops working? What are the troubleshooting steps?
The Turtle Moves
I edited that statement since it was unnecessarily aggressive. In any case, I can see their point. They never claimed to create a federated service and they cannot reasonably be expected to support/vouch for every arbitrary fork on their network. i.e., Vouching to the other party about the security of the communications, which is their main point.

>Well, are they in the business of building something open, or building yet another walled garden?

They are in the business of accessible secure communications for everyone. I think that's a reasonable goal with their reasonable tradeoffs. It's a free service with no money, no ads, and no obligations. Respecting their network usage policy is really just common courtesy.
The problem is not the low price of the outsourced developer but the outsourcing managers.

Most managers do not control outsourced IT projects because they don't want to or - if business managers - they can't because of a lack of knowledge. I've seen that dozens of time.
Pictures of dead migrants inspire our sympathy. But what use is that to them?