skysight-inc/HackerNews huggingface dataset:
>because ISPs want to upsell

I wish it were even an option to buy a static IPv6 block from my ISP, but they don't even offer it at all.

This is with Bell Canada with 1.5Gbps down/1Gbps up fibre-to-the-home. You'd think if they can support cutting edge last mile connectivity they'd support a 90s IP standard... Instead we're stuck with ephemeral IPv4 addresses that geo-resolve to cities hundreds of kilometres away. I guess they ran out of addresses that are registered to my actual city. Just last week an online purchase I made was flagged for fraud because my IP didn't resolve close enough to my listed address. The support team then asked me to try tethering to my mobile phone, which of course was assigned an IPv4 address that resolved to a different city hundreds of kilometres in the opposite direction.

Why-o-why wasn't IPv4 64 bits long to begin with?
Personally, I think my trust of US pilots is enough to outweigh my concerns about MCAS. I feel pretty confident that if I get into a MAX8 in the US that the pilots in the cockpit know their shit. The most common reason that planes crash is still pilot error. I'd rather fly in a MAX8 operated by a reputable airline than a perfect airplane operated by a sketchy third-world airline.
> Not to mention that those CRUD apps have been done, exactly the same, 10000s of times before and 10000s of people are doing the same work you are doing now at this moment.

I recently worked for an org that had quite a large software suite (internal system) that was 99% CRUD. For every single CRUD operation, there was a front-end call, to a back-end service, that called a specific stored procedure. So pretty much 4 stored procedures for any construct stored in the database. No ORM, very little dynamic building of queries, thousands of database tables. Releases were a nightmare, change management for database objects is its own complexity, especially with so many objects. I think people were open to change, but with a decade of existing data structures+data, and a long list of projects, nobody wanted to make a change...

My one regret, with respect to that org, is not driving the necessary change.
> It's pretty scary to work without an undo button.

sawing wood these days too I cannot keep laughing alone in my beard thinking how software people just don't understand how the world used to be and how much had to be designed to work before trying .. there's no way back, or to be precise, every wrong turns costs dearly.
Opendoor SPAC (IPO) Analysis
Standardize the Way You Write Your Range Conditionals
> I wan under the impression that forcing people to agree to tracking by withholding services until they do is not allowed under GDPR.

You're 100% correct in your assumption. Der Spiegel is treading on thin ice here, or at least I hope they are.

Here's the relevant GDPR text:

Consent should not be regarded as freely given if the data subject has no genuine or free choice or is unable to refuse or withdraw consent without detriment [1]

[1] https://gdpr.eu/gdpr-consent-requirements/
Training AutoML on Random Data – seeking for signal in the data
If the IDL compiler is more like a library then you can have an "asn1print" that takes a schema and dumps the data correctly with all the metadata you need and want and none of the crappy TLV.
To be clear, you have to be running "with" (determined by algorithm) another person to be tagged. It doesn't tag every person that you cross paths with.

Strava's unique selling point is that it is primarily a social app, and secondarily a running app. Global leaderboards require users to make their activities public. So having privacy issues is par for the course.
Never underestimate the number of engineers that convince themselves they need something because it is trendy and sounds cool.
The future of the .NET “Standard” .. it'll be a continously moving target, making it near impossible to clone ;]

Of course that'll mean developers are for ever playing catch-up, rewriting code at more expence.
“ The contemporary marketplace is littered with companies that used to produce high quality goods but are now selling away their former reputation to move overpriced garbage. See everything from Cole Haan (shoes) to Sears.”

I call this the Decontenting of America.
Businesses have a tendency to optimize for making money so if the only way for them to do so is by having people click on ads, guess what they'll eventually become great at.
Journalistic practice doesn’t define what is and isn’t illegal in connection with collaborating with a source.
I agree. I don’t know what the author is in about. At least it’s not the way they express it. As you said, crap _is_ found anywhere there are active markets: North America, Asia, South Asia, Africa, etc. you can find crap everywhere due to globalism.

But... as you point out, it doesn’t have to be. You can buy quality items that are 2 to four times the cost of crappy ones, they last longer, are usually made with better materials and are designed and constructed better —be they designed locally or abroad and manufactured locally or abroad. You have a choice. Many people choose the cheapest crap that make used car salesman’s leisure suits look like they are of unequaled quality.

But not everyone buys the crap option.

If you buy too much crap it’s because people aren’t discriminating and aren’t in control of their discretionary spending.
You have proved it for n = 3, but you haven't for n >= 4, which the problem also requires.
I wonder what would happen if price gauging laws were removed. Suddenly there wouldn't be as much of a risk that the demand will abruptly end (eg. a vaccine) and leave them in debt due to all of the the new factories that they built, since after much less masks they will get a return on their investment
Yeah, “12 factor apps” basically use dynamic scope for dependency injection. But, also, I believe the Reader typeclass in Haskell is basically equivalent to dynamic scope? Haskellers seem to use this and a lot of similar techniques (Free monads/mtl style) to work around the lack of dynamic scope :).
Still no Lua? :(
No it doesn’t. It posits that the purpose of “exposing classified war crimes” shouldn’t immunize conduct that’s otherwise illegal.

According to the indictment, Assange was running a whole operation where he was recruiting hackers to get sensitive data from protected computer systems. You’re positing that we should basically have vigilante hackers that expropriate and publish confidential data so long as they purport to be acting in the public interest. That’s an intriguing idea. Maybe that should be the law. But that definitely isn’t the law now. (And when it comes to a jury—we are still in the extradition stage, so the jury will come later—I suspect they won’t agree either.)
> Personally, I think Apple products are (now) crap, beautiful to look at, but with a UI/UX that has jumped the shark so badly that they are essentially useless.

You’re right in criticizing Apple on certain things. But the alternatives are far worse, and to use the topic appropriate term here, “crappier”. For all its faults, I still prefer some Apple products and wouldn’t touch the competition even if they paid me to.
Man redesigns iPhone home screen in the style of MS Paint, with glorious results
Sure, but enforcing best practices at all times can be tedious and unnecessary sometimes.
Does not work in Sweden either. Neither on Bahnhof nor Telia as ISP.
> Ada seems pretty nice, but it does not have a borrow checker, does it?
IIUC, there is a SPARK implementation that does: https://blog.adacore.com/using-pointers-in-spark / https://www.adacore.com/uploads/techPapers/Safe-Dynamic-Memo...

That said, there are whole classes of problems where, thanks to Ada's design, you don't even NEED pointers where you would in C or similar languages: http://video.fosdem.org/2016/aw1124/memory-management-with-a...

> I think deallocation is considered unsafe?
This too depends; Ada was designed so that a garbage-collector could be used, even in Ada83, most implementations do not take advantage of this. (There are JVM and DOTNET implementations where GC is required though.)

To achieve safe deallocation it is often delegated to scopes so that exiting a scope clears out all the memory you were using; see stack-allocation, pools/subpools, and local-declarations/inline-declarations.
Mount & Blade series is an interesting counterexample to that, although I'm at a loss as to how define the genre ("feudalism sandbox"?). The first games were very clearly indy, but they capitalized on that success, and Bannerlord is a much more ambitious and polished game.
What do you mean by "native-client"? Google Native Client?
Other way round: the UK has built a lot of wind power in the time taken to not build Hinkley C.
> It would seem the question to be answered by the FAA is whether they intend to address these systemic deficiencies or just the proximate causes of the crashes.

There are really two separate questions: first, should the FAA address other deficiencies particular to the 737 MAX, and second, should the FAA go beyond that to require Boeing to fix issues that are common to all 737 models?

I agree with Mr. Ewbank that the answer to the first question is yes; but he also argues that the answer to the second question should be yes, since the issues he points out in the latter part of the paper are not specific to the 737 MAX, as far as I can tell, but affect all 737 models. I don't agree that Boeing should be forced to address those issues, since that would amount to decertifying all 737s, which is not justified by the safety data; no other 737 model has an accident record that justifies any such decertification.
> The federal government pays a comfortable six figures

Nope, it doesn't. Cracking 100k in the civil service requires being very very senior (equivalent of at least a colonel in the military).

It is a cool opportunity, but it does not pay well. Even the civil service salary PLUS the maximum $150k patent royalties is less than what a 27 year old at a FAANG earns.
This is how it should be. Unfortunately even if this becomes a standard I can foresee Google dragging their feet on this and never implementing, and providers refusing to comply on grounds of "the user didn't reeeeeally mean to block tracking".
Prepares To... what? Can someone fix the title? =/
You’re still within the window of time where you can edit your original comment and clarify your position. I’m sure many people would agree on the point about the quality of Macs.
I'm curious how you measure competence.

Virtually every release Rockstar does sells millions. And from my point of view their games are fun too.
Could you give us some examples of misrepresented facts? I've only listened to a few episodes but most of the interview content seemed like stories and opinions rather than something represented as factual.

How does one distinguish a pseudo-intellectual from a real intellectual?
For reference here's a GPT-3 output for the sample question:

Solution:

Suppose the given set of n points is A = (a 1 , a 2 , …, a n ). Between any two points we will draw a line segment connecting them, and let the distance from a 1 to the line segment be d(a 1 ,a 2 ) and d(a 1 ,a 3 ) be the distance from a 1 to the line segment connecting a 2 and a 3.

Since any two of the points determine a line segment connecting them, there are n–2 segments connecting the n–1 points.

Let L be the common perpendicular bisector of two of these segments. So, d(a 1 ,a 2 ) = d(a 1 , L) and d(a 1 ,a 3 ) = d(a 1 , L).

Now, we consider the triangle formed by the points (a 1 , a 2 ) and (a 1 , a 3 ). If we are given the points a 1 , a 2 and a 3 , we can easily find the sides of the triangle.

Since d(a 1 ,a 2 ) + d(a 1 ,a 3 ) = d(a 1 , L) + d(a 1 , L) = 2d(a 1 , L), the triangle formed is right angled and therefore non-degenerate.

We can easily calculate the rational area of such a triangle and the side lengths.

Let us consider the simplest case when n = 3.

We have three points (a 1 , a 2 , a 3 ) such that each of a 1 , a 2 and a 3 are different.

Therefore, we can form a triangle by connecting a 1 , a 2
> This isn't like a brand of beer or car that you don't like going under. Facebook has deep effects on all of us, even if we never use it.

Good point, but that's true for many things. Including beer[1] and cars[2], come to think of it. We live in a society, and anything that our fellow humans do has effects on us. I'm not saying that just because lots of people drink beer, drive cars and use facebook, these things can't be critized, but it still seems arrogant to cheer for the destruction of something so many people use.

> They don't wait for you to create an account to start gathering data about you.

I don't really have an answer to this other then saying that I don't see the problem with it. We are all gathering data about each other all the time. And there's a lot of software that does this at scale, like a search engine.

[1] Prohibition was mainly justified with the problems alcoholics caused for others, not their own suffering.

[2] Probably the first example of a radical monopoly, lots of concern about crime and a breakdown of trust.
Sounds an awful lot like C#.
Assange is alleged to have sought classified material from the US, and for aiding and abetting Manning in obtaining classified material.

This would be like is Australia asked the UK to extradite someone who recruited Australians to rob a bank and then materially helped said Australians actually rob the aforementioned bank.
Think about passing some ambient context around. In Go, you do it by sticking an additional "ctx context.Context" parameter in every single function that conceivably may use it directly or indirectly, i.e. may call some other function that may or may not use it.

And sometimes you need to set up a derived context for one function call, but continue to use the previous one in other calls:

func Foo(ctx context.Context, ...) {
Bar1(ctx, ...)
derived := makeDerivedContext(ctx)
Bar2(derived, ...)
Bar3(ctx, ...)
// ...
}

It's not hard, but just extremely tedious, esp. if context is mostly utilized in the leaf functions, and the most of the rest of your code simply passes it around.

That's where dynamic scoping enters in.
I was told that an active clearance with SSBI can add $30-50k (or something, this was years ago) to your salary. These days that doesn't seem like anything super special given tech salaries in major metros. But it probably goes a real long way in Huntsville, AL or wherever.

I remember being emotionally exhausted after a particularly rough week at work, and not being able to talk about it to my wife beyond the barest "yeah, it's been a tough one". It isn't cool or sexy, at best its a layer of inconvenience and red tape over your day-to-day work life. Looking back, it was by far my least favorite job I've ever held
Quibi Is Looking to Sell Itself Among Other Possible Options
This is absolutely right. The best games now are from independent developers who are themselves barely making it. The games you listed were some of the breakout successes of indie games but there are a ton of fun, interesting indie games out there that are dying from lack of revenue.

There seems to be an overall issue now where the quality of the good produced and the benefit to the consumer is divorced from the value extracted by the producer.

For instance, you can make a mobile game company that aggressively monetizes re-hashed bubble-poppers or match three games. With that, you focus not on innovation of pleasing the customer but on making the most money per customer so that you can feed it back into your marketing. The most exploitative game wins.

This is a more profitable strategy than simply trying to make a fun game that people want to play.

With most consumer markets, we find similar stories of customer exploitation being a better play than simply making a great product. This is not as much the case in B2B.

How do we reign back in the markets? It doesn't seem like consumer choice is working out very well.

Maybe marketing is at the core of all of this malignment.
Thankyou. I will check it out.
To me the most remarkable thing about this story is that the KGB was apparently stymied for an extended period by the fact that Filatov had a "difficult" lock of "foreign origin" on his apartment door, to the extent that they had to steal and copy a key carried by his wife using an elaborate setup. It seems odd that an agency known for its skilled spycraft apparently was unable to pick a door lock.
GM didn't invest 2 billion. GM got 2 billion in stock, 700 million in cash and a bunch of other stuff mentioned here for the deal: https://news.ycombinator.com/item?id=24546221
Thanks for the feedback, paired with my other reply below, I'll be working on the presentation soon. I'm not a fan of the Bootstrap "jumbotron" for the banners myself either so I'll look for something else.
I am using a 2013 MacBook Pro as my daily driver, hosting Zoom classes, etc. It works fantastically. And I will sell it on eBay next year for a few hundred bucks and buy a 2021 MacBook. They are fantastic pieces of technology apart from the recent keyboard issue.
Facebook's Climate of Denial
Is Mozilla trying to monetize anything? I can understand that they need to cut costs, but the other side of the coin is bringing in revenue.
No, it wasn’t in the case of the 737 Max.
I agree, I've always gotten frustrated when people say "but it's mostly used for games so it's not useful", acting like games don't have huge R&D potential.

Games give a relatively straightforward "pass-fail" criteria to test out new tech. Instead of a nebulous "does this tech directly help people", it's much easier (and more objective) to say "can I get this graphics API to push N fps to make the gameplay more pleasant?". Virtually any time I learn a new programming language or toolkit, the one of the first projects I do to get my grips with it is usually a simple 2D platformer just to stress out edge cases. Is this 'useful'? Not immediately, but it is useful for me to have learned how to code well enough to make a game perform well.

It's not like these optimizations and tools can't be useful for other things after they're developed for games; Unity was primarily made for games but I have friends who use it for developing "useful" iPhone apps now.

If the technology for VR gets good enough (and cheap enough) to get into the hands of the average gamer, I cannot see how that won't be a net win for people with disabilities in the long-run.
Show HN: A small RISC-V Virtual Machine
Or you could say, security by obscurity is one of the layers of their defence in depth strategy.

Edit: I believe you are implying that they used “security by obscurity” incorrecty, which I don’t believe they did. If I read that wrong, my bad!
Well, every ad-driven revenue model is at odds with privacy. There is zero chance that Google is going to support any privacy measure that will block themselves from spying on users. Google not only wants all your data to reside on their servers so they can mine it, but they're actively setting up tollbooths on the internet to take a cut from every online transaction. "Oh hey you Googled Tylers Texas BBQ, that must mean Google should get a cut from the order". Frankly its a bit scary that people honestly (and I truly believe you to be honest) believe Google could be a "most ethical" company.
Ask HN: Tips for citizen dev's and non-software professionals
This might be a controversial topic with very different opinions, but what are some tips and trick for people who write code in a work setting, but are not trained software professionals?

To give an example: I wrote a lot of automation for a bunch of analysis that run on a daily/weekly basis. I always try to do as much as possible in our data warehouse, but some things just cannot be done there, so I had to resort to excel until now. This requirement has changed now. I do not have deep domain knowledge, but I have a pretty good idea what the things I implemented are doing, so that is not a problem.

My goal over the next couple of weeks is to rewrite most of my automation without excel. I have access to a C# compiler (Shipped with windows - up to C# 5.0 ), PowerShell, can probably get some form of local version control from IT and have access to VS Code. I was trying to plan out how to best do it.

What are some things you guys have learned over the years? What are the gotchas?

Edit: I do program a lot in my spare time, so I am not starting from scratch, but I do not come from a CS background.
I've always advocated it (whether you call it security by obscurity or not) simply because most of the scanners will not choose to pick any other port but 22, then systems like DenyHosts will provide higher fidelity about threats and less volume to pour over. Of course, whether you are on 22, 24, 2222, or whatever, you need to properly harden your sshd with certificates, ciphers, removing the unneeded/unsafe configuration parameters, etc., otherwise it just won't matter what port you are on.
I have different experiences. My "lego blocks" are AWS services. Each service is a black box that maintains its API backwards compatible forever. My custom stuff is built around the API and keeps working forever. ( * ) In my view AWS has been very successful in maintaining this backwards compatible model even when they often add new features to services.

There are sometimes edge cases that are not possible to implement, but they are rarer and rarer as the service portfolio grows. In those cases the only option is to write your own container and deal with the usual package-level dependency issues in whatever programming language you use.

( * ) The only thing that doesn't work forever is Node.js, which is deprecated every few years and needs to be upgraded to a new major version. I'm looking forward to the possibility of WebAssembly/Deno replacing Node.js as an "evergreen" application platform.
It capturing the minds of youth way faster than .NET did. Package management is an absolute mess on NET too. I was working on a project that had to work with old Mono versions, so it still used packages.config. Behold this mess: https://docs.microsoft.com/en-us/nuget/reference/packages-co...
Pyramids are hard to build without a super-feudal economy and society. But we got rid of that, losing the practical ability to make pyramids in the process, because we value other things like democracy higher.