jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
One of the problems not mentioned is mandatory sentencing guidelines that were passed as part of a "get tough on crime" laws of the 80s and 90s in the US. These laws do a lot to reduce the discretion in sentencing available to judges. My mom, who was a judge told me a lot about this.

Say you are young and you do something very stupid. You get high and you go into a store with a friend who is also high and threatens the clerk with a knife to steal something. Maybe you don't do anything more than run away with your friend after he steals something. After you are arrested a prosecutor can probably charge you with half a dozen crimes, all associated with the event. The prosecutor is incentivized to charge you with a bunch of stuff to get you to plead guilty instead of going to trial which is very expensive.

Maybe the police picked you up and you are the wrong person. Maybe you are young and you think you shouldn't go to prison because someone you barely know did something stupid and all you did was run away when they ran away. If you ask for your day in court you are going to face all these charges and probably the prosecution will win. DAs are usually better than defense attorneys unless you can afford a very good one. So you lose.

A judge might look at your past behavior. Decide you are not a really dangerous person and think, if this person were locked up for a year or two they would learn their lesson and be productive members of society. But with many charges and mandatory sentencing, there is nothing to do but lock up the person for a really long time. So long that their productive life is ruined.

Mandatory sentencing also helps weaponize charges in the plea bargaining process because it prevents a judge from applying their judgement to make the sentence fit the crime. So take a plea bargain of a couple years for an auto theft or lose in court and face ten years or more with a bunch of other charges tacked on.
They could make adoption produce a weaker claim to the title, with greater risk of usurpers leading a rebellion. I think this mechanic could be balanced and would add realism (it happened in history).
Note, a lot of these "x legislator owns y stock" stories actually turn out to mean "x legislator owns a whole market index fund".
When you kill someone, it stops being about you and your "rehabilitation" and more about other people.

That's not correct, and tells something about your preconception. I was told by someone who had been to prison that those doing time for murder or manslaughter are considered less dangerous, they killed their target and that was that. The ones in there for GBH, those are the ones you have to look out for, they have low impulse control and low intelligence and are basically incorrigible.
PHP has fixed or semi-fixed a lot of its main complaints, and you can write maintainable code with it if you have discipline.

I'd go as far as to say its ecosystem (with Facebook working on it), documentation, and library coverage surpass any other backend web language.

The real problem with PHP isn't going to be fixed, though. That's the schizophrenic language design.

So, yes, you can get stuff done in PHP. It's a solid language to build a prototype, although, again, Python and Node are just as good, if not better.

I guess what I'm trying to say is, who cares? You can solve problems and program in other languages, too.
I'm from Philadelphia, too! What neighborhood are you in?
Dollars and Euros are currencies. Bitcoins are collectables.
You can't always avoid untrusted applications if you use the net, unless you make sure to only use client software that has no exploitable bugs that can lead to local code execution.
That is a really naive view of market analysis. You don't have to predict what the entire market will do in order to profit.

I'm not defending these guys, I also agree this will fail, but being first mover on information can be a huge advantage. If that information happens to come from Twitter, it's still an advantage.
Well said.

The study of biology is further complicated by the large number of confounding factors that muddle experimental results. Because of this, it is hard to know exactly when it is appropriate to bring in mathematics. Without a proper understanding of all the variables, math can only get you so far.
why stop at ideas / eg. catchy phrases? I think the bigger topic Scott Adams actually adresses is subversion. Manipulating peoples behaviour and ideals has long been practiced by many governments. Just take a look at old war posters: They're actually quite catchy.
"Bio is more memorization than anything" - no offense, but this was not so much my experience of biology and related fields. At the same time, I've noticed that many math folks make no effort to reach out to the other side - recognizing that PDEs are a big deal to some people, intimidating, and not exactly terribly approachable. Or assuming because they know the math, surely the biology will just fall into place.

I have seen some very interesting math papers with appalling biology in them.

I think the issue I have with this post, and the article in general, is the very one sided "You need us, take more math" tone. With funding being harder and harder to get in pure math, math also needs applications - biology among them as it potentially unlocks NIH funding. It's not a one-sided failure.
I don't want to sound like a troll, but Lucene's built-in spellchecker is a toy. If you're doing much more than trying to just plonk in a search engine on your website, you'll probably find it insufficient.

As far as stemming goes, AFAIK, Lucene didn't invent anything. It's a lot like crypto, in that nearly everyone uses public implementations of of stemmers for different languages: http://snowball.tartarus.org/

The previous two points both apply to stop words (you'll almost certainly want to customize your own list, and there are good, curated lists out there for the most common languages), and Lucene's tokenizer options aren't really that smart -- if you want to get into chunking, phrase identification, etc., you're going to have to write it yourself. But then you're going to be working within the Lucene world, tied to their index format, mucking around in the depths of unfamiliar code, etc. That's a big trade-off.

Basically, Lucene is great if you're working on a website and you need a drop-in solution for search, but if your core user experience is search, it has a lot of deficiencies.
Having the skills is far more important than how you acquired them. I'd just emphasize your communication skills and organizational abilities in broad terms, unless your interviewer is also an EVE online addict. Then, by all means, disclose it.
Thanks for your thanks! :-)

Other than mass-mailing bloggers and submitting to twitter directories, what have you done to bring traffic to your site?

That's been about the limit of it - attempting to get relevant users visiting the site, as there's no point in getting millions of visitors who have no interest in Twitter tools :-)

Also, I'm interested to know unique visitors vs. free users vs. paid users, as I'm sure many others here are wondering as well.

Hrm, I'll have a think about that and maybe write a small post about it :)

Also, how have you handled existing customers when experimenting with price changes?

Probably the wrong way. Customers stay on the plan they're on, so the lucky subscribers who are on $20/year stay on $20/year until they cancel their subscription.

I had two customers complain when they were paying $9.99/month and they say the new $19.99/year price. I explained that I was experimenting with pricing, that it was likely to change in future, but if it didn't then I'd be happy to offer them the new rate. It turns out that they've also done well now, so I think in the end everyone's happy :)
Awesome! I'm properly happy that my post has inspired you :-D Please do one thing in return - let me know how you get on :-)
I use it along with a team of people who tag stuff according to a particular taxonomy. My scripts pull a bunch of those tags out through the api and cache them on a local server where we can do whatever we like with them to show them to readers. It's a really good way to do collaborative editing or curating of new content. Anyway, I'm glad that it will be sticking around!
I am glad that Lua was chosen as the implementation language. It really is a perfect fit for the problem.

"Redis will try to be smart enough to reuse an interpreter with the command defined."

Caching the scripts should be fairly simple. Maintain a table of functions, then when a new script comes in, take its CRC32 value. If said value is in the table, just lua_pcall the script with the arguments. Otherwise, lua_load the function, store it in the table, then call it. Also, since Redis is single-threaded, you should only need one lua_State per server.

How are you planning to represent Redis values in the scripts? Would you just represent them as Lua strings and tables, or would you wrap the Redis values in userdata and allow operations to be called on them directly using metatables?
One place: LastPass's "Fill Forms" entry for my debit card.
Appcelerator's Titanium uses JavaScriptCore as well to create native bindings to UIKit. Titanium is not a UIWebView wrapper per se, although that is one of many UIViews you can create and embed web apps. The result is a much more "native" experience and tighter integration to platform capabilities.
I assumed it was performance, my understanding is it keeps a stack of statements to execute a function end. Perhaps the cost was too high to do that at the end of each block.
They would need to invent a whole new protocol and make sure the token value somehow stays up - which is independent from how much money they earn from fees.
Author here.

I was growing frustrated with the increasing about of programming that seems to happen in YAML files. At the same time, my friend Krystal was telling me about INTERCAL, an esoteric programming language that is designed to be hard to use. I had fun observing the ways that these two are different and the ways that they are the same.

I'm happy to hear what people think of this article. I am assuming because 'programming in yaml' is so prevalent that many people don't agree with me.
With this available, why would I want to use Cloud Run?
You signed a contract that explitly says you have to use their billing API

You choosed their platform, and you agreed with that, so why do you complain now?

EDIT:

Title should be renamed to: "Shopify asks users to comply with contract they signed when joining the platform"
As I read through it I was asking myself whether the author had ever met many kindergarteners. Just saying that something is "like a lego block" doesn't make it so. At best, the lego block can be used to illustrate a concept just as ping-pong balls might be used to diagram DNA. That doesn't mean that anyone who can play pingpong understands genetic drift.
Plus one state's useful new spending is 49 states' pork, meaning that it's always easy to label anything as being evidence of government waste and corruption. But earmarks served as a useful way for states to get federal involvement in local issues that otherwise would never see the light of day, so their loss not only reduced the ability to get major things done, but also to get even tiny things done.

Earmarks are supposedly coming back this year though.
will probably get cloned and sold at a discounted rate undercutting the foundation
> BTC is as useful at $100 dollars as it is at $1 million

or as useless, on the other extreme.
V's design is completely opposite.
Uhhh how do you explain people minting tokens for art they don’t own the rights to? And OpenSea turning off their reporting mechanism for this?
Lawsuit in 3, 2, 1..
> Public education is a baseline. Literacy, civics, a bit of math and biology are things that can help no matter what vocation people end up with.

All of which is usually covered by 8th grade in the US.

HS is a waste for most people attending.
Please. Let’s not turn this into whataboutery. This isn’t about other countries doing things poorly, and more specifically Germany was not named by the parent commenter. This is about the US doing things significantly worse than basically any other developed country. I live in Germany, and know that the German healthcare system is not perfect, but I also know, as an American, that it is significantly better by essentially any metric than the US, and it’s unfair to pretend otherwise. I’m glad I don’t live in a society anymore in which I have to worry about taking an ambulance for an emergency because I can’t afford the fucking $500 price.
Why we can't just call it "Internet Identity?"
http://en.wikipedia.org/wiki/Google_Trends

"Originally, Google neglected updating Google Trends on a regular basis. In March 2007, internet bloggers noticed that Google had not added new data since November 2006, and Trends was updated within a week. Google did not update Trends from March until July 30, and only after it was blogged about, again.[2] Google now claims to be "updating the information provided by Google Trends daily; Hot Trends is updated hourly."

Google Insights for Search seems to be better for this sort of analysis since it offers regional filtering options and puts the searched term into context.

http://www.google.com/insights/search/#q=xkcd%2Cpenny%20arca...
I believe the term "license" itself is completely inappropriate for personal identities.
"the language designers perhaps could have used a bit more restraint in their design."

The problem with that if they would follow your advice it would not be Scala anymore. There are dozens of programming languages which used more restraints in their design, but I've chosen Scala.
The reason is that I don't want to use different languages for different tasks unnecessarily. Scala is almost a no-compromise solution: statically typed, fast, concise, supports functional style where I prefer that and supports imperative style where I prefer that.
I've been programming in Java for almost 10 years, and it was a no-brainer for me to switch to scala. This is the most important production language for me right now.
The only drawback is that it is not for beginners. It is for mature programmers. A beginner will be annoyed by the lot of information this book contains. But after lots of years of programming let's say in Java all the features in the language feels as a bless from god.

By the way the languae is not particularly complicated. Its language specification is someting like 200 pages while Java's language specification is something like 600 pages. The BNF syntax description of Scala is smaller than Java's. It contains fewer keywords. Scala is not more complicated than Java, rather it is deeper, and feel more complicated (espceially in the beginning.)
I've opted out from street-view, asking both my flat, and my car to be removed, Google obliged. No eggs yet.
>Well, what about the notion of a fixed earth around which other things rotate?

As you, and relativity, say - it's not wrong to choose an arbitrary fixed point.

>it took a long time before anyone came up with anything that could measure [stellar parallax]

Indeed, the Pythagoreans assumed terrestrial motion (according to Copernicus) just as others assumed opposite. Neither assumption is bad, neither is worse given that there was no obtainable evidence to support either position at the time.
A startup I worked for made the applicants do pair programming for two days. Needless to say, the people getting hired were very good.

Of course, if you are in a big company this is too much time and work (Recently had 6 interviews at big corps, not a single line of code written for a junior position)
The employer may be expecting that employees can treat the housing subsidy as non-taxable.
I am now blind. Thank you.
> What I'm hearing is a bit contrived:

I’ve literally no understanding of how you arrived at this list of things you’ve heard.
The ostensible reason for the coin shortage was COVID-related supply chains. Stores were also trying to minimize handling of cash especially early-on in the pandemic.

This is overlaid with the fact that, in the US:

1. A lot of people (though certainly not everyone) don't use a lot of cash these days

2. Coin denominations have basically been unchanged since I was born--which was... not recently. So you have lower denomination coins that cost more to make than they're worth.
This sounds so much closer to a "real" test than our single-server tests.
San Diego’s trolley is the same way - weak fare enforcement. The end result is people carrying on their carts full of recycling and pushing off other riders back into their cars. The trolley itself and the routes seem well intentioned and well planned. The carriages seem modern and otherwise comfortable. Many apartment buildings have been put up by the stations. Why couldn’t they just spend a little more for validated entry to keep the system working as it was designed?
I always thought that the smartest model for creative software was to give it away for personal use and charge a lot for using it professionally.

Interested people can download and use it for non-commercial purposes, then want to use it in the industry. Bonus if there are indie licensing levels that are heavily discounted.
Since you've thought about it, my impression was more that we're forced to distribute consciousness. Consciousness as in mindfulness. What we aren't conscious in doing becomes reflexive, we put our bodies in autopilot. I think novelty is one way that yes, because it calls forward consciousness, we can expand our mental time frame, sort of like pressing record. I think a good aside here is the concept of the beginner's mind.

In terms of untrained optimization, though, autopilot is prioritized. I think this is pretty well corroborated by Kahneman's chimera in Thinking, Fast and Slow but I think it's less of a metabolic thing than it is an interruption in train of thought.

Perhaps this is derived by the fact the mind can create its own feedback loops, and in the circumstances where you've mastered to the point of intuition and reflexivity some practice, those feedback loops are given precedence because they're more rewarding, and being called to the real world becomes frustrating. At least that's how I'd assemble my own experience in narrative.
That's true, but there aren't a lot of these people in positions of great policy power.
You can feed chickens red pepper flakes and their yolk will become darker and more orange in hue. Has no effect on taste, it's just for looks.
Indeed, there has been a large amount of "bypass the kernel" campaigns in the last couple of months. Robert Graham's 2013 Shmoocon talk has a great introduction into the whys and hows of this movement.

https://www.youtube.m/wco?v=D0atch9jdbS6oSI

Facebook had a job posting that showed up on HN for a position to help speed up Linux's networking stack. While I doubt these improvements will surpass the kernel bypassing model, I'm glad a developer has decided to tackle this head on and help overall efficiency.
This is fantastic.

One "future vision" if I may -- actually tracking, sharing, recommending, etc. nutrition research. I think one of the most painful things for everyone interested in nutrition is actually knowing what the research says about what they need to eat, when, how, etc.

"Future vision squared" would be to personalize nutrition recommendations / advice to each person, but I'm dreaming.
Thank you, that seems to be the best solution so far.
Same story:

http://news.ycombinator.com/item?id=2004060 - killed - 6 comments

http://news.ycombinator.com/item?id=2003989 - huffingtonpost.com
I think this story is so interesting because so many of us could never imagine leaving .net. It's got a real shock factor to it. Like someone winning the lottery and throwing away the ticket.
There's something to be said about the service feeling worth it. With a product you can game the feel, like extra weight in a remote. But with a service...

I worked for years as a bike messenger. There's some minor vocational mystery as with the locksmith, but clients generally understood that our job was dangerous and that we did it well. Still...the only time we saw a tip was when we got documents to an office just in the nick of time — too early lacked the drama. There's a perception of extra effort, which anyone appreciates when you're paying a professional to do something that's impossible for you but easy for them.
A particular bookseller choosing not to sell incest erotica does not constitute a book being "banned" or "censored", which only apply when the government forcibly prevents every bookseller from selling particular material.

I wouldn't sell incest erotica either, and that doesn't mean I ban or censor books.

This kind of exaggeration on the part of the blog author doesn't help her argument; it just causes people to (a) lose intellectual respect for the author and (b) give less credence to her argument.
I used this as a rationale for learning VIM 15 years ago.

The overwhelming majority of machines I've accessed haven't had Emacs installed, so I'm not sure if there's a huge problem with remapping your Emacs config to be something that works for you.

Part of me also thinks this is similar to the argument for buying a sedan over a coupe. For me personally, the number of times I've had to transport someone in the back seat isn't nearly sufficient to justify purchasing a vehicle with that in mind.

I don't know if suffering through the default bindings is worth the pain for the once in a blue moon that you'll be using a different system that has Emacs installed.
Wait, seriously? We can open accounts anywhere in the EU?
My bank password is 4 digits. But they ask another, one shot 4 digit password from a table they've sent to you when you actually move money. I thought all banks did this?
dude, don't be fanatic about it. it's a tool, not a mistic knowledge that once you gain, you'll master the universe
Also I want to mention that it is unlikely we will ever get "there" as property is not a good that can be mass produced. If I spend 1 million dollars designing a phone, I only need 20 dollars to instantiate a physical model.

Property cannot be instantiated. It is only bought, sold, taken or discovered and there's no more left to discover.
True. But

(a) These quantum links are physical cables that have to be laid between sites. If you lay your own normal cable rather than using the Internet, you probably won't be intercepted either. Or...

(b) While shuttling around massive XOR pads on hard drives is probably too annoying for most individuals, it's quite feasible for the kinds of organizations that could buy this stuff and a whole lot cheaper, unless they have enormous quantities of data to transfer; though the scheme can then be broken by passively copying the pad rather than continuously actively subverting the quantum link, I'm not sure this makes much difference in practice.
Agreed, it looks like a promising framework as an alternative to MVC4/5
My mistake. I thought the blog post was about using jQuery. I totally agree with you.
Most IDEs let you set a hotkey to run the current file through an external program (I generally use Ctrl-Shift-V to open in Vim) as well as a setting to automatically detect and reload a file that's been changed outside the IDE. It's not perfect integration, but it works pretty well once you're used to the workflow.
> Linux Hackers Rebuild Internet From Silicon Valley Garage

That's clearly not trying to play on any biases whatsoever.
You missed the part where FB -- admit to and are fixing -- lack any process to deal with those that are either not aware or don't understand the process. At no point do they instruct the reporter that it'd be helpful to provide more steps and that he should not be using live accounts to demonstrate the PoC. Nay, they merely shrugged him off and stated his actions were "not a bug."