skysight-inc/HackerNews huggingface dataset:
This was not talked about much because it was a criminal offence, but growing up at that time in that area we were all the same and I could tell you a bunch of other stories like that.

Collecting the rounds was like a sport. The one with the biggest collection was the winner. Sometimes we found elements from ammunition belts too. They were rare and because of their small size and dark color much more difficult to find than the larger untarnished brass colored cartridges. One of the boys from my town had the perseverance to collect enough elements to assemble a belt that he could wear over his shoulder. He looked like John Rambo.

All of this wasn‘t a local phenomenon either. Much later I learned the story of a boy from a different area whose house was searched for pirated home computer games. Police didn‘t find any pirate copies but they found the blanks he had collected. Strict as the gun laws are he got a young offender sentence for unauthorized possession of a firearm (unerlaubter Waffenbesitz).

And this was all only about thrown away blanks from NATO maneuvers. When it comes to all the weapons that “disappeared” basically over night at the end of World War II, I know there is another trove of stories, but these are for someone from another generation to tell.

You might have heard about the BBC serial The Machine-Gunners, which tells a related story from the British perspective. It was very popular with us kids in Germany at that end of the Eighties. The opening theme Colonel Bogey March is now stuck in my head..
Disable IPv4 support
Red Matrix, a descendant of friendica, not to be confused with matrix, solves this with portable profiles. The account is tied to an instance, but your profile is liberated:

https://redmatrix.info/help/accounts_profiles_channels_basic...
It’s not like the idea is completely crazy; pointer misuse is a big source of all kinds of problems, Rust shows how much can be done without constantly using raw pointers, and what are the C++ Core Guidelines if not an effort in exactly this direction?

I finally “got” that this is a joke when they discussed the future alternatives:

> For copyable and assignable references you can use std::reference_wrapper. (http://en.cppreference.com/w/cpp/utility/functional/referenc...)

and thought, ha ha, an “assignable reference” instead of a “pointer”, that’s obviously completely different. :) What a subtle joke!

Only now I see that reference_wrapper is apparently completely real and exists since C++11. Why does this even exist? My head hurts from banging it against the desk.
I guess that means I'll have to purge Chrome from my disk. I have an AV preinstalled by MS I don't need another program shitting all over disk I/O.
It also means a chained call with an nil in it still complete from start to end. So it has additional overhead, and you better not have side effects in there.

All in all, I'd like to have some kind of "?" operator in Python, I do think the pros are most of the time greater than the cons.
Thank you. I was very confused by the comment.
Client certs for service to service communication.

Auth tokens validated by a central entity (a bunch of servers really) for user (mobile apps, etc) to service communication.
Is this an April Fools joke? I honestly can't tell.
The sweatshop wants money, millions of users solve captchas daily, for free. Clever.
Show HN: PAL 8000 – Interactive Neural Network Experimentation Demo
It is certainly meant to be. But when you print money equal to 1/3 the economic output of the country to bail out Wall St banks, it's no secret.
A lot of the big agile companies are using event sourcing. So there isn't even a model to delete. It's all events with the models being created from a snapshot of events. The event stream is usually durable and lives forever.

https://martinfowler.com/eaaDev/EventSourcing.html

So with this type of system nothing is ever "deleted". It's just an event that something is deleted.

This is a common and very scalable system. You don't deal with models, you deal with events (and a model is a snapshot of events).

This is even an issue. Even other companies that aren't event sourcing, but traditional model architecture have backups. You ask something to be deleted and they might actually delete it, but what about last weeks backup? It's not deleted there.
Out of the Box Support for TensorFlow and PyTorch for Clojure in Neanderthal
Cambridge Analytica: Facebook Able to Listen to You at Home and Work
Wristband Lets the Brain Control a Computer with a Thought and a Twitch
Yes, I agree. But the amount of cost or hardship is entirely open to debate and is a moral choice. What is best for humanity is subjective.
Dentures 3D Printing with IOT Has Never Been Cheaper
There have always been library features in the C and C++ standards that can't be implemented using standard C or C++. setjmp and longjmp would be the obvious examples.
APCu is no longer a bytecode cache (if that's what you mean by userspace?) it's exclusively an in-memory k:v store

FastCGI sometimes scales better but also has increased latency because it adds a proxy layer vs mod_php where you sacrifice memory for more "direct" access.
Not standing up for FB's other practices, but from a technical stand point there are several reasons, none of which are about not having respect.

- disk space is cheap
- deletes are expensive (time) and slow
- deletes are harder to scale
- can't revert a real delete
- delete's don't fit into an event sourcing architecture
- append only data is better, more durable

I could go on.
Corrected URL: https://medium.com/@listenonrepeat/the-correct-url-c68e236c9...
I see no nuance. Turkey used the situation to further their own agenda. They have stayed in Cyprus long after their presence could possibly be justified.

Erdogan pulled the same trick to cement his authority with the recent 'coup' in Turkey.
I run NoScript, and keep that domain blocked. I'm yet to find a website that breaks because of it.
Stackoverflow added a rubber duck
https://i.imgur.com/t1468Bt.jpg
> class names have been picked carefully

Boom. You can stop here. This has nothing to do with PHP or your project.

It's just the previous devs were good professionals. This is why "it's easy to navigate and extend".

Proper naming is one of the most important tell of a code work well done. You got lucky.

But a (good) framework will enforce a reasonable structure that will drive even less skilled professionals in a unperfect but sane direction. It's still possible to take bad decisions, but less often, and the cost of it is reduced.
No event sourcing architecture I know of advocates that at all.

One of the strengths of event sourcing is that you can fix things after the fact. Say you got a wrong event like you suggested that conflicts. You don't check it at the time before allowing it in log. You notice the wrong event, delete it, and replay the log.

You can always replay the log to get you current point of time.
And they are mostly right. People cared and know the next news bite is out and they forget. Fickle creatures.
> "But I think many people wouldn't find the motivation to learn without the social pressure to get a degree."

On one hand, I agree.

On the other, you hit the nail on the head. This is a socialization issue. As much of the USA gives a nod to individualism, the fact is we are taught to not take that too far.

The status quo feeds the higher edu beast. But there are too many blindly chasing the promise, and only piling up tons of debt. The wrath of Higher Edu Industrial Complex continues. No questions asked.

Yes. We can fix the tuition issue. But that also means saying "Sorry Charlie, you don't qualify." This latter bit, no one wants to discuss.

In addition, the truth is, cost is a function of demand. Edu prices - like housing prices - were driven up by demand; demand that was increase with cheap loans and easy availability.

Edu's charge more? Because. They. Can.

But everyone gets to go. Some use the opportunity wisely. Some do not.

But if the pay model changes so must the who gets to go where model.

All that said, edu is not a gateway to success. And the edu model is broken. It's going to implode. When AI replaces the vast majority of jobs (including white collar) then there will be an excess of edu'ed people with too much free time on their hands (and too much debt with no viable way to pay).

Perhaps higher edu isn't the only thing headed for a reckoning?
Is removing an offending post really uncivil and impolite? I feel like you were taking offense where there was none but misunderstanding of the culture.
Why there are so many online mattress-in-a-box companies
https://news.ycombinator.com/item?id=9806607
Indeed. Missed it because of required side-scrolling on mobile.
No, that's why most people use the robots instead for quality control / testing of the products they make.
This is really more of a client issue than a server issue.

In a distributed scheme, people I "block" or even content I filter out should only happen in regards to me fetching content from the distributed network.

In particular, if the content pathways are P2P (which they should be, even if other measures in place such as relays or caching), inappropriate content ends up being reduced by a result of less peers propagating.

Once the right solution appears for the network, ideally there will be multiple clients working through the UX of using the network.

Personally the best I've seen in this space is Secure Scuttlebutt. I just wish they'd drop the write only aspect for the log, and switch pubs over to acting as relays.
It probably exists facilitate type parametrization of pointer implementations. Just a guess.

That still crazy though :)
You're not serious about writing out 10kLOC in a day, though, are you? I think the most I've ever managed in one day was <2kLOC, and that's already an extreme outlier.
High performance Netflow-/IPFix-receiver released
High performance multithreaded Netflow v5, v9 and IPFix receiver with the support of different backendstores is released.
See online: http://www.thbweb.eu
Is it the complexity of the solution (LOC), or complexity of the problem?

Better abstractions for solutions are great, better abstractions for problems would be even better, but I'm not sure they'd help all that much for understanding difficult problems... perhaps more data on the problem would help, but that's often lacking.
Could you make an attempt to enumerate and quantify the benefits and discount them back to today (DCF analysis)?
Not true. Not if they are educated to be ignorant.

The US was / is involved in 5 to 7 "conflicts." Edu isn't helping to stop that. In fact, anecdotally, I see educated people part of the problem. They have become less open minded, less willing to change position because their info was incomplete.

We need thought, and people willing and able to use it. Not education.
Got to love the number of fascinating things that carry Conways name.

I was searching for an interesting way to generate polyhedra and came across Conway Operators: https://en.wikipedia.org/wiki/Conway_polyhedron_notation

The results can be pretty awesome: http://elfnor.com/conway-polyhedron-operators-in-sverchok.ht... (not my code)

I've got a Unity based "toy" underway utilizing this. I'm currently struggling with adding a UI - mainly because that's the hardest and least interesting aspect of it to me :-(

https://github.com/Ixxy-Open-Source/wythoff-polyhedra

(The base contruction method is this: https://en.wikipedia.org/wiki/Wythoff_construction - the Conway operators are then used to further add complexity. I'm not sure if I can generate all the uniform polyhedra purely using Conway operators...)
In the context of automation (and click farms) if you are not testing the touch screen obviously, I think better approach can be by man in the middle attack with touchscreen and board. Or even emulate screen interface totally. I dont know if has anyone tried that before
> 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

You're not telling it anything, in Rust copy v move is a type-level concern: either the type is "move" (the default) or it's "copy".

There is no difference at the machine-level either (it's semantically doing a memcpy either way, Rust has no move ctor v copy ctor and its move semantics are somewhat different than C++), the difference is whether the compiler will let you use the source object afterwards.

Incidentally, I believe you're not really "telling the compiler to move or copy" in C++ either, you're only suggesting that it can move and whether it actually does so depends on the type's ctors and IIRC the receiver's overloads: std::move on a type which can't be moved or with a target which doesn't care does not do anything.
Building an awesome Pi3 desktop with btrfs, USB SSD, zswap, and $30
> ["No, the other left" ;- ]

It is amazing how you can grow old and still get some things wrong all the time, almost to the point of consistency.
(Tapster creator here) I've gotten my bots up to 800/taps per minute. I haven't seen / gotten to a higher upper limit, yet, where it is unable to recognize the distinction. However, what I have seen on iOS is after a few hundred taps, the taps stopped being recognized in that spot on the screen. Don't know if that's a bug or a feature of iOS to ignore touches at some point.
Ask HN: What's your favorite Easter Egg?
Happy Easter! (At least in non-Orthodox areas) What's your favorite hidden software treasure?
Fedora 28 Beta to Be Released Next Week
Yeah, he was an abusive piece of crap, and we were the children of another man. Think that pretty much covers it there.
Look at the date on the article...
A Major Milestone
Google shutting down Reader 'killed' RSS and made people move to Twitter? You might want to look outside the cage a bit, the world is a lot bigger. Neither Google Reader nor Twitter 'killed' RSS (a syndication protocol, not a hosted service).

I never used Google Reader nor Twitter but RSS has seen plenty of use here, from following commits to projects to simply following news sources. I currently use the News reader [1] for Nextcloud, sometimes in combination with one of the Android apps compatible with the former. Works fine, no Google nor Twitter needed, no spurious censorship, no centralised data mining.

[1] https://github.com/nextcloud/news
Curious about the use of Dependency Injection here. I'm a Python guy and it rarely gets mentioned in my world as far as I'm aware. I always assumed it was mostly an artefact of static type systems.

Can anyone share their insight? Either in the context of Python or PHP.
1. April joke :)

The point of c/c++ in comparision to other languages is that you can do anything and having a huge toolbox for that. Pointers are excelent sledgehammer. You can be perfectly fine with not using them but c++ need to have them. The pointers are not source of the problem, the developer is. That's why languages like java are prospering, it prevent incompetent people making stupid mistakes and that is fine. But some people need and want freedom that c++ offers.
I don't get why this comment is voted down.
I am burning bridges. Watch me play with fire
You chose a set of libraries. You installed them. You used them. And by "used them", I mean you wrote code which called into them and which wired together all the various pieces to make a coherent web application. I know you did this, because if the libraries had come with a magical "make all these things work together" function for you to use instead, you would have dismissed that as a framework.

You don't want to call that combination of libraries and in-house wiring-together code a framework. I get that. But that's what it is, whether you want to call it that or not.

And I'm sure that you don't see it as a maintenance burden right now. It never feels like a framework or a burden at first, because it's all made up of this code that you wrote and that you understand and that you control, and it feels great! For a while, at least.

But sooner or later you will realize you have built your own in-house web framework, and that now part of your business is to be a web-framework developer, instead of a whatever-your-company-actually-needed-to-make developer, and that being a web-framework developer is not a very fun business to be in.

And you will hire more people, and they will have to be trained on this thing-you-refuse-to-call-a-framework, but they'll recognize the patterns sooner or later, and will wonder out loud why it's missing this or that feature that the off-the-shelf frameworks have out of the box, or why this particular part of its API is so weird and cumbersome (it made sense back when the codebase was much smaller and only a couple people worked on it, you'll tell them, sheepishly).

And maybe some of them will roll up their sleeves and try to add what's missing or clean up the historical weirdness, and maybe some of them will get tired of working on this thing that won't add to their résumé and leave, and others will just do their best to get work done, but at a much slower pace because they're working with a framework built by people who hate frameworks, and still others will start to agitate for just going and getting a proper framework off the shelf and using it already, and you will end up having some very interesting and perhaps very heated team meetings, and you'll realize that you're spending way too much time as a team talking about tools and technologies and not nearly enough talking about products and bugs and features and this is not going as well as it was back when everything seemed so simple and easy in the world of "frameworkless" development.

This is the iron-bound web developer's counterpart to Greenspun's Tenth Rule, and in my experience there is no escaping it.
I think the start was the breaking up into "planets", and really it was the "gee if we charge $10 for every NFS client we will make bank!" attitude that Ed Zander brought to SunSoft.
Came here to say something similar. Not sure if you were downvoted or what, but I've inherited projects with function names like "runFunc()" and "doit()" which then have 18 global variables imported, then 1000+ lines of "if(foo=='j' && (barfoo!='f' && foo_old2=='ff') || 7) { // do j stuff v3".

You did indeed have a more professional set of folks developing that.

I just inherited a small PHP project written 2 years ago:

* no version control
* running as root on apache 2.2 in /var/www/html
* php 5.5
* about 12 "pages" each with a healthy mix of html/php ('header/footer' are abstracted to external incudes)

the problem with the 12 "pages" is there's around more than double the logic states and I need to add more. there's a bunch of

if($_SESSION['step3done'] && $_SESSION['step3errors']!="") {}

interspersed all over the place. Do I continue the pattern? Or refactor? The previous developer would add 'new' stuff in a matter of a few hours, because they'd just expand on that pattern; it's now unwieldy, and I need to add 'new' stuff, and expectations are "a few hours".

FWIW, it's probably what I'll do, but am migrating code in to version control, adding items in an issue tracker, and documenting my concerns in tickets, a README, and some code comments. It may come across as a bit passive-agressive, but it's not meant to; just trying to keep a history of concerns while also hitting their short deadline.

PHP needs to be upgraded regardless.
I didn't say supervise students so it was not a point I made??

I of course did supervise students. This does vary by field, but done right each student needs about 5 hours a week one-on-one direct enagagement (more at the beginning of their degree and less at the end). Less time than this and the student will struggle.

You can of course do what some of the big empire builders do and just let the student sink or swim on their own, but this is not good for the student. Good supervision is very time consuming, but probably the most rewarding aspect of being an academic.
Isn't proper type system and Java things that shouldn't ever be on the same phrase?
Imagine if every single fatality caused by a car had this much scrutiny. They should, and while Tesla is copping it , I’m very happy that safety in autos is actually a topic of interest.
Because FB deletes by flag so that content disappear instantly and then start the actual process of deletion (which can take while because of stuff like backup, cols storage)...
> I will note that I didn't tolerate my kids. I adored them.
> It's pretty bad if you don't tolerate your own children.

This was a good tolerant reply.

The “i adore them” comment reads as a cheap snipe, whether it was actually designed to be or the author was just tone deaf is another matter.

On balance, i find it was a calculated remark. An example of toxic commentary yet entirely within the rules because the problem was not the words but the implication.

And yet the reply didnt antogonise the situation further.

A catalog of examples like this could be a useful reference in moderation.
This somehow makes me really curious about which construction techniques make the longest-lasting buildings.
Yep. I only work around 60 hours a week now.
1. I rarely have problems with package management in Python. I know pip has flaws but it's not enough of a pain point for me to see it as an issue.

2. I'd say Python is an easy match in this regard

3. Agreed about the docs - I still find the organisation of Python's docs a bit peculiar.

4. Handy data structures, you say? I think Python might have the edge here.

It's strange you don't mention PHP's biggest strengths: deployment and learning curve: You can begin on almost any commodity hosting with a simple text editor and no knowledge of Unix internals. The amount of extra stuff I had to learn to be productive in Python was huge at the time. It's got a bit better now with various simple deployment options but PHP still wins out for the beginner.
Raw pointers are like "transporter scalpel" used by star trek doctors. When used with care it does the job and does it well.

You need plenty of tests and valgrind.

Its dangerous for most programmers to be cavalier with owning raw pointers. If we aren't we'll get another Java.
User expectations about a deletion would probably be "make it as though this was never uploaded": no copy, no backup, no recoverable form whatsoever. And yet, if it was not deleted, and there was a problem requiring backups to be used, they would expect to never even know about it, just that all their data would remain.

It's very much against the rules in event sourced systems to change history. But maybe that just doesn't matter. If it means you can never meet a user expectation about privacy, I guess you could tell the user that everything persists indefinitely... or when something is deleted, go back to the upload event and remove it, rebuilding history with any event related to that uploaded item ignored. Putting the user above the "purity" of the software and creating potential problems elsewhere.

Even on backups in long term storage, there could be some process of creating new copies of the backups with any needed modifications on some kind of schedule, so deletions can propagate over time.

Ultimately the challenges here are financial. We could delete things thoroughly if we were willing to pay for the developer time and other resources needed to make it work.
It can, and I've set it up to do that with some of the obvious stuff. Also working on reorganizing things to make it easier for AutoModerator to detect those things.

But even then it's an impersonal deletion with a "copypasta message", which is what the parent comment was complaining is unacceptable.
Lambda surely doesn't actually boot a new OS for every single request. I thought it stuck around for a set amount of time and you could even ping it to keep it warm?
I was thinking the other day that GDPR might make event sourcing problematic.
It isn't a world-wide holiday
Show HN: Instanote – self-hosted pinboard