skysight-inc/HackerNews huggingface dataset:
I think it’s unethical to copy an existing program’s features one by one, as precisely as possible

Completely disagree that this is what ST did. Implementing TextMate's bundle/syntaxes APIs != creating a clone.

I'd argue that conceptually, TextMate borrowed at least as much from Emacs and BBEdit as ST did from TextMate.

After all, what was TextMate's raison d'être? It was not some totally new idea. It was a successful iteration of existing ideas. It was lightweight like a text editor, but highly extendable via scripting.

So, it was like Emacs, except not quite as infinitely extendable, but more friendly and had a native OSX GUI interface. And it was like BBEdit, except more extendable. (Correct me if I'm wrong on this -- I used BBEdit a bit back in the day but never dove too deeply into it)

ST iterated further upon TM's ideas and others. Yes, it implemented TM's bundles and syntaxes for compatibility reasons, which I would call a very good thing because why invent those wheels again. Any new entry into an existing software category certainly should leverage the existing ecosystem to the fullest extent possible, unless there is a very good reason not to.

It's been years since I used TM but I think ST's command palette was a big innovation over TM, and more keyboard-friendly. ST's integrated Package Control is also something I don't believe TM has an equivalent for. And ST is of course cross-platform: it's not like using TM is even an option if you're on Windows/Linux.

So I really reject the talk of ST being a "ripoff". Good software should borrow ideas and leverage existing work whenever possible. And it's demonstrably false to claim that ST offered nothing new, or that TM itself didn't borrow very heavily from other editors.
I do not feel like this article is engaging with Wittgenstein's arguments or any philosophy in general. I'm extremely tired of these clickbait 5-minute-read articles that somehow attempt to discredit entire lifetimes worth of respected works through ad hominem
>Sorry, Ludwig, buddy. Go sign up for a math/physics major,

You realize that Wittgenstein studied mechanical engineering and aeronautics?
Of course they can take a cut, just like any physical copy second hand reseller takes a cut. The trick will be demonstrating ownership of digital goods, which is the industry is beginning to invest in things like blockchain tech.
> could it flag moderators

Why shouldn't it? Moderators are just like normal users but with some extra privilege regarding editing/deletion.

There seems to be a bit of confusion on how SO moderation works every time SO is discussed here. Most of the moderation is done by other users. I'm very active in editing/flagging/closevoting, and I can assure you the instances I see an actual moderator (the ones with a diamond next to their name) taking matters into their hands in a given month can be counted in single digits.
>> Higher prices for new tenants make developing new housing more attractive, not less.

> Developers have to charge higher prices because they have to subsidize rent controlled units.

I don't think these two points are contradictory. Yes, rent control increases housing prices on newer units. However, higher prices on newer units provides incentive for developers to build new construction rather than squeezing everything they can from existing ones.
Too complex. Architecture descriptions should make sense to everyone on the project. It should not require you to learn a new design language or notation to use.

Here's an example of a complex system that's easy to get your head around - https://www.wittenburg.co.uk/Design.aspx

Unfortunately it won't do much for an architect's ego but, if the same simplistic approach to diagrams is applied to all levels of abstraction, it just may provide a thing all stakeholders can reason about and agree to.
How to learn Quantum Mechanics on your own (a self-study guide) [video]
Voting over the internet? Oh dear... But it theoretically could be a use case for blockchain.

Still I don't get it why voting in the US is so complicated and difficult. Even India does a better job. There is also a reason why most other western countries have a paper ballot, they are harder to temper with.
It’s like advising someone with an arrow in his heart to not smoke—who cares, he has a few moments left anyways.

OOP is enough of complexity to kill most projects—and yet we discuss the dangers of ORM.

“Object-oriented programming offers a sustainable way to write spaghetti code.” -PG
Naive question from a European here: how do you know and classify "race" and why is it relevant?

Do you get entries like 1 person's race being "25 % native Filipino, 10 % Chinese, 15 % "black", 25 % Arab, 25 % Caucasian"?

How do you even...?
In my personal case it is because there are no good e-ink devices. That gray background plus either bad size or horrible interface and horrible price are not doing it for me.
> Maybe stop banhammering newbies simply because you think their question about obscure arcane algorithm #44462 is too similar to an even more arcane question 10 years ago about algorithm #783429 and its immediately obvious to a regular with a pH.D in quantum statistics.

You don't get banned for questions closed as duplicate, what are you talking about?
Wait until you see how much RAM that needs. Take a look at a lightweight alternative like OpenFaaS, but yes: the Internet is your computer.
I haven't read the book, but on a more microeconomic scale, businesses that produce more trash have lower profit margins.

This is a very well known phenomenon and gets used to make a business case for doing the right thing out of enlightened self interest: Don't do it for some nebulous sense of virtue. Do it to fatten your bottom line.

In restaurants and catering businesses, profit margins are so slim that upgrading to lightbulbs and appliances that use less energy can put a business in the black that has been struggling.
Stupid people should strive to become smarter. They should not proclaim themselves to be the norm for being stupid and smart people to be somehow inferior for failure to conform with that norm and for failure to communicate the complex thoughts they have to people who are incapable of taking in complex thoughts.

It's a type of transaction that I bet takes place every single day in every single tech-sector business between a smart-guy code monkey and a dimwit pointy-haired boss and, for some reason, it's always the pointy-haired boss who walks away with his overconfidence in tact and the code monkey that walks away having been made to feel bad about themselves, when it should be the other way around.

It's a cultural norm that may exist in the tech world today, but it's certainly not a cultural norm that existed at Cambridge back in Wittgenstein's and Russel's day. -- It's one of the many cultural attitudes that are working together to create the post-truth society we live in today.

It is true about pretty much any philosopher of note that they are thought of as being hard to understand (just think of Kierkegaard). That's not because those philosophers are altogether so very overrated. It's because the readership is mostly comprised of people who are not as smart as those philosophers. That's true by construction. Because the reason you read is because you start out stupid and want to end up smart.
> Some 5-10 years ago when UML went out of vogue (for good reasons; much of it is overspecified and overcomplicated)

Perhaps UML ceased to be a fad for some, but to this day UML is still the best tool (and practically only tool) that helps describe and document code effectively and efficiently, from requirements to what classes comprised a submodule.

The "oversimplified and overcomplicated" jab makes no sense at all. UML is used to provide a view of a system without needing to go too much into detail (that's what code is for), and just because a bunch of people did a great job putting up a specification aimed at software developers intending to develop UML editora and code generators it does not mean it is overcomplicated". Anyone can use UML extensively if they can draw rectangles and lines on a piece of paper, or click and drag around in an editor. That's hardly a downside or a sign it's "overcomplicated".
What is a decent ORM under this definition? I don’t think I’ve ever seen one sufficient for business logic.
Show HN: Serverless on Kubernetes Workshop
A majority of Americans think people in power act unethically, and with impunity
A good alternative is libs like
https://pugsql.org/
Nobody spends their time predicting SSNs when accurate profiles cost 10 cents or less.
A lot of older films aren't on streaming. Nearly everything is available on Torrents fortunately.
Again, unable to defend Wittgenstein's work on its merit.
This is the author's fifth self-submit of this in the past four days (and sixth overall).
Agreed. Helpers (and indeed types) can make working with SQL an actual pleasure. You do need to learn the SQL, though. (My TypeScript/Postgres solution, in this vein: https://github.com/jawj/mostly-ormless/blob/master/README.md).
[1], [5], and [12] are array bounds overflows, and sum up to a score of 113.17.

In contrast, [14] Null Pointer Dereference only has a score of 9.74.

This is why I disagree that null pointers were the billion dollar mistake - buffer overflows are.

C's Biggest Mistake: https://www.digitalmars.com/articles/b44.html
Don't sell them to the Saudis.
In these cases, I’ve elected to write queries using a templating system and describe the tables using the ORM. I get the convenience of an application level description of the table with direct use of SQL. It’s a lot less trouble than anything else I’ve used so far.

I was with the spirit of the article save for this.

Recently I've been developing some work for one of my client's in the .NET world. There had been ongoing discussions about developers wanting to use Entity Framework as an ORM vs. using stored procedures.

The client already uses SQL projects and DACPACs (effectively a system for specifying the DB in SQL then diffing it between versions to alter the database).

The arguments for and against ORM were largely naive from each side of the fence - the developers wanted strong typing (doesn't require an ORM) while the DBAs wanted to be able to review query execution and suggest changes if there's an issue (you can see the generated SQL for the ORM).

The solution I came up with was to use reflection on the build server as part of the CD process to map the inputs and outputs of the stored procedures into strongly-typed C# methods and objects, generate code for it, and build/pack/push a nuget package back to our feed. It's similar to what EF provides without maintaining the EDMX (which we can do as we don't need to cover every possible data access scenario like EF does). It means that once the database project is checked and the build green-lights, an updated Nuget package that constitutes the DAL is automatically waiting on the internal Nuget feed.

I've found it gives us the best of both worlds. We can do anything we need to in t-SQL and the C# wrapper only cares about the ultimate input/output. I can force the use of parameter sanitization in the wrapper (by not providing any other way to call the procs), and the DBAs can review/amend whatever they want without the developers needing to change their code as the interfaces don't break.

We also don't have to write DAL boilerplate or worry about inexperienced developers getting it wrong and opening injection attack surfaces at the DAL layer.

There's usually a solution to your use case if you look for it is my point.
> Naive question from a European here: how do you know and classify "race" and why is it relevant?

Very naive, especially considering you're european. Race has much less to do with genetics and biology and more to do with perceived social norms. During the 1800s in the US, person who is 10% black is still often considered black. In Nazi Germany, a person who was 10% jewish was still considered jewish.

Putting people into race buckets is often based on unscientific (and immoral) notions of "purity" and a "natural hierarchy" of disparate societies.
> so if tesla wanted to they could make a tesla that uses cheap materials and doesn’t ship with special sensors. Call it the model 1.

Could they? So why don't they? The 35k Model 3 didn't go too well. Why will this Model 1 do better for Tesla?

It's difficult to target multiple segments simultaneously. You need the scale of a company like Volkswagen to do it successfully. Tesla is headed for a decision point on the kind of car company they want to be. They'll probably choose to stay low volume:

https://www.thedrive.com/tech/29960/teslas-hero-cycle-leads-...
The biggest 1-day gain in 10 yrs, Sensex up 1,921 pts in BSE
Amazon’s climate pledge confirms the new power of employees
Flagging doesn't mean deleting. It brings those non answers to attention.

I spent an hour looking through them today and I've only seen one false positive and of course someone reported it instantly.

It's pretty useful. One of the questions I saw today was from few years ago and no one had answered it. Someone added a "me too" answer that wasn't helpful. I flagged that answer and provided a new answer to the question, and now it may help someone in the future.
Does anyone use Apple’s libdispatch (aka GCD) on Linux production code? It seems to be pretty fast and has some neat features. It also gives you blocks/closure support in C (needs Clang).
Don't marry or have needy friends is also a good tip.
Good stuff, it's finally here! Now what I'd like is for someone to integrate the DDL/DML stuff as well (Git and CSV); The idea behind that is:

1. 'create table' should create a new .csv and new .schema.csv;

2. 'insert into' should insert records into .csv;

3. 'commit' should do a git commit

That way we get a human readable database + all the transaction semantics and data versioning + all the query goodness. Would like to know if there's a project doing exactly this.
This is actually pretty interesting. The statistic most people noticed is frequency, which climbed exponentially between 1995-2003 and came to a dead stop a year later.

https://i.imgur.com/QAEqcie.png

However, almost immediately afterwards, IPC, which had been stagnant over that whole time period, started itself steadily climbing exponentially, with the rate falling only fairly slowly.

https://i.imgur.com/KiUqMhl.png

The overall result is exponential growth in ST performance that far outlived frequency growth, and which has only truly tapered recently... though it's likely AMD's recent reentry to the market starts to recover trends somewhat.

https://i.imgur.com/h2jN9RK.png

But now that IPC is starting to struggle (though not falter), core counts are finally taking off. We haven't hit the end yet.
This lacks statistics on temperatures throughout the day or estimates on the loadbearing capacity of the roof.

In essence, this house has not been benchmarked.
A 400-Year-Old ‘Carbon Colossus’ Heralds Hope for Amazonia
One of the creators of LangSec has joined Darpa:

https://www.darpa.mil/staff/dr-sergey-bratus

And now Darpa is working on two related projects:

https://www.darpa.mil/attachments/SafeDocs%20ProposersDay-Fi...

1. SafeDocs - a document format made safe using LangSec.

2. Tools to help developer verify protocols using LangSec parsers, easily.

Would be interesting to see.

But still TCP/IP doesn't fit LangSec, if i remember correctly ?
Many, many* forms in the US ask this information so they can do later analysis on how they are racially biased in their decision making, so they can Do Better Next Time (Tm)

Since I can answer in the Best Possible Way - old white guy - I don’t mind answering these optional questions. They never ask about how cynical I am though!

* many includes Job Applications, Loan applications, and, it seems, for voting too
Well, functional languages really only distinguish between data and functions. They usually also lack control flow structures, because they are composed of expressions rather that statements.

Given those properties, I think data-flow diagrams are a natural fit: https://en.wikipedia.org/wiki/Data-flow_diagram
I'm okay with ORMs, but I can't stand lazy evaluation. It often leads to situations where it's entirely unclear when the program is making a database call.

For example, given the small django program:

dbcall = models.Purchases.objects.filter(amount = 100)
if dbcall:
do_something()
if len(dbcall) > 5:
do_something_else()
third_thing(dbcall[0])

Does the above app make 1, 2 or 3 database requests? There is an answer, but it's not at all clear to the developer.
> Look, ultimately, beyond a certain point, this stuff is point scoring.

Larger amounts of capital means you can do larger things with it. Like SpaceX. If I had $zillions, I'd probably finance a probe to every object in the solar system that's moon size or larger, and landers to the ones that can be landed on.
As a side note, last time I was in Vienna, there was an old cinema playing the Third Man every day.
I learned SQL at school. When I was hired and suggested to use an ORM, the boss didn't know what an ORM was, so he said no.

I have no problem with SQL, I actually like the language it's very powerful. However mapping query results to objects is soul crushing.

So a few year ago when I became the sole dev in the company, I decided I would try Entity Framework (Microsoft .net ORM)on a new project that needed to be delivered yesterday.

To get even more speed I didn't even design the database as I do usually, I went with the code first approach. It was magical, so much less work to do.

Then something went wrong with Entity Framework it didn't retrieve the right data I think (sorry I don't remember what exactly, but it was a show stopper) and I couldn't find a solution to my problem online.

Then I had to do everything by hand in a rush, I was very late with the project.

I kind of lost interest in ORMs after that but I thought there should be a way to map queries to objects.
So I started to develop my own micro ORM with Tuples. I went nowhere fast but while I was searching I discovered that what I wanted to do already existed and was actually named a micro ORM.

Now I use Dapper (Stackoverflow .net micro ORM) and I'm very satisfied with it. Its level of magic is relatively low, so if it doesn't work I can quickly replace it with a manual query without losing much time.
I’m on a slow connection. The ad images loaded first before the actual content.

The company is prioritizing ads over user content and I can see no world where users desire this.
"impedance mismatch" I believe typically refers to the following:

* the fact that the records you can create with SQL are an unbounded combination of every field in every table; in addition, any aggregate or functions applied as well as any renamed fields will further enrich the set of row classes you are able to generate.

* the fact that with (standard) SQL you cannot create anything other than lists of records, whereas objects are directed cyclic graphs

* the fact that objects assume unbounded access to the said directed cyclic graph as if it were in memory, which is a mismatch with optimal SQL querying patterns (the n+1 queries problem)
R (and its predecessor S) is so great, thank you for writing and sharing this!

In a way, R is very similar to APL and J in that many operations automatically scale from scalars to vectors, and you can therefore conveniently express applications of operations to many elements at once. In fact, even its assignment operator is chosen to syntactically resemble that of APL:

https://blog.revolutionanalytics.com/2008/12/use-equals-or-a...

Regarding the quote:

"All statistical models and tests have underlying mathematical assumptions on the types of conditions upon we can generate reliable results (Hoekstra et al., 2012)."

Indeed! There is hence also a very close connection between statistics and logic.
Ah yes the switch case statement hack :)

Does anyone have experience using libunwind for this kind of thing? You need to save and swap state for actual parallel execution.
Too complex. Architecture descriptions should make sense to everyone on the project. It should not require you to learn a new design language or notation to use.

That seems a little strong. We're talking about a potentially complicated system in a technical field. Some standardised notation and terminology could be helpful to keep the visuals concise and unambiguous. I agree that this looks far too complicated, though.
UML already provides that, no?
Native binaries using the latest stable libraries with the latest compiler optimizations will always be faster and more energy efficient.

Even the Xbox had backwards compatibility across ISAs.

Somehow I doubt people will care that much about efficiency.
Because there is already endless concrete evidence that the elites and establishment are out to fleece the common person, and when someone has their bubble burst on this fact, they start looking everywhere for where they might be screwed.
A Taxonomy of Moats
Wow! Thanks a lot. This is a very fascinating application of category theory.
Gentoo. We avoid these issues, you pick what ever init system you want. If it's not in the tree, add it to your overlay.
Did you know [Ecosia] (www.ecosia.org) is carbon negative? Google should follow suit if they really care.
Ok, but you don't _need_ an AR or a semi-auto weapon for any of that.
Caution: spammy website, and this was back in 2014: https://www.utilitydive.com/news/warren-buffett-to-keep-bett...
Spend a few days reading the scientific reports at ipcc.ch and see if you are still skeptic.
As far as I know sharks solved it: only part of their brain sleeps at time, allowing them to be on the move constantly. I wish human could do that :)
Isn't this an argument against using any library at all?
I think I worded my question badly (or I misunderstood the person I was replying to). I thought they were suggesting Valve / Steam would be the only place the sale / transfer could happen.
> The other side of this is that in the European system many otherwise qualified individuals will never see higher education because there is so much competition for the limited spaces available.

I tend to prefer a system where you fail because you are not good enough, to a system where you fail because the pockets of your parents are not deep enough.
> If computers stop improving, efficiency will stop improving, which will ultimately mean that standards of living will stop improving. If standards of living stop improving, i.e., the pie stops growing, there could be a whole variety of horrible social and political repercussions as everyone fights for their finite slice.

I fail to see the connection between the computers’ efficiency and standard of living. You seem to have made quite a big leap there. Can you please elaborate?
> But now that IPC is starting to struggle (though not falter), core counts are finally taking off. We haven't hit the end yet.

The fact that the industry is now relying on these tricks are actually good evidence that performance is hitting a wall. In the past, if you wanted to 2X boost in performance, you could just wait a year. Now waiting doesn't work. You need to build your own ASIC or move things to the cloud where you can rely on big-tech's economies of scale.

We have hit an end, and the performance boosts we see today are one trick ponies. After you build your ASIC, you can't get much faster. After you move to the cloud and reduce processing power costs, you can't reduce further. These tricks have slowed the "perceived" deterioration of Moore's law, but they are acts of desperation, not real progress.