skysight-inc/HackerNews huggingface dataset:
The semantics of a programming language isn't determined by how you talk about it or even how the language specification talks about it.

The original statement was: "(I program in JavaScript where all values are immutable)" Its meaning depends on the semantics of 'values' and 'immutable'. If by 'values' you only mean primitive values (excluding objects and arrays) or by immutable you only mean immutable identity (excluding mutable state), you're comparing apples to oranges instead of Rust to JavaScript.

Immutable.js and PureScript exists for a reason: in JavaScript, not all values are immutable.
It will work in theory, until a driver gets caught up in a bust for (unknowingly) transporting concealed drugs, stolen property, etc.
Maybe. I avoid stuff like that. See https://www.slimframework.com
for example.
> And it took Apple too long to take ownership of some hardware problems, until they figured out the magnitude of the negative PR.

This happened under Jobs as well. "You're holding it wrong"
Well Kept Gardens always die eventually, yet actively promoting chaos like 4chan just keeps rolling along.

I personally prefer chaos. It’s far more interesting than Groupthink.
I've found few in HN search;

http://yarchive.net/comp/index.html

http://bemmu.github.io/hncakeday/

Keep the coming folks. Thank you!
It seems there's a lot of people working on this area, just looking at this thread. I did something similar to this in 2013 and I got to around 20k users: https://www.theverge.com/2013/11/27/5150758/aether-aims-to-b...

Two things that need to be solved:

a) The structure of moderation. No moderation does not work. Been there, done that, it gets very ugly very fast. But what can be done is to make moderation more visible, and allow people to choose who they want to be moderated by.

b) Scaling. 1-100 users are fun, 100-1000 are exciting, 1000-10000 are a little nerve racking, and after 15k users, you notice the reality of how nodes and networks behave has diverged from your 'reasonable' assumptions. Around 20000 or so, I stopped maintaining it. Scaling distributed networks is much different than scaling regular networks where you can add more hardware and servers and sharding, it requires new behaviours from each node as the system grows. The software that works at the level of a million users in a decentralised system will be much different than the one that works with a billion users.

Funny enough, I've recently quit my day job and I'm focusing on the second version of it, so the memories from 2013 are pretty fresh.
HTTP in Depth
Mehmz: make memes with friends
If you are a tech company and you are being moral and trying to keep secrets, you have to try and weed out any overly unscrupulous employees as they may sell your data to other organisations.

If you are a tech company and you are being immoral and trying to keep secrets, you have to not only try and weed out any overly unscrupulous employees as they may sell your data to other organisations, but also any overly scrupulous employees, as they may leak to the press, regulators, or police. This severely diminishes your hiring pool, or guarantees that you will leak.
Does this make it right, because others are doing it? I’d say it depends heavily on the type of data and the user expectation.

The correct thing would be to flag as deleted for a sensible period of time (to be able to undo for the user) and then get rid of it after X days when it clearly isn’t needed anymore.
To solve future problems and avoid war we need more educated people, not less.
I failed to get through the entire article. It repeats memes I have seen before that I see as an incomplete grasp of the situation at best.

I have been a moderator. I also was a full time parent for a long time. These two things have a lot in common.

It isn't true that your choices are either censorship or just letting some fool ruin everything. You can engage fools, welcome them, be kind, educate them and help them start fitting into the culture.

It helps to assume they are intelligent, but don't know everything. This is a rubric I learned by raising kids. Children aren't stupid, but they have a great deal to learn. A lot of the eye roll worthy stuff they do is just naivete, not intentionally bad behavior.

You can just explain stuff to people without being ugly, angry or condescending. You can just assume they haven't yet learned all the rules, they were distracted, their dog just died.

It helps to give people the benefit of the doubt the first several times and give them time to learn the ropes. People need to be clued that, hey, that doesn't work around here. If you don't tell them this isn't something we welcome here, don't be shocked when they keep doing it, oblivious to the fact that other people aren't cool with it. But you can tell them without being ugly about it.

A healthy community needs some tolerance for friction, mistakes and dust ups. No one should be expected to be perfect and occasionally defending yourself should be acceptable.

At the same time, it needs mechanisms to lubricate the social friction. An expectation of baseline respect is the best lubricant.

Respect is distinct from polite catch phrases and learning all the rules. Some of the most awful people are good at using polite catch phrases and memorizing the rules so they can politely shit all over everyone else. This is toxic behavior.

Yes, it's work to keep a community healthy. But, no, evaporative cooling is not inevitable.
Can only happen if we manage to reverse this clock. In the current political climate this can only happen through pandemic outbreaks of deadly diseases or through world-war. Barring those we'll consume ourselves to death.

http://www.worldometers.info/world-population/
These immediately come to mind. I'm sure there's more if I dig deeper.

* Theano -> TF
* The multitude of RSS readers -> Google Reader
* Severely undermined Firefox
* Usenet newsgroups -> Google Groups
I agree. The reason that the SpaceX subreddit ( reddit.com/r/spacex ) is so amazing is because it is rigorously moderated (some may call it censored).
Become an Arch Power User with Pacli and PacUI
Facebook is actually ethical, honest and cares about your privacy
Tiny Tiny RSS [0] comes with suite of scraper plugins for populating truncated feeds with their full content, and a simple API for writing new ones.

[0] https://tt-rss.org/
Yes, unfortunately I don't think it is satire, unless they've gone to immense effort... see the guy's twitter feed, etc.

The author recommends building some kind of abstract structure factory which has perhaps five external dependencies per codeblock, a composer file, vague notions like dependency injection, auto-wiring, containers, routing, middleware, request factories, response interfaces, a class hierarchy and an obtuse non-production webserver in mental overhead ... lauding the design because he says it complies with a bunch of numbered standards that allow you to swap out your layers-of-assumption components.

This is blatant false economy. Nobody ever swaps out components. Nobody in fire-and-forget webdev land cares about standards. Just get the thing out the door, keep it simple, and thus keep it maintainable.

As others have commented, explicit code is clearer. Clearer code has less bugs.

Why not save the hassle and just use:

<html><head></head><body>Hello, <?php print anti_xss_function_of_choice($_GET['worldtype']); ?> world!</body></html>

This is the 'new PHP' from ~1995, seamlessly using decades of high efficiency improvements to kernel caches, networking gear, the interpreter itself and webservers. Zero complexity, not a class in sight, and definitely no middleware. It's a great language, when not misused.
PHP has been in a weird place for nearly a decade now in technical forums like HN where it is mocked endlessly often to signal a superior technical understanding by people who would not deign to use it. As if its the only language with shortcomings.

Yet it continued to be used in some of the most scalable and widely used apps of our generation from Wikipedia, Wordpress, Facebook, Slack and more.

It often feels other languages marketing teams have preyed on it in many ways to gain attention. And there has been some kind of war against simplicity that places an unearned respect for 'clever' abstractions under the guise of scalability often in pursuit of resume padding, or 'best practices' entryism and gaining influence in projects via package managers and the like.
MacroBase: Prioritizing Attention in Fast Data
Compared to a self-driving car system, they are trivial. Your assertion that "they have been at the cutting edge of systems automation for decades" kind of indicates that - this stuff is simple enough to make that it was feasible to do even that long ago.

Trivial is good mind you because it actually works, and works reliably. The same is not yet clear of self-driving cars.
> I could provide an example of research which is disincentivized in traditional academia but incentivized in independent research from my own PhD research if you're interested.

I'd be interested, if possible.
I counter your anedote with mine. I've only observed highly ethical behavior from my colleagues.
The fine that was levied on NASA was more tongue in cheek than serious. It was only for $400 and was from a local council.
Remember the hoodie? https://www.youtube.com/watch?v=sGssbaktT1I
I built (and tried to get funding for) http://gameref.io/ a few years ago. Many critics argued that a deep learning or AI solution would be better. For what it's worth, I also played Counter-Strike at a professional level from '04-'07 -- my CS:Source team was ranked #7 in North America in 2005 (according to GotFrag.com).

After some research and a few POCs I am 100% certain a ML solution will not work in detecting cheats other than completely trivial "spinbots" or "aim-lock" aimbots. For example, it by definition cannot catch an entire class of cheats (wall hacks), but it even falters when trying to catch aimbots; the presentation here argues for a "heuristic-based" method, but, again, these methods often fail when (if you look at the source), aimbots are often coded to (a) move smoothly/naturally and (b) introduce random noise.

In my case, I tried to at the very least combat one class of cheats with close to 100% confidence. These kinds of talks are great at conferences, but, as they say, the proof is in the pudding. Cheaters are very hard to catch, and cheat coders are much smarter than generalized AI methods.
You know, it's really funny. People keep complaining about things like Flash hanging their browser, or how "slow" Firefox was. I never experienced those problems and I don't understand why or how anyone else did. I mean, there was a good while there that most of my web use was on Newgrounds and Kongregate. If Flash was going to hang my browser, you'd think games and heavy video content would do it - but no, it never did. And Firefox was and is one of the fastest-loading programs on my PC - and I don't use or allow multiprocess to happen.
See something like https://www.slimframework.com or https://lumen.laravel.com
INDIAN BIKER TRAVELS 35 COUNTRIES IN 270 DAYS
>this morning, Tiangong-1 was orbiting between 178 and 189 km (117 mi.) in altitude, having descended 7 km in the past 24 hours

The Wikipedia page lists its intended perigee and apogee at 168-178km. So either Wikipedia, or the article, are mistaken.

For reference, Salyut, the old Russian space station, was in orbit at 220-280km. The ISS and most others orbit around at a little over 400km.
List of April Fools Day Announcements (2018)
Instead of cluttering the front page with fake product announcements, let's just post them in here instead. One thread where each top-level comment is just a title and a link.
Don’t allow users to delete things?
Google Files Go Bad Joke detector

https://www.blog.google/topics/next-billion-users/no-laughin...
Deliciously thorough. Just missed a link to a live demo URL.
It's a bizarre random ios Safari 11.3 bug, so nevermind
1Password 6.0 Crack Keygen for Mac OS X Full Download – Crack4Mac
In my day job, I work on an application based on Drupal 5. It's not necessarily "without a framework", but really it might as well be.

It has absolutely made me a better developer because I've had to delve into how the system works more than I ever did with Laravel (or Ruby on Rails, in a previous life). Things don't just work (hell, sometimes they don't work at all) and poking around until I really understand why is a healthy thing for any mid-level dev to do.

That being said, I do miss a lot of the modern niceties and it can be really frustrating to work this way. I'm glad for the opportunity, but I would also like to be able to use more modern dev tools in the future.
> things don't move if you don't tell them to

This is something I've struggled a bit with when playing with Rust. I've had a hard time understanding whether I'm telling the compiler to move or copy. In other words I need to understand better what I'm telling it to do (I probably just need to buckle down and study the new book in this area better). It wasn't immediately obvious to me when I last played with it.
Cryptocurrency Poem
I agree it's a pain, but I work in the industry and most people I have known don't quit without another job lined up. Facebook gives 21 vacation days; Google (relatively stingy) gives 15 or more. Plus you can call in sick (I don't recommend this but if you're out the door anyway it's an option). I just don't think it's good practical advice to follow the procedure in this article.
I did a personal side-project in Slim. It's lovely and I map it in my mind to Sinatra as a bare-boned framework for just getting stuff done.
Google Maps Where’s Waldo?

https://www.blog.google/products/maps/wheres-waldo-find-him-...
What I think so many privacy advocates don’t realize while frothing at the mouth is that odds are 99.9999% no one really wants your old photos or data specifically. Surely in large aggregate, but on a macro level you are no more interesting than anyone else. You’re not. You have a delusion of grandeur.

Sure, you might get some targeted ads by data used in aggregate and put you into a group but so what? If I had to see ads, I’d rather them be things I am interested in.
Guaranteed payment, low transaction cost and available to all. A homeless person often can’t get a credit/debit card, so cryptocurrency would be great for digital payment.
Ask HN: Are there any apps that has beta testing for iOS or Android? Thanks
For example I joined the Airmail and Slack beta channel.
Is that even meant to be a secret?
Oh, I prefer just having the content and not all the other garbage the site includes.
pagedraw.io is working on fixing html/css(/but not js) in a web browser by giving programmers a better tool, and compiling into html/css standards (since we're stuck with them)
I’m not going to say I don’t believe you, but I find comments like this one (which I see surprisingly often) funny because I’ve never not had it working perfectly, OOB, with no effort on my own, for as long as I can remember
It’s actually a simplifiedversion of what we do. We deal with debug information files and write custom cache files thag look similar to that.

https://github.com/getsentry/symbolic/tree/master/symcache/s...
As someone who's been doing PHP for nearly 15 years, but 2 years ago switched to Node.js for a job, I agree. This is even more true when switching to Typescript.

We introduced typing later in the project and wow what a step up in safety and productivity.
ROCK 'EM SHOCK 'EM ROBOTS: TESLA VS. EDISON: https://www.thinkgeek.com/product/krvu/

FORTNITE R/C BATTLE BUS:
https://www.thinkgeek.com/product/krvv/
This seems like a service where the unit economics might not work at the moment, but will become much more attractive once self driving cars are on the market.
> Moderation and control have to be designed into the network from the outset.

I wonder about the ability to set up privacy canaries to detect information leaks. Because with stalkers and the like what you are looking for is to make sure that they don't have side channel access to you. So it's not just being able to block them, but block people they associate with. And importantly have ways to detect when they've gotten shared info they aren't supposed to.
How about youtube? Is there any law specifying website must delete the data user choose to remove?
That link returns a 404 for me.
This is a very illuminating post that I will remember when speaking about net neutrality, modern rights I think we should have (internet access), and how someone may find their way out of homelessness (if they desire).

Thank you for this.
Robert Nozicks' "Anarchy, State and Utopia" (1974) describes how a system of multiple concurring "governments" could work. Quite a stretch from social networks but first thing that came to my mind when reading your comment. Moderation is a form of social network government, right? One could subscribe to a government / moderation scheme and the governments form meta-governments to decide which content from competing governments are fit for their users. Moderation in two (or N) levels.
Having a paper is not the only means to get educated these days.

Oh and your assumption that education somewhat prevents wars is completely false. Societies like pre ww2 Germany and Japan were full of well educated folks.
What is an educated person? How do you measure education? Why do you think universities should have a monopoly of higher education?
Janus is fantastic as well, as is Arrow. Always worth the price.
> Template languages have evolved for a long time to include all the things you will probably need.

Which is what turned them into Turing-complete languages that try to pretend they're not.

> For example, imagine if you want to test some HTML code in a browser. Browser doesn't understand Lisp so you have to write it in HTML. And then you have to convert it to Lisp to use as a template. What a waste of time.

Not much time is wasted, especially that s-exps are faster to write than HTML (especially with editor support). Browsers don't understand templates either, so in both cases you have to do some conversions. I'll give a point to HTML-ish template languages here, but I don't believe the time spent on manually converting large chunks of template code into browser-edible HTML and back is anywhere near the critical path on the project.

> This can be easily solved by validating HTML code.

That's validating vs. making it literally impossible to emit invalid HTML.

> I guess in Lisp you cannot even write user.getName() because it doesn't have objects.

Haha. Right. No, Lisp actually has objects. You'd write it as (get-name user), since the syntax for function calls in Lisp is consistent.
Python FP primitives came from an early friend or codev of Guido. He had experience in FP or Lisp and felt he needed them. Guido never really wanted that and just left them there.

All these names and ideas are clearly rooted in FP circles
Nothing in those articles suggest that Snapchat purged user data.

> “resolved most of those concerns over the past year by improving the wording of our privacy policy, app description, and in-app just-in-time notifications.”

Snapchat just changed their messaging to quell user concerns. Once they have a critical mass of users, they are immune to disclosing that Snapchat messages are not truly ephemeral.
Great and illumimating comment . Thanks for sharing. Is there some easy way for me to contribute to more of this?
That form request validation is such a strange level of abstraction. It makes far more sense to me to validate the model than to validate each individual HTTP request.

Why have a separate class/component that's highly tied to single controller or action? It just seems like dividing non-reusable logic up between files for no good reason.
It's not that similar, but this somewhat reminded me of Alligator eggs[0]

[0] http://worrydream.com/AlligatorEggs/
You have those, but you don't have core algorithmic property of an effective method that can be computed within a finite amount of time and space. It isn't even very meaningful.

In the meta sense, you might be able to come up with an algorithm that makes connections automatically, but then...it is meta.

Unifying algorithm and architecture has been somewhat of a holy grail of PL, being able to express your whole program (including your frameworks) as just procedures would be very convenient, but no one has figured out how to do that.
Interesting! I'm actually doing something pretty close to what he is proposing with v2. Meta-'governments' layered on top of each other.
Tetris coming to Julia language for long-awaited v1.0 release next week
Stackpath is from the founder of Softlayer. Raised private equity money and acquired several companies including MaxCDN to start a new service. The subbrands still exist but are slowly migrating and will refer you to the stackpath products.

https://techcrunch.com/2016/07/25/security-as-a-service-star...
Shit, is the hex bar working the same stuff? Should I just switch to that? I'm underlifting for fear of my back
How is it any worse than what the Internet Archive does normally when it scrapes sites itself? Most sites aren't able to stop scrapers the way FB could.
All disciplines have journals, and many are either public access or available on sci-hub. If all else fails you can get a limited JSTOR subscription for only a moderately outrageous sum.

Mostly you do reaearch by being interested in something. If you need someone to tell you what to be interested in, a PhD may not be for you.

A good supervisor will tell you to be interested in things you may not have considered. But empirically, most supervisors will steer you in the direction of their own interests.

These may or may not match your own interests. The mismatch us at least as likely to be a bad thing as a good one.

In my own experience, I decided to work independently instead of starting a PhD. There are only a couple of directly relevant journals, and I literally skimmed every issue, reading and taking notes on the papers that counted as prior art.

Those papers often quoted other papers outside the immediate domain, so I followed them up - and that’s how you start.

I have a pretty good idea of the directions I’d be steered in if I was being supervised, and near certainty that those are not the directions I want to explore.
Show HN: Python (django-autoscroll) easy automatic pagination in web apps.
YouTube is a vital source of information on so many things; outright blocking it seems cruel. I think it'd be preferable to find some way of having per-person accounts with limits.
Zstd is better suited as a general purpose algorithm. It's like zlib only with better performance and a wider application range.
It's really cool to see the applications made possible by the high quality, reasonably priced, and fairly licensed text-to-speech APIs offered by AWS, Azure, and Google Cloud.

The most fleshed out service of this type that I've found is narro.co, which offers web/pdf/epub/video/rss/email/text to audio conversions.
More generously, the people giving you advice are self-selected from the group of people who succeeded by taking that advice. I expect that the faculty are well-meaning, but perhaps not able to accurately gauge what will work for others.
I think the best analogy is a roulette wheel. You know about when it's going to stop, but that doesn't help much to analyze where.
Some people now boot an OS to serve each request, and reinstall the OS to deploy new changes. It's funny, even the objections to PHP haven't kept up with the trendy software practices.

I guess the objection to "spinning up a process" is actually a problem with slow PHP initialisation, though? A dinky server can spin up many thousands of processes a second. I'm pretty sure OS process overhead is nothing compared to whatever PHP or Rails or whatever else puts into your critical path, but the language/library/parsing requirements could kill you. (Though people still make this objection to CGI itself, not just PHP...)