skysight-inc/HackerNews huggingface dataset:
A friend of mine was denied entry into the US after having travelled there a few times. Since there was no return flight the same day, and the airport was closing overnight, he had to spend the night in a cage (they call it detention center, but it is a cage), where he was raped (they call it body cavity search, but it is penetration without consent, and therefore rape). We he returned the next day, he was actually traumatized.

Two hours of questioning is nothing in comparison, and the "I felt like I was physically assaulted" line when there was no actual assault makes me sick. Actual assaults happen all the time, people from supposedly friendly nations are routinely treated like animals, and nobody even receives a letter of apology.
I'll never understand the techie disdain for the humanities and liberal arts.
It's not that the specific, individual people were different, it's that their environment was. From that arose patterns of group behaviour that have left us with oceans filling up with plastic, and absurd wealth disparity. It's about the legacy they've left us and that they're still not taking responsibility for it, nor letting go of the reins.
What I missed first was this deal with provisional API. Nice that it's widely tested, but it should be clear that typing is provisional: Your program is not future compatible if you use it.

Asyncio was provisional until Python 3.6, so it is effectively a Py 3.6 feature that has been backported to 3.5 in time and space.
I wish he'd said what service he used to delete all those tweets and to auto-delete his new ones after a certain amount of time has passed.
Your first statement is a pretty classic and naive position. For me at 8 years or so I rendered the objection of "pain" in terms of volcanoes.

The standard, and again naive, rejoinder in mainstream Christian theology is that God had a pattern for the World that didn't include such types of pain and destruction but that man chose not to follow God's plan (as allegorised in "The Fall" in Genesis). Thus we chose to go it alone, and you can read the various theories on how that has a Universal effect too.

To raise the basic Argument from Suffering you really should look past the first-tier argument and present it anticipating The Fall.

In my limited understanding suffering appears out of the axioms of free will. To make us human, with the ability to choose to love, choose to care, choose to follow God or not, we require free-will. Otherwise it's just "echo 'i love you'" rather than a genuine emotion.

Your question should be "is it better not to create our Universe, with the possibility for love, if there is also a possibility of suffering". You may come to the same conclusion, that a benevolent being shouldn't turn Creator when faced with those possibilities ... but then if they hadn't you wouldn't be here to make the objection.

tl;dr "The Fall" and "free will" are the standard, Biblical, Christian counter-arguments that stand against Suffering and allow for a loving, benevolent God to be creator of a Universe such as ours.
The way it's described makes it sound like the WAF looks solely at the request payload, and not the response.

They mention using the default mod_security rules. I know mod_security can look at the response body, but it is not a default setting.
You're free to determine your level of safety. But your placement on the plane and how well you're strapped to the seat determines everyone else's level of security - which they have just as much right to.

Or in simpler terms, during heavy turbulence, if you're not strapped in you will hit the ceiling and then fall down, potentially onto another person.
I got intrigued with Warhol after I found out he'd supported the Velvet Underground and suggested they work with Nico. It was a strange suggestion, but the results were brilliant.

I'm also really interested in his "Factory" idea, basically a very wild art studio. It reminds me a bit of Erdős, Grothendieck's seminars, and hackerspaces all at the same time. Basically, get a bunch of talented people with very different skills and perspectives in the same place, with a bunch of stuff to work with, add drugs, and see what happens.
When one travels to this part of the world, one learns that it's more like, "I have nothing so fuck your rules I'm happy to trade some of my safety for food for my family."

We might sniff that such a point of view is short-sighted, but we do so from a position of privilege.
My point is that as long as I have to choose non-mainstream OSs for secure communication, the tradeoff will not be worth it for me. As will be the case for 99% of "normal" users (most of whom don't even know that they can install alternative OSs, let alone on a USB stick). Things like QubesOs (which I had to Google) are interesting, but I think the general failure of Linux to become a mainstream desktop OS alternative proves that the chances of something like that gaining any relevant degree of popularity are minimal.

So yes I accept the risk that this will come back to me one day, because there's no other practical choice. Just as I decide to go out of the house and take part in normal life, even though there's a high chance of getting into a traffic accident one day.
Except that, due to your lack of consideration or knowledge, you put other people at risk. What happens when the aircraft hits turbulence and you can't hold on? It is very likely that you injure yourself, and worse yet, someone else.
CRISPR Part 2 (Radiolab, 2017)
I'm not sure there are many people who are willing to make money at any cost. That sure isn't the case here on HN.
There have been follow-up fixes to the script and the link above is now stale. See
https://svn.apache.org/viewvc/subversion/trunk/tools/hook-sc...
HTML, CSS, JS optimization service. Also email obfuscation and scraping shield.
I prefer to consider the joy of finding money; when you lose it you've almost certainly given someone else that joy.
Are you sure about this? Just because they terminate ssl on the proxy doesn't mean the traffic between the proxy and the web service backends was plain HTTP. That's certainly not how we do things.
https://www.ifliix.xyz/uber-blasts-google-claims-self-drivin...
Most tech people I know have an above average knowledge and respect for the humanities. Maybe you cannot excel in both but you can enjoy both. There is always a subset of the population, intersecting also technical people, that increase their self perceived value by decreasing the value of the others.
How do we realistically reduce population? People in more developed countries, particularly with access to contraception, tend to have fewer children by choice, but I don’t know if that can work fast enough. China’s One Child Policy was effective but controversial at best.

A bit counterintuitively, even though many people are starving around the world, globally we produce a surplus of food every year—that’s what all the new people are made of. If we capped food production, it would necessarily cap population. But it’s hard to be enthusiastic about the ethics of letting people starve now so there are fewer people to starve in the next generation…
Designs on the V.A.
IMO, there's nothing wrong with "except Exception" if your handler is, in fact, meant to handle all exceptions.

(Well, there's one thing wrong, which is that certain standard library errors in Python 2.x don't derive from Exception [socket error, I'm looking at you]. This has been addressed in more recent pythons, but there's still lots of 2.x out there.)

Python's rules for handling exceptions in a class hierarchy are designed to provide programmers with the ability to handle errors at whatever level of granularity makes sense. If your requirements say that the software should treat SSLError and BrokenPipe differently, then by all means, handle them separately.

More often, however, you're making a library call for which any failure has identical requirements. When you're trying to read a configuration file, you probably don't care whether a hard drive is corrupted, has a loose power cable, is on fire, or somehow triggered a divide by zero error somewhere in the bowels of an I/O library.
Thoughts on preventing Cloudbleed
During the development I compared my results with the ones of pdftotext utility and i obtained more or less similar results. The objective of my code was to have an equivalent tool easily embeddable in any java/android project and to learn more about apache pdfbox.
Ask HN: Anyone got a permanent residence of Malta as a non-EU developer?
Clarification: i am outside of EU (Russian passport), have temporary residence in EU (Lithuania).

Conditions of the program as they can be googled up sound easy (http://www.legal-malta.com/immigration/permanent-residency), is that true? Some hidden roadblocks? Tell your story.
Isn't computer science a liberal arts? At least it is a feature of lib art schools on the east coast, not necessarily always an engineering degree.
> But for larger projects type checking is valuable.

Wrong solution to the wrong problem. Break that too large for duck typing fucking mess into smaller independent components with well defined and enforced interfaces.
And the same goes for a biscotti ("a cookies").
Humanity does not like the lense of science to be turned upon itself and there will be people who are offended, dismissive or try to hold this academic work to an impossibly high standard - much higher standard than they would for a study they find more palatable.

The truth of the matter is that a decrease in the latent genetic 'g' is what we should expect given a basic understanding of evolution and the structure of modern society which removes (and reverses) the evolutionary pressure. Of course 'g' as with any system of caterogisation is problematic, but no more so than other less contraversial concepts we regularly use. So let's not allow ourselves be stripped of concepts we need to reason about things - 1984 style.

Evolution is an unfair system, and all attempts to restore (reproductive) fairness undermine evolution. The obvious compromise is to have fairness in other matters but not reproduction. For example possibly you shouldn't be allowed to have many children if you cannot support the first one(s). Of course others would say the solution genetic engineering (a technological get out of jail free card), thats another debate entirely (ok, not entirely).
"Too many humans" is a lazy, negligent argument by those who don't want to make any changes in how we conduct business.

Deforestation in Brazil is happening not because humanity really needs that lumber. It doesn't. Deforestation is happening because people in Brazil see those trees in their country's backyard as essentially free money lying around, and they do not give a second thought to chopping them down.

Nothing to do with overpopulation of Earth.
And, I've found several of my domains on this list.. Some of which don't host web content etc and only use cloudflare for DNS. The list is currently ~4.3mil entries, which honestly feels like a rather low figure. I have no data to back up my gut feeling though ;)

Anyway, I'm OK with them being on this list, as I believe understanding the scope of the problem is important to figuring out how we prevent these kinda problems in the future.. (For example, answering this question requires understanding who uses CloudFlare: Why are so many sites concentrated on a single infrastructure?)
This is what I use: https://github.com/mikemcquaid/TwitterDelete

It's configurable, so my tweets auto-delete after 30 days unless 5+ people favorite or re-tweet them. The Ruby script has been running for several years now on my desktop without any issues (I'm using anacron on Ubuntu, because the computer is off at night when cron would normally run)

There are third-party services available but I won't grant them access to my account and I prefer to do it myself.
It's still here. Types don't matter in many scenarios. Example: get a parameter from a POST, use it as a key to query the db, store it into the db. Is it a string, is it an int? It doesn't really matter to the application because the db driver can handle that. Don't slow me down by making me look at the docs of what I really receive from the web server to declare a type. Multiply by some hundred or thousand times. Strongly typed languages only raise costs for my customers. Given that the budget is constant they get more features with dynamically typed languages.

I'm not happy seeing language designers introducing strong or optional typing in languages that didn't have it, but I understand that their goals are different from the goals of the developers that use their languages. I'd say leave the core of Python (and Ruby [1]) alone: if we picked those dynamically typed languages in the last 25 years (they're that old) it means we like them so. We can use plenty of other languages if we really need types.

[1] https://blog.heroku.com/ruby-3-by-3 "Matz: ... the third major goal of the Ruby 3 is adding some kind of static typing whille keeping the duck typing, so some kind of structure for soft-typing or something like that. The main goal of the type system is to detect errors early. So adding this kind of static type check or type interfaces does not affect runtime."
Hayat and murat love story
It's not automated, but I used Twitter Archive Eraser [0] to purge around 50k tweets around the new year. It worked well.

[0] https://martani.github.io/Twitter-Archive-Eraser/
People purposefully disallowing copy-paste isn't a problem with PDF: in other formats they would have embedded a picture, at least with PDF you get the other advantages of proper text: infinite zoom and great compression. Sadly there's also a lot of PDFs that are little more than a picture collection that looks like text, but that's hardly the file format's fault.

It really is a problem with PDF that it's too easy to get a file where copy and paste yields a different result than what's displayed. But this varies widely with the software used for creating the file (e.g. latex ligatures never work in copy-paste)
> The problem with complicated and/or specific types (which promise to catch more errors) is, in one word, coupling. They create serious dependencies across the whole project or even across project boundaries.

With dynamic typing, you'll still have this coupling, but now it's unchecked and (in practice) undocumented.
thanks for sharing this one, didn't know it.
Is there any good reason why someone shouldn't simply listen to digital versions of the vinyl masters ? Lack of availability wouldn't make it impossible, in pre-internet days people ripped their CDs, and especially for vinyl that can literally wear out, it would make all sense to use a perfect recording even if you have bought the vinyls - at least so that you'd listen to that in your car instead of the CD.
Modern Web Development
That's the first thing I thought of. Did Bezos do this to hurt the NYT and thus help The Washington Post?
could be a nice feature but not easy task. I'll give a try, though.
Well, we can disagree. If you understand the risk and are willing to accept it that is one thing; if things are happening without controls that is far worse. There are no 'isolated incidents' in aviation.

http://www.vanallen.com/index.php/an-isolated-incident-risk-...
Originally that wasn't the case, iirc, a bunch of angry people complained to get it added.
Controversial and renowned Chinese photographer Ren Hang dies aged 29
I really don't like reading people's advertisements in HN comments, but according to my reading of the site guidelines, there are no prohibitions against spam or other aggressive marketing within comments :/
Not only that, we just off-shore all that environmental damage elsewhere. All the electronics we consume are disassembled releasing toxic gases in Pakistan, China is full of ridiculous amounts of pollution because we use it as a major manufacturing hub, demand for animal parts causes overhunting all over the world, etc. All we've done in the West is push things under the rug and outsource our pollution. (meanwhile, the US Department of Defense is one of the biggest polluters in the world and doesn't have to follow any of the regulations set)
So are you going to shoot yourself or what?
Tesla will begin selling its solar roof this year
Media+slams+limited+WH+press+access+•+THE+WORLD+INFO
Whose translation is that?
Kim Jong-nam's death is messed up enough, but that poor woman. She was unwittingly used as a political weapon to kill a guy. She's gotta deal with that forever, in addition to any charges or sentencing that comes of this.
OGS is also fire and forget. If you create a game "room" it will be filled in a matter of seconds, even if you put up some crazy game conditions.
Which is better, Perl or Python?
Same here. Just turned down an invitation to meet an Amazon recruiter primarily because of the requirement to travel to the US.
This paragraph? Which one? I see three.
Active nihilism is not about finding meaning in objects created by others or transcendent ideas of any kind, but creating (and projecting) your own. It is Nietzsche's concept of the Übermensch. If there is one word to characterize active nihilism, it is "Destruction". The tearing down of old symbols, morals and ideas imposed upon the individual by the collective. In some of Nietzsche's writings, Christianity plays the adversarial, collective role.

On the other hand and contrary to what you claim Viktor Frankl writes (I have not read his book), Stoicism (and Buddhism) are really forms of passive nihilism, Buddhism of course being the stronger of the two. If there is one word to characterize passive nihilism, it is "Acceptance".
I've been using Timehop to review old tweets daily.
interesting service which was not present yet back in 2015 when I wrote my class.
> components with well defined and enforced interfaces

"Well defined and enforced interfaces"? That sounds like a job for static typing!

But seriously, that's exactly what types are good for: defining and enforcing an interface.
Correct, although it kind of defeats the point of typing if you ignore type errors.

There is however an Any type which you can use for things you don't need enforced
Just got the app. Apparently you just need to add your work email as your primary email on LinkedIn.
I'd suggest what keeps man from eating man, on the scale that lions eat zebras, is a general belief in a authority higher than man.
Fieldbook is also an alternative. https://fieldbook.com
In terms of general use, yeah definitely no problem with the CPU at all. It's zippy enough. But I also do a lot of CPU-intensive gaming (Cities: Skylines w/ tons of mods, RimWorld, Banished, etc.).
It's strange that the Go community calls all the online Go servers letter-GS (GS stands for "Go Server").

"online-go.com", for example, has never called itself OGS (and that's rather a stupid name).

IGS (Internet Go Server) calls itself "Pandanet", which is a better name, but the community insists on IGS.

KGS is probably the one to blame on this strange state of things, because it's official name is "KGS Go Server", a mutually recursive acronym.
This is however not perfect. There are lots of basically subsitence farmers in the Amazon, who do admittedly partake in destructive practises such as slash and burn to create pasturing land for cattle.

They do manage to eek out an existence and support their families from this. Allowing vat-grown meat to flood the Amazon countries with cheap meat will destroy their livelihoods and result in even more people living in extreme poverty where there is not any state protection nets.

The end result is basically capital moving from poor countries to rich countries which have the patents and production capability.
Warren Buffett's Annual Letter to Berkshire Hathaway Shareholders [pdf]
I remember something similar that was based on a website that would post questions that would lead you, after searching, to some particular site. Once you found the right page, there would be a logo for the game (something round with question marks?) that would take back to the original site and give you points for finding it. They kept a running tally that was used for a leader board and I think possibly some sort of prizes? I vaguely recall some sort of name like "Riddler" or something, but I have never been able to track down anything about it outside my own memory...
Languages and other projects backed by large companies are known for growing fast. Java, Visual Basic, C#, Go, Rust... Community-driven projects, generally speaking, tend to have slower growths, e.g. Python, Linux.
Earlier reports mentioned a spray bottle, now this one, in the text shown in the video, says:

"The footage shows the woman in white lunging and wiping a man's face with a cloth"

Earlier reports also mentioned both women applying something to his face, which sort of suggested a binary agent being used, where each part is non-toxic on it's own, and only deadly when combined.

This one doesn't say much about the other woman, and whether she applied anything to the victim's face.

Funny how these details change.
> Trump's website requires a captcha to view static content.

I'm not particularly adept at security. Why would this occur?
I'm not sure I believe this story one bit. Looking at the footage her attack is quite aggressive and she strides away very quickly. Also, VX nerve agent is deadly in small amounts. The fact that she appears fine means she may have been wearing some sort of protective covering. Why would you do that if you knew it was just baby oil?
Most parts of the code don't actually care about all aspects of the type (or the value), but only that it's an object that they can hand to the next function. Or they only care about a subset of the value's properties (like it being a string, not necessarily a URL).

For example, in Haskell there is the filter function:

filter :: (a -> Bool) -> [a] -> [a]
filter _ [] = []
filter pred (x:xs)
| pred x = x : filter pred xs
| otherwise = filter pred xs

It doesn't actually care what (the type of) a is. This is one of the showcase examples of the power of Haskell's typesystem. (And admittedly it works nicely in this case).

But you can have that easily with no typing at all.

def filter(pred, xs):
return [x for x in xs if pred(x)]

So, dependencies avoided and it's not a huge source of bugs. While in the typed case, a system is needed to prove that the properties that get input come out again (or possibly a function of these properties). That quickly gets quite involved for more advanced cases.

Just look what the average Haskell code looks like, how many language extensions are typically needed, how crippled the code typically is (libraries dictating exactly what properties the client must be able to statically precompute). Most of the Haskell community seems to agree that the end-goal would be a practical system for dependent types (the unification of types and values, i.e. no types at all ;->).

For example, there are some libraries trying to capture the construction and execution of valid SQL queries in the type system. To understand these libraries without doubt a genius-level IQ is required. But the client code is still basically an unreadable mess. And the libraries are not reusable for cases where the database schema isn't known at compile time. The static type system actually prevents code reuse -- it makes the code really inflexible.
Wildlife conservationist warns of poachers hacking wildlife tags
May 16, 2016 - April 17, 2017

so basically project infanticide...
Kuzeni Tarafından Hamile Bırakılan Samsun Escort Funda
Never; it is hard(er) to do anything without a scapegoat / common enemy.
Is there an option to not revert DNS but instead to just temporarily remove the DNS records or something in case one doesn't want the IP addresses of the origin servers revealed?
Intel Launches Atom C3000 SoCs: Up to 16 Cores for NAS, Servers, Vehicles
...no way to trace it back to this bug.

This is a strong argument for simpler systems without multiple third parties as links in the chain.
HTML is a viable alternative. And it is something everyone can parse easily, better yet if the data is tagged with classes somehow.