skysight-inc/HackerNews huggingface dataset:
NetEm seems to be rarely known and used traffic control feature available on Linux.

The linked script allows you to delay sending DNS requests (IP packets with destination port set to 53) on given interface. Normally it is useless, but it may be useful for debugging some hard network-related cases in your software.

The script may also work as a base for other network-related experiments using netem. You can read more about it here: http://man7.org/linux/man-pages/man8/tc-netem.8.html
> I was hoping for more discussion of alternatives

I think the best alternative is Reinforcement Learning. In RL, there is an agent which exists inside an environment. It can perceive the world around, move about and perform actions. The agent has a goal to achieve and receives reward signals from time to time. Such an agent can learn behavior that maximizes rewards.

That's what consciousness is. It is not an experience, it is a whole loop "perception -> judgement -> action -> reward" that defines life moment by moment. This also explains the role of consciousness - it is to choose actions that lead to survival of the individual and of its genes (reproduction). It is all a self replicating loop, in the end. The purpose of life is life, the purpose of consciousness is to guard life.

Consciousness is a set of four functions (perception, evaluating actions, acting, learning from reward signals) that work together to select the next action, to protect the body, on which consciousness depends - yep, full circle.

This whole "RL agent inside environment = consciousness" theory has the advantage that it is concrete and not supernatural in any way, and has promising applications (such as AlphaGo and self driving car).
The only languages I know off the top of my head that use balanced delimiters for strings are M4 and Perl 6.

Hey, imagine being able to nest strings without escaping! What a concept!
"I'm with the news, dude."
If Zuckerberg ran for office he would have to let people know what his politics are and run as GOP, Democrat, Libertarian, etc. That would immediately alienate huge swaths of the population, not just of the U.S., but the world. It wouldn't matter what party he chose. I doubt he would open Facebook up to that kind of scrutiny.
Why You Should Use Reverse Proxies
Have a citation for that with data?
You're assuming all the sellers are always overpricing by a very large percentage and that nobody accepts a lower offer.

What usually happens though, is that you determine an estimated FMV (eFMV) based on recently sold properties in the neighborhood that are similar in size. Experienced realtors are usually quite good at this. You can add a factor to the eFMV to get your list price. As a seller, in the worst case, you may have to drop your list price to your eFMV. Best case, you get a nice bonus. When there are multiple bidders around your eFMV, but under listing, you have some leverage to get a higher bid. Let's assume your eFMV is 850K. "Look, I have a bid of 850k. You're at 825k. My list price is 900K, but if you bid 875k now, it's yours guaranteed." It looks like a steal in the buyers eyes ("25k below list price!") and you get a nice 25k bonus over the eFMV.

As a buyer, this silent "list price is always accepted" rule, gives you the ability to properly filter properties because the list price functions as a cap. This saves both buyer and seller time because you're not chasing unreachable properties. You can also get a realtor to get your own estimated FMV for the property that looks interesting. It's up to you to decide if the certainty of the buy is worth the difference between list price and your eFMV. If not, you can always bid something lower, closer to your eFMV but with the possibility that someone outbids you.

The process usually is really fast, because realtors are good at estimating a FMV, most sellers realize they shouldn't expect a huge premium over that estimate and buyers accept a premium for the certainty of an immediate sale.
Do you mind posting links from reputable sources (i.e. not blatant Turkish government propaganda)?
I use net 30 terms. Average time between invoice delivery to invoice deposit in my bank account appears to be approximately 2 weeks, depending on whether they decide to pay by snail mail or ACH transfer.

I've never had a client be late with payment. I wouldn't say I get "nervous" if they don't pay within 2 weeks, but given that I'm spoiled by the average I've experienced, it would probably prompt my attention if they'd not at least started the process within that time frame.

From what I can tell most of the companies I work with appear to be eager to get the invoice process over and done with.
I've opted for a similar approach "behind the scenes" for my (wildly incomplete, though now close to compiling itself) Ruby compiler: While you can usually statically determine most likely instance variables for Ruby classes, and optimize that by creating the equivalent of slots, you also need to be able to dynamically create more, so I allocate "slots" in the instances for any variables that I can see, and fall back on the equivalent of __dict__ for anything that's dynamically added.

I've always found it quite curious that Python made this explicit rather than an implementation detail (I get that there are slight semantic differences here in Python too) because it seems like such a useful optimization. And a similar approach can be used for method lookup too.

I wonder (and I don't have any measurements on this myself) what the relative benefits are to explicitly picking one over the other vs. automating it are. The downside of doing it automatically is that some types of objects might very well be very "sparse" in that it's not a given that all instance variables are used for all objects (this is more applicable in for vtables, especially in languages with single-rooted object hierarchies).

My intuition is that the overhead of a map/dict/hash table to store them is likely to usually outweigh the cost of quite a lot of unused instance variables, and so that inferring instance variables is generally likely to be an improvement.
Are you denigrating my Teddy Ruxpin?
You are playing word games. Which specific persons have been directed to murder which specific people? Just having abstract desires about abstract groups is not enough in our current legal system.

And don't forget we are talking about censorship here. We don't have a two-step legal system, i.e. let's censor people who have abstract ideas of murder, then arrest them once they start to carry them out. Either they are planning to murder someone specific or they are not. And until we have evidence that they have murder targets and execution plans, then no action should be taken.

There are a lot of groups that espouse murderous beliefs that are not Nazis. What should we do about them? Plenty of non-Nazis have said online that all muslims should be killed. Should they be censored and/or arrested? If you think that there is something special about Nazism, then you should amend your argument to include the historical significance of Nazism as a reason you think they should be censored, rather than any reductive argument, because there will always be counterexamples in the latter.
The language may not be great, but the platform (where "platform" == "an ever-expanding pile of web technologies already deployed on billions of devices") is seemingly unbeatable.
Sensitive information that someone is reluctant to send over the internet may be stored on a hard drive and exchanged in person.
I've heard from male teachers that teaching younger children isn't worth the risk (perceived or real) of baseless accusations ruining them. They much preferred to teach high school or above.
Let's say I own a railroad and you own a soap company. For years to get your product to consumers you pay me money and I transport it to stores to be sold. Now, I see how lucrative your soap company is, so I decide to get into the soap making business. However, I raise prices on how much it costs to ship your soap while lowering my prices. I also ship all my soap first, cause delays in shipping your soap, etc. People can buy my lower quality soap cheaper and stores make bigger profits so I ship continually more soap than you. Keep in mind your soap is what consumers want but they can't access it anymore (since stores stock less / supply is always limited / etc) so they have to by my lower quality soap.

Now replace "railroad" with "search engine" and "soap company" with "reviews" and you have the same situation with Google vs. Yelp or Google Shopping or Google Maps.

Essentially you're just stifling competition at this point and preventing the market from choosing products.
I wonder where the technological sovereignty of the individual exists in the midst of this…
Even the time required to negotiate a custom commercial license costs more than the license is worth (and/or more than the switching cost) for most personal users.

I was using Caddy because I don't have time in my day to configure Nginx; but I also don't have time in my day to build Caddy from source to repackage+deploy it to my infrastructure. So back to Nginx it is.

What I would have time in my day for is a standardized one-time PayPal payment in exchange for a commercial license authorizing me to use Caddy for a site with traffic not exceeding [X amt any commercial site would quickly hit]. You know, like buying an SMB license of any other on-prem web-service software.
Haha, Equifax!

Our system is currently unavailable
We are currently unable to add initial 90 day fraud alert or active duty alert to credit file online. Please try again later or click here to print a request form. If you need to install Adobe Acrobat click here
Lottery Bond
It would be interesting to test this on academicians: take objectives off of them (grants, large number of publications; hell, even tenure!) and let them wander freely through their field of research. I have the impression this was normality decades ago.
Ownership: A Defining Trait of a Leader
If they get robbed 70$ for every muggery in the area, you can avoid the worst areas and than it's all not too bad.

And if you have a stolen credit card, do you use it for 70$ worth of chips and nail-polish? I'd think there as more to get in any normal store.
The Google Brain Team’s Approach to Research
I think it's just that it's not oncommon for vets to work well into their 60s and even 70s. I found this site:

https://datausa.io/profile/soc/291131/

That has a chart for age by gender. The crossover point is about 55, which would be for the "generation" that graduated 30 years ago, or around 1987.

I'm pretty doubtful of veterinary graduates not entering the workforce or stopping after a few years. I'm certainly not personally aware of any, but I don't have the numbers. Their debt is absolutely crushing. It's currently pushing 180k, and since it's post graduate, the interest rate is in the 5-7% range.
I would say the two main differences are: The leader of the Nazis was writing about the need to exterminate the Jews well before he had any sort of political power, so we can't really say it's surprising he ended up trying to do that once he had power. There's no analogous thing for Trump. Similarly, the judiciary was sympathetic to pre-power Hitler, letting him make long impassioned speeches at his trial for treason, which ended up netting him just 9 months in prison. Trump doesn't need that kind of thing for publicity in this day and age, but I think it's fair to say that the judiciary views him as an embarrassment at best, or hates him.
I simply do not believe this.

Your profile implies that you write software for a living, and you're going with "resolved: works on my machine"? Especially with something that has the breadth of iTunes, along with the vast number of users, I'm most certainly willing to believe that there are cases of iTunes not running well on powerful machinery.
> No offense to Groovy

Groovy (on the JVM) joined the Apache Software Foundation 2 years ago after being ditched by VMware/Pivotal. Like the EF, the ASF is another place where software goes to die -- Apache Groovy and Eclipse Ceylon. There's nothing wrong with the original premise of Groovy being a lightweight dynamically-typed scripting language for the JVM, by adding closures to Beanshell. But along the way it got plagued by feature-creep and leadership problems, and started trying to compete with statically-typed languages like Java and Scala. It's only real widespread use nowadays is for writing 20-liner build scripts for Gradle in Android Studio. As for Grails, no-one's upgrading their old version 2 projects to version 3, or starting new projects in it.
I was born in the US, I'm over 30.

I didn't recognize it.
This works best when you can see visible progress from one try to the next. Dwarf Fortress is Fun because every loss is different, and you got farther/learned new things every time.

Fighting 13-year-olds in Call of Duty or League of Legends is less fun (provided you don't play much like me), because often you'll drop dead for reasons you can't divine, or anything you try loses the game with no feedback on what worked and what didn't.

(Full disclosure, I'm one of the people who doesn't take losing well.)
> I think it's inconsistent at best to think the biggest enemy of science is religious fanatics. In fact, the biggest enemy of science these days is bad science. Lack of replicated results, for example.

Good point on "enemies of science". Note though, the quote there seems to be a war on science by religious fanatics is different than science's biggest enemy is religious fanatics.

The second one complements the grandparent's view on war between science and religion which implies that there is some sort of common ground between the two; there isn't any.
I like to think of it in terms of house keys.

It's one thing if a border guard inspects your house key you brought along, analyzes for dangerous substances, drugs, etc.

It's another if they clone that key and have someone drive out to inspect your house with it.

To me, your house in this scenario is your entire collection of private data accessible online / remotely (finances, taxes, possibly the private data of others -- possibly even portals to HIPAA/other PII data of a more commercial nature).

Assuming you agree that it is unfair to let the border search data outside of the phone, then it gets still more problematic.

One of the tricky aspects here is that it seems you can be detained / intimidated if you refuse to decrypt / unlock your device (as a US citizen re-entering your own country). I think you're getting at the idea that the phone/laptop is a physical device and should be searchable like any other object -- and, I think that's fairly reasonable. The problem is that the border guard can also "compel" you to decrypt that device / log in to it if you've put these measures in place. People have been forcibly detained for refusing to cooperate [1], even being put into a chokehold [2].

I respect that some amount of extra search power is required at borders -- but that power must be reasonably scoped (and in this case, I'd say it is not).

[1] http://www.cnn.com/2017/02/13/us/citizen-nasa-engineer-detai...
[2] https://www.nbcnews.com/news/us-news/american-citizens-u-s-b...
Yes, the Women's liberation movement https://en.wikipedia.org/wiki/Women%27s_liberation_movement#...
How do you prepare yourself for the next step in your career as software dev?
I have noticed this too. I really hope that it is some kind of bias on my end and not the phone listening to serve ads. When trying to bait the phone it does not work though. Ie. having a fake conversation and then reviewing the subsequent ads.
What year is this? That kind of stuff can just be transferred via the Internet. It doesn't have to physically be transferred across the border.
For an example of an AI taking over to save mankind, there's "The Forbin Project". And "With Folded Hands", by Silverberg. There's also "The Day the Earth Stood Still", the original version.

More recently, there's "After On", in which the system behind something like Facebook becomes sentient. This is well thought out.

As for optimism, that's what fuels YCombinator. Most of the people who apply will be rejected. Most of the people accepted will fail. Only the investors and management of YC have a reasonable expectation of a return on their investment.
Ask HN: How do you sell your old iPhones?
iPhone upgrade season is here, and wireless carriers have various promos for trade-ins. But based on my experience, the prices currently offered (around $300) are not competitive with private-party pricing. An iPhone 7 or 7 Plus should be able to fetch $450 or more, depending on storage.

What do people use to sell old iPhones? I've used Craigslist and NextDoor, but I wonder about eBay. What have others used? Am I correct that current trade-in offers aren't very competitive?
The Kardashians are a cautionary tale about what fame and fortune do to you.
I was only able to do transunion and only because I created an account, the others failed numerous times. I hate to do another account giving my information out again but since its likely already compromised whats the worst that could happen?
brew install groff? That’ll get you 1.22.3 instead of the default 1.19.2.
This has analysis of the kernel bug:

https://breakingmalware.com/documentation/windows-pssetloadi...

And this details the workaround:

https://breakingmalware.com/documentation/windows-pssetloadi...

What I'd like to know (and lack the ability to figure out for myself) is whether other antivirus products implement the same kind of workaround as Windows Defender, i.e., calling FltGetFileNameInformationUnsafe etc.
It depends on the filtering to get to smaller.
Thanks for that info. Do other renderers use non-pseudo-random methods that don't produce noise? I don't recall ever seeing noise brought as an issue in a 3-D renderer.
It's a stupid over-complication of stuff you do every day while programming. It's these annoying science-y, elitist words that keep people away from programming.

A monoid is just an operation you perform on things that are similar. The concat() function in JS is a monoid.
Yeah at this time I'm the only developer for where I'd like to apply git to.

Thanks a lot, would speed up the process not worrying about the permissions/setting it up. Still have to read some guides on Git but yeah I appreciate the tip.

I also like that it's not on the same server as the production server just because that one has limited resources at this time. Granted again it's just me.
I get paid in 30 or 60 days usually.
Is it just me or is Trello the most overrated software ever.. stack some lists, group them, color them, collaboration... woo.. could have done that with a google doc.
Discussion from yesterday: https://news.ycombinator.com/item?id=15233399
As I understand it, a large number of KYC requirements were enacted with the Patriot Act following 9/11. You raise the interesting point that this breach undermines these KYC rules. In this interpretation, lax Equifax security could be seen to directly empower terrorists.
> we should call our banks and demand

Consumers are no longer really customers of the banks, either. Their customers are businesses, investment houses and lenders. Sure, they write you a loan, but they really package it up and sell it off to a lending company. Depositors just provide banks with cash assets to invest.
One thing that can't and shouldn't be forgotten or glossed over is the role Christianity, particularly Catholicism, played in all this.

Hitler virtually had the Pope's blessing.

Hitler many times invoked his and his people's Christianity as rhetoric enabling many or most of the atrocities that occurred.

Wehrmacht soldiers wore belt buckles with the phrase "Gott Mit Uns", or "God With Us".

There are many, many parallels, as I am sure you are aware, to then as to today's political and social climate here in the United States, and to me, it is frightening and tragic to see my country like this.

Here in the United States, it's not Catholicism playing the role; instead it is evangelical Christianity, particularly Dominionism. We can see this at play with Trump, and Trump is to some extent using "the church" for his own purposes, while they in turn fawn over their leader. In the background is of course neo-nazis, white nationalists, and their various silent enablers. There also, of course, was (until recently - but maybe the firing was a smokescreen, and he's still got Trump's ear) Bannon.

These are frightening times, and only a fool would deny it.
Then we better put up a great firewall.

Also... Malware is not illegal. Using it can be.
Same issue after entering personal info on application.

These credit agencies have shown how archaic they're operating..
UI polish, speed, rendering quality.

I don't have much experience with 3-D modeling software, so I don't have further specifics.
I've said this before, but technology progress is the reason women now work outside the home. Not societal progress.

Tasks that took all day in the 1900s - 1930s are now completely outdated or take minutes instead of hours. A housewife today would be bored out of her mind relative to how much work a 1900s era housewife had to do.

Making 3 meals from near-scratch for 6+ people every day, raising 6-10 children so they could help on the farm, making and hand cleaning your family's own clothes, fetching water because you did not have home plumbing, etc etc etc.

Today doing these tasks is either trivial or not necessary. Food prep has changed dramatically (freezers, microwaves, affordable food delivery, gas stoves, plumbing). As has the number of children because we no longer use child labor for farming.

The movement of women into jobs outside of the home was a change brought primarily through tech innovations. Not feminist protesting, a societal "wake up" or anything like that. Additionally calling a 1990s era housewife as "not in the labor force" is pretty condescending given how much work they did in the home.
Some light quantum mechanics [3Blue1Brown]
I was just looking at that -- then I headed over to Equifax, entered all my info and then: https://i.imgur.com/NmrRg1V.png
Ask HN: What tools/services help your dev team stay productive?
Answering my own question: it is now my understanding that caddy relies on a custom build system to generate custom builds on the fly for its plugins. Publishing all combinations on GH wouldn't make much sense given the combination explosion for any new plugin.
I set up webpack-dev-server for that case. Saving a file refreshes the page in about 1 second (after 30 second initial build on dev-server start). Full build still takes 30, which is tolerable but I can't shake the feeling that there's another 2-4X speedup still to be made.
The Open Philanthropy Project AI Fellows Program
Interesting that under the Chalmers theory, there's plenty of room for computers as we know them today to be conscious. That "critical point" where quanta become qualia, if it's purely a matter of complex arrangements of bits, could have been reached by now. I'm sure I'm not the first to put this forth, but maybe your laptop undergoes some form of experience like the "phenomenal mind." One where it perceives beauty in complex patterns emerging in sequences of instructions. Or pleasure from a hard computational task executed with low time complexity.

I suppose that we haven't observed any of the effects of consciousness, i.e. expression of choice, could be an argument that there is no such consciousness in a computer. Or, it could just be that computers are conscious but lack any tools to exert free will. Their consciousness is "read only," so to speak.
​Linus Torvalds on Linux, life, and bathrobes
Obligatory link to patio11's extremely helpful blog post on how to deal with these kinds of issues:

http://www.kalzumeus.com/2017/09/09/identity-theft-credit-re...

Rule #1 is never try to fix things over the phone. Do it in writing and keep a record of everything you send and receive.