skysight-inc/HackerNews huggingface dataset:
The grass looks greener on the other side. Every field has equally complicated problems.

Writing distributable applications (desktop apps) or high performance ones (data analysis tools) or combination of both (video games) comes with a ton of problems equally complicated problems too.

There is lot you take for granted in the server world that is simply not true anywhere else.

- the control you have over hardware (CPU/RAM/Disk) and OS environment where your service runs. You can very easily throw more resources at a problem, if there is memory leak you can kill and restart your dameon, specify the exact combination of dependencies your application can have down to the patch level, update and change your applications at whim 10 times a day, none of this easy or even possible outside the web service context.

- Typical performance challenges are more horizontal than vertical, i.e. to able to support more users is bigger concern than per user/ API call performance, most web service apps are CRUD applications of some sort, while there are performance challenges for a single computation the path to fix or mitigate is not difficult to see. In the systems programming world performance and concurrency for a single user application is very very different beast, you will end up doing lot more math,algorithms than in the web service world.
https://web.archive.org/web/20201121130634/https://www.econo...
The entire bisect module, consisting of 4 public functions, is literally only 32 lines of code.
You can hide all of that.
This piece of pie every day won’t cause obesity now. Maybe in a few months.
Apparently they will send you hardcopies for the asking:
https://www.roche.com/sustainability/philanthropy/science_ed...
Let's talk about Desktop Linux Platform Issues (2018)
It’s a class dedicated to a single object. Every object has its own eigenclass — this sounds expensive but in practice they’re lazily created. Regular classes are used to store the definitions of methods which are available on all instances of that class. In contrast, a single object’s eigenclass is used to store the definitions of methods which are available on that object only.

`def foo.bar … end` defines a `bar` method in the eigenclass of the object `foo`, which can then be called with `foo.bar`. (This is how “class methods” work in Ruby: their definitions are stored in the class object’s eigenclass so that those methods can be called only on that specific class rather than all classes.)
Question to those running own mail servers:

Putting aside issues with sending mail to recipients using third party providers, have you been able to receive mail reliably from (a) senders using third party providers or (b) senders running their own SMTP.
> Samsung has had bootloader unlocking as a feature in all their mobile devices

This is simply not true. Some of their devices provide that but many don't. Research carefully before purchasing.
How is this different from Amazon or Wal Mart -> This is a business built on top of cheap Chinese goods, subsidized shipping and low customer expectations. High transaction volume with very low margins, and totally exposed to the winds of international trade policy.
Is it known if this is purely a weight issue, or does weight distribution make a difference? If a large truck were equipped with twice as many tires at half the PSI, what difference would that make?

I’ve seen weight limit signs on certain roads, I wonder if instead they should be PSI limits?
I'm not sure where everyone gets the idea that Intel charges a big premium for ECC platforms. If you buy the low-end workstation Xeons the processor costs about the same. For example, Xeon W-1290 (10C, 5.2GHz turbo) has a $494 MSRP. The i9-10850K (also 10C, 5.2GHz turbo) has a $453 MSRP. You also have to buy a motherboard with a workstation chipset to use the Xeon, but W480 chipset motherboards are also priced about the same (~$200) as their consumer Z490 counterparts.

The real reason ECC is not common is because it is perceived as unnecessary for desktop workloads. Software crashes and corrupts data all the time because of bugs, not bitflips. Most consumers care so little about their data that a single hard drive crash will wipe it all out anyways. Why spend 12% extra on memory if consumers hardly see any value from it?
People with rents 1/3 under market are extremely unlikely to move, especially when rent is a high percentage of their after tax income. Leaving it vacant is a completely reasonable strategy if the landlord has sufficient cash reserves.
Ahah yes
« We want to use content created by others but not pay for it, we offer visibility but it’s not our problem how they monetize it »
Apple Enlisted Lobbyist for Uyghur Forced Labor Prevention Act
Why is it incumbent on the EV owners to somehow solve the blatantly and deliberately incorrect means of charging people to use roads?

This is like saying “the movie theater makes money by charging to park a car in the parking lot, but you walked to the theater, so how is it fair that you get to watch the movie for free?” Well, perhaps the movie theater should come up with some slightly less ridiculous way of charging for entrance.

Or if governments had decided to fund road maintenance using a tax on car paint, would it be unfair to buy a car that isn’t painted?

And what about people who use gasoline and diesel for things other than automobiles on public roads? That’s also unfair.
> Ruby needs new blood infused into it.

yes, I strongly agree with this, specially when talking about Web tech.

I am programming in Ruby (and Rails) for over 12 years and I think I had the same feeling up until a couple of years ago that it become a stable system where I could move quickly and create new products but did not have so much newness.

But now I see at least two things which makes me love even more this ecosystem:

1. Stimulus JS along with StimulusRelfex https://docs.stimulusreflex.com/reflexes

2. ViewComponent https://viewcomponent.org

And now I discovered this Matestack.

I am excited because Ruby on Rails is a technology I know very well and I was (and still am) a little against moving to full SPA and adopting a JS framework for frontend. Somehow the SPA felt to me a little unstable in general, when compared with SSR. This unstable I think was mostly due to being very hard to debug real production issues.

It might be from the way debugging worked in the beginning not showing proper line of code where the JS error was, or it might be because of my own resistance to change.

But now with these new tools added to the Ruby eco-system I can make the web interface more responsive and in the same time feel that I only add stable components into an app.
What benchmarks are you basing this on?

From what I can find, in most benchmarks, Node.js is much faster than PHP - orders of magnitude in many cases [1]...

This is what I've always heard anyway, that the amount of R&D that has gone into engines like V8, the C++ under the hood and the I/O model make it so.

[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Average tenancy and rent are not independent variables here. At very high market rates, I don't doubt tenancy lengths aren't that long; everyone is looking for the next best deal.

But a dramatic drop in rent will result in someone locking in that rate and literally never leaving. Taking that apt off the market essentially forever.

I know a few people with rent controlled apartments in SF who have held them for decades so their rent is impossibly low. They'll never leave. At least one hasn't even lived in SF for many years now but the rent is so low it's worth it to them to keep it as an occasional weekend crash pad even though they live elsewhere.
Worth noting that "A tire.. struck.. with such force that it ruptured the water pipes within the wall".

Sounds like the danger was related to the extreme speed rather than it being an electric vehicle.
https://github.com/python/cpython/blob/master/Lib/bisect.py
https://www.coursera.org/learn/cobol-programming-vscode is one place to start. :)

If you're done that, I presume there's also https://www.coursera.org/professional-certificates/ibm-z-mai... though it's starting to feel even more like marketing after seeing all that.
Where do things like pride, responsibility, and empathy fit in this model of incentives? Good people want to do a good job. An engineer designing a bridge doesn’t need to use it every day to be incentivised to do a good job; designing a bridge is an intellectual pursuit that is quite a bit beyond simple incentives.

The downside of this “skin in the game” approach is that you skip specifying things properly and end up with systems that only your devs can configure and upgrade.
Gimp, today, feels like a bad knockoff of what Photoshop was in about 2002.

And Photoshop has gotten a _lot_ more powerful and useable since then.
Thoughts on the actual tools used to build such a complex chart with millimetric precision?
Lot of commenters saying software has fucked them up. I wonder if it's the extended period inside that the pandemic has necessitated, that's triggering this angst. I am also feeling the same way, but I can't help but feel that to some degree, the months of isolation (not just from friends and framily, from the outdoors even) have a big part to play.

The occupations where you are out and about carry a big risk: physical injury can put you out of work and cause debilitating pain for the rest of your life. Granted that it happens less will continue to trend down with improving oversight and safety standards, but it is still a risk. Perhaps we do not realise this or think clearly about it when we yearn for working with our hands/work outdoors?
I don't think jedberg said anything that implies the value is exactly $0.00.

Rather, jedberg has already found way more suppliers than he needs, all willing to supply him ads at $0.00, which makes that the equilibrium price.

Analogously, I would value oxygen basically infinitely high because I don't want to die. However, I would never pay for it because I can easily get it for free, and would laugh at anyone who tried to charge me for permission to breathe.

I think it's difficult in general for people to put a price on most of the things they get for free, just because they're used to getting them for free, and build their price intuitions on being able to get them for free.
"optimized for IE6 and Microsoft ActiveX"

We've been there before, haven't we?
Instead of self-signing certs, create your own LAN-local CA and create locally valid certificates via that CA.
I still don't know why people are afraid of multiprocess python. Sure it's a bit more complicated, but not that much more. Use those processor cores. I use it all the day for doing things in parallel on testing hardware and deployments. Is it really that much harder for web?
> Is Jazz serious?

Baseless assertions aside, if there exists a world where jazz musicians don't have to know all their scales, plus altered dominants, plus chromatic substitutions, it would be of great interest.
> you probably can't distinguish a 2005-2010 system from a current one using only a browser on common websites

If only this were the case. Common websites have become script ridden monstrosities that aggressively consume RAM and CPU. I routinely have 50+ tabs open; even on fairly recent hardware that can easily cause problems depending on which pages they contain.
If the early pioneers of Computers & Internet thought the same way we wouldn't be even having this conversation. I think they made conscious decisions to keep computing out of total control by capitalism.

Unfortunately we've failed them & ourself with our consumer decisions.
Meh. Try living in Norway and explaining to your boss about how you had a bug in your poo (bash).

(Ambiguity grows exponentially the number of languages you switch between, meaning the possibility for innuendo does too =P)
Yes, but it's the mass car usage that have caused Australian, American and many European cities to spread out to such an extent that walking or cycling or even transit is no longer an option for most people.
> I've seen this dogmatic attitude as well, as if following how Anki does it is the One True Way and if you stray from it, you may as well quit.

I suspect that the reason is that language-learning forums are full of children.
The term feels different to me.

MVP has more than a whiff of the half-assed and barely functional.
> I don't think any of the current JS frameworks are as comprehensive as Rails

To someone who is switching from the Node ecosystem to Django REST, this seems like an understatement.

I'd be happy to use server-side JS for certain microservices that needed its performance characteristics, or for prototyping in something like Firebase functions. But the mere thought of building a standard fully-featured web app in Node depresses me.
Old codebases are really more about exploiting the sunk cost fallacy, nepotism and cultivating a fear and uncertainty of new technology.

That is to say, old codebases are mostly about organizational politics and social dynamics, rather than anything inherently stable or high-quality about the codebase itself.

So basically, if you want your codebase to still be in production 50 years from now, here's what you do: build something important and mission critical. It should be something that could cost millions if it ever fails. Make the design so bespoke and specialized that only you and people trained by you actually know how it works and how to fix it. Fraternize with the management and use nepotism to grease the wheels and convince them to overlook the inefficiencies inherent in your project. This works well in government projects where you can offer kickbacks in the form of campaign donations. Once you are providing a necessity, and there is a real financial risk associated with your system failing, you're set for life. Expect your contract to be renewed next year, and every year after that, forever and ever and ever and ever.
Totally agree, the other illustration where MVP supposedly only concerns functionality is not how I, or we in my company, ever define MVP. We use the other one to explain MVP to our customers. How can a 'product' be viable with only functionality?

In my personal observation, working in a cross functional team which includes frontend and backend developers, and ui/ux designers, an MVP only consisting of functionality just wouldn't be considered. Perhaps the author is used to environments where those disciplines are siloed.
The language mostly refers to them as "singleton classes", because logically speaking there is exactly one of them for every object.

Every Ruby object is an instance of its singleton class. Even when it appears to be an instance of, say, "File" or "Hash", their true individual identity is their singleton. Hence with:

class Foo; end
foo = Foo.new

then

foo.singleton_class #=> #<Class:#<Foo:0x00007ff6cc195ee0>>
foo.singleton_class < Foo #=> true
foo.is_a?(foo.singleton_class) #=> true
foo.singleton_class.ancestors #=> [#<Class:#<Foo:0x00007ff6cc195ee0>>, Foo, Object, Kernel, BasicObject]

Most significantly, this class is where any per-object method is actually contained, hence:

class Foo
def self.hello
42
end
end

Foo.hello #=> 42
Foo.singleton_class.instance_methods(false) #=> [:hello]

There are three things worth observing that, once fully absorbed, helped me understand all this more instinctively:

1. All Ruby methods are the instance methods of a class.

2. What we call class methods, such as Foo.hello above, are technically instance methods of the singleton class of a Class object. But that's something of a mouthful, so we say class method instead.

3. Extending an object with a module is, by definition, including that module in the ancestors of its singleton.
Not particularly. The death rates track COVID case counts relatively directly still, in fact it's getting worse now in the USA as local medical services are getting overwhelmed. It's beyond triage in places now, closer to deathwatch.

As for injuries, we don't have correct data yet.
I've been able to receive nearly 100% from the big guys. For folks that run their own I run into less issues these days. I'm still on Postfix. Some of the client and header checks used to (c2005) be too strict. But! When it failed, there were logs I could see.

If you run your own, you'll want to get some log checking tools to make sure things are tidy.
> "American capitalism" is also responsible for the greatest reduction of poverty globally in all of human history.

European capitalism

>Interesting how America is always to blame for the world's problems. I'm not saying America has been perfect, but it certainly does more good than bad.

Tell that to the Middle East, parts of South East Asia and South Americas.

> talk always revolves around how the US can be doing more, and rarely about what other countries can do.

Now we get to the nub.

The key word here is responsibility. And dont look at production level CO2 emission. The US eclipses every nation on earth when looking at per person energy consumption and resulting CO2 footprint[0]

If India and China's citizens lived like Americans, it would be a global catastrophe. Those two nations are still developing their grids and can't pour money into alternative energy industries and R&D because of cost and scale[1]

[0]
https://en.m.wikipedia.org/wiki/List_of_countries_by_electri...

[1]
https://www.iea.org/reports/energy-technology-rdd-budgets-20...

Post script: I'm a neutral observer. But take everything I say with a truckload of salt.
> It's funny because GIMP is one of the tools I hate the most.

You've obviously not tried to replace Adobe Illustrator with Inkscape ;)

(edit: a flippant comment backed by much frustration. If you're creating SVGs for laser cutting then the inability to nicely use mm as a unit of measure is infuriating.)
Please post it when you do
You can't look at it in dollars, you have to look at it in terms of what percentage of cost IT/cloud infra are vs the rest of the costs of the company. If it's not that much then from an economic point of view just scaling out may be the best choice.
I just want to chime in to say that it's true everyone benefits from roads, but not everyone benefits from ever wider roads and huge traffic machines. Delivery trucks and ambulances and what have you do not need 8 lanes and clover junctions. Those things are built to accommodate suburban commuters.
This is true. California has such stupid over-regulations, such as requiring solar panels, on all new housing, at a cost of about $30,000, that gets footed by the consumer. And this is on top of already expensive housing!

All these regulations increase the cost of building, and decreases the builder’s profit margin.

The only solution here, is to roll back these burdensome regulations and environmental review policies.
It's WP/WooCommerce so likely MySQL...
With mailcow [0] it's pretty simple to setup your own email server in about half an hour with all the security included and having your email not being treated on reception as spam. It also ships with a webmail interface (SOGo [1]), rspamd UI and an admin interface for your server.

I used to be a Kolab [2] user and "promoter" for many years but the project seems stalled a bit recently and although it is still being worked on and developed, it is lacking documentation for the latest releases.

I have moved to mailcow recently and am amazed at how easy it is to setup and maintain as opposed to Kolab.

The thing I miss from Kolab in mailcow is the integrated LDAP storage and custom built UI (if anyone knows a good and reliable LDAP administration UI as a web app, please let me know!), which I got used to using for user authentication in other services. Luckily, there are some efforts in LDAP integration into mailcow [3], although, still not mature yet and not that tightly integrated.

[0] https://mailcow.email/
[1] https://sogo.nu/
[2] https://kolab.org/
[3] https://github.com/Programmierus/ldap-mailcow
If you want a sinatra equivalent for elixir, you can use plug.
Yes, shortages increase rents. Solution to that: allow people to develop. The fact that houses cost so much more than their construction cost is due to the fact that the government bans owners from building as many units as they want. Thus houses get artifically high prices in attractive areas because developers aren't allowed to meet the demand.
I think you’ve misunderstood the point I was making; humans need to work in teams, and that means hand offs, communication, delegation etc.

If you can’t ever cooperate with anyone else because of incentive structures, then your organisation can only have one individual–the CEO–who was to do everything by themselves.
I just realized that the US carrier locked devices don't have it. So, if you have one of those, unfortunately, you'll have to use a third-party method.
> Only no-SLA consumer apps. Just having a price tag on unavailability will change most of the reasoning for his points.

I don't think so. The gist of the reasoning is that it's better to have more numerous small failures that are fixed quickly than rare but catastrophic failures. I think that's true even when you have an SLA, which is probably why it's broadly in line with the principles in Google's Site Reliability Engineering book

Others have made the point though that this all goes out of the window when talking about safety-critical engineering (Therac-25, 737Max etc)
Node.js Boilerplate Generator
Cars and TVs extensively use Wayland, e.g. LG's.
Looked into it before. Love the concept, and looks very neat to use.

However, I was unable to find documentation about how it works underneath. I also would like to see some info about how to integrate with other javascript libraries.
Depends on your use case. REST is about putting resources on the web. Sometimes it can be eg datasets backes by SQL tables.

Views / stored procedures are recommended to provide APIs.
Sounds great. My 4 year old is starting to play two notes at the same time and clearly is frustrated that he can’t do it the way I do (he needs to use both hands for what I can do in one). A narrower electric piano shouldn’t be too expensive to make.
Netflix doesn’t have ads.
I'd imagine a 20 tire truck of 1tonne roughly equals 5 4-tire cars of 200kg.

So that would mean the first still has to pay 5x the tax of the latter.
Is the Ruby code compiled into JS?
The internet is 80% bloat
"I wrote a name server"
No mention of a requirement for auditable and secure elections in the digital age. None that I could find at the summary level. Been an active issue for, what, 20 years.

It’s a committee document by academics, so a fairly “diffuse” document. Simply and clearly written, a refreshing change from online discussion.

One point of interest to the young...

“RECOMMENDATION 6.1

Establish a universal expectation of a year of national service and dramatically expand funding for service programs or fellowships that would offer young people paid service opportunities.”
I completely disagree, it's like the author misinterprets the point of MVPs from lean startups, and then argues against the misinterpretation.

MVP is a mindset. It's recognizing that the biggest risk most startups face is no one will want what they built.

An MVP is the smallest product you can build to test if anyone will want it.

If your product is "a podcast app with better ux" than you don't need to test whether there is a market for podcast apps. You already know there is. You're testing whether UX is enough of a market differentiator that people will use your product over other options. And to do this you need to build a "podcast that has a better UX than current podcasts".

If your product is "a crm with better reporting insights for companies that cold call" then maybe UX isn't as important as validating that these insights are valuable enough to some customers they will use product despite its lack of features and polish.
Sounds like communism. It has failed in China and USSR when they abolished the landlords. And now they revive landlords and fully embraced capitalism. I guess they did it wrong. We can do it better this time. Make Karl Great Again.