jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
This is more common than you think.

At my last job, I worked on their new e-commerce site (it was really just custom additions added to oscommerce).

The boss decided to make every design decision by committee. One week one person would want it one way..and the next..another. The boss would even change his mind on things every few days. I beat my head against the wall trying to explain to them that our project would never get finished this way, but nobody would listen to me.

Something that should have taken 2 months ended up taking over a year. In the end, management started trying to figure out why things took so long...and would not attribute it to starting a project, stopping a few days, weeks, X amount of time into it, and starting over.

The company is now almost out of business (they let me go a couple of weeks ago), which doesn't surprise me in the least.

I am surprised at all of the incompetent business owners that manage to make money going against good business practices when there are so many people that do everything right and still can't succeed. I think they are either lucky or they have good people working for them that can compensate.

As an aside to my story, if you are thinking about using Oscommerce, Zen cart, or Oscmax in any e-commerce project...think again. In addition to the nightmare of code that you will need to maintain, it's difficult to keep secure. This is because template code is not separated from main application code. If you need to make any custom changes (which you will if you are changing anything about the default design), all security updates will have to be made by hand...which isn't impossible..but tedious.

The code itself is atrocious. It's a hacked together, spaghetti mess. If you look at the history of Oscommerce, the foundation (which hasn't changed that much) was built by inexperienced developers (and it shows).

I would recommend the Interspire shopping cart. Even though it costs money, you get support for a year and the code is very well organized and the plugin system makes it really easy to make changes. I've also heard some good things about Magento (which is free)..but I've also heard it has a scaling problem.
I've used haXe since 2007 for Flash game projects. It's a good example of "small language design" in action and cleans up a lot of warts in ECMAScript.

When I started there were unresolved issues making it unpalatable for all Flash projects(e.g. preloader creation), but they have since all been overcome and documented. It still requires some elbow grease to get working.
It absolutely is, and has been for a long time. I find it very hard to keep track of the various standards, but things got a lot simpler with v3 of the Single Unix Specification, which is the same as POSIX 2001[0].

The problem is that SUS and POSIX only define a subset of what's wanted by most modern software and a subset of the tools people need to interacting with the system. It's a double-edged sword, though: if we always stuck to what was common to all Unix-like systems, we wouldn't have lots of important OS features.

[0] http://en.wikipedia.org/wiki/Single_UNIX_Specification#2001:...
By Ryan Dahl: the guy that created node.js.
I wonder what else he's been up to.
When I see one space I shake my head and I go, Aye yay yay. I talk about 'type crimes' often, and in terms of what you can do wrong, this one deserves life imprisonment. It's a pure sign of amateur typography. Two spaces is correct, there is no other answer, and all those who dispute this are infidels worthy of violent death.
That's because the code was never meant to be used in production. It was meant to be used on a unix socket behind an nginx instance, which pretty reliably fixes up almost all the slight nuances and omissions in the protocol.

That said, closing the connection when you get rubbish input is generally a perfectly reasonable strategy, especially behind a reverse proxy that'll clean up after you. And in the code that is only done at all if asio.hpp claims that the underlying (tcp or unix) socket is in an error state. At which point it is impossible to reply.

As for repeated headers, according to http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 all multi-line headers must be representable as a single header by concatenating the parts with commas. So there was simply no use case for implementing this.

And FastCGI is definitely not simpler or "more limited-purpose" in any meaning of the word. At least not if you insist on implementing the full spec, which includes fun things like the authorisation and filter roles. And I highly doubt you can convince any conformant implementation to parse duplicate headers for you.

So implementing a reasonable subset - e.g. clean queries for HTTP or merely the responder role for FastCGI - is a perfectly reasonable strategy. And given all that, I will take a text-based protocol that in a pinch I can query against directly with a web browser or telnet any day.
tup and ninja are (*nix, OS X, Windows), redo mentions that it probably doesn't work on windows.
There are a lot of useful things you can do at a small scale. Take setup examples; those are useful for other people and useful for you in the future as they preserve something that you had to spend time figuring out. Near all infrastructure and software is very poorly documented when it comes to examples and setup documentation, and you could build an entire and very useful portfolio based on that alone given the work that you'd be doing over the course of a few years of consulting.

My GitHub account contains a mix of (a) small pieces of functional software used in niches that are poorly supported, such as non-delivery report processing in Drupal, (b) dumb things that were amusing enough to write, such as a self-propagating bash script, and (c) functional examples for software that lacks good functional examples, such as the use of Guice in DropWizard.

This sort of thing seems more than good enough to demonstrate that you know what you're doing.
Awesome!
This goes in my fortune file :D
What I don't like about the approach is that they announce to prominently use git as a modern DVCS, which is not BSD software. I would rather see improvements in the existing BSD-licensed VCS. Currently, the only candidate under active development would be http://fossil-scm.org/.

Or heck, maybe even start an initiative for a DVCS implementation under a BSD license that is able to work with the git protocol. This could even use the git disk format, so you can still use git in parallel until it's feature complete.
Here, Oracle, let me break out the world's smallest violin...
hello, thank you for the pointer. Will definitely look at it.
[duplicate] from 10 hours ago

https://news.ycombinator.com/item?id=21604089
Good rebuttal ^
Personally doesn't bother me. It definitely gives a more playful theme which I think is a good thing instead of trying to read a wall of just text documentation.
I do believe that right after the event of the first google pixel, all google products were “failure” by their standards. they haven’t created anything big ever since. Same goes to Microsoft and their latest product kills.
At least their new products are getting better now.
Google never created anything significant. That’s why I wouldn’t trust their new products.
They really need to stop publishing products that feels like beta.

Their plans always seem like:
Beta-final release > take long time to finalize it > kill stage
I love this quote. Thanks for sharing.
But these are the services that people actually use. On Mastodon you end up with... well the sort of person who uses Mastodon. Which means that the people that run those services have some degree of de facto influence, which in turn means that they are likely to end up regulated and constrained by other powerful actors.

Today it's rich people in California, once it was rich people building railroads and pumping oil.
I’m not talking about government suppression of speech. I’m talking about society itself rejecting a certain kind of speech, by the actions of private citizens and organizations, and generally having an awareness of the fact that two sides of an issue are not always equally right.

We have to do our best. The fact that it’s a hard problem to solve without going too far doesn’t give us license to throw up our hands, cast off from reality, and inhabit a dreamland where there is no difference between a truth and a falsehood.
Why is there content to censor in the first place?

What has broken to cause that abhorrent content to exist (e.g. “shoot them all and let god decide what to do with them”)

Why have they lost the ability of civilised communication?

If that can be fixed or self-policed, the calls for censorship evaporate.
Twitter has been agonizing for years. They just give no excuse to millions to keep using their service. They are not Facebook, so, they don't have the same luxury Facebook has - keeping all your pictures, videos, and posts a hostage. I think Indieweb is more relevant today than it ever has been! Also, Twitter boosted its competitor Parler today better than ever. By Google Play blocking Parler, millions will learn how to install Android apps outside of their store and many conservatives will leave iOS for Android for this ability alone!
In the first case you would have to explicitly accuse your correspondent of forging a message from you for this to work. Most people would not be willing to do that to the people they chat with on IM. You would be using an excuse specifically created by the system for the purpose of saying something and then falsely denying that you had sad it. Who would believe that is not exactly what had happened? If someone actually did forge a message from you then few would believe that actually happened.

Quoting myself here: forgeability uses a simple technical approach to create a much more complicated question of credibility.[1]

[1] https://articles.59.ca/doku.php?id=pgpfan:repudiability
> Twitter shows every side of the story.

That's going to keep some securities fraud lawyers busy.
It's a victory for private platforms when they grow a backbone, stop hiding behind the cowardly cries of "but free speech!", and use principles and morals to drive action. Twitter has bent over backwards _not_ to ban this person. It's been a long time coming.
yes, this is exactly the way it is. most people are perfectly fine with throwing their ideals out of the window if they were applicable to people they don't like.
Took me a couple reads to get it, he was identifying the wrench size by the 'ring' the wrench made by scraping it on the concrete? Very cool.

A few years back I figured out that shoving my finger in a wrench is far more accurate than visually identifying the size of the bolt and the appropriate wrench. That and really knowing the bolt sizes on the project you're working on (but on some projects/cars this is tough).
You say that like it's a common thing for Westerners under 40 (and no, most of us aren't "on the path" to a secure retirement, either).
There is a running conspiracy theory that manufacturers found out about possible damage around 2018, and coincidentally all the popular models like the Sony WH1000 got firmware upgrades that perceivably downgraded the quality of ANC. I have a model from 2016 and can easily tell the difference from a newer one, now if that is the real reason or not... we’ll find out in the coming decade.
not sure that's helpful
They mention margins of 35-40% percent here: https://www.indiehackers.com/podcast/166-sam-eaton-of-crave-...

So, $70k - $80k a month in profits
> The problem is that the Fed only has the power to inject dollars at the top of the economy

No, that's not the problem.

The problem is Congress [0] has been asleep at the switch on fiscal policy since the administration of George W. Bush.

[0] in the sense of “the body that legislates, including the effect of the President acting in his legislative role”.
1) The bauxite argument is actually pretty good. Aluminum is one of the most energy intensive ores to refine. Comparing the energy use of Bitcoin to Bauxite refining clearly communicates the level of energy investment going on and negative externality going on. In Aluminum's case, we waste a ton of power, and create rather chemically nasty tailings for a small amount of a substance that we can use to build many things, and importantly, can be reused. In Bitcoin's case, we get the same nasty tailings (waste heat of billions upon billions of hashes) for one single block never to see anyother use ever again, plus the waste products of whatever generated that power. Go ahead and shove ten transactions in it. I could facilitate that with a single piece of ledger paper at far less energy investment.

2 Is spot on.

3 I don't think you give enough credit. One block of a block chain is essentially one page in a giant distributed ledger. Yes, you can make the argument that trying to do the distributed piece with non-blockchain methods is impractical, but guess what, that's how the rest of the world has been doing finance networks all along! It works just fine.

Blockchain/crypto is only a "big deal" because it allows one to trivial set up a payment network/transaction medium that is currently poorly integrated with most financial system's regulators or investigative agencies/controls.

Blockchain, and PoW in particular solves nothing except escaping national government's ability to enact monetary policy, and not even that is a permanant given.
> The solution is to use 32 bytes of strong randomness to seed a userspace CSPRNG

All cryptographic randomness generation should be performed by the kernel.

You always have to think about security because if you don't think about security you're going to get hacked. By all means, name the insecure randomness generation function ‘insecure_random’. It does help. But secure-by-default helps you only marginally because when building secure software you don't get to just use the defaults; you have to think about what they're doing.

You have to (for example) know and think about timing attacks even if you're using a cryptographic primitives library that's hardened against them, because it's really easy to introduce timing dependence into your own code and none of Daniel Bernstein or Tanja Lange’s careful designs will save you.
This narrative also has the effect of deflecting attention from other policies which contribute towards inequality an awful lot more.

It's not like the majority of recorded history on the Gold Standard was noted for the bottom 90% enjoying relatively large shares of national wealth and income security.
LastInsertRowId is not slow, but if you are inserting on the same connection from multiple threads, you will require a mutex or you will be getting other threads' row ids.

Transactional scopes meaning scenarios like debiting one account and crediting another. This is something you can also manage with locking with application-level primitives.
The Pravetz 8 and 16 were the first computers I ever saw and used on school. We programmed in Basic and Turbo Pascal as well. This was around 1992. The 16s were attached to robotic arms that could be manipulated by the system.
Another example is, if you don’t care about privacy then why post letters in envelopes.

This argument falls over when considering that people do actually send holiday postcards not in an envelope. Why are people so relaxed about their holiday data?
So we haven't been experiencing inflation? I guess it's just me seeing all the real items in the economy skyrocket in price.

But I guess when you can just readjust the definition and what's included it doesn't matter.

The fed won't be able to raise interest rates without crushing the same people they were lowered to support.
Sue for misrepresentation. Will you win? I don't know. But it will likely be cheaper to give you service than to defend against the law suit.
We find the Free version extremely good value considering it offers unlimited users/traffic/data.
Looks like another case of Chinese traffic being tampered with to load resources from another domain - in this case Baidu searches: http://insight-labs.org/?p=1682
I think the main question is:

If we must, then why we must?
Omicron wasn't a thing back then.
Partial Differential Equations you should know but with no explanation...I mean...shouldn't you...just know? /s
You can scroll down on the main play page to play the previous challenges. You might like Thursday and Friday more.
Well, the main problem with Electron is that every app ships its own browser using tremendous resources at runtime, having huge attack surfaces and lots of unused functionality. So just giving one optimized electron version to all users, certainly does not solve the problem as APE does nothing that changes these problems.

Speaking of deprecating it, it might be one scenario, but developers probably don't just choose Electron because it is platform independent. I mean, there were other frameworks that supported that use-case even before Electron (e.g. QT). However, what is specific to Electron, is that you can use web technologies to build Apps. But that is also nothing you can do with APE.

So as much as I like to see one binary format for many operating systems, I doubt that it will change anything regarding the Electron problem.

There certainly multiple ways of solving it, but in my opinion, Apple and Microsoft must come to a common ground and support some kind of web-view that is built-in to the OS and extended with a platform independent API for the things that normal browsers do not support/allow, like filesystems access.

At some point both supported the Progressive Web App (PWA) movement for a while, but afaik Apple is the one holding it back at the moment. My guess is that they saw their App-Store business at risk. And even if PWAs were a thing, they are still some use-cases they can not cover in the current state (e.g. missing filesystem access).
If it's transparent, you've lost "color" control. But maybe some kind of radar/sonar-type response signature could work
I would be embarrassed, not proud, of my inability to understand really fucking simple math aimed at young children.

You appear to think your ignorance isn't because you have no familiarity with the concept but is instead because the concept is flawed. Your error is thinking that you at age six would have understood traditional methods as well as you do today.

Question one: the whole is six. The part you know is Five. What's the missing part? Do you really not understand this question?
>What should society do when an an argument is factually correct but leads to an immoral result?

Choose a moral alternative. Humans aren't bound by (or even capable of) pure logic or animal instinct, that's why we invented abstractions like "morality."
If the CCP is innocent why not prove it to the world by sharing their data? Why hide things?
The productivity going down is a good thing in my opinion, thats how you can free some effort so you can focus it on quality.
Perhaps you should consider why you seem to be taking this so personally.
Most of the Nobel prizes are from some obscure unfunded idea. mRNA vaccines will win the Nobel prize too.
Those aren't their recommendations.

https://www.dietaryguidelines.gov/sites/default/files/2020-1...
Yeah, his name wasn't private. That is partly because of a decision to publish under his real name when he was much younger, and partly because people have been working to keep his name public despite his attempts to scrub his name.

But, as Scott has said numerous times, he simply wanted to make it hard for his patients to google his name and find his blog, so that he could continue practicing psychiatry. That's a perfectly reasonable request to ask of anyone, including journalists.
It was taken down because of this sentence:

“ The allure of the ideas within Silicon Valley is what made Scott Alexander, who had also written under his given name, *** ***, and his blog essential reading.”

Was it worth it NYT?
I should add that for real quality of life in Brazil, you have to live in one of the dozens of medium-sized towns in every state, never the capital. They're just as resourceful as the capitals but air quality, crime rate and housing prices are just insanely better.

The potential for growth in Brazil is amazing, but we're still very far from 1st World status. We're mostly definitely a good bet, tho ;)
I also had a bad experience with mono. I tried to run a very heavy site on it when asp.net first became available for it. It totally crashed. I'm sure it's matured a lot since then.

After that happened I saw a blog post by someone at microsoft about their testing. They have 1.6 testers for each dev working on asp.net and they've got a warehouse of servers running millions of different tests for months before shipping.

Then I read about who was working on mono's asp.net implementation. Just two guys in a basement. No testers of course.
I've been running oohEmbed.com, a similar service, for more than two years now. The problem with doing this in client-side JS is that (a) the oEmbed spec doesn't specify json callbacks so oembed providers don't support callbacks making async stuff in the browser difficult; (b) dealing with SOAP APIs, html parsing, etc. are difficult to say the least within browsers.

But if you really want to do this without relying on an external service, you can take the oohEmbed.com source (BSD licensed) and run it as your own 'private' Google App Engine app. oohEmbed.com itself is App Engine hosted.
1) Hide your mouse

2) Hide the other editors

3) Hide the toolbar (if you aren't using the ncurses interface)

4) Always look at the minibuffer every time you "M-x command". Emacs tells you if there is a shortcut that does the same thing

5) "C-h a command" is your friend

6) If you are on Mac OS X use the emacs-style shortcuts in other editors too (C-a, C-b, C-d, C-e, C-f, C-h, C-k, C-n, C-p, C-u, C-v)
mutt + gmail + offlineimap is even better.
What the article tries to say is, that your password hashing function needs three attributes:

* it has to be dog slow (to make brute forcing hard)

* it should be complicated enough to avoid collisions (this really applies to most hash functions)

* it should be suitably salted, to avoid rainbow tables

-> bcrypt is designed like this, if in doubt, use it
I actually did this recently! I kept vim as vim though, so if I REALLY needed to edit something quickly, I still could.

It's very natural to type "vi <filename>", so it certainly helped.
And since when mass surveillance is a new thing? [...] Countries were conducting mass surveillance since pretty much WW2

Since when are nukes a new thing? Countries have been going to war for centuries!

Can you see how absurd a notion that is?

The NSA will soon be able to record every move you make and every word you speak or write during your lifetime, in realtime. Not much later it will be able to do this for entire populations.

None of this has been possible until very recently. Conflating this kind of mass surveillance with the past practices of manually opening letters and wiretapping phones would be very naive.

About your PS 2.0...

Since you apparently still don't realise how completely irrelevant that number is;
Twice as many people were killed by lightning strike in the same timeframe.
and why the incumbent is lobbying so hard to stay relevant.
"The best teacher I ever had was my elementary school principal. Our math teacher quit for some reason and he decided to sub in himself for math and accelerate the syllabus by a year.
We had to work like the house was on fire for the first half of the lesson and do extra homework, but then we got to hear stories of when he was a soldier in WWII. If you didn't do the work, you didn't get to hear the stories. Everybody did the work."

Amazing.
Monopoly isn't fun. WoW is arguably just physiologically addictive, while many enjoy the grind/payoff cycle or social aspects I can't agree game is actually fun.
Thank you! Impressive.
How do you limit anonymous web user's queries?