skysight-inc/HackerNews huggingface dataset:
and that was sadly the right thing to do. why? because they will have zero consequences. not even the inside (pun intended) trading thing will stick.
>The services will help more people because of population density.

You're assuming a centralized distribution model and that the overhead of centralization is more than made up for with economics of scale.

edit: is that not the implied assumption?
In general, downvotes are fair but sometimes, unfortunately, it gets misused to express disagreement of opinion which isn't the purpose on HN.

If I was allowed to make one change on HN it would be that a downvote had to be accompanied by a comment as to why the downvote happens.
Note that https://news.ycombinator.com/front?day=2007-02-18 doesn't let you navigate backwards, but https://news.ycombinator.com/front?day=2006-10-09 is the first day.

Out of curiosity, for the date rendering, did you xdef racket's date libraries or implement your own date algorithms in arc?

I guess you could've also shelled out to `date -r <timestamp>` which would get the feature done in about ten seconds.
So in case I’m not spending enough time on the front page of this HN, good to know there’s a nearly infinite depth to plumb.

And now I’m reading Arnold Bennett’s ‘How to Live on 24 Hours a Day’ originally published in 1908. Good to know tongue-in-cheek self-help books will never go out of style!

[1] - http://www.gutenberg.org/files/2274/2274-h/2274-h.htm
A caching http proxy would help me build the same things reliably, but it wouldn't help anyone else who cloned my repository and attempted to do their own build unless I also gave them access to the proxy. And it hides the fact that the standard from-scratch build doesn't actually work. I think the cached nix packages is why it takes so long for some of these issues to be discovered.

The difference with Debian (and other linuxes) is that the source code for the build is also provided. The upstream source might be from random place on the net, but Debian provides a source package that you can use to rebuild the binary package. Maybe the solution is for nix/nixos to provide something similar.
That's an argument about how HN should be. I'm stating a fact about how it is. More at https://news.ycombinator.com/item?id=16442668 and https://news.ycombinator.com/item?id=16443186.
Thanks for posting something that actually makes sense today.
Win - additional revenue stream for Airbnb
Win - guests find quality hosting
Win - good hosts increase occupancy
This puzzle is a bit janky and is able to have multiple solutions but only accepts one [1]. I recommend checking out similar-style puzzles called "nonograms" which are widely available.

[1] https://i.imgur.com/1leWCg9.png
> Nope, unsafe does exactly what it says on the tin.

Depends on how you interpret the name—whether it's referring to what it does (makes things no longer automatically safe), or whether it's referring to what the code inside it does.

If you write only safe code, inside an unsafe{} block, then nothing unsafe is happening. Fewer compile-time static-analysis checks are happening, but if you manually verify that the code is "safe anyway" the way C/C++ programmers are forced to do, then you can declare that the code is safe, maybe with a comment like:

// this is safe
unsafe{ ... }

That seems bizarre and contradictory, no? But it would seem less weird if it was:

// this is safe
unchecked{ ... }

Of course, there's no reason you should be using an unsafe{} block for only safe code, so unsafe{} is usually a pretty good label for the content of the block.
It means that suppose the attacker can look in /etc/shadow (due to having root privs) and sees, in plain text, that the password of user "bob" is "correct-horse" (not anything fancy like "correct-battery-horse-staple"). But Bob doesn't use that password anywhere else. So what good is that piece of information to the attacker? On this system, attacker can just "su bob". On systems where attacker is not root, "correct-horse" doesn't get into bob's account.
> 2007-02-18 doesn't let you navigate backwards

Yes, and we specifically left it as an exercise for the pokey reader to figure out why.

Arc does its own date stuff. We extended it a bit to be able to print things like "x months ago". Edit: and "Feb 31, 2017".
The problem with that matrix is that it seemingly just conflates being PC? with being respectful.

Instead, PC language is a tool that can be used to show respect. However, just using PC language isn't enough if you ideas or not PC.

I don't really have a problem with PC language as I think asking for respectful language when communicating is entirely reasonable.

What bothers me is censoring non-PC ideas. When we prevent ourselves from asking certain questions or challenging certain ideas we risk missing important insights or solutions.
What's the problem?

I guess you could argue that in today's world you shouldn't have to move to a city to get a higher education.

But the truth is, even with improved remote offerings students will still flock to larger cities for their higher education.

The people remaining either don't want, need, or can achieve higher education and I don't see any problems with that.

This all assumes the stat is talking about people in rural areas vs people from rural areas.

I would be concerned if people from rural areas had largely less percentage points of higher education, but only if it was a very large gap.

Community and local bias toward lesser rates of higher education is expected. Both from the "my dad was a farmer, I'm a farmer too" stereotype and also the fact that income disparity/inequality between city living and rural living would result in a substantial gap when education costs are the same across the board.

That last point is something I have a problem with but honestly the attitude towards education spending in USA from the majority is very one sided. (My taxes shouldn't fund your fancy degree when I work in a factory - regardless of societal benefit I constantly receive.)
How to Keep Your Kids Safe Online Without Going Crazy
Clicking the “web” link on HN and then clicking the first result on google worked for me.
If you're interested in more experiments, I think it would be interesting to take a look at the batch norm variance/bias parameters after training a network, as well as the variances of networks trained with/without batch norm.

One thing that's been somewhat confusing me is whether Goodfellow's explanation aligns with the "internal covariate shift" explanation.

Goodfellow's interpretation that batch norm reduces second order interactions among the variables doesn't seem to be equivalent to "internal covariate shift". In the first place, I have trouble understanding why batch norm works well on ReLU. I've heard people say that you want things to be mean centered without too much variance, otherwise ReLU loses it's nonlinearity. However, that would seem to imply that you want a bias of 0, and in that case, why even have that parameter?

Also, given this "internal covariate shift" explanation, why would batch norm after the activation generally work better?
> But if you use RefCell, then you won't get any useful compile-time checks, will you?

If you use RefCell, then the compile-time checks won't be necessary. For example, in Java there are no compile-time checks: everything is just garbage-collected at runtime. Likewise, RefCell is lightweight garbage-collection (modulo cyclic references).

> In other words: if you have Rust _without_ unsafe and without RefCell (and similar stuff), will you still be able to implement anything in it and keep compile-time checks and other benefits of ownership system?

Ah, in that case there are a lot of things you can't implement: Strings, doubly-linked lists (which is the point of this article), trees with backpointers, graphs, vectors, etc. Fortunately, you rarely need to: if you need a data structure, it's probably already implemented in Rust. The standard library has most common data structures, and there are often crates for less common ones. If you do need to write unsafe Rust, it's about as scary as C. I've written a reasonable amount of Rust code, and only ran into one situation where I (think) I need unsafe code.
Something else, apparently: https://en.wikipedia.org/wiki/Tigon
Hey, author here - ships can't touch diagonally.
> However that LinkedList implementation requires unsafe{} to be implemented.

Can it be implemented without using unsafe?

Do they have in plans to get rid of all unsafe from std?
Deep Fakes: A Looming Crisis for National Security, Democracy and Privacy?
Job: Blockception Technical Ltd GoLang SE
If you reply, the moment of decision is mostly lost. The secondary question "who do you add, and who do you remove" remains.

It is polite to consider the to/cc list differently I think. they are not the same by intent or meaning. Bcc of course is in a special set of its own.

If your message has a voice, couched to a receiver, then it is sensible for any you language to be understood as being To: that person.
This looks to be as addictive as 2048. I still play that one.

https://gabrielecirulli.github.io/2048/
What you describe is certainly common. I have a different experience and I like what I have seen better.

> The board agrees all new employees get X options with a 1 year cliff and 4 year vesting without additional approval so long as total options granted does not exceed Y.

The board only needs needs to be involved if X or Y need to be changed.

Having the board bother themselves with every little hire is just ridiculous. They have better things to do. Plus if the options are defined on paper the company can't be accused of favoring certain classes of employees differently.
I have an intense dislike of a six letter word used in the times of Mark Twain and others to discuss african-americans. I cannot abide the word, I walk out of conversations where it comes up, and I avoid its use.

The mother of my ex-girlfriend of 7 years had the same attitude about that word.

Is this being PC? its what I feel.

It matters how those feelings are used. If feelings, like offense, are used as emotional/moral bludgeons and accusations, primarily to silence opponents, then it's dishonest and counterproductive. Likewise, if words are primarily used as emotional sandpaper, to wear away at an opponent, then it's equally dishonest and counterproductive.

Nothing said here about PC will rid me of a sense the word is wrong, its use is wrong, and the intentionality using it, strongly disposes me to characterise somebody as belligerent in a power relationship.

The solution is rational discussion. I don't think there are productive uses of that word. I also don't think that the majority of accusations of racism and sexism are meaningful, used as they have been as bludgeons in a cultural war of feelings and ideas. What's more the shame, is that I think there is very good reason for discussion. There is racism. However accusations at this point will generally make things worse. The cure for it, which I have seen work in the real world, is interchange. Discussion, watching things together, sharing food, just getting to know people -- this is how toxic -isms are defeated. Acrimony isn't that. Acrimony is the fuel to the in-group/out-group mentality of the mob. Acrimony is the fuel of toxic "-isms."
phone # + code is already the most popular method outside of the US, and gaining a lot more traction within the US. Login w/ Facebook does not really affect the success/failure of an app unless you really need their data for your app to work.
I'm not entirely sure about that change either.
JuMP and Pyomo are both exactly that. Pyomo is as near as you can get to an AMPL clone with python syntax. JuMP is an optimization DSL using Julia macros.
That is trivially obvious, but writing a performant vector implementation is not solving the halting problem.

Let me restrict it to the faintly weaker "I hope we don't settle for unsafe being okay forever where we can prove safety".
Spotify actually does have a web player.
The command-line interface was about the same as it is today. Which is to say, it’s great if you understand the underlying architecture and how the commands map natively to it, but it’s a huge learning curve if you’re coming from something else, have preconceived notions of what commands like “commit”, “checkout”, “fetch” et al do, and don’t have the time or the desire to learn the about what a DAG is.

The cogito interface used to be a thing, but I don’t think it ever gained widespread adoption and was pretty quickly abandoned.
If you used it in a way that allows the closure to escape the scope, you'd get one of the "foo can't outlive bar in score ...". (On a mobile, can't write an example easily)
> OP said simply this:

>> Treat others with respect.

No, the OP's comment was much longer than four words, and part of it implied that if you're not PC then you're a jerk.

It's a lot easier to see the problem with the OPs comment if you think about what it means to be good, and how the definition of "being good" can vary so much between people.

If you want to talk with people about what being PC really is, you have to use fewer vague, high-level abstractions like "jerk" and "respect" and more concrete examples.
Japan's VR Girlfriend Is Coming to Creep Us Out in the Real World
Whether or not IOTA’s ledger is “tamper-proof,” the entire
IOTA network went down in November, and was completely
inoperable for about three days. That this has never
happened in Bitcoin or Ethereum suggests the extent to
which the IOTA network relies on the “coordinator”—a
single point of failure—and is not truly decentralized.

The network did crash when IOTA pulled its centeral authoritative 'coordinator' server offline causing all other nodes and clients to go offline.

This was during a patch from an exploit discovered by MIT researchers. IOTA later denied the flaw existed, even though they took the network offline to patch it.

https://www.media.mit.edu/posts/iota-response/
The problem with that word is it doesn't say who is doing the trusting, which is the crucial point. In fact, "trusted" can be used to describe both safe code and unsafe code. In the safe code, the programmer is trusting the compiler. In unsafe code, the compiler is trusting the programmer. Both code environments are "trusted," but the trust is being given to different parties.
ah i was thinking of making something like this but never did anything. i would have called it Hacker Olds :)

well done!
Depends on the level of isolation and the person's need for socialization, I'd say. Most of that stuff is perfectly possible in a small town where kids can walk to school, bike to each other's houses, and grow up together with neighbor kids. In my case, I remember playing around with that kind of stuff but it's difficult (and dangerous, depending on who you ask) for a kid to grow up alone, isolated from other children. I'm not advocating for every kid to grow up in Manhattan -- I just think every kid should have the chance to make friends and experience childhood with those friends on their own terms. It's not very conducive for a kid to have to beg Mom or Dad to drive them every time they want to see a friend, and while the Internet/phones allow kids to play video games and chat with each other, I don't think we'll ever reach feature parity with reality.
To add on to the design issues: I routinely get calendar invites which show up as a calendar invite in Gmail, but I cannot accept or add them to my calendar except on the web. This is using the Gmail app. I can’t accept them at all in Inbox - even on the web, so I have to go to to GMail (web) to accept them. It really feels like calendar invites are a secondary thing for Gmail, which really strikes me as odd since Google Calendar is so great.
> If someone promises me equity I expect that finalized within weeks. How many companies just have promised equity sitting around without the paperwork being done?

This is so common that it's not even funny.
Let's truly genuinely hope this perspective is correct. This argument, or something like it, have been conventional wisdom to some for decades.

And it would be so good -- for the people of China more than for anyone else. But it would be good for us all.

Yet, it's difficult to watch Xi's tenure unfold and not have worrisome questions about the inevitability of this result, especially given new technologies available to potentially aspiring totalitarians.
Honestly, you’re not missing much.
Every country is made up of immigrants. Stating this brings nothing to the table. Language is an enormous part of culture and social interaction. It is incumbent upon the people that relocate to a region, country, or community to adapt to those that are already there, particularly if there is a thriving and productive community in place. It would be completely unfair if a bunch of Liberal Americans who are fed up with Trump moved to a small East Asian country and expected them to put English on all the signs just because they were fleeing a political faction they abhorred. This is not a right v. wrong situation; there is a logical process to the civil redistribution of population. If it is not civil (be it desperation ((Syria)), enforced ((German speakers after WWII)), or appropriative ((Europeans in North America))) then this point is moot, but in the 21st century we cannot act like people just accidentally end up in more economically beneficial areas.
This is pretty nice. I also think a browse by year feature would be neat. By that I mean in the same fashion as OP, so I could for example look at posts that had (2011) in the title by going to 2011, etc.
That solution is not correct. Your boats on the top right are touching. They cannot touch, even diagonally
Understanding how artificial intelligence is changing the world
Linux weekly news[1] does this, they call them subscriber links. [1] http://lwn.net.

You see these links posted on hacker news from time to time

From the site:

The "subscriber link" mechanism allows an LWN.net subscriber to generate a special URL for a subscription-only article. That URL can then be given to others, who will be able to access the article regardless of whether they are subscribed. This feature is made available as a service to LWN subscribers, and in the hope that they will use it to spread the word about their favorite LWN articles.

If this feature is abused, it will hurt LWN's subscription revenues and defeat the whole point. Subscriber links may go away if that comes about.
A cynical way to look at this will be that Switzerland had enabled people - corrupt politicians, dictators etc, especially from third world countries, hide money. They refused to divulge bank details citing privacy concerns. But in recent years details have come to light - either through leaked data or country actions. This has led to weakening of their infamous privacy rules.

With cryptocurrency's rise, it offers Switzerland a new way to continue their privacy bs. So, obviously they are going to embrace and enable.
For clarification I just assumed that if you could support a modern University attendence you by definition had a population density that far exceeds what I would call rural. (Next house miles away)

In other words, small town or city, neither is what I would describe as "rural".

What the study defines as rural would probably cover a lot of small towns I suspect so who really knows.
It's not scalable. How many camaraderie from Internet will you serve?
Yet, tight population densities also have detrimental environmental effects, such as heat islands, higher levels of noxious gasses, modification or pollution of natural drainage, losses of open green spaces just to name a few.

Rural areas typically don't modify the local drainage (you're not likely connected to a sewer, you have a septic system). They don't become heat islands are there's relatively little pave or concreted. The noxious gasses aren't usually a problem due to lower traffic, usage and density, except in some mountain valleys where you get temperature inversions over winter that trap some of that.

The problems are technological/economical. Getting power is a pain in the ass, yet we've mostly solved that, likewise with traditional phone land-lines. Internet access is abysmal. I get better internet connectivity on my cell phone than my parents can get in their house because local providers won't run cable/fiber because it's too expensive for too few subscribers, but the federal government mandated access to both power & phone and we have those.
Lawsuit from Ex-Google Engineer Says Pro-Diversity Posts Got Him Fired
That's still just as bad, wow! This could be phrased much less offensively as something along the lines of "Your employees will notice and you may have to offer them compensation for their lost upside." This assumes you have hired intelligent employees and cautions against the actual issue (not having your outstanding-options ducks in a row before closing the Series A) rather than the consequence (employees find out and you have to pay them more). The current phrasing still assumes only some of your employees will notice, and couching the issue as one of "morale" pointlessly obfuscates the fact that these employees would be losing upside they (presumably) agreed to work for you with the understanding they would get.
I would be very careful about making the breach of contract public. Companies tend to have better paid lawyers and bigger pockets than individuals. Unless you are in a position where you can't be touched (for instance: because you are broke or in a different jurisdiction) this is a risky strategy.
You can go to twitter.com/search and find a link article from them incognito that allows you to read it.
I think you need some citations before your claims can be taken seriously.
But these are generally happening between cities, and near-city suburbs, not from rural areas or exurbs. Basically, people are trading some form of urbanization for another, leading to huge imbalances in our infrastructure while our urbanization rate stays basically the same (maybe inching up 1% every ten years as it has done for the last 30).
Typically pieces written directly by experts - instead of by journalists interviewing experts - are placed in the opinion section. The author of that piece is a historian from Georgetown who wrote a book about the region.
the miners can't control what's legal
> It introduces a new command named nix, which is intended to eventually replace all nix-* commands with a more consistent and better designed user interface

This is pretty nice. I've been using nix on my Mac for more than a year now, it works well on mac. But the separated commands are not easy to remember and the help documentation is also separated. This change really improves command line UX
If I can't have escaping closures, I want to be working in C.
Thanks for reminding me to check all my receipts, see if I won anything tonight!
No on both counts, the entire point of "unsafe" is to form safe abstractions around unprovably safe code.
Have you contributed to Ipopt? Just wondering if I'd recognize you from the mailing list.
"who is responsible?" is a philosophical question that probably has no objective answer.

"who would be held responsible?" is still pretty easy here. by default, if you own or release to the public a system that ends up hurting someone, you are liable. it doesn't matter what your intent was or whether there was any way of knowing that the bad outcome would happen. the only way you can get around this is with "safe harbor" exemptions. it's possible that your blank slate would qualify, although you would probably have to lobby for this before the fact. in that case, no one would be held responsible. otherwise, you would be paying.
I've lived in cities - they typically failed to provide better services than lower density suburbs, despite having a bigger tax base and "efficiencies". There are many reasons for this, but cities do not become magically more efficient or well run with more people. Sadly, the opposite is usually true.

I think you've bought a bill of goods that a certain group of people are selling, without actually having lived it.