jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
There's also a nice comment by Sam Madden (professor at MIT, teaches classes on databases) below. It is a nice response to the person who essentially said "Mike is in theory, Matt is in systems so their experiences are not comparable.
It's not really rivalling Google Trends, it's complementing it by giving people access to more data.
When I was at Microsoft, the Windows team introduced some game mechanics to get internal developers more involved in filing bugs during the pre-beta dogfooding stage. I can't remember exactly how it worked -- something about getting a letter each week if you filed a couple bugs (with review to avoid dups etc.) The folks running the program told me they couldn't believe how successful it was; people's desire to show they were helping combined with natural competitiveness to get great results, and the quality of the bugs filed this way was just as high as others.

That said, all the points others are making about the risk of encouraging the wrong behavior are very valid concerns. Get people on the team -- and outside eyes -- to review the scheme before going forward with it, and expect that you may need to tweak it once or twice.
When I was in US (Palo Alto) I think you could get comcast or excite (Y! @home or something). Pretty sure the choice was limited to 2.
Copyright is not "silly shit" to a bunch of programmers (especially when many of them work on open source). Programmers make things that are copyrighted. A story about an individual having their work stolen by another invokes the same response among programmers as a story about a violent robbery would invoke in a storm owner. It gets personal. Right or wrong that explains the emotion behind the mob.

(Why this doesn't extend to violating copyright on music, movies, and games is beyond me.)
I'm going to take the stance of: "I don't see the usefulness of it, but that doesn't mean it can't be useful." Maybe it's working within the limitations of a particular language that doing something like this is the best way. Maybe I'm completely missing some clear and obvious sign.

> The principle of lowest friction is that this templating system must, at the very minimum, match, if not exceed the ease of HTML.

Realizing also you mentioned as it grows larger, abstraction occurs, this is where I don't see the value. For anyone to use this templating system, they need to know HTML and then they need to know this templating system (which amounts to learning a programming language). Mistakes in the templating system will result in HTML errors. Maybe I've just had too many bad experience with systems like this where fixing the HTML would have been easy, except I had to go through a templating system that abstracted away critical parts.

I'll assume I'm just missing something, or I've had this problem your solving before, and solved it in some other way. Like I said, I don't see how this method benefits anything (and I've done my fair share of work on the web), but I'll chalk that up to a failing on my part to grasp some concept. =)
I remember reading at one point that "hacker" came from the Tech Model Railroad Club at MIT and it was pulled over into software as many of them made the leap to computing (an alternative obsessive hobby).
"If you are a women" would have sufficed, or more correctly "If you want to buy women's clothing" e.g. as a present. I've noticed many comments reflect a typical consumer mindset i.e. people aren't interested in things unless they are the target audience and can use or buy it.
Don't you feel like you should get a license? Regardless of wether you're legally supposed to.

The sheer quality of programming they put out. Buy a license.
Meaning, parse word by word until you hit a key word or a significant character (,:". etc).

If keywords are allowable in identifiers (such as "end of file"), then your algorithm is not sophisticated enough. When you encounter a token that is the same token as a keyword, you need to use context to determine if it is actually a keyword or part of an identifier.

This may be a serious problem if the grammar has "<identifier> <keyword>" in it. That is, "X keyword" could be the identifier "X keyword" or it could be the identifier "X" followed by "keyword." There's a reason that most programming languages require that identifiers are a single token.
As the guy who decided to use scala @ foursquare I am admittedly biased, but I very strongly disagree with this statement.

I find scala to be on par w/ Java in terms of complexity (more complex in some areas, more consistent in others).
That's what I've been wondering all day. I didn't have a problem with Skype being down; I had a problem with Skype having exploded this morning, screaming about uncaught exceptions as it did.

Your quote was an "aha" moment for me.
My guess is that it lists the directory everytime to underline correct paths (as he explains later) instead of listing a directory after each / and remembering the files and directories in it.
Works great, but when I tested it out as an anonymous user, then decided to sign up, it didn't import the gallery I just made.
I'm pretty sure I can fix that global lock, but I'm focusing on getting the basics solid before focusing on performance.

My idea was that if there are concurrent transactions, then you just need a merge when the second one commits.

This is "optimistic locking": since they're probably updating different subdirectories it would be a trivial merge. If they update the same attribute of the same entity (i.e. they both change the same line of the same attributes.json file) then there's a conflict and the second commit fails.

This still requires a lock but only a tiny one, just at the moment of actually updating refs/heads/<branchname> (whereas right now it's around the whole transaction which obviously sucks).

Are there any flaws in that?

The reason I haven't done it yet even though it sounds pretty trivial is that with Grit (the Ruby Git library) the merge will need to use the working directory and that's a problem for concurrency (and also because I want the working directory to be useable by a human). I was thinking that with a bit of extra work I could make it happen in memory somehow.

Paul
See: Kim Jong-Il
>There's no malloc system call.

Thats not really true. Not all dynamic allocation schemes rely on mmap, some use the brk and sbrk system calls.

"In the original Unix system, brk and sbrk were the only ways in which applications could acquire additional data space; later versions allowed this to also be done using the mmap call." -https://en.wikipedia.org/wiki/Sbrk

Also mmap itself is also a system call, it usually just was called prior to the failing page allocation, not at the time of allocation failure.
Video games have always been very interesting this way to me, and there are some real gems lately that manage to tap into very emotional parts of my brain. Fallout is ripe with ethical dilemmas, almost to the point where I found myself unable to proceed when the choice is not obvious. You know the characters are not real, you are alone playing a single-player game; but you can't help but try to figure out how to help the character. The Fable series is really great this way too. There it's actually the focus and the theme of the game.
That's normally my go to example, however I often wonder, if this bad government did come into power, wouldn't they just pass a load of laws to snoop anyway? The only disadvantage is they wouldn't have as much historical data.
Yes. Presumably for being too Blairite.
Yeah, I felt it was pretty tone deaf.
Of course! But I'm addressing how senior developers spend their _time_. They don't often spend lots of time helping with bugs written by other senior developers.
> I do believe the NSA overstepped their mandate in domestic surveillance

They've been doing it longer than the Internet. The "Five Eyes" have existed for a while, so that they can have a legal loophole for domestic spying (e.g. "We can't spy on our citizens, so we'll just ask our allies to do it for us!"). To me this indicates that, while the stated purpose behind the organization may have merits, the execution of that purpose has been flawed for some time.
Where is a link to actually read files? Reading NYTimes summary about said files is fine but I'd love to actually read them. It sounded like at least one student had made their files public? Maybe not.
How did they find out Person Y's phone needed to be searched/monitored to begin with? Obviously they have other sources of intelligence.

The question also doesn't address the issue of how far is too far, imagine how many crimes would be discovered with nightly searches of everyone's homes. Should we begin searching everyone's homes warrantlessly? What is more detrimental to society, the criminals, or the police state?

What are they doing to do, deploy unremoveable malware on every phone by default? Because as long as phones have CPUs and we can tell them what to do, they can employ unbreakable encryption. How are they supposed to get around that? Mandatory spyware?

What did police do before the telephone was commonplace? Criminals met and still meet in speakeasies and other safe locations to communicate without a phone, are we gonna install mics in every room as part of new building codes?

If phones do become irreversibly broken and monitored, guess what, criminals will stop using phones. Kevin Gates (rapper) has a song about drug dealing called... I Don't Talk On Phones, lol.

tl;dr: surveillance state monitoring all phones just means criminals will stop using phones to communicate so its only going to hurt "legitimate" privacy.
It concerns me that, for this reason, my degree might be worth 'less' a few years/decades down the line than it is now. In the UK, a lot of job positions ask for a 2.i minimum. I have a 2.i from a a very good university, and I'm personally proud of it, but in a few years time I fully expect to see jobs asking for a 1st minimum become the norm, in which case my CV will be filtered out by default at the HR level, which is frustrating.

A similar problem for people who didn't go to university is the new A* grade added to the A-level system. When I did my A-levels, the top grade was A. In a few years time, people will probably forget this, and will then see normal A grades as somewhat 'lesser'.

I can only see grade/credential inflation getting worse in future.
To be fair, even as an above average person, were still in the middle class, even if the upper portion of that class. Few of us in the software industry are rich, just very comfortable.

But that comfort could fade very quickly, given a few scant months of unemployment.
If attacker has access to app server it is already game over. App server typically already has access to all of the data.

The pods are akin to localhost networking where there is only one externally available application with multiple networked components.
"1B" is a surprisingly bad abbreviation here, considering its resemblance to a much ... less impressive number.
Bah... spoilers... (was planning on watching this tomorrow)
Did you mean carbon? I’ve never heard of anyone caring about nitrogen emissions.
Ok thanks, I know that generally as Ranked Preference Voting and the more specific proposal of IRV Instant Runoff Voting

https://en.wikipedia.org/wiki/Instant-runoff_voting

Do you have any more info about this type of voting? I would always be interested in reading more analysis of this topic.
I agree with you. It's a tragedy of the commons, no one want to be "the one" who offends China if all their competitors do not. It's the same thing that drove the mad rush for Chinese market share.

However, despite realizing this problem, it is not clear what to do about it. Clearly, YC did not choose to become leaders on the issue.
These days we call it "SDR" ram for single data rate. But when it was current it was just called "SDRAM". So yes technically all are synchronous dynamic RAM. But the colloquial terms are SDRAM (or SDR), DDR, DDR2, DDR3.

But if you want to get super technical later DDR standards aren't really synchronous at all. There's a huge analogue component and the input clock is only a reference to feed on board PLLs and calibrate delay lines. It's simply not possible to do a traditional synchronous design at the frequencies involved.
It doesn’t disrupt the grid anymore than turning a heater on and off.
I think everyone need to remember CORS is a browser-only protection and anything you expose via CORS protected endpoint in reallity has no protection at all. Try cURL reaching any endpoint protected by CORS and you'll see what I mean.

Also browsers automatic sending cookie enable many of these CSRF, consider JWT.

Amazing how PHP is still bitting developers.
I just realized I asked you the same question before.

If the server got hacked, could it send Javascript that steals a users password (which you say "never leaves your computer"), decrypts user data, and sends the password and the data to the attacker?
>Far and away, the best for a young person coming into adulthood. In an age appropriate manner and wording (vocab, tenses, allusions to other works, etc) Hatchet explore what it takes to mentally be an adult. Brian's near suicide and rebirth alone in the Canadian forests is a classic story in literature, and it is no where else better played for young adults than in Hatchet. Brian's personal choice to live and be self sufficient against the odds is a great lesson for that age. The epilogue is masterful as well, and I'm sure, took a lot of guts to publish as-is and not re-write.

Wait. You mean that book's not for 4th-graders? Not being sarcastic: I found it in our elementary-school library in 4th grade and read it. Other people did, too.
It's arguable that PHP has already disrupted webapps (though I'm not sure what went before - ie. what was disrupted - because PHP was a fairly early tech), in that so many companies use it, including those big successful ones mentioned (facebook, youtube etc even CD Baby). It could even be on the decline these days, if people start to outgrow it as they acquire more skill, and there is no supply of additional low skilled adopters to fuel its growth. If so, the only option for PHP is to move upmarket.

The next step seems to be to disrupt Java enterprise webapps. Although that may not be exciting to a mainstream programmer, it would still be a disruption, and typical of how disruptions move upmarket, tier by tier.

fmw and bad_user have noted many important aspects of PHP, but I was really just thinking of its core idea: templates. PHP didn't originate them (eg bash does it echo hello $name; C has printf; etc), but it's taken it to the logical extreme of a program being a template, and it's the most popular embodiment (I think coldfusion and others did it too, but less successfully).

I think templates are a great idea, because they are simple and concrete. Abstraction and other meta features are powerful; but if the job doesn't need them, they only obscure what you are trying to do.

While surprisingly versatile (e.g. TXL does language translation with them), templates are limited as a general programming concept - and so PHP is probably similarly limited, perhaps to just the web (maybe it could expand to desktop applications, since they increasing use HTML for UIs - though deskapps are seemly being disrupted themselves by webapps). But it's hard to seriously entertain a fps in PHP; a compiler (though consider TXL...); a VM; a RDB; mathematica; pagerank implementation; numerical simulation; an OS.

Meanwhile, the template "technology" is accessible from other languages: python, ruby, java etc all have a broad choice of templating engines for webpage generation. So it is arguable that the technology of templating has been co-opted by the mainstream - although, PHP remains the simplest one. When the job is simplest enough, it seems PHP will win, simply because it can do the job, and it is accessible to more people.

BTW: the factors others have mentioned are also important (low cost hosting, labour etc) - though some of them can be traced to the simplicity and concreteness of templates (which made webapp creation possible for people with less skill).

I have to admit, I am a huge fan of template "technology". I think it is a brilliantly insightful and simplifying idea. They can also be seen as productions in a CFG.
Doesn't surprise me at all. The platform upon which the entire web game community was based just disappeared, and "Oh don't worry, here's a radically different stack with much worse tooling that you can learn to use to continue your low-paying passion-driven job as a web game dev" is a pretty bad pitch. So the artists just left.
That's interesting. I'll have to take a look.
I appreciate this reply and most definitely do not think I’m in the 1% if anything, let alone the talent pool. I come from a town that wasn’t a tech center growing up (and still isn’t, though we have some logos now), and am largely self-taught. I just like playing with computers and am lucky to have made a job doing that, and am glad to live in a time where I can do something I love, somewhere I love, but for companies not necessarily here. My only point was that if my best qualification was proximity, I’d feel pretty unaccomplished, but the flip side of that is that I welcome the challenge to apply for jobs that are far more challenging than I’d otherwise have access to.
The point is not to force people to move, the point is to cover the state's revenue by land tax instead of income tax or sales tax.

The average Californian (could not find median) pays about 6945 USD to the state in income tax (using 106916 USD as the income figure). The median California home was about 650000 USD in 2020; it is projected to be 800000 USD in 2022. Assuming an LVT of 1% (the actual property tax rate is somewhat lower in California), the taxes would be 6500 USD in 2020 or 8000 USD in 2022. These are of the same order as the income tax they would replace.

This is remarkable, given that we are considering an LVT in the context of a badly overheated housing market -- the situation an LVT is designed to prevent.

In California, there is not only high income tax but high sales tax, capital gains tax, and many other miscellaneous costs. If the government is too expensive, it's too expensive; you may be forced to move because of that, but it's not because of a particular tax strategy. Any tax strategy can be used to charge you too much money. This is one of many reasons that a dysfunctional property tax regime does not support a good and stable life.
This is the best post in this thread. This is all very much true. One more thing that most Americans don't admit is that people mostly work jobs they have started out in. When I was in shitty jobs, people started out and stayed there. As I move up, I notice that people also started out and stayed there. Anecdotally, the US has much less mobility than what is commonly believed.

Anyway, I went off topic - don't want to detract from the parent point - you can work 10 hrs a day and not be able to afford anything and barely have a chance to progress because you are ground down by "real life^tm". Tech and MDs are definitely a special little island.
didn't downvote, but I wonder if you have a study showing the stats. Before I've heard that psychopaths are over-represented in politics, as CEOs, as lawyers, as law enforcement, and as criminals. Now also, evidently, in pediatric oncology?
Refreshing ideas. Thank you for sharing.
https://en.m.wikipedia.org/wiki/Fran%C3%A7ois_Vi%C3%A8te

^ I think this was the gentleman who introduced the idea of letters as parameters in equations
Do things that don't scale ;)
Not going to lie: I won’t mind if coastal Northern California’s weather gets a bit more like Southern California’s.

If that’s the case, maybe a good real estate investment? (assuming low wildfire and rising seas risks)
How about Fuchsia?
was funny to read tbh
> , a much better tape for ducts than duct tape.

Duct tape was never meant for ducts.
It likely will, but not because of the climate.
seL4's mixed criticality (MCS) kernel and the time capabilities absolutely are the state of the art.
> "open source" is mostly a common language phrase not a term of legal art

The term "open source" does have an official definition[0]. It doesn't mean what most people think it does and that is one of the reasons Richard Stallman has criticized it[1].

[0] http://opensource.org/docs/osd

[1] https://www.gnu.org/philosophy/open-source-misses-the-point....
Wow, what a disappointing response. Talking about bombs at the airport is not the same as having literature in your carry-on with the word "bomb" on it. The last novel I brought on a flight talked extensively about bombs, should I have tossed it in the garbage before going through security?

When people like you rationalize every individual curtailment on civil liberties without considering the bigger implications and precedents being set, that's how you wake up to discover you've completely lost freedoms that your parents took for granted.

And you go even further, talking about how citizens should have to consider how their actions are going to be perceived by low-paid, under-educated TSA agents, rather than giving a moment's pause to wonder why low-paid, under-educated TSA agents are handling security for our nation's airports.

Question nothing, blame the victim. Superb critical thinking.
Here is a clip [0] from the press briefing when the “I’m just curious, was ‘Charlie Bit My Finger’ or ‘David After Dentist’ not available?” Quote happened. The full video (queued to the same point as the first clip) can be found here [1] (there are a couple other comments made not in the first clip).

[0] https://www.youtube.com/watch?v=PyTkZDDk-hY

[1] https://www.youtube.com/watch?v=QkNm0AKCVGI&list=PLRJNAhZxtq...
How does that work with shipping times though?

I bought an art skateboard that had production problems (wont ship out to original buyers TBD) but it's already listed on ebay from scalpers.
I'm guessing you correlate that if peolpe didn't play games, they'd instead have time to do other things more meaningful to contribute to society, which is naive at best.
Could it have been the opposite direction? The advertiser targeted an ad to everyone using $YOUR_FAMILY_NAME as a keyword?

I haven't seen one of these (despite my email address being firstname@lastname.com), but my family name isn't very common. According to https://forebears.io my surname is >275,000 in commonality, so maybe I'm too far down the list. How common is your surname?
In other words, ultimate control needs to be on the client side. You delete from Dropbox, and the local machine marks the file as no longer being backed up by Dropbox but does not delete it. Some UI needs to present to the user: This file is backed up in these services, but not the other one. At that point, the user has the choice of fully removing the file, restoring it to Dropbox, or leaving it alone. They may even decide they don't want it backed up in any service, but want it to remain on the filesystem.
Yeah it might be as simple as changing it to "adding the task to a backlog" or 'next sprint' or whatnot. Again a minor thing, I've just been thinking a lot about leadership techniques recently.
> Again, what!? I'm not seeing these prompts.

Apparently it means prompts for privacy stuff.
They don't call themselves autists for no reason.
No, that was never the case. Even Docker is running, albeit still in WIP status (https://docs.docker.com/docker-for-mac/apple-m1/).
Literally laughed out loud, thanks for the smile on a tough afternoon.
> When learning something new, keep a dedicated list of "this looks like magic!" items. Use your "down time" to research items on this list instead of refreshing your favorite news aggregator.

Brilliant advice. It's also applicable to other areas of life, not just programming.