skysight-inc/HackerNews huggingface dataset:
Disagree completely. It depends, very much, on context.

There's contexts where good knowledge of the ORM, and of SQL, is part of the bar of working in the environment. This often happens in stacks where there aren't a zillion different choices but rather curated default choices for things like ORMS.

Combined with having a large and sophisticated system (or many similar small ones), then the complexity saving of being able to use a good ORM (and LINQ) provides a significant savings in time, and complexity.

This helps the systems to last, and be passed on to other developers.
Maybe it was a ponzi scheme before 1971 in the sense that they were probably printing more bills than they had gold (even though the bills claimed that they could be redeemed for gold). But the fact that banks knew that there was a limit on how much gold they could create was in itself a good way to prevent the money supply from growing out of control. There will always be some banks who don't play by the rules.

>> In a ponzi scheme you pay interest on old money with new money, that is very different from the goal of a monetary system.

That is literally what they do. Why do you think a dollar is worth a bit less every year?

When regular banks make loans to people, the loan money is new money that they just typed into your account out of nowhere (only limited by reserve ratios which coincidentally have been lowered to 0%), then for example, when you buy a house from someone else using that new loan money and you allow them to pay off their debt, you're just paying the person who was there first.

New generations take out new loans to pay for the loans of old generations collectively.
That’s... something.

For the most part users or companies buy features, not performance. You can have the fastest software ever but if it doesn’t have the features I actually need to use it then, sorry, no dice.

If performance is one of your features then fair enough, but it’s not for a lot of software.
You are casually suggesting restructuring the entire economy while minimizing a relatively small problem involved in that, which is deciding who has access to education and how.
Whilst I have long railed against ORMs, I do appreciate `pg-orm` (and for my own stuff, `crud`) in Go because it means I don't have to write Nx100 (177 distinct structs at $WORK) versions of "scan the results into this struct type-safely".

But that's less of an ORM and more of a data mapper?
Launching Astrola today – Growth tools for SaaS products
You're correct and absolutely want it all wrapped up in a container (or multiple containers, depending on preferences).

And yes, you want the host as vanilla as possible. Generally just running the orchestration layer (Kubernetes, Swarm, Nomad) and maybe some logging / metrics stuff (and, depending on who you ask, sshd).
> Not as in it isn't a useful thing to have, just that it can't solve the big problem which is that most C++ projects would never support it.

For a living language the solution is never: "throw your hands up in the air and give up".
It seems to me that Apple Silicon, will eventually start with “Device on Chip” type solutions (i.e. there will no longer be a motherboard). Including vertically integrating OLED construction into the wafer as well.

Similarly, vertically integrating battery construction and housing into the device body, like TSLAs battery day announcement.

Between these integrations, I’m not sure there will be much remaining to automate.
Seems like a jaguar to me
If you thought Twitter's RT-function has a bug, you're wrong
Extremely inspiring!
Isn't Apple the most highly valued company in the world at present? It's certainly one of the companies with the most resources to throw at the problem. That will give them a big advantage.
Having worked with Hibernate, droping it and using JOOQ has made my life 10x better.
1)Clearly state the goals of the project.

2)Use the minimum amount of technology necessary to solve the problem.
Safety regulations are what prevent more trains from running in many European places. Limiting rail to automated-only trains would allow them to run right up next to each other without the huge gaps between them that exists right now. You could move thousands more people than automated cars could manage for a fraction of the cost.
You can provide the query, hibernate/JPA does not stop you from doing that. Autogenerated queries for simple CRUD ops, but queries supplied by developer for more complex logic is ideal.
How to get likes, views, follows, comments etc.
Howdy yall, I eas referrers here by a buddy to find out how to get the most out of this video. Please send any advice to TFXFALLEN1000@GMAIL.COM

Online gaming community that is super badass with no digital or SM presence. Im trying to change that. Any assistance is greatly appreciated.
The source article was a far more digestible read of the same content: https://www.invw.org/2020/08/20/who-killed-the-supergrid/
> if you know C it doesnt even take a weekend to learn (the basics of) CUDA.

You mean, of CUDA kernel programming. The basics of CUDA as an ecosystem are not that much about a particular language and there are bindings for many languages.
> I don't understand how such a popular language can have such a weak story in dependency management and integration with third party libraries.

For one thing, C++ pre-dates the common notion of package managers, and a widely available internet. So it was just never designed as part of the language.

Language and tooling, is a relatively "new" concept.

C is 48 years old, C++ is 35 years old, the first web browser is 30 years old, and Java merely 25 years old.
Exactly. I saw a tweet the other day with someone explaining the difference between var/const/let and I responded with "never use var...ever". Maybe that was bad advice.
Hey HN! I am launching a new product today that adds a bunch of features to your SaaS products to speed up your growth.

Add Astrola to your subdomain and gain instant access to the following:

Knowledge Base: Document in multiple languages.
Feedback: Gather feedback, vote and comment.
Roadmaps: Plan your upcoming features.
Changelogs: Share what's new with your product.
Blogging: Organic growth with SEO ready blogs.
Newsletters: Send subscribers your latest posts.
Customize: Match your brand with design options.
What Content Works Best for Early-Stage SaaS Startups? A Case Study
Insights and tips from a small-scale content audit
Surely professional or hobbyist software developers are more likely than the average user to use Safari or Firefox, not less.
Ask HN: Why India still doesn't have eBay like website?
I see lots of startups in India but still nothing like ebay. There is no place to buy second hand goods or source some scrap from someone who owns it.
Yeah, but the thing is, even on POSIX stuff, even without Windows-created libraries, how do you:

package-manager install bleeding-edge-library

and have it just work?

Keep in mind, I don't want to use an entire bleeding edge OS in order to easily get 1 bleeding edge library. Also, how do I do it on another POSIX OS, in a standard way for my development flow?
Hopefully they're not paid to write articles, then.
Show HN: Type-transparent deferred object manager for PHP
yeah, I don't think this is a problem with sprocs, per se.

I think this is a problem because the database code is treated differently from the application code, because so few coders understand SQL well enough to be comfortable in it.

So, as you say, the DBA's tend to be autonomous, and held to different standards. And with less ability to say "we have tech debt, we need to refactor our sprocs" because of the knock-on effect on the application code.

It's a management problem rather than a technical certainty, I think.
> Back in my day, everybody knew “no Markdown around town” and “don’t code in an IDE after Labour Day”

what the heck do those phrases mean?
Isn't that literally the same as java or a const pointer in c/c++?

const fixed the pointer but don't prevent user change the value in the storage it point to.
Which is where the push to general AI comes from.
> You could even go as far as to unit test just your SQL code if you wanted, something you can't do too easily when it's in your application.

How do you unit test SQL code? You could integration test against something like sqlite but unit testing stored procs sounds very difficult.

I worked with a big C# .net core ecommerce platform that had a big stored proc used for ingest. It was an absolute pain in the ass to debug and fix issues because testing it was so difficult. Eventually we replaced it with C# code. Access to full software dev tools (debugger, automated tests) is really something you don't want to be without on large projects...
Quizzing on programming language minutia is a terrible way to hire. It's mostly quizzing how long people have been writing that specific language and their interest in language minutia.

It's been several years since I wrote JavaScript or Python on a regular basis professionally and I'd almost certainly fail your quiz. Yet I'm very confident I could be quickly productive in a Python environment.

Interviews should probe thought processing, not language minutia.
This is one of the reasons that header-only libraries have become quite popular. They're easy to deal with: just add to your include path and you're ready to go.

I put off starting a C++ project I've wanted to start for months because I couldn't bring myself to dealing with the dumpster fire known as CMake, and I now try to limit myself to projects I can do that only require header only libraries, if possible (and use tup [1] to build, since its simple). Since I only really do C++ for fun these days, that's worked out ok.

[1] http://gittup.org/tup/
I enforced the AGPL on my code
Additionally, in many markets there's no such thing as 'firing lightly'. Here in Scandinavia firing people requires a significant amount of work on the part of the manager and HR.
I would imagine this is mostly going to be a status vehicle. That said low center of gravity, plausibly submersible drivetrain, four wheel steering, bagged suspension and four independent drive motors are going to make it extremely capable off-road vs just about any other truck on the market.
Are there any benchmarck of localCDN/decentraleyes? I always wondered how much it can improve performance by reducing download time to zero
This reminds me of that "overestimate in the short term, underestimate in the long term" quote about technology.

This article is talking about the world in 2012. The world in 2012 was radically different to the world of 2020. Humans were still the best Go players on the planet, the landscape of image recognition looked rather different and the hardware was in a completely different place.

The skills to automate this stuff are developing right now. We're basically looking at a reset of these lessons that were learned in the early 2010s. The next wave has a much stronger foundation. Computers are now, potentially, better at pattern recognition. For all we know the insurmountable is currently being surmounted.
Hundreds of configurable parameters, thousands of lines of code ...

Are you sure that this is actually more secure?
Personally, I think Discipline is one of the things that separate “coders” from “engineers.”

This sounds like it’s really a treatise on “learning to build a house by making your own nails.”

Of course that won’t scale. Especially if most houses, these days, are prefab, and don’t use too many nails.

But learning how to stay out of flood plains, and selecting good prefab sources, is vital to being a builder. The first one is a fundamental discipline, that also applied to “make your own nails” building, while the second is unique to the new way we do things.

I like to write code that has a future. I want people to be able to take it over, so I use header documentation, and a consistent coding style.

I originally learned Machine Code (I started as an EE). I’ve written embedded operating systems and drivers.

A lot of what I learned, doesn’t apply to writing high-level application code in Swift (what I do nowadays), but it did give me the discipline to power through the “boring” stuff that is vital to writing good, maintainable, extensible code.

I think maybe there is a confusion between “discipline” (the type that manifests as patience, consistency, and craftsmanship), and “experienced inflexibility,” which is not always applicable (and sometimes, downright destructive, like old-fashioned C++ programmers refusing to use smart pointers).
The UK enthusiastically backed the idea of a closed shop, where non EU entities would not be allowed to work on this project.

The idea was to limit competition against the UK's space sector, which is quite large.

This ofcourse means that now they have left the union, they are not allowed to participate.
Use signed urls on the objects, and in your software for displaying the video create the correct download link on demand.
You edit your generated makefile or tweak the autoconf (or whatever you used) config to point at a specific version of the library, I guess.
I'm also a big fan of hacking away in the browser console. Can't you use the `let foo = class {}` syntax for iterating on classes?
> Having a single Rust compiler that everyone uses on all platforms is powerful.

It's also quite problematic, in that this tends to create a lot of reliance on non-standardized compiler behavior and quirks.

> C++ might get there eventually with clang

I sure hope not! (and I appreciate clang). It's important and useful for there to be several compilers. Plus, if any compiler becomes the single standard one, then it definitely needs to be strongly "copyleft"ed, e.g. with a GNU GPL license.

Otherwise agree with the problems you identified.
This is relatively close to my dream hiring process, except I'd shortcut it. Instead of working 1 day a week because you're bored, just take a week off. Come work at my company for a week. If we like you, we'll hire you.

However, the legal issues sound like a nightmare. Additionally, in the US many people's benefits are tied to their job, so if they needed to, for example, take unpaid leave to do this "test drive" that would also cause complications.
I do not want to use C/C++ at all. I would like to use Numpy and Pandas because those projects are essential to my workflow.
Boost your Online Auction business growth with an impeccable auction script
>I don’t have to worry about bad devs doing stuff non-atomically and putting the db in a bad state

Premise: I assume we are speaking of relational databases.
The fact that a developer can "corrupt" the database with non-atomic stuff is an hint to me that the database probably doesn't have the right referential integrity constraints in place and probably is not normalized either. The relational model is built out of the box to keep a consistent state of the data and this is one of its main value propositions.

Another danger that I didn't mention is that junior developers will be tempted to prefer "Turing like code" inside stored procedures (for loops,cursors, conditionals) instead of relational constructs (joins, subqueries,grouping,table variables). I have seen that several times and this is really a killer for database performances.
The Legend Project
> [7 years] is a lifetime in software development.

If we were talking about something like Kubernetes best practices, I'd definitely agree with this point. In this case, though, I don't see what substantially changed about ORMs or SQL in the last 7 years.
> How do you unit test SQL code?

e.g. https://pgtap.org/documentation.html

There are similar solutions for Oracle's PL/SQL and SQL Server
You don't seem to understand the problem. If there is a way to consistently "beat" the market then everyone will adopt the strategy and you're no longer ahead. The only way you can beat the market is by having exclusive access to information or opportunities (dumb luck) and by definition the vast majority of people do not have these, otherwise they wouldn't be exclusive.
> then there will be serious problems in connecting them together

No there won't. The article mentions DC power converters. They are not cheap, but since HV DC lines are better for long distance power transmission than three phase AC, it's killing two birds with one stone.
I think being sort of "rigid" is part of the appeal of Meson and definitely intentional (keeps complexity down). I can understand how that might be off-putting or even obstructive to some though. But being too flexible is in a way what made CMake and autotools so bad.

I have only done really small stuff with Meson, so I haven't had problems like the Emscripten one you described and I can't say much about it.

Regarding static libs Meson docs explicitly state that "library" is preferred over "shared_library", so that you can choose at build configuration time. If some dependency of yours does not follow this advice without having a good reason for it the fault is with them.

I use CMake over Makefiles, because for libraries you want people to be able to easily integrate your stuff, so you need to use what everyone uses. And in general it's still the best way to have a (mostly) platform-independent build. Yes, almost all non-trivial CMake files have a bunch of platform-specific extra stuff, but at least you can do it. I also cannot believe how bad the dependency finding works. It actually doesn't work more than it does work. Very often even with libraries that I installed through my systems package manager. I also consider CMake horribly flawed, but it's still better than raw Makefiles.
Not sure why, but on Chrome on Mac I don't see any scrollbars on this article. Pretty annoying.
> Markets are obviously not efficient. The proof is trivial. Have you ever made a mistake? Congrats, that’s your proof.

The problem with your comment (and this paper) is that it misrepresents what economists mean when they talk about the EMH. A more widely accepted interpretation of the EMH is just that it's impossible to reliably predict asset prices, or colloquially "beat the market", and it has a lot of evidence going for it (e.g. the poor track record of professional traders and fund managers over long periods of time).
olx.in?
> The performant is often not talked about in the same sentences as its usual companion species, the irrelevant.

What I find is that programmers I've worked with who have been the most preoccupied with performance always seems to have focused their optimizations in the least valuable areas. It's as if performance mania is directly correlated with a kind of architecture blindness.
It's funny how Microsoft became the lesser evil after being considered worse than Satan for a very long time. I don't disagree with you, but it's still funny.
If everyone in this thread would use their energy to build a nice Little Snitch GUI app for linux firewalling instead of bitching, that do be great.
Soprano sax is not that easy to tell from an oboe.

https://www.youtube.com/watch?v=_b-zbqcRick

There are differences of course, but I'd bet the majority of people couldn't tell most of the time.
Why? What's the problem?

const improves readability, and the ability to reason about code. It lessens the need to exhaustively scan the code looking for other assignments to the variable.
Show HN: Flat SVG Designs – Free Vector(SVG) Icons and Illustrations
> If you have a monolith, now you’ve got a distributed system.

Just call your procedures "micro services" and you are in the clear ;)
Are there any good Wordpress plugins for putting up a gallery of geotagged pictures?
I am actually interested in your context. Usually the return on investment analysis favors features over performance especially in a B2B environment.
Even assuming this will be a thing one day, you still need an IT team to integrate and maintain this software.
I have to collect all the Hadiths for indexing in search engines. So in either way (scraping or API) I need all Hadiths in my server. I have gone through their API, it's kind of similar.
Seeing the word "helpers" in a codebase gives me PTSD flashbacks.
Webkit does still exist :)

Also, Firefox being free software, we can expect forks to appear the very day Mozilla falls. I even wonder if having a swarm of small implementers wouldn't be better for the standards than having three big ones who discuss among themselves, then decide what the standards should be. Maybe browsers would stop getting more complicated than OSes and go back to essential, that way. I would really love seeing web engines getting simple again so that third party developers can contribute to them - and that's certainly a direction many small implementations would push toward.

Of course, this is only speculation. At least, it's not guaranteed doom.
> Three phase systems actually are a carry over from the days of early induction motors

Three phase is better than one for transmission: you can pass more power for a given distance with a given budget of copper/aluminium wire. In other words, you have three wires rather than 2, but they can be lighter overall, and require less materials and fewer and less expensive poles.
My experience with working on a project that's converted to Meson is that its main flaw is its philosophical commitment to inflexibility. You do things the Meson way or not at all. Want to have file foo/bar/baz.c compile to foo/bar/baz.o in the build tree? Nope, must be foo_bar_baz.c.o. Want to have source files with a .inc.c extension which aren't compiled like plain .c files? Nope, you need to rename them to .c.inc. Want to write a wrapper function around a Meson builtin like 'dependency' that adds extra functionality to it? Nope, Meson doesn't provide functions in its build scripting language. Want to have a build rule be "run this perl one-liner"? Tough, Meson will mangle it by turning all the backslashes into forward slashes so you need to put it into an external script file. And on and on. And we needed to upstream new functionality into Meson before we could even convert to it in the first place!

My view of build tools is that they must provide flexibility and escape hatches, because on a sufficiently complicated project eventually you're going to need it. The Meson designers have a strongly opposed philosophy. If you agree with them on that design philosophy you'll probably be happy using Meson, but if not then you're likely to get frustrated with it every time you do anything non-trivial with it, I think.
>The fact that it is possible to have a very successful career in finance as a quant or trader also seems to me like evidence the efficient market hypothesis (taken in its strongest form, that markets are perfectly efficient) is false.

It's the opposite. Traders increase market efficiency up to a certain point. If traders didn't exist then markets couldn't be efficient in the first place. Liquidity problems would persist and cause large spreads between buy and sell prices.
Not all ORMs are like hibernate and gorm.
I'm author of a lightweight ORM for Go and Scylla / Cassandra [1] so I may be biased.
In my view use of a good ORM makes your code more resilient to change, refactorings are simple and stupid mistakes largely eliminated.
A benchmark of usefulness of an ORM can be how many lines need to be changed to add a new field to a struct / class.
In a good ORM this should be about 1, it should still work be ~1 if you use a hand crafted SQL / CQL.

The worst thing that ORMs try to do is handling relations (eager / lazy loading) and handling sessions / object lifetime. This is mainly because it's impossible to have one-fit-all solution for all usecases even in one application.

[1] https://github.com/scylladb/gocqlx
Using network namespaces to force VPN use on select applications