jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I'm curious to hear about how many problems you solve with these lines of code. I guess that's pretty much impossible to quantify though. Also, what languages do you work in?

I'm not that experienced, but I had a notable experience working with a 5000+ loc app that was a nightmare to maintain and extend. The last guy had basically reinvented every wheel. He was even, in my opinion, reimplementing the DOM in places with absolute positioning. Also, the code was poorly organized, with pieces of logic that could have been easily consolidated appearing throughout the app in multiple places so that they could not be abstracted out.

After about a month of trudging through his code and making almost no progress, I basically told my manager that we had to rewrite it (I had been thinking this the whole time, but I didn't want to be the junior dev who comes in and demands to scrap everything).

Me and a colleague paired on it for about 2 weeks and rewrote the whole thing entirely from scratch, leveraging several open source libraries and writing a few tested "internal libraries". The whole thing ended up being around ~800 loc when we were done, and it had the extra features that needed to be added, and was pretty bug free.

I'm not trying to blow my own horn here, in other instances I have spent way too long pondering about code and making it way more concise than necessary.

But unless you are a truly great coder who is cranking out 100 lines of good code per day (and I have no doubt that you are), I would be pretty suspicious about the amount that you are writing. I would worry that you are placing a great maintenance load on those who come after you.
I haven't benchmarked anything, but at least for PostgreSQL and nginx, I've found OpenBSD's performance to be right on par with what I've come to expect from GNU/Linux servers; nothing feels particularly slow.

As for VPS providers, I've heard good things about 1984[0], though I haven't used them myself (yet; I'll probably do this pretty soon). I've also used EDIS[1] without any particular problems. Both provide OpenBSD as OS options.

[0]: https://www.1984.is/ (in Icelandic, but there's a drop-down to set the language to English).
[1]: http://www.edis.at/en/home/
502 Bad Gateway. :(
> I love that you sent them Rokus. Most companies would just tell them they are out of luck and to go buy something.

Amazon did something in between those two when the Prime Video app on some Sony Blu-ray players lost support. I'm not sure if they lost support because Sony was no longer interested in pushing updates to those players, or Amazon was no longer interested in writing their app for them, but for whatever reason they were going to stop working.

What Amazon did was sent users a coupon, good for the next two months, for $25 off on a Fire TV Stick, Fire TV Stick 4K, or Fire TV Cube.

For quite a while during that two months, Fire TV Stick was on sale for 24.99, so with that coupon was essentially free if you didn't procrastinate too much.
Complete negligence in security is hardly the kind of thing people think about as "bugs". The larger problem is that Tesla has put out software without any sensible considerations for security - that the result behaves badly can't really be called unintended behaviour, unless you are allowed to design software by pipe dream.
> Tesla's intention was to quickly deliver without considering the security aspects of the product.

[Citation needed]

You're assigning intentionality where incompetence would suffice.
But unless you leave SF/NYC/Boston every once in a while, you don't realize how small that world really is

Translation: "I've never been to Dallas or Houston."
"Responsible disclosure" is an invention of vendors who want you conforming to their policies and timelines (and more).

Tesla is also "good" at disabling aspects of people's property (like ethernet ports, or ability to receive future firmware updates) when they dislike what people find "wrong" or otherwise in Tesla software.
Switching between this and a blank page make it incredibly visible for me.
In fairness, 4x4 pickups do get used (out of necessity) in work situations where the roads can be pretty bad. A lot of oilfield work for example. But that's often a lot different from the sort of off-roading that a lot of people do recreationally where tracks can be really narrow and a short turning radius (and wheelbase) can be really useful.
I was curious to compare.

Public Transit bus weighs 44k fully loaded. Assuming only seated passengers, it holds 44 people so 1000lb per person. A car is 4000lbs on average. Fully loaded (with standing) holds 92 people. 478lb/person.
Other databases learned that not requiring a user/password upon install is completely irresponsible. ES and other dbs need to catch up ASAP, it's ridiculous.

Documentation is not security. If you need to "RTFM" to not be in an ownable state it's ES's fault.
In theory, developing this a bit more would lead to searchable directories of files and an easy way to retrieve them, very similar to a torrent tracker.

That has significant benefit over shared files and I have to think would scare the heck out of dropbox because of the ire it might bring upon them. This would have to be a worst nightmare for them. Although removing deduplication would solve it for them (with significant increase in what has to be stored).
We are experiencing technical issues.

And it says loading, but it must be using some miraculous transport since there are no packets coming to my machine.
You won't, of course. Just like with aids, a positive would be then double checked with a safer test.

EDIT: nevermind, I got educated by _Microft.
The GDPR would be so proud...
If you have no tests at all I would start with simple E2E tests to ensure your critical parts of app are working like sign up page and billing. You can add later other important sections of your app to ensure happy paths for your features are working fine.

When I started my own product for Ruby & JS developers https://knapsackpro.com I was doing mostly unit testing and later relayed on E2E tests for testing user dashboard to ensure happy paths are covered.

It's very easy to introduce weird bugs and it's much faster to run CI build to test your app than manually verify if it works correctly in your browser when you make some changes.
> reducing the sum total of human achievement into lucky chance

Not the sum total of achievement, just a single individual's achievement. An individual's achievement can indeed be attributed ~100% to luck. For every Einstein there are hundreds of equally brilliant geniuses who died picking cotton in a field.
Kinda a click bait title, commenter above said they should add "for SaaS companies"
Worker co-ops have a long and successful history. In their favor, they can run at lower costs, treat workers better, and avoid inefficient worker/owner conflicts of interest.

The reason we don't see more, is because it is much harder to get off the ground without equity investment. Essentially, there is no exit to excite investors.
It is also the effect of the immigration, economic, and social policies of red states. When they hound, or allow discrimination against people who are just trying to live and mind their own fucking business, is it any surprise that this drives people out of them?

Ironically, for some reason, they are allowed to benefit politically from disenfranchised people (Stripped of their voting rights due to crime, or due to inability to demonstrate sufficient documentation, or due to being permanent residents, as opposed to citizens), while not allowing them to vote. For some reason, though, the right rarely takes issue with this idea (While harping non-stop about legal and illegal immigrants skewing California's representation.)

If you truly want to be fair, the number of seats each state gets should be determined based on voter turnout, as opposed to population. If a person is not permitted to, or does not care enough to vote, why should their state benefit from their representation? [1]

Consider how morally reprehensible, and hypocritical the three-fifths compromise was.

[1] This would, of course, make efforts at voter suppression delightfully counter-productive. If that's the can of worms we want to open, I'm fully behind it.
Are you sure? I mean have you been watching the impeachment proceedings? Intelligence doesn't seem a virtue of congress at the moment or Trump would have senators from BOTH parties with pitch forks outside his door.
This was the entire idea behind OkCupid. Strong analytics and lots of Q&A to match you with people based on "compatibility".

Turns out people don't give a shit about compatibility, they just want to date hot people. Figures.
Desigur.
I'm sorry, but my solution of "protecting your data" is "asinine"?

You also say that you have little way to protect your data, and then in the next sentence tell me how to do it.

Are you really trying to evaluate the situation, or are you more interested in attempting to criticize in any way that you can stretch words?
Would it then be possible to have the ability to adjust the reference plane at a specific angle.

Have a dial and text box for saying the reference plane should be "45 degrees to the Z axis"

This would allow one to use the existing tools a bit more precisely.
thanks. As first non-founder, 2nd person overall, I wasn't a fan of dixon's post either - a little too masturbatory for my taste.
I think what you want is what friend feed wanted to be, but still isn't. Too bad really, because I'm after the same thing.
I know permadeath is a core mechanic of roguelikes, but I absolutely hate it. It's an artificial time waster.

Imagine trying to learn a piano piece, but instead of being able to practice the hard parts over and over until you've mastered them, you always have to restart from the very beginning at the first mistake.

Net result: you get extremely good at the beginning, to the point that it's boring, and you always get whooped by the hard part because you barely ever get to practice it (you have to sink an hour doing easy stuff just to get 5 seconds practicing the hard stuff)
> If you've got any interesting use cases

What are some cases you know about this far?
You should check out “Red Mars”, I haven’t finished it but have so far enjoyed the treatment of cramped quarters and solitude.
I think your position is reasonable.

In the full perspective article [0], they advocate more for using this treatment to keep medical professionals from succumbing from the disease until a vaccine can be developed.

And they propose what seems like a pretty robust set of safety requirements

[0]: https://www.jci.org/articles/view/138003
And here I thought I was an idiot for wondering if just having people sleep in a position to help fluid drain from their lungs would help. I guess I wasn't so far off.

More prosaically, I think I've reduced durations of basic colds by deliberately coughing early on. Needs more experiments, but as you said side effects are minimal, so you may as well try. I'm starting to think this is a family of life hacks that should be much more widely known.
This is PCR test. Antibody test generally has lower sensitivity i.e. higher false negative rate because PCR amplifies target molecules.
I'm thinking of something like:

Dear user,

I cannot let you use <app_name> for free anymore blah blah blah. If you truly cannot afford it, drop me an email and we'll work something out. Sincerely, <my name>.

Adding a couple of buttons at the bottom, one for sending me an email and another one for buying the app.
In the 80's our company (very small) received a letter from an official/whatever in the German Postal service wondering if he could arrange the purchase of around 5,000 manuals for our software. This came as a enormous surprise in that we had never in fact sold any of our software to any one in Germany! Instead of the predictable reaction of revenge and lawyers, we decided to cut the guy one hell of a deal. We sold him photo ready masters for the manual and a great deal on a site-wide license. There after whenever a new version came out we could count on a tidy chunk of change for the upgrade fee from a source we hadn't even know about. While the situation here is obviously different, the conclusion we came to is what I'd recommend. Calculate the cost of fighting piracy and determine if subtracting that from the cost of improving your product is worth it. We decided that it wasn't We did however pretty much make the same deal open to everyone. Most people like the idea of amnesty particularly if it costs less than the original purchase price!
Comments like the parent make me sad. It could be summed up as "node.js, damn hipsters." It's just another form of fanboyism, except negative.

There are not many good, scriptable editors for programmers. Actually, I would consider only 3 for serious use: Emacs, Vim and TextMate. Of these, only one has really good integration with OS X.

If I was considering switching editors, the language that is used to extend it would be one of the most important factors (I love Emacs, but Emacs Lisp is seriously broken). The fact that Kod uses node.js means two things:

1) It's JavaScript, so it's high level, has nice semantics and it's extremely popular;

2) It uses a reasonably fast dialect of JS, and has the necessary infrastructure, like CommonJS modules and access to the filesystem.

So, Node.js is the thing that makes this topic actually hacker-news-worthy.
Completely agree. I read (a good bit of, not yet finished) this book along with The Essence of Discrete Mathematics (http://www.amazon.com/Essence-Discrete-Mathematics-Neville-D...) and came out of both with a pretty understanding of discrete mathematics and deeper understanding of programming (especially around sets). With only a high school mathematics background and very light Haskell experience, the material was still completely approachable. Demonstrating these concepts with programming made it so much more concrete for me.
/ramble
"We switched the project from an hourly rate to a fixed fee after seeing that the costs would be more than we budgeted. This would move some of the risk to Kev and be the right incentive to have him deliver both a working release and the source code."

I don't have a lot of experience contracting or being a contractor, but if it's clear that a project is going over budget, what contractor in their right mind would agree to a fixed fee contract? It sounds like that would be a situation with no upside for the contractor. Am I wrong about this?
Calling it "insurance" is a linguistic trick politicians use to remove the stigma (little that there is these days) of being supported by the state. Is it really insurance if you're forced to pay for it? Or is it just another welfare program?

I imagine this guy sees it as just another welfare program, and thankful as he was to receive it, he was also ashamed to take it. We'd be better off if everyone was so "foolish."
Power consumption is not linear as it relates to performance. CPUs designed for the desktop are going to use excessive power by design. They'll often use many times more power than mobile equivalent, but only have slightly better single core performance.

Here's a great example, Intel Core i9 (Desktop, 125w TDP) vs Intel Core i7 (Laptop, 15W). Huge power difference, only ~10% difference in single core clock speeds.
https://cpu.userbenchmark.com/Compare/Intel-Core-i9-10900K-v...
Jesus is ahistorical - no documents, no records. Everything about him written long after he died.

In contrast Pontius Pilate is historical - there are extant documents with his name and title.

Simply b/c Pontius Pilate was real doesn't mean Jesus Christ was real. And it certainly doesn't mean he rose from the dead!
Looking forward to seeing your future iterations! This is already some great work you have so far.
Very nice analogy to physics/math. I agree: the "best" people are always working on the next big problem.
The potential for hypocrisy doesn't mean the hypocrite's judgment in the first case was bad. It just means they're a hypocrite, or biased in the second judgement, or whatever.
I think the easiest explanation is fatigue. It requires no conspiracy as it just happens on its own; it set in like 6+ months ago on the pandemic.

Couple that with people remembering things how they want, or believing what they want to hear, and Bob is you uncle.
Thanks for sharing, I had never heard this before.
> I'm not sure it's fair to compare a language from 1979 to one from "today." Especially one that fit an entire IDE into 4,096 bytes.

I think it is fair to treat a “not many languages I've used...” comment about a language feature from a 2015 review in the context of current (or, at least, available in 2015) languages, even if the review is of a 1979 product.
Unless you are a one-man-shop, you don't need to know everything. You'd typically have a front-end dev, back-end dev, sys admin, etc.

Successful startup founders don't possess those skills, they acquire them after they are successful. Twitter was well known for their fail-whale. All huge sites had several overhauls to scale. Virtually no websites fail because of technical reasons. Your biggest scalability risk is that you won't have to.
I'm wondering how fast drawing each frame of the underlying view into a bitmap is. That's not hardware accelerated is it? Or are you using some kind of off-screen gpu buffer to do that?
I have had my Peloton for a year now. I use it every day. It has transformed my health and my relationship w fitness.

When I am on vacation I do Peloton audio based outdoor runs to keep my Peloton workout streak alive.
Maybe I'm a different use case, but I would never use phone over the computer audio on zoom if I can help it. The phone call codec is so bad compared to modern codecs that I couldn't imagine preferring it. The only situation is if I'm on the road in an area that has really terrible mobile service but for some reason has better phone service.

In any case, I know that Google meets at least supports dialing in using phone.
Wouldn't it still be laundering?
The web is already decentralized, you are free to setup your own new Twitter website and tell people about it. Want it to be hidden or hard to shutdown? Put it on the dark web.

Don’t get sucked into the blockchain buzzword. Blockchain is a solution to a very specific problem / set of requirements.

The real problem is that so many people joined a single service in the first place, but that’s up to them and has pros/cons. Federated services have a rough history - see XMPP.
Mastodon is federated. mastodon.social is a server run by Mastodon developers. Other servers are independent.
There are federated networks which don't allow for centralised access restrictions as Facebook, Twitter, Reddit, et al, are evidencing today.

But projects such as Mastodon put control in the hands of site or node administrators, and at least on Mastodon, there's an exceedingly healthy culture of blocking sites which themselves advocate oppressive practices.

So those looking for an uncensored microphone may be somewhat disappointed.

I welcome their tears.
I rarely play games these days now that I have 3 kids under 5 years old. The last full game I played for GTA V on my still working xbox 360. If GTA VI comes out , I will probably buy a new console just so I can play the game knowing that I might not use the console for that game only
I don't see how this helps. The problem is not the fact US states cannot afford to buy protective gear, the issue is there is no gear to buy. Even so, if it was about money, San Francisco would be one of the least likely places to not be able to afford protective gear given the concentration of wealth there. There is a serious shortage right now and the only thing that will fix it is increased production. It just so happens this virus has spread to 188 countries and territories, all wanting protective gear as well.
I am building Freecount (https://github.com/ssimono/freecount) a little progressive web app to track expenses in a common pool (like a trip, a shared housing etc). It is meant to be entirely free and open source, without server to deploy, app to install nor account to create
Something about Julia from me.
I was big Julia fan using it for last 1.5 year and in my company we are using Julia for data preprocessing and parsing hundred of GB's of data.
(We also use Python for ML and start to moving julia code to Nim for data prepro)
If u consider Julia as ur next language dont use it to any medium to big project outside pure scientific purposes it just isnt ready yet.
We have about 3.5k loc in Julia at the moment for our preprocessing service and as much problems as we have with GC in Julia i never saw in any other language:
random crashesh, memory leaks, big slowdowns with long running processes and there is a lot of topic on julia forum about that still not solved.
Julia is beautiful and easy to use but it is nowhere near stable and/or fast as any other "new" languages (RUST, Nim, Golang, even Swift).
And if u consider using Julia for Deep Learning then best performance and stability in this order are:
Pytorch,
Tensorflow/MXNet/(JAX),
Nothing,
Flux.
Its a long way to go for Flux before it'll be even close in usability considering other flag frameworks.
I'll take my leave from HN as well now.

It's truly been an honor! I've always greatly appreciated the links to my articles shared here, and the discussions with everyone on these and other submissions on the site.

I'm hoping to return one day when things settle down a bit in my life. Hopefully when that day comes I'll have some great new things to share. Until then, take care everyone!
I would say that this pandemic would argue more for better digital interconnectedness.

Global access to the internet is still not great. We need better networks!
I've built a program based on:

* The Reddit bodyweight fitness Recommended Routine (RR) [1]

* Minus the Gym [2]

* Tao Physique [3]

They're all quite similar (which is good). Watching the second made me replace the RR's pulling progression with exercises using a dip station (cost £35 on Amazon), and the third shows a progression for handstand pressups and glutes.

Also, I switched the order of the RR exercises to be more like supersets based on the advice of the second link, so instead of doing pairs of exercises with rests in between each, I now do 8 types of exercise with a rest at the end before doing another 3 sets (so 4 sets in total). That seems a better use of time. This is the order of progressions I'll try in my next workout:

1. Press ups

2. Squats

3. Rows

4. Core

5. Dips

6. Glutes

7. Handstand pressups

8. Pull ups

Anyway the Reddit crowd know way more than I do so I'd definitely check that out.

[1] https://www.reddit.com/r/bodyweightfitness/wiki/kb/recommend...

[2] https://www.youtube.com/watch?v=ay15dc2cvm0

[3] https://www.youtube.com/watch?v=eQ4GKdK_Xps
Well, not for the offshore and other coderz around that can't / won't cleanly indent if their lives depended on it.
Without, though, the wonderful alliteration.

Thanks, the modern word isn't part of my working vocabulary.
Please read it again the fact that i had apples and oranges in a thread doesn't mean you should compare them.
It was 2 examples of how western intervention builds reliance rather than self sufficiency in Africa.
By no means i said we should fund local homesteads instead of malaria drugs. I said that funding local farming might be better than funding high tech crop projects, and improving local medical services and sanitary conditions might be better than just throwing more doctors without borders at it with out thinking of the bigger pictures...
> - It does not contain poop

Good to know, I've just ordered a month's supply to give it a shot.

> we wanted something suitable for daily use.

With full acknowledgment that I'm asking a barber if I need a haircut, is there a point at which continuing to take probiotic supplements has done everything it can do to restore the missing bacteria? Or do I need to take them indefinitely?