skysight-inc/HackerNews huggingface dataset:
> If you’re stuck working with people who think they are the only ones ever to have written good code, I’m sorry.

I didn't say that.

> Usually because I learned new information, past choices turned out to have regrettable unforeseen consequences, etc.

Indeed, that "awful" code may have been written by the same developer from one or two years ago and now they're not comfortable with it anymore either.

Of course I'm being a bit hyperbolic, but what I'm saying is basically true and applies to pretty much everyone.

It's not all bad either, without some push towards renewal, we would be stuck with old ideas forever. The key point is that permanent renewal has a cost that the business must carry. Sometimes no renewal at all is the right business decision.
Is nice, will keep an eye
Nix itself doesn't use Docker, and you can deploy it like that just fine (with NixOS, and NixOps if you have multiple machines).

But sometimes your ops team has standardized on Docker, maybe because you're using Kubernetes. In that case, Nix will happily build those images for you.
Setting CGO_ENABLED=0 does not make the build fully static. To do this you currently need to set the following flags:

-ldflags '-extldflags "-fno-PIC -static"' -buildmode pie -tags 'osusergo netgo static_build'

See https://github.com/golang/go/issues/26492
> Nix is an absurdly complex piece of software

I'd argue the opposite—it's beautiful in it's simplicity. It's a tool that lets you express how to create something in a deterministic way.

A large part of what creates the learning curve that's best described as a wall is that this simplicity is due to building on a number of concepts that themselves are likely initially foreign: a pure functional language, content addressable storage etc. These are all good concepts to learn about in isolation, but as with any domain, learning a large number of new things at the same time (particularly those that may directly conflict with your current mental models) is hard.

What's truly nice about the nix approach is that it is not bound to any stack. You can use it for any language, for building any software (Nix - the package manager). You can also use it to define a entire machine config (NixOS), or even an entire collection of machines (NixOps). It is not something that you need to re-learn every few months, or learn then not use because some of your other tooling changed. Yes, the initial mental load is high, but the return on it is continuous and you'll likely learn about some other useful things along the way.
Summary: no, because row order matters in dataframes. That's why matrix operations are a better computational framework for dataframes than relational algebra.
date published | reported (count as of 24:00 the previous day) | predicted
2/5 | 490 | 489
2/6 | 563 | 561
2/7 | 636 | 639
2/8 | 722 | 721
2/9 | 811 | 808
2/10 | 908 | 900
2/11 |1016 | 997
This is an annoyingly ignorant comment.

Nix, unlike say docker, actually solves a problem correctly in a principled way: reliably and reproducibly going from source artefacts and their dependencies to installed binaries/libraries/etc and without conflicts or undesired interactions between other installed binaries/libraries/etc, even different versions of the same thing.

It represents a major innovation and step forward in the depressingly dysfunctional mainstream OS landscape, that still is stuck with all the abstractive power of 80's BASIC but with concurrency and several orders of magnitude more state to PEEK and POKE.
ML-Fairness-Gym Tool for Exploring Long-Term Impacts of Machine Learning Systems
Weird! I've found them to be completely opposite. Trader Joe's employees are extremely friendly and helpful.

Costco employees, honestly, not helpful at all and almost always disdainful of being asked any question. I guess that's not their model.

I suppose Costco employees can be happy with the company, but not happy and friendly to the customers, in which case, that holds up.
Show HN: Japan Rent Calculator
Bigger than Higg's boson? Measuring our way to AGI
The big one that I got is that the resulting Nix image has just the Go executable in it, and so the server is safer because if anyone hacks into it they'd need to bring their own copy of any tools they wanted with them. I'm a huge fan of reducing attack surfaces wherever possible, and getting a container that will only run the program required and nothing else is a win for me.
> Side effects and immutability are just the consequences of trying to create a primitive that can be used under function composition

I think I see what you mean, but it sounds like you see function composition as the end, where I see it as a mean. To me, being side-effect free is the end because it helps me doing local reasoning which ultimately makes programs easier to reason about. That being said, I understand it may be easier to characterize formally FP using function composition.
I remember working on a Visual Basic "OS" back in 2005 with something similar in mind. I don't remember going further than implementing a basic desktop and a calculator. Fun times.
The history of the industrial revolution since the advent of the steam engine amply makes my point.
This doesn't seem to be from 2016 (some identifiers suggest that it is, but it cites papers up to 2018 and it says that a tweet from 2016 is two years old).
Not being experimental and being the default option are still two different things though. Even in 19.10, while it is installed as part of the default install without experimental warnings, it still isn't the default session option.

It is still a very slightly rougher experience than xorg - mainly due to some 3rd party apps not fully handling it yet. But the scaling options more than make up for it with me. One of those features (either fractional scaling or independent DPIs) was still regarded as experimental enough to require a CLI command to enable it though.

So, not perfect, but good enough for me.
> What should we make of it?

People are idiots! (I am sorry to say that, I don't really mean it, I empathize, everyone sometimes is.)

Yes, dataframe is pretty much just a table. (And yes, GraphQL is a poor reinvention of SQL.) However, to be fair, there are different considerations. Database needs to know things like storage constraints and foreign keys (so you have many different column types), when you're doing just analytics (i.e. pandas), you pretty much only need two types - number and (trimmed) string (and sometimes a datetime, but that's just conveniently formatted number). (I think SAS got that right.)

Anyway, I think the way out of this mess is to have a functional, Haskell-like language for processing tables (not necessarily Turing complete) that would subsume declarativness of SQL, and that could be compiled into different targets. The language would basically specify some (limited, so recursion in that language would not be allowed) processing of tables (of known types), and you could then compose these processing pieces, or integrate them with custom processing in other language.

I understand why people hate SQL, it is on some level hard to write and compose. I think a correctly designed functional language would help here. Or maybe just tear LINQ out of the .NET ecosystem.
There's two different use cases:

- development

- production

For development, using Nix or Guix is in my opinion extremely nice. Using Docker in development would mean mounting your dev directory as a volume into a dev-container and depending on your application, this might end up being a pain in the ass. Editors often depend on the same dependencies to compile your code on the go and check for errors - if you don't have these on the host, you will then have to start solving new problems.

With Nix, you can have a package definition and either install all the necessary dependencies globally on your machine or spawn a shell with all of the needed binares in your PATH. Recently an application needed a different Node version than the one that was globally installed on my machine. Instead of having to build a Dockerfile or whatever, I just spawned a shell with the newer Node version, ran the command that I needed and was done.

For production, you might still want to use Docker, as there's a lot of great software built on top of it (Kubernetes and other platform-specific managed services). You can turn a Nix/Guix package definition into a Docker image quite easily, if you already have one. As extra benefit, you remove the small chance of still ending up with incompatible dependencies that you get when using a traditional package manager in a Dockerfile.
In case you missed it, there was a thread here yesterday about pen grip with a sub-discussion regarding left-handed writing and fountain pens: https://news.ycombinator.com/item?id=22287679
I find these huge government projects completely insane. Could they not build short distances of track and get trains running on them to derisk this whole thing? Then each piece can be managed at a reasonable, human understandable cost.
There will always be people who seem to have it better than you do. Maybe really analyze what you want to get out of your time on this earth?
> There is no other business where people come in with an intention to buy $50 worth of stuff and then consistently spending 5-10 times more each and every time.

IKEA
The Fall and Rise of Train Travel in America
“Now GraphQL has almost 15K GitHub stars and a large and active developer community. What should we make of it?“

don’t know why, made me smile.
Didnt know the DB world is so edgy - its cute.

I say bygons about graphql, usability always trumps fad in the end and “nature will decide”, nature the masses and hordes of “US over Time”. Does GraphQL do warehousing well ?

Well im not militant and think its cool.

One could say, based on my experience at uni with random access machine calcs by hand, that everything a computer does reduces to a table. Anyone with examples of things that arnt essentially tables ?
I created this because renting an apartment in Japan is very complex. There are fees for everything that the renter has to shoulder, so with this tool it's easier to find out how much you are really paying per month. It still doesn't include some of the smaller fees like fire insurance, lock change money, etc.

Inspired by patio11 talk on creating a calculator in MicroConf (don't remember which video exactly).
I'm trying repeat steps from article.
After next command:
dd if=uImage of=Image.lzma bs=1 skip=72
I'm trying unpack lzma file:
unlzma Image.lzma
And get message:
unlzma: Image.lzma: Compressed data is corrupt

Does it mean I downloaded corruption zip file from TP-Link site? How I can extract kernel image? Binwalk says about Image.lzma:
0 0x0 LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 3164228 bytes
As a person that uses Nix to build Docker images in production, let me explain.

Docker is a tool that lets you package a Linux distribution and roll it out on any random server cleanly and safely. But the stuff inside that distribution is still very much bespoke and unmaintainable.

Nix is a tool that lets you create a custom Linux distribution with absolutely minimal effort. (Basically, just list your packages in a file and hit 'go'.) But the packaging story for Nix is pretty bad.

To bridge that gap, Nix has code that puts a Nix package with all dependencies into a Docker container. It works, but of course kind of icky; something more integrated and smart would be preferred.
Even in a language where writing three layers of loops is an okay choice (e.g., Fortran), I'd argue against using it everywhere because it is poor abstraction and it will likely be less performant than calling the relevant BLAS routines. I believe the philosophy of NumPy is to outsource lower-level numerical operations to C. When NumPy isn't enough, one can always go to Cython or Numba.
Traits like agreeableness, intelligence, and conscientiousness have some genetic components, and may also influenced by early childhood experiences. A severe deficiency in one or more of these traits may be largely outside an individual's control, but nonetheless prevent the individual from integrating into society and achieving stable employment.

That said, there is still an element of will there, and we should also still try align incentives to give these individuals the best chance of productive engagement with society. The disability scamming is real (though somewhat complicated by the fact that long term unemployment can result in chronic pain symptoms).

I don't think just cutting people a check is necessarily a good idea. I kind of wonder if the problem of unemployable people would be reduced if we removed minimum wage laws.
“We are releasing a private demo of T-NLG, including its freeform generation, question answering, and summarization capabilities, to a small set of users within the academic community for initial testing and feedback.”

What’s the deal with these private demos? (GPT-2 was also essentially private). More importantly, why even announce the existence of a private demo to people who were not invited?
Nix does not set up my Visual Studio and XCode environments, Unity, Unreal, nor OEMs SDKs.
I wouldn't even mind an affiliate-funded intermediary that just listed the top #5 things from WireCutter for a given category, + some picks from Consumer Reports.

(As long as they didn't link to Amazon, it's not safe to buy there.)
I wish it was an extension to plantuml instead.
> than to just give them enough to live on until they decide how they're going to contribute?

How many will decide not to contribute?
OurMine Group Hacks Facebook’s Official Twitter and Instagram Accounts
Look at the difference in the size of rocket needed to lift two men to lunar orbit vs earth orbit. It's really not a big deal to blast off from the moon.

Gravity has lots of advantages. For one thing, toilets work.
Samsung, SKT, Kakao Teams Up to Take on Global Tech Giants
With a service worker, you can stream the header part of a new document instantly from the service worker, while fetching the content. That essentially makes an instance first paint.

I don't think that's what the example is showing, though.
It doesn't solve it, because it is confined to a relatively niche GNU/Linux distribution, unlike Docker.
That is not a "proper" comment though.
lol talk to Toyota IT and contractors. It’s not all roses.
Anyone truly like Yap as I do?
Really like the concept of ephemeral communication. Focus on the people at the moment, instead of doing 'public image engineering'.
What users have you met that don't get frustrated by slow sites?
> Anyone with examples of things that arnt essentially tables ?

Well, my definition of table: Fixed number of columns of possibly heterogenous types. Variable number of rows that have all the same type.

So, for starters, a matrix is not a table. Nor is a list, a tree, or a hash table (KV store).
Java is also a place name
Automatic and Targeted Instagram Mass Story Viewer
> This article was posted on 2020 M2 10.

What is "2020 M2 10"?
Please don't take this personally, but as somebody who programs Rust and quite likes it comments like yours remind me of people who come to Rust with the mindset of their own language, try around for a bit and say nothing works and things are hard to get done.

They are right — however it just shows they didn't understand it yet. A bit like if you gave a pianist a saxophone, and after they got the first decent tone out of it they tell you: "Yeah it is nice and all, but I can't see how you can make real music on it."

I think in IT we tend to forget sometimes that new things that work sufficiently different take their time to master. If you were a nix master and had to learn how to deal with traditional dependency managment you would probably also resign after a while and declare it to hairy to get things done.

Note: there is a chance I completely misrepresent your experience, this isn't meant to talk about you specifically
Screenwriters do not get 30% of a movie's budget. This claim, which is ridiculous on its face, really calls into question everything in this comment and anything else you post on this website.
> Personally speaking, I've had Amazon try to pull me a few times and I just stopped responding to their emails.

Good for you, but some people have to take whatever opportunity they can get.

Tech interviewing is so fickle that just because you pass an Amazon interview doesn’t necessarily mean anywhere else would take you.

We shouldn’t criticise anyone for taking a job to support themselves and put food on their family table.
This. The ability for investors to fund risky business ventures without being personally liable for the debts of the venture is what enabled the industrial revolution and led to most of the other inventions on this list.

Number two is casualty and other types of insurance.
Kubernetes: Successful Teams
I crack up every time I see the Java logo, a cup of coffee. I honestly doubt they knew it was an island with hundreds of millions of inhabitants when they picked that name.
Good that they got a paper in Nature. It's important such accomplishments get rewarded and acknowledged in the traditional academic way. I hope these people pile up citations. The engineers who build the foundations of modern scientific research get far less credit than they deserve.
In Poland, when I lived closer to IKEA, I used to go there just for the hot dogs. The IKEA hot dogs are the pinnacle of perfection: a bun, a sausage, ketchup and mustard. Tasty, cheap, and without all the bullshit ingredients everyone else adds just to justify jacking up the price or to pretend to offer a healthy snack.
I gave a talk on basic bioinformatics algorithms to my pathologist colleagues once, explaining that it all amounts to collections of good guesses and you really need to know how this was done before you believe it. They just sat there, waited for the lecture to end, and went back to their jobs, accepting whatever the molecular labs were telling them that week. They simply have no mechanism to push back except to play gatekeeper, and they can't even be an informed gatekeeper.
Grocery stores will also do this with things like rice.
I don't see your point. Kubernetes may be awfully complicated and the wrong solution all along (which, unforntunatelly, doesn't mean it'll die quickliy — C++ was always pretty awful), Nix may be as well, but their actual point is to help your sanity, not "save up a few megabytes of space".

"There are other solutions"?

Well, look, well defined, easily reproducible, immutable environment configurable by text files is something that pretty much everybody wants, even if he never even thought about concepts like this. I mean, literally, your grandma would want it on her iPad, because it would mean you could buy her a new iPad and she couldn't see the difference aside from the fact the glass is not broken anymore. Every programmer wants it, because it would free them from that awful system administrator hegemony. I want it, because getting a new laptop that I plan to use for slightly different purposes than my current hardware, instead of building up my environment from scratch gradually installing more and more shit I forgot years ago even exists, I could review a couple of 200-line config files (which I possibly didn't even write myself, the system just managed to express in a well-readable format what I got by experimenting in the shell years ago), remove some lines, add a couple of others, and get exactly what I want on that laptop.

And we don't really want any tradeoffs here. Yeah, as a real rock'n'rollers we want a fucking lot, but that's the point, we want to find some way to make all problems caused by the complexity of making lots of software and hardware work together disappear.

Yet, I don't see this ultimate dream come true on every — be it real or virtual — device, for every purpose. So be it the problem of marketing, or the "other solutions" being a bit more of a tradeoff than we are ready to accept, or something else, but these "other solutions" don't seem to do as much of a good job as you imply. So, my understanding is that we are just "not there yet". Hence "all these technologies popping up left and right, switching names, dying abruptly, getting super-seeded or hacked with vulnerabilities". There is a dream, maybe even a vision, but there is no solution. Not that I'm aware of. (And, once more, the real solution is not just something that is "possibly possible", but also includes solving the problem of user-adoption.)
Looks like that author prefixes the month with "M". Dunno why.

Sometimes DD-MM-YYYY and MM-DD-YYYY can be confused, such that if one of those formats is used, it could be helpful to clarify. However, YYYY-MM-DD is typically pretty unambiguous, so it seems odd here.

I guess it's probably meant in analogy to, e.g., "2020-Q1" (which would be the first Quarter of 2020) or "2020-H1" (which would be the first Half of 2020).
I agree with your comment to some extent. I'm kinda allergic to writing loops, even in C++ where it's the best solution.

On the other hand, in C++, hand-rolled matrix multiplication is both slower and an order of magnitude less accurate than MKL (or possibly OpenBLAS too).
Year 2020, month 2 (February), day 10 (the 10th). In RFC-3339, 2020-02-10.
The same as happiness out of work: Contributing to the greater good, not fucking up the world, pursuing your interests and providing for your companions in life.
Aldi has a somewhat similar model in the UK, no subscription but it has a reduced range compared to traditional supermarkets, high quality goods and well paid staff.
Unfortunately they do have some questionable morals on other fronts.
Senator Cruz opposed the transfer when it appeared ICANN's governance model was going to be like the U.N., where countries might have veto power over strong transparency, security, privacy, freedom of speech, financial accessibility, etc. Senator Cruz and many in his party are disdainful of the U.N. and similar multilateral international institutions; they oppose them on principal.

But ICANN ended up being run more like a private company in a free market. The fact that it also resulted in poor financial accessibility or any of the other feared consequences is irrelevant to Senator Cruz unless it somehow furthered the vilification of social media outlets and his attempts to repeal Communications Decency Act Section 230 protections. Don't forget, Cruz also opposes net neutrality, believing it to be "the biggest regulatory threat to the Internet".
Costco has 90 day returns, hard to beat.
FYI: Most of the Costco hit dog stands don't require membership. In at least California, you don't need a membership for liquor either, and if you say you're going in for booze, you can get the samples while you're in there.

If you aren't buying anything else, you might not need a membership.
The problem with UI/DOM is the mental model of working with it. For me I think SPA frameworks need to provide an abstraction layer that makes it easy to work with.

Thus React. I can think of it in a functional pattern and let it abstract the DOM/UI for me, ofc I understand there's a cost to it but that cost will greatly be overshadowed development & maintenance costs.
He just won the Oscar award for Best Adapted Screenplay so whether you like his work or not, he is an admired figure in the entertainment industry, which has huge cultural reach. Basically, he is a guy from the inner circle of People Whose Opinions Matter.
Guix package definitions were unreadable to me initially, as I had never used Scheme/Lisp before.

I've written a couple of them now and the definition above is extremely easy to read. Big part is just formatting & parentheses, I think my eyes just needed a little bit of adjustment time.
As an advanced forex trading system moneymaker+ has finally released on fiverr
Your point is orthogonal, even if true. My point is that SPA frameworks are necessarily buggy and inefficient - after all, their whole point is to reimplement in a bespoke fashion the stuff that the browser already implemented.

Buggy and inefficient stuff sometimes makes sense to a business, this is true.