skysight-inc/HackerNews huggingface dataset:
Yes.

For a visual example, look at John Malkovich's character in the film version of Of Mice and Men. He's mentally retarded. But people tell him - "carry these bags over there". And he does it, and he's useful. There is no job like this now. He's too dumb to be a barista or a gas station attendant or a line cook.
rkt is really a fundamentally different architecture and approach than Docker, but more importantly a large unmaintained code base. k3c is really a fairly light layer on top of CRI, containerd and buildkit. So the maintenance burden is very low and quality should be high given it's using the same technology as production Kubernetes clusters.
Until you need a module that requires the C api: at which point pypy becomes useless
Yes, I think condemned is probably a better word!
Interesting article. While I definitely think you should be profiling your code to figure out the hot spots, cProfile has some limitations for profiling: cProfile doesn't give you line numbers, doesn’t work with threads, and significantly slows your program down.

I wrote a tool py-spy (https://github.com/benfred/py-spy) that is worth checking out if you’re interesting in profiling python programs. Not only does it solve those problems with cProfile - py-spy also lets you generate a flamegraph, profile running programs in production, works with multiprocess python applications, can profile native python extensions etc.
I started at a place that was mid pivot but hadn't made it too official yet. I thought I'd be working on their namesake product, which required a depth of knowledge that I'd been getting pretty close to, but apparently it wasn't selling well. So I worked on an embedded app while a bunch of people worked on something else. It was hard work, the manager was frustrating, but it was very rewarding and the most resource constrained code I'd ever managed to get to work. I didn't quite recognize how much fun I was having until after it was over.

Still not sure if it was a good thing that I didn't know, because I probably would have quit at the end of the beginning of the recession. I'll never know if finding a new job would have been any less stressful than staying, but I'm still feeling the effects of that period.
I might just do that and see what they have to offer. I am curious and I love to learn. I have a strong desire to pursue higher education. I just end up doing that in my spare time, these days. Which is great! But I don't get the degree from it.
At least as of a few years ago, when police in Ohio stop you they seem to like asking you if you have any firearms in the car, just as the stop is wrapping up. I never figured that one out, either.
I wonder how this program’s performance would look if they had recruited candidate members based on a predictive model of future utilization / need rather than focusing on people who were already extremely complex / high cost.
There are several ways to pay $0 for a 4 year degree, including grants, loans and scholarships. Campus jobs like being a TA or undergrad research assistant can help too.

If you want an advanced degree in a science field, it’s common for your tuition to be paid for in full, and receive a yearly stipend on top of that that’ll cover room & board.
something is wrong with the system if you need to be so paranoid with the policeman. it seems people are living under fear and police force in the U.S. can easily abuse their power and walk free.

Does anyone still remember the tragedy of Debian founder Ian Murdock suicided in San Francisco?

in EU or Asia, policeforce seems more approachable.
It appears you have musical anhedonia:
https://www.theatlantic.com/health/archive/2017/03/please-do...

Not sure how it relates to you not being able to have or remember dreams but it’s a very intersting coincidence nonetheless
Own Your Content on Social Media Using the IndieWeb
I appreciate your all advice, I’m gonna update in the next version.
Most of the irrelevant and harmful stuff was stripped away long ago when it stopped being useful. Most tradition is useful, although the industrial revolution has been cause for reevaluating many, many traditions; even millennia old traditions like (some of the more egregious) gender roles.
Agree wholeheartedly. As corporations grow into the trillions of dollars range of valuations and work becomes even more complex due to automation, we soon will live in a world where it will be difficult to find a way to purchase the things needed to live.

But x% of us will live really well.
Wait does Roku have a VLC app? I swear I checked for one.
Not only does it mean that, it means that you can look at the source code yourself rather than asking the question on HN
Paths are Unicode strings everywhere but Unix/Linux. And I would even argue that this is a broken aspect of POSIX today. We should make Unicode the baseline for paths in POSIX-compliant systems, but there's probably too much hand-wringing for that to ever happen.
This is getting back to metis and episteme. I liked how this concept was explored in the Uruk Machine series if you want to read more.

Metis is "local accumulated knowledge" and episteme is "abstract, generalized, theoretical knowledge".

Metis, tradition, is barely knowledge. It is more of a practice without any of the justification needed for knowledge. So if your community knows that it is best to plant seeds during a specific holiday, they might think a supernatural blessing is the reason. Knowing something for the wrong reason isn't knowledge.

Non-knowledge loses arguments to knowledge. When an agricultural scientist comes with theories and results it won't be difficult to say that the farming community actually doesn't know anything. That's fine. But we are too quick to throw out tradition vs knowledge because unless it is specifically measured against it, the practice of tradition may be superior to the practice of current knowledge. Their traditional planting date may be superior to all models. After all, they've successfully farmed here centuries or millennia.

The Sufis might be dancing because having community gatherings allows communities to survive. The dancing and rationalization is incidental but the actual gathering is a crucial matter of survival.
Of all the things to be controversial, this has to be the most surprising: Who knew that HN was so much in love with egregious and unnecessary background daemons.

99.9999% of the time the most that is necessary is an occasional scheduled task. No, your picture of cats app doesn't need to run a busy loop pinging a server. Learn how to use the core messaging infrastructure of the platforms you target.

No, Chrome doesn't need to run a perpetual service just to check for updates.

These are not controversial claims.
None of that would be a problem in a typed language. The ultimate destination of any string literal is some standard library function, whether that's write to network socket, display to user, or something else. So you just ripple backwards from that through your own functions that are calling those standard library functions, until you get to the point where you're passing in the literal, and then you know what kind of literal it needs to be.
> If you want an advanced degree in a science field, it’s common for your tuition to be paid for in full, and receive a yearly stipend on top of that that’ll cover room & board.

Tell me how and I'll sign up tonight.
Grubhub Denies That It’s for Sale. The Stock Is Falling
If you don't know it, you may find this interesting: Bill Beaty's amasci.com, with What is Electricity?[0], with a lot of pages explaining misconceptions about electricity, currents, transistors, capacitors etc etc. Or "Science Myths" in K-6 Textbooks and Popular culture[1] - Bad Electricity, Bad Physics etc. There's much more. Even if it all seems wrong to you it may be useful to you as a model or spur! I love his writing. And his stubborn experimentalist's persistence to observe and understand what's actually going on, no matter what the theory or other people say.

Also, he has what I found useful and inspiring advice about writing/putting stuff online, e.g.

"Make your website be your filing cabinet. If you have little projects underway, put them on your website while working on them. Reject the paper-publishing traditions of polishing an article to perfection before publication. DO NOT ELEVATE IMAGE OVER CONTENT. (Perhaps even keep yourself honest by cultivating a deep revulsion for "image.") Instead, let all your flaws hang out, and type things directly into your site in rough draft form (label them UNDER CONSTRUCTION if you really must).

Expunge the fear of embarassment from your life, and instead practice making foolish mistakes in front of thousands of strangers. Stop using your PC to store files, instead use your website as your main storage. Let people poke through your filing cabinet. It will contain far more than a perfectly polished website does."[2]

[0] http://amasci.com/miscon/whatis.html

[1] http://amasci.com/miscon/miscon.html

[2] http://amasci.com/faq.html
I will respond point-by-point to your claims.

"It's a fair point, but I'm kind of getting tired of responding to it. I think that such an absolutist stance can be more harmful than helpful in some situations, and that view is backed by my anecdotal but not-insignificant experience."

If you do not admit anything, your statements cannot be used against you in court since you did not admit anything. And how do you tell in advance when your purported exculpatory statements will be helpful? Answer: you cannot. Hence you do not make statements.

"Some officers do not care about your rights or the law, and if you demand a lawyer when they ask how much cash is in the vehicle after they pull you over for doing 37 in a 35 zone, then you and your lawyer are going to spend a little while dealing with the matter."

If you are dealing with law enforcement that does not respect the law, why would you not want an attorney to present your side of the argument?

"Whereas if you give nothing away while remaining polite and courteous and aware that you are probably being lied to, you might drive off with a warning. You might still need to fall back to "am I being detained", but you might not. Sometimes you simply can't completely avoid a conversation, especially when the other party can physically compel you and make up an excuse later."

What you are describing is unlawful behaviour on the part of the law enforcement officer. A law enforcement officer cannot "compel" you to make a statement, as that would be inadmissible in a court of law as a statement made under unlawful duress.

"There is no universal good advice for such difficult and varied situations, and acting as though there is doesn't do anyone any favors."

Yes, there is under the U.S. criminal justice system. You do not make statements to law enforcement officers who are investigating a crime.

"And incidentally, the absolutist "never speak at all" part of the James Duane talk comes with the caveat, "if you are being suspected of a serious crime". The article seems to be more about officer-knocks-on-your-door or traffic stop sort of situations."

Whether it is a criminal offense or a civil wrong, e.g. a parking ticket, the same logic applies. Do not make statements to law enforcement.
Please introduce core missing features to billing and payments first before print magazine subscriptions.

The most obvious one to me: allow people to test their applications in production. Allow them to generate a temporary fake card number, expiration, and cv2 that Stipe can authorize as if it is real.

Allow you to generate and expire it from the console and via the API.

We had people on stripe's support team for 6 months tell us we can't test in production on real cards. We didn't want to, but we do have to test production check out flows, and currently the only way to do it is with real cards.

Someone senior finally told us "of course everyone tests production, you have to. Just nobody likes it. "

I would put out a call for at least 10 to 100 customer requested features first before a print magazine.

I think it's been almost 5 years since stripe has introduced a feature we actually wanted. I'm not trying to be a troll, but this super obvious payment testing thing really bothers me because 100% of customers who build apps for payments should be using it. And it's not built.
I agree with this, but the economics do have some unique pressures. Education doesn't really get more efficient relative to the society that it is in. You're always going to get the best result with small class sizes and time-intensive one-to-one instruction.

If anything, it generally gets less efficient as you need an ever greater supply of education as prerequisite knowledge increases as the edges to make forward progress.

Especially given this situation, tho, you'd expect institutions to do everything they could to keep the auxiliary costs down. Those fancy dorm rooms and rec centers sell the college more than an education you can't see with your eyes, tho.
Correct. Moving your foot from the accelerator to the brake is a much practiced motion and your body can do it very quickly without much thought. I rarely use cruse control, so when I do and think I might want to brake soon, I get nervous. I don't really know where the brake is. At that point I put my foot back on the accelerator and now my body knows how to hit the brake again.
If you assume humans have not evolved significantly over the past 20,000 years, you have to wonder what all the geniuses were doing.

Perhaps genius is a function of childhood nutrition and medicine, but if a genius is 1 in 1000, then every village must have had one at some point.

What did people just as intelligent as us but without knowledge do for their entire lives? They build on tradition.
See https://en.wikipedia.org/wiki/Civil_forfeiture_in_the_United....
> does not work if you have 2FA enabled

Plaid definitely works with BoA + 2FA, at least as of about a month ago when I had to use it.
That's something I often tell people a bit unmotivated with their photography: Go and get some of your images printed! It's surprising how much of a difference it can make.
As someone with ADHD, I can confidently say that music is one of the least ephemeral things in my mind.

Music is much more like a heuristic for generating patterns based on limited data points. You just need a key, a rhythmic base and a sentiment and you're off. Memory is a small part. it only works because you can regenerate the idea of a song based on small cues. There are so many songs where I couldn't tell you the exact words to a particular verse, but if I can grab onto another part of the song I can imagine the rhythm of the lyrics and rhyming scheme, then work backwards to something that I think I might recognize, but really it will probably be off in some way. Perhaps my head rendition is at a slower tempo and higher key, but if
I tried to sing it from memory you would still recognize the song.

So I'd argue that music is a more of a exercise in pattern recognition and pattern generation than physical memory recalling or story telling.
So much this. I'd arrange to pay an incredibly good and trustworthy lawyer in daily deliveries of wheelbarrows full of rolled pennies if that's how their fee structure worked. Most law firms that have tried and failed at alternative fee structures seem to have made the mistake of thinking that their clients were hiring them because of the alternative fee structure when in reality they were hired in spite of it.
Dbt looks awesome. Too bad no oracle support.
Why would you assume that? It's in Apple's interests to have no way at all to access a locked phone without the passcode. The best they can do is wipe the thing.
Despite your helpful advice and decision to leave the "law enforcement" profession, please allow me to give you and all of your former colleagues a gigantic fuck you for all of the tickets, court hearings, fines, fees, heartache, and bullshit you have personally caused me over the years.

Additionally, for my friends and for others I don't even know that police officers have killed or wrongfully imprisoned, please allow me to extend another gigantic fuck you that you must suffer for showing your presence to me on this forum.

I truly cannot express succinctly or precisely my extreme disdain for anyone who willingly chooses to work in such a corrupt profession. Even if you jumped into a burning building or saved some person from dying, it does not in my eyes make amends for the destruction you have caused just for a paycheck and because the system told you to do so.
Yeah, I see that a lot. People always leave off the last part of the quote, which was the actual point.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.”
China to Test Digital Currency. Could It End Up Challenging the Dollar Globally?
Thanks for the feedback.

(To clarify, nginx's config is also declarative... well, mostly: they got in trouble for mixing declarative and imperative [1].)

You'd be surprised what we've been able to accomplish with upgrades to Caddy's configuration in Caddy 2. Its config is technically declarative, but the underlying JSON structure [2] implies a procedural flow, enabling you to compose certain behaviors that almost feels imperative. When Caddy 2 release candidates go out in a couple months, try it out with both the Caddyfile (soon to be majorly improved in beta 13) and the underlying JSON and you'll see what I mean.

Oh, but if you want to still use your nginx config, go ahead (WIP) [3]. :)

[1]: https://www.nginx.com/resources/wiki/start/topics/depth/ifis...

[2]: https://caddyserver.com/docs/json/

[3]: https://github.com/caddyserver/nginx-adapter
The problem with anecdotes about successful friends, is that you don't know how many unsuccessful friends you had (time and money invested for no return), and you don't know the volatility of those investments (extra returns required for extra risk). E.G. VC funds have huge volatility and aim for 20% p.a. return for LP, which implies that individual founders have higher volatility and need higher returns than that to cover opportunity costs.

The common rule of thumb is that 90% of small businesses fail within 10 years.

I agree that for founders that take VC investment, the expectations of return need to be even higher than VC due to: higher volatility, extreme lack of diversification, and not getting preferential stock (must beat $invested or founders get $0 back).
Turned out our backend team just had a graphql type def that was wrong. That resulted in a nullified value, and the server logic following that treats a null value for the timestamp to mean the task should be completed now. None of this was reflected in the UI however.

So all in all, my bug wasn't that exciting, but if you think about the early chaotic days of a startup, there are often nuances in dealing with date and time that don't get thought through, particularly with newer developers being pushed or pushing themselves to get things launched. For example, if you are doing all of your testing locally, you might not find out until you get a user or customer in another time zone that, hey, we should have thought about that.

Bottom line is, and I think this is really what I was thinking this morning -- I would never sink so much time into drawing conclusions with the early data of a startup like this. Life is too short. If I am going to spend that much time on something it's going to need to be a less risky investment.
Can you point out one that was inconsistent with the foundations of physics? I suppose it is possible some were that radical.
cgtn?
You just explained the issue: Harry Potter solder so many copies that everyone who ever read it already has one.
>Of course, at RenTech in particular the employee-only fund is the good fund

Yeah, but only the long tenured/high performing employees get access to the good fund (there's a merely average fund that most employee deferred comp goes into, if I understand correctly).

Former colleague of mine was a M&A trader at Lehman during the crash. 95% of his net worth was in his fund, which was up 50%+ for the year when the bankruptcy trustee seized everything. IIRC, he was starting to get his money back in ~2014-15.
rkt's files read like it was designed by someone who was used to existing DevOps tools. Docker's format looks more like what someone would come up with from first principles. I don't think the rkt guys accepted that this was part of Docker's success.

rkt feels actively hostile and I won't be using it. If I work for someone who is, I can find a different part of the stack to inhabit until they change their minds.
This model is borrowed and adapted from venture capital. It's based on return on a risk. As in VC, many ventures fail or have minimal returns, yet VC as a model is successful. Why? Because small percentage of those makes up for the loss on all the other investments. It's a "game of numbers".

As in VC, amount of success would vary. Smart choices would lead to good outcomes, and all is up to you if you're willing to take such risk and what choices to make.
Tinder theme park?
The ole mitt Romney.
I tried daily trading and found that emotions will get you every time. You might have a great system but when the market goes against you it's hard to sell or buy. It's hard to make a decision knowing that you have no way of knowing the outcome. The stock market has an upside bias so it's easier and more fruitful to ride it.

Daily buying and selling will get you nowhere.
And:

https://www.econtalk.org/adam-cifu-on-ending-medical-reversa...

https://www.econtalk.org/adam-cifu-on-the-case-for-being-a-m...

Both with one of the authors of the linked paper, Adam Cifu.
Fourth time this has been posted in 12 days. My comment from 12 days ago is at https://news.ycombinator.com/item?id=21930569 . I pointed out that kernprof profiling shows that 99+% of the time is spent in

s += num / fact

so none of the techniques describe give blinding speedup. I also suggest pre-compiling the regex.
While the science is correct, the media coverage is like a contest of who can come up with the scariest spin possible. Case in point: this article mentions a heating of more than 200 zettajoules. Just to be extra helpful they put an asterisk and explain that "One zettajoule = 1,000,000,000,000,000,000,000 joules". Very clarifying, won't you say? I personally don't know anyone who is familiar with zettajoules, but I do people familiar with degrees Fahrenheit or Celsius. That number is absent. With a little bit of google, you can find it though. It's 0.135F or 0.075C [1].

[1] https://thehill.com/changing-america/sustainability/climate-...
highly recommend

https://www.youtube.com/channel/UCbfYPyITQ-7l4upoX8nvctg

https://www.youtube.com/channel/UCM42XWqRoruK6bNkgbgoJMw

https://www.youtube.com/channel/UCZHmQk67mSJgfCCTn7xBfew
Not in any particular order, but here is a list of really useful text butchering utilities, that I keep in the same grab-bag as ftfy:
csvclean[1], unidecode[2], transliterate[3], charset-normalizer[4], cchardet[5], phonenumbers[6][7], iconv[8], enca/enconv[9].

[1] https://csvkit.readthedocs.io/en/1.0.3/scripts/csvclean.html

[2] https://pypi.org/project/Unidecode/

[3] https://pypi.org/project/transliterate/

[4] https://pypi.org/project/charset-normalizer/

[5] https://pypi.org/project/cchardet/

[6] https://pypi.org/project/phonenumbers/

[7] which is a python port of Google's libphonenumber: https://github.com/google/libphonenumber

[8] https://linux.die.net/man/1/iconv

[9] https://linux.die.net/man/1/enca
Nice link, thanks.