skysight-inc/HackerNews huggingface dataset:
Entrepreneurs that go to Thailand to start a startup are mostly digging their own grave. Talent may be everywhere, but opportunity is not. I have met a couple of founders that moved to Thailand that didn't make anything of themselves. They mostly went there for a cheap living and ended partying most weekends. I would advise against starting a startup in Thailand.
It would be really interesting to see how many negative stories about Tesla each media company has produced. CNBC has got to be in the lead.
Very good pointers. I would like to get in touch with you regarding how you transitioned to ML. I don't see a contact info in the profile. My email is in my profile. Pls let me know.
Factorio is a great game that teaches system dynamics without having that as an explicit goal
Some kinds of fraud are easier to stop than other kinds. The existing problem, involving bad ideas of market rates, is really hard to stop.

We can do this well. Here:

The salary is bid for based on family income percentile in the county. There is a minimum of being at the 99th percentile, and also a minimum of half the salary being at the 90th percentile. Salary is paid to the federal government, which then pays the employee. After the income tax is paid, the federal government collects an additional 50% of the salary from the employee. To cheat this system, an employer would somehow have to demand that the employee issue a payment back to the employer. This should be punishable by the employer going to prison.
>So are there some specific symptoms one should look out for?

Not something overly specific. And it also depends on cancer type. Lung cancer is mostly without any symptoms until it's very advanced and you start coughing blood.

>If you were to design a policy for someone that wanted to maximize their survival probability with regards to potential cancers while still leading a normal life, and money was no object, what would that policy look like?

I would say the best bang for your buck would be an annual MRI test. It won't show absolutely everything but it would show most stuff.
I have traveled and interacted with the locals, which is where I got my opinion from. Travel and interaction is so much easier now than when Germany was split into different states that cultural similarity in Europe is much greater now than it has ever been.
I'm considering evaluating Matrix for some upcoming projects I'll be working on. Thus far I've just skimmed the front page and the FAQ.

Could you expand on what you found particularly compelling about the protocol / API, and also how that's changed your software development approach?
Awful Products That Succeeded (Sales-Wise) Because of Great Marketing (2018)
So the tool is being used to extract text and then a regex is used to extract the relevant fields/values. Seems that pdftotext[1][2] with awk can do the job on your local machine without uploading your docs.

1. brew install pkg-config poppler (on mac)

2. sudo apt-get install poppler-utils (on Debian/Ubuntu)
Postponed for PR, renamed for the internal use, soon standard for all products.
Oh I'm of the opinion that it will happen. But I aim to delay it as long as possible until my career ends. After that y'all can turn into a super-IBM. Be my guest.
Wolfram has 800 employees, most of them tech, which puts payroll at ~160m. Suppose 30% margin, thats about $50m earnings, at 20p/e thats about $1b/unicorn.
Anything that aligns incentives between the startup's business and user communication effectiveness would be welcome, honestly. So many services are just designed for "engagement," which often leads to synchronous alerts and chat-like communication.
Google Inbox had this feature. RIP
It's not immoral or illegal. It's just "will convict in the court of public opinion". And as a startup you should ignore that.
Meanwhile...

https://www.techdirt.com/articles/20190216/10394141613/faceb...
Because that's been the norm for decades and while I don't like the laws of our society, I must adapt to them.
Ask HN: People Who Write Haskell in Production, How Do You Debug?
HAT, Trace? What is your weapon of choice?
Corals: Who Are My Potential New Customers? Tapping into the Wisdom Of
I don't think the unions actually had much to do with Amazon pulling out. Some unions were actually for it either because they were involved in the construction plans or thought it would give them leverage if Amazon was more firmly rooted there.
Jensen Polynomials and the Riemann Zeta Function
While it seems interesting at first glance, it would be weird to be paying for a product that does "less" than alternatives. The added value of strictly enforcing this policy is also something that people can learn to do innately. Also, distraction-prevention startups never seem to work well ultimately, since people want to distract themselves.
Are wet streets making it rain?
Cool but why though? I understand for those small percentage of iPad users this will be great.
Steve Irwin's 57th Birthday Google Doodle
The fastest way to compute a Fibonacci number is to simply look in up on the Internet -- not kidding. There was a coding challenge that I did a couple months back which required the cumulative sum of powers of two and the fibonacci sequence, and I just did that. We can talk about faster, general algorithms but most of the time, we are bounded by resources. For example, for the nth Fibonacci number, n will be bounded by some constant. So why not look it up? It's good for playing with theory though.

Edit: Fibonacci may be a specific example, but I wondered how much wasted computation has been spent on calculating the same problem on the same input.
> Do you really expect a random police officer to be a constitutional scholar?

You expect that from citizens, as ignorance of the law is not a defense against not breaking it, but police officers are given a myriad of protections(QI), sometimes jokingly called "The Reasonably Stupid Cop Rule"[0]. I don't think police officers should be constitutional scholars, but immunity gives them an incentive to either not learn or just ignore the law.

[0] (https://blog.simplejustice.us/2016/11/30/the-unreasonable-ex...)
Ask HN: As a Technical Founder, How Can I Get Better at Sales?
Do you use a left handed mouse or the same mouse you would use for your right hand? Also, which mouse are you using?
I'm sure that there are other ways to manage multiple sets of iptables rules. I've just found iptables-persistent to be the easiest.

I do agree on the iptables vs wrapper issue. I started out using Shorewall, and then ufw. But once I started learning iptables, I decided that it was simpler to just use it.
Startup idea: a mail service that only delivers once a day, has a nominal cost to senders, and has a secretary service to throw out the advertisements and other junk.

Note: a spam filter does not fulfill the secretarial service requirement.
That's the employee's choice, though. I log in to my @google.com account with my personal phone, but I don't have to. If I'd rather keep personal and work totally separate, I can request a Google-issued phone to carry alongside my personal one. I have teammates who do this.
Well, I'll be..
That depends on what you work with. My productivity as programmer got higher but my ability to help with hardware issues went down a lot. Helping over phone or chat to replace a PSU is tricky.
Ah, I just remembered something. My knees were hurting. I eventually went to an orthopedist. He gave me the full knee exam, and finally asked, "What do you do for exercise?"

"Run", I said.

"Wearing what shoes? Shoes like those?"

"Exactly these shoes."

"Stop running on pavement. And get some decent shoes." He told me to go to a real running store - not Foot Locker or the like. So I went to this running store. I walked in, and they told me to take my shoes off and stand there. "There, you see what his feet are doing?" one salesman said to the other. "He needs one of these three brands."

I bought a pair of Mizunos - not because they are a big name, but because they kept me from destroying my knees. I'll pay for quality when I need to. Pay for hype? No.
That’s precisely why. Took my money. Is great.
Just a note: the .v extension is already used for Verilog and Coq files. Even though V seem more eligible to use it that might disturb LoC counters like tokei or scc I guess.
Actually, gave this a second thought…

Might be cool, if done right:

- upload a few profile pics
- GAN generates an optimized pretty profile pic for you,
that you can used on Tinder and other social media

I'm pretty sure people would be willing to pay a couple of bucks for that.

How hard would that be to train a model like that?
I don't really see how cloud providers are using their "monopoly power to adopt any successful open source project without contributing anything to it". The fact that e.g. AWS is a (near) monopoly, or even just massive has little to do with it. They provide VMs, those VMs can run software, and if you want they'll manage the VMs with the given software for you if you'd rather not worry about it. Rackspace does the same thing, and they're a million miles away from a monopoly.

I don't see how these measures are practical either. Redis is much easier to do a cleanroom implementation of than MongoDB, so I doubt this kind of thing will produce any other kind of response from Amazon.
Should Index Funds Be Illegal?
That's true, but it's often not so clear-cut, nor does it line up with electoral goals or established political parties in many contexts.
Personally, I never really trust any of these sites because the all claim to have good data, and yet they all report pretty wildly different salary ranges for similar jobs. I have absolutely no idea if I'm actually being paid a reasonable salary, but honestly it's something that's important to me at my current stage in my career.
Ask HN: What Are Various Worst Practices in Software Engineering?
"All models are wrong, but some are useful" - https://en.wikipedia.org/wiki/All_models_are_wrong
> Out of curiosity would the GPLv3 at least force providers like Amazon to release any modifications they make to FOSS stuff to turn it into a hosted/managed service? With things like Apache/BSD/MIT, does AWS currently mod stuff without releasing the results as FOSS? (Is Aurora DB really modified MySql or MariaDB under its core?)

Aurora is absolutely a fork of MySQL; they're careful never to explicitly admit this in most of their documentation and marketing but their CTO's blog[1] links to a paper that mentions "obtaining significant throughput improvements over the base MySQL code base from which we started," and given how tightly they mirror MySQL with things like version numbers and goofy configuration flags that only exist for backwards-compatibility reasons, it would be hard to believe they built it from scratch.

GPLv2 and v3 both allow this because they only require source modifications to be made available when the resulting program is distributed outside one's organization. Since the public only ever talks to an interface and never obtains the binary, Amazon doesn't have to redistribute. This is not true of the AGPL, which has additional redistribution requirements meant to prevent (what copyleft activists perceive as) this kind of abuse.

There's an argument that since Amazon's changes are focused around integrating the storage layer with their particular infrastructure, the general public would find their changes useless even if they were to be distributed. Personally don't think this is terribly relevant to the larger discussion around licensing, even if it's true.

[1] https://www.allthingsdistributed.com/2017/05/amazon-aurora-d...
Which tools should you use?
Habits of Successful People: Start Before You Feel Ready
Emotional Intelligence: The Social Skills You Weren't Taught in School
How Does Microwaving Grapes Create Plumes of Plasma?
The best way to read Gladwell is his articles in the New Yorker. His books are just a magazine article’s worth of ideas in book length.
Just use any email application and don't have it online all day, except when you manually sync.

I bet you could use Mail.app and create an automator task to run on a schedule. Or just use a cron job.
Brian Greene's books on Physics would be the polar opposite of the "American-Folksy."
I hope for Samsung's sake that there isn't some freak failure mode with the folding mechanism that makes it more likely for the battery to explode
Amazing!! I had fun figuring it out. My analysis: https://pastebin.com/8hzSmxBu
It's more a matter of "hire (or budget for) assistants so your prize people can focus".
Applying the tool, technique, or language you know best, instead of the one that best fits the problem.

Expecting an organizational or management approach (cough agile cough scrum *cough) to fix management's ineptness.

Failure to handle corner and error cases.
Samsung Galaxy S10+ Camera Review (109)
Except you do have to check, as almost no clients support encryption fully.
YouTube Changes Community Guidelines Strikes System, Introduces One-Time Warning
How to Test a Distributed Systems Project?
I have made a toy distributed systems project which is a service that exposes multiple CRUD APIs. I am using some AWS component (Dynamo, SQS etc.) for every part of the service.

Question 1: How do I test the scalability and availability of my system? I want to see how much load it can handle and how well does it scale from 10 users to a million users. Are there tools or test environments available? To simulate real world problems like servers go down or sudden increase in user traffic on a service?

What I ideally want to learn is, if this API is used in a real world setting, and a startup starts with 10 users and grows to a million users, I need to learn how to scale the system (horizontal vs vertical) to keep up the availability of the system (reduce crashes or 500 errors).

I have limited money to experiment on this and can spare $50 a month max. (Working within the free tier right now that AWS provides.)

Question 2: Is this the right way to learn distributed systems architecture? I prefer a practical approach and not a theoretical one.
> Why does one have to make money with open source? Why does that have to be a goal in and of itself

Money is air... without money good luck competing against other technologies.

I find that the OSS community is insanely naive about where OSS comes from.

There's this assumption that it just comes for free like manna from heaven.

I seem HN geeks (saying that in a good way) say how they want to use Firefox vs Chrome because Firefox is somehow less evil.

But where does Firefox get its money from? Google. Google gets its money from ads.

If you track down the source of all the OSS we're using there's some root source that most HN people would not be too happy about.

And the flip side is also true too.

I often hear people complaining about how they don't want to pay for apps and expect things to come for free.

This REALLY screws over a lot of ISVs that are literally just trying to build cool apps.

This is really a tragedy of the commons that we don't address very often.

Most billionaires have figured out some way to exploit this issue - much to our collective disadvantage.
Most businesses have far more requirements than a e-sports clan, namely security, standardization, and dealing with large numbers of people. An e-sports clan can change their service in a day with one email. A large organization can't move that nimbly.
Beginning of End for Intel Data Center Dominance
Maybe if companies paid for it it wouldn't be a problem, you know, like equipment at an office.
That's crazy... Seeing how many comments a video sometimes can get. I don't see how someone could go through all their comments for some videos, and it also means they would have to
keep track of this for every video posted...
https://dave.cheney.net/practical-go/presentations/qcon-chin...

> 8.3. Never start a goroutine without [knowing] when it will stop.

100% agreed with the concept, but even the final example is flawed. That'll unblock and continue immediately after `close(stop)`, without being able to do two important things: it can't tell you when it's done shutting down, and it can't tell you if it encountered an error. Fixing this makes it even more complex.

Both of those are common and often necessary things to do - e.g. if you need to drain traffic, you need to wait until it's actually done before killing your process. Same goes for closing files (you might need to flush / sync first), OS resources that might survive your process, etc. This example will just kill your process as soon as everyone has been informed that it should stop, not when they're done.

---

Yeah it's a bit nitpicky, but it's even called out as "asking a http.Server to shut down is a little involved, so I’ve spun that logic out into a helper function". Except that the helper function can't ensure the involved server shutdown process actually shut down the server. That's a dangerous pattern to encourage, and it's an over-simplification that's absolutely rampant in go tutorials and code I encounter.

The workgroup lib he links doesn't (arguably?) have this flaw, but it has some strange / incomplete error handling details... E.g. if you Add 5 funcs, you'll only receive the error result of the first func to complete, not the first err or anything more predictable. If the first succeeds but all the rest fail, you'll see no error. Go's errgroup does "first non-nil error" at least, but you can still only get one: https://godoc.org/golang.org/x/sync/errgroup
Downloading Zip Files Through Django's Admin Page
This sounds a lot like vipasana meditation center.
I've been to one in Nepal, and the police didn't have to escort me out of it, I did it myself on the 3rd day.

It was all fine, I didn't mind meditating, but evertyhing else was too much like prison for my taste. One thing that just didn't sit right with me was that,it was supposed to be a silent retreat but the only people you are not supposed to talk to were the other guests. The staff was definitelly talking to you and expected answers. Also things like, this afternoon I feel like skipping one hour of mediation and taking a nap were not allowed.

Later reading about these meditation centers and Sri Goenka, I found out that he developed his system in prisons and the prison like made sense to me.
> I love that podcasts are one of the few pure truly open mediums. Its literally just a audio file on a server somewhere included in an RSS feed.

Google's podcast system doesn't allow you to load in arbitrary RSS feeds. This is cause for concern if others go that way too. There will always be open podcatchers and self hosted feeds, just like there will always be web pages, but they will be harder and harder to find.
Also a huge fan of keyvalues.com. Found the company I'm currently working at through there.

I'd like to ad that As a new grad, the website helped me a lot: it gave names to ideas I had floating in my head about what I was looking for, and it made me more confident in telling companies what I wanted.
I'm still waiting for someone to put PDF.js in a PDF so that I can finally read my PDFs while I read my PDFs
> Worst Practices in Software Development
>> Applying the tool, technique, or language you know best, instead of the one that best fits the problem.

A nice platitude that ignores reality. If your team is experienced in a particular tool, it may be the better option than the new "best" option that requires tons of training/hiring.
Hey thats like a pipe dream. Build a tool for yourself that you really like. Then build a company around it to make that tool better, so it gets better for you and everyone else who loves using it.
However, if you look at what's actually happening in the past few years, there were twice as many killings by Far Left extremists as Far Right extremists in the US

That is not true, or anything close to true. I cannot imagine why you would say make such abundantly false claims, and I challenge you to identify any of these 'far left extremists' or their victims. I also reject your dismissal of all who commit such extreme violence as 'crazies' which suggests they are not in the full possession of their mental faculties and is often referred to as a 'no true scotsman' fallacy.

I can easily point out specific right wing examples of extreme violence, most notably the guy shot shot up a synagogue in Pittsburgh and murdered 11 people just a couple of months ago.
This is pretty good. I had a quick glance and surprisingly did find some parts that are generally missing from 'Intro to Algo Trading' literature especially in the execution part. Anyway, I work at this company where we are a product that makes production systems for trading algorithms into a PaaS. We also have a library LibKLoudTrader(http://docs.kloudtrader.com) that incorporates pretty much every thing one needs to start with algorithmic trading.
I am fully there with you, the only exceptions are still using "I" in short for loops, e for WPF/Forms event handlers due to convention and typical math symbols like x,y,z.
Was it positive in the end? Is it possible to replicate the experience at all apart from the retreat?
It's not about VMs, it's about "Amazon so-and-so is a fully managed cloud database that speaks the XYZ protocol", which is code for "we forked a popular open source product and we're not going to contribute our changes back".
Also forced consent
That's all very nice but it's all not work related. Water cooler conversation may be great for incubating the very very beginning ideation of some 20% project, but come on, how often does a 20% project really happen. When it comes to real work (well defined work), where what you need is a mix of concentration time and focused interactions to address questions, remote call could be much more efficient than face-to-face meetings that end up engulfing a dozen people just because "it's possible, everyone's here."
I'd prefer if PDFs emulated a virtual machine that ran Windows 3.1 so I can read them in true 1990s style.
In Thunderbird, go to 'Options > Account Settings', select 'Server Settings' for the server you want to limit from the list on the left, and change the 'Check for new messages every' field to 720 (or however many minutes you want between emails).

I'm certain there are equivalent settings in most email clients.

Edit: Updated seconds to minutes, I misread the form. Although I'm happy to report that you can set it to check every 43200 minutes if you so desire. :)
His website [1] claims he is retired. He goes on to saying how he is like a hermit and needs long batches on un-interrupted time. Worth a look, he's an interesting fellow.

1: https://www-cs-faculty.stanford.edu/~knuth/retd.html
> Isn't this all pop science bestsellers? ... if (big if) it's reasonably accurate what is the harm?

IMO, a bag of truth and lies is more dangerous than anything else: there's enough truth that the lies sound more plausible making it pretty difficult to separate them. It's much better to just steer clear of unethical authors.
I don't think that Apple gets a pass on this. These applications are technical previews only in name (and quality), but they are shipping them in a release to customers. And the real clients of the framework–the developers, don't get much out of them except to manage expectations.

Apple could get real "real world feedback" if they have released the actual framework, not stuff made with it.

In my opinion apple released them as preview because they have made the apps, wanted to have them in the release, but knew that people would see that they are weird, look into the .app container and see that they are not made using AppKit.

I am pretty sure that there are a lot of hardcore Mac users in Apple and any of them would see that these are not good Mac apps.
I can’t believe marketing culture has gotten to the point where someone is pre-announcing Part 2 of his notes and offers to notify you if you subscribe.
For citizens.