skysight-inc/HackerNews huggingface dataset:
Windows 10: If you want a highly secure device, follow these rules, says MS
An autoinstaller would be nice.

It's difficult to understand the preview. Perhaps a "before/after" compassion would be nice.

Also, the text is in German. Probably you will get more people with an English version. [Hi from Argentina.] How do you change the language? Does it use the current system language?
Don't forget the overhead that comes with the ORM framework as well.

I happen to be of the opinion that ORMs are good for prototyping and very small data models and one-off type projects but not for big leagues, production ready code. For that I would do as you describe and build my own data connector.
> The last two options are not idiomatic Go.

Who are the authors of https://golang.org/pkg/io again?

Yeah, 90% of Go devs agree with you.

10% think it is a really great idea.

So you can never be sure without reading the documentation.
Real-time GPU texture-mapped vector glyphs
There has been no shortage of studies and reports on the damage social media is doing society, especially to the young. Though I'm glad to see a movement forming against it, it's sad and somewhat pathetic that the conversation is hinging on the refusal to accept election defeat by one half of the electorate.

Those involved in developing, expanding, etc. social media know what they're complicit in and it extends far beyond, and is far worse, than simply having some moron elected.
I did something like this for my desks at home and work. I don't have room to mount it on the wall at either location, so I purchased a decent sized piece of acrylic, sanded down the edges to round them, then placed rubber feet on the bottom. It works really well. Especially if you work in an desk farm without a lot of wall room. I like having the flat surface to write on and it doesn't moved around a lot. I had a glass one prior which was much nicer to write one. However, someone stepped on it and the glass couldn't handle the pressure with the feet raising it up a bit. The acrylic is more flexible and doesn't have that problem.
I won't dispute the main point of the article but a couple minor errors bug me. First, he kept referring to a Gaussian distribution as being the unit sphere, when of course the radius depends upon the parameters of the Gaussian (the standard deviation). If not, then it wouldn't be invariant under which units you chose. A bizarre mistake to repeat many times throughout the article.

Less importantly, the last paragraph says that the probability that two samples are orthogonal is "very high". Being precisely orthogonal is technically a probability zero event. There author means "very close to orthogonal."

There was a good discussion about this problem in the context of Monte Carlo simulations in (1).

(1) https://arxiv.org/abs/1701.02434
It’s there, pick Customise from the menu and drag the RSS icon into the bar. But they’re not interested in actively working on it – suggested features like hiding it instead of greying it out based on feed presence are closed due to a lack of interest. I think ideally they’re want it to be an extension.
Carver Mead: My First Chip and Physics of Moore's Law
Softbank and Bezos backed vertical farm startup has global expansion plans
I fell victim to that once with Meteor. Never again.
EU-NATO hybrid threat center launched in Finland
I don't think I am, if we're forced to choose between "Evils" then I will choose the "evil" more aligned with my best interests. You didn't originally ask which of those companies was more virtuous merely why one would choose Google over Facebook, I would choose Google because its core business model revolves around helping me, Facebooks core business model revolves around entertaining me.

Not that I think either company is actually evil obviously.
Weta Workshop – Blade Runner 2049
Yep. Any CEO leading in a shrinking market would still say there lies "a great opportunity ahead"
You can still play with a cheap ball. And in case of emergency you can fashion a ball out of a bunch of old socks. Soccer can be very flexible :)
>> Most of the time, it's not the actual generator that fails.

In our case, we had a generator run out of fuel. Another time we had one have the battery die (they're started by batteries just like a car engine)
Adobe AIR applications installers stopped working after 30 october
Developers who think that launching a successful startup involves just writing a bunch of code and then the money will come flooding in. With the exception of a few outliers this is simply not true, you need marketing, business development, support, netwoking, accounting.

Speaking as a developer who believed this myself for too long
Nobody will argue that youtube haven't enabled people to get exposure, or on the immense effect youtube had on culture/business/marketing/etc...

The question is about jobs. how many people can live full-time from making content for youtube ? What's the share of people who succeed in that ? How stable is their job ?

And i don't mean to be blunt, but really, to answer those questions, only data can help.
I guess you could just skip over Rails-6 and go from Rails-5 to Rails-7. Windows 8 went straight to Windows 10.

The idea is that backwards incompatibility should cause a name change, so really any untaken name would do, e.g. Rails-McTavish, Rails-Ocelot, Rails-馄, Rails-0x389, Rails-3.14159, ...
Show HN: Tool for Apple Receipt Validation
This is a an interesting way of doing text search over a collection of documents, that I suppose makes sense if you only have a small number of documents to search.

Generally, an inverted index [1] is used rather than a trie, and collection-based term weights are calculated using something like IDF [2]. You could then use something like cosine to compute length normalised rankings for documents.

There are of course many different approaches to text search, but this is the first time I've personally come across this one.

If anyone is interested in an in depth look at how text search works, an Introduction to Information Retrieval [3] is available for free and is a fantastic book.

[1] https://en.wikipedia.org/wiki/Inverted_index

[2] https://en.wikipedia.org/wiki/Tf%E2%80%93idf

[3] https://nlp.stanford.edu/IR-book/
newsbeuter is an excellent, feature rich, RSS/Atom reader for the terminal.

This is how I've read HN for ages.

http://www.newsbeuter.org/index.html
Too true.
Active Management Technology is the backdoor that's sold as a feature.

> https://en.wikipedia.org/wiki/Intel_Active_Management_Techno...

Not innocuous, but probably less dangerous.
10 years of love for Emacs undone by a week of VSCode
You're making the mistake of thinking that Facebook's dominion ends when you close the facebook.com tab.

- Facebook is tracking you over the whole web, building shadow profiles on everybody [1]

- Facebook is known to have conducted illegal and unethical experiments on manipulating people's emotions via the timeline. Let that sink in for a moment [2]

- Facebook is known to have had a partnership with Disqus for tracking users [3]

- Facebook is buying and aggregating user data from data brokers [4]

- Facebook now harvests the data of WhatsApp users as well, in spite of the app's original privacy policy [5]

- Facebook already knows your friends because it knows their address book [6]

- Facebook's tracking through Like buttons all across the web is violating EU law [7]

- Any of your friends can give Facebook access to your data [8]

We can go on btw, the web is filled with details of their past transgressions. I have no doubts about this — Facebook is one of the most immoral companies to have ever existed and time will prove me right.

And yes, Google has a lot of potential for abuse, but they haven't fucked up so badly yet. We don't need to guess how they compare, the evidence is right there.

[1] https://spideroak.com/articles/facebook-shadow-profiles-a-pr...

[2] https://www.theguardian.com/technology/2014/jul/06/we-should...

[3] https://blog.dantup.com/2017/01/visiting-a-site-that-uses-di...

[4] https://www.propublica.org/article/facebook-doesnt-tell-user...

[5] https://www.theguardian.com/technology/2016/aug/25/whatsapp-...

[6] http://users.livejournal.com/joshua-/61105.html

[7] https://www.theguardian.com/technology/2015/mar/31/facebook-...

[8] https://spectrum.ieee.org/podcast/telecom/internet/stalking-...
as usual, if you think it's fun/interesting and something you'd like to do more in the future - go for it, there's more resources now than ever.

if you couldn't care less and just want to be able to earn your bread - AI won't take your bread unless you're an uber driver or a customer support employee
You know what you can do with an immutable log? You can rewrite it. Then ditch the old version. It’s like git. You can rebase. This blog seems to confuse people being dumb or in the process of learning with bad architectural choices. Just because the person this blogger spoke to couldn’t come up with an answer, doesn’t mean ES is bad or wrong. ES is liberating.

Posts like this advocate a mentality that leads to people using Django or Rails for apps where these tools are not long-term good fits. It’s better, I think, if people spent a bit of their lives learning how to build architectures beyond tools like Django and Rails, because these tools are actually really limiting, not just in terms of theoretical things like scaling but practically in terms of what they can express. There’s a very common ethos that if people just focused on shipping they would somehow magically ship but that’s not how software works. You can’t just will shipping. You need to know what you’re doing. And we advocate every job be a rush job, for the sake of what? Shipping something that likely has no chance anyway?

This blog also talks about CQRS and ES like they’re more complicated than “traditional” approaches. But that’s only true if you don’t know how to work them. Once you learn how to have a database that’s inside out, you never want to go back. Once you use kubernetes, you never want to go back. CQRS/ES/kubernetes are the things I intuitively wanted since I was a kid learning how to build things. I couldn’t have explained then what made it hard, but it was the absense of these tools and approaches which make managing complexity much easier.
I’ve been talking about the problems with tech-driven architecture for years.

I would simplify this entire discussion by saying…

“When you create distance from code to business processes, the less effective and maintainable your architecture and software development becomes.”

I have always argued that your stakeholders should be able read your code, understand your architecture as an automated view of their world.

Any abstraction away from that perspective is self-serving, tech-driven, and bad for the business.

Agile project management isn’t about unit tests and CICD. It’s about removing the gap between the business and its software development.

I appreciate SOLID principals and use various patterns, but my number one rule is we should never build something that does directly equate to a business process.

ORM’s hide business processes. Complex abstract frameworks hide business processes.

We need to stop doing that.
I'm guessing the mind likes a change of context even if it's doing basically the same thing.
But you still need to fill out a form to get pricing!
I whipped this little tool together because I'm often using curl or postman to debug App Store receipts and having a standing tool was just easier.
> Windows 8 went straight to Windows 10.

The alleged reason for skipping windows 9: many software packages were checking for older Windows versions (namely 95/98) by checking if the Windows version string starts with "Windows 9"

https://www.reddit.com/r/technology/comments/2hwlrk/new_wind...
You lost me at ROM..
It's misleading here because it has nothing really to do with Alibaba or Amazon; of course there are differences in cost of living in the USA and China, the interesting figure here is online spending, or luxury spending, etc.
Lots of things are done because there's a broad consensus opinion that it's a good idea. There is nothing intrinsically bad about that, and needless or baseless skepticism is often counterproductive and paralyzing, leading to inaction even in the face of widespread consensus.

What leads to failures, and I suspect happened at Intel, was that they mistook a very localized consensus for a broader one. There's a word for this, it's called "groupthink". A group of people can talk themselves into doing something very stupid (or evil) while still thinking they're doing the right thing, given enough time and motivation.

There was no widespread consensus, outside of Intel, that the IME was a good idea. If they had solicited opinions from outside their organization, they would doubtless have gotten horrified reactions. But they didn't, or if they did they must have dismissed those concerns, because they went through with the bad idea anyway.

The apparent secrecy with which they developed the IME is also a cause for alarm; groups of people who operate in isolation are particularly prone to groupthink, and so even if their motivations are good ones, the fact that they are working without continuous feedback from anyone on the outside raises the chances of a perverse outcome.
> There was a good discussion about this problem in the context of Monte Carlo simulations in (1).

There was some discussion here about that paper a few months ago:

https://news.ycombinator.com/item?id=13750621
You're right: this type of thing could be an issue. This is one of the motivations for package naming in the spirit of Java: Packages are prefixed so such collisions don't happen. Not all module systems have this type of namespacing, or at least take advantage of it.
This is a bad situation, you could have made a number of AIR apps and now suddenly you get reports that installers stop working, with a generic error message, after testing and trying some workarounds you find the issue on google and the details are missing, you do not know how and why is this thing even possible.
Side project marketing is the new king
You cannot compare Slackware 2.0 with the current version (14.2). Setup is way easier today.
One problem with modeling workflows as dags is how to come up with reasonable ways to express common control flow elements. That said, for the parts of processes that are dependency trees they are the right fit.
ORMs promised to make things simpler, and were considered 'best practice' for a long time. I used them myself for several years, mainly NHinernate and Entity Framework.

But on every project I'd spend a lot of time fighting with it, trying to bend it to my will. It's invariably difficult to create mappings with any complexity, such as composite keys. And the queries they generate are usually inefficient monstrosities.

I discovered CQRS and micro-ORMs a few years ago, and with few exceptions, I haven't looked back!
The most obvious change I have noticed is that they are far more aggressive about dropping terms from the query. I don't this has ever produced a useful result for me, I always have to go back to the search and add quotes around the dropped term.
The point is that is exactly the opposite of what it does. It shows you more of the stuff you like and ends up creating filter bubbles. This aspect of FB is a big part of what people point to when looking at it's impact on the election and polarization of the US.
> Women actually do touch men without permission and so forth, but of course this is not seen as trespassing.

Speaking personally, it's quite annoying but "what can you do?"

It's like being a woman in the 70s. Men would touch you without permission, but you couldn't say anything even if you didn't like it because it'd ruin your reputation as an approachable and polite person.

Men are in the same conundrum. Many do not like the status quo, but speaking out against it would mark you as someone who "hates women" in the same way decades ago, speaking out against unwanted attention would mark a woman as being a "man hater".
Though of course 'th' should be replace by 'y' not 'x', which has historic precedent.
Trump is an anamoly

That's the point; he's not. His approval rating is 38% which is historically low, but that still means that tens of millions of Americans like what he's doing. If you don't know any of them, that says more about you and your bubble than him. (That applies to me as well; of all the people I know I'd be surprised if more than 5% approved of Trump).

I suspect that a lot of the reason there seems to be indication of increased tribalism is because of him

I suspect it's largely the reverse. "Progressives" were rioting over Halloween costumes and the alt-right was making racist memes well before Trump came on the stage, and that's possibly because Facebook and other social media made it easier for them to organize.
C++ compile times are huge for many reasons, but templates are only one of them. And note that templates aren't the same thing as generics.

Java has near-instant compile times and has generics. Likewise for Kotlin. Generics don't have to mean slow compiles.
Cats and Kittens Meowing Song – Star Wars Imperial March
But the low quality audience for this device is likely incapable of doing such a thing. Now, a company with questionable ethics could facilitate this for clients...
> "Facebook’s vertiginous rise from “Hot or Not” knockoff to extra-governmental digital nation-state has alarmed a growing number of its original architects. “They look at the role Facebook now plays in society, and how Russia used it during the election to elect Trump, and they have this sort of ‘Oh my God, what have I done’ moment,” one early employee told my colleague Nick Bilton last month."

I read no further.

First, yes someone ran some ads, but to what end? Where they actually effective? Of the people who we fed said ads how many noticed them? Where of age to vote? Where real people not bots? AND changed their vote?

Where is the data that supports Russia elected Trump? Where?

Do I believe FB (and all - tech - companies) should be aware of the unintended of its products? Of course. Shiney and new is not a free pass on - moral, ethical and/or social - responsibility.

I'm not a Trump supporter. He'll be gone soon enough. However the incompetence and Orwellian habits of the mainstream media will remain. That should be a major concern for everyone.
My MacBook Pro keyboard would get stuck and behave erratically, and when I finally took the laptop to the Apple Store they also found out that the batter was damaged. They're replacing the whole top case.

I keep my keyboard very clean, but it's so shallow that even dust can mess up the keys. No idea what was wrong with the battery, they just said it didn't pass their tests.

I'm selling the laptop while it's still under warranty.

One would think EUR1800 are enough to buy a laptop that you can actually use because the keyboard works, but Apple don't agree.
This is great advice. We do something similar with a terminal device running Linux which gets you a multi monitor Windows 7 session. Want to move? Lock your session and log in at another desk and you’re back in business. We provide this for thousands of employees, both on site and working from home.
I agree with the gist of the article in the sense that these patterns (and software architecture patterns in general) are often misapplied.

The first two items in the list at the start of the article have come up where I work recently, in fact, with no good technical justification behind them.

This in particular is something I wish developers (I've stopped calling these folks "engineers"--they aren't, and likely never will be) would read and internalize:

> It’s important to understand why Google take decisions in the way they do. However, most of their problems don’t apply to anyone else, and therefore many of the solutions may or may not be appropriate.

Substitute Netflix, Amazon, Twitter, LinkedIn, or any other "big name" company that operates at very large scale in for "Google".

The importance of the "why" resides in the ability to compare the business needs to the reasons Google (et al) did what they did: if the business need isn't similar, it almost certainly isn't necessary to do it "the Google way".

The author is also right about the cause: it's developers always chasing the newest toys. There is a reinforcement effect at work, because these same developers conduct interviews, so there's this seemingly never ending treadmill or "keeping up with the Joneses" effect.
How Mueller and President Trump Are Pulling the Biggest Sting in History
I think this comment is a succinct view of the problem. Unfortunately there does not seem to be any easy solution to this problem.

Part of the problem is most interviewers out there do not check what the interviewee is good at. Instead they check whether the candidate knows what I know. If not, does (s)he knows the "flavor of the year" technology which I want to be used at my company.
Fundamentally its about a lack of qualified professionals that are willing to think through their application in detail.
As a by product people slavishly follow concepts and ideologies as opposed to thinking through which concepts actually apply to their current use case. People can't be fucked to do that.
In their minds a simple "this good, that bad" construct pops into their heads. "Waterfall bad, agile good" without asking themselves what the trade-offs of either pattern provide.

I'm currently living on the flip side of this article. A company that decided to give their clients the ability to have a completely free schema for their data backed by a real-time CRUD architecture which follows an EAV pattern so every column value is represented by a database row. Its inherently flexible but it doesn't scale. What would be a single row select in any "sane" database retrieval routine is a multi-row and multi-table join on ridiculously tall tables.

Nobody thought through the implications of providing the customer with that free schema and nobody ever closed the loop on that problem set. Ideas like CQRS (who the fuck named that pattern so awfully btw?) or even things like NoSql would be preferable to the architecture but they're somewhat slaves to the notion of ORMs and RDBMS. As a product, we try to spin on a dime and an optimisation for client A's infrastructure will result in a detriment to client B.

Staff remain convinced that its an issue with the transport protocol chosen or ORM used but really its a problem with the feature set we chose to offer and failing to architect the solution to that problem created by our feature into the project.
Mirror: https://web.archive.org/web/20171108150109/https://headmelte...
Security in the real world is about risk analysis. In broad form, if the risk of the breach and pad publicity times the cost said breach is less than the cost of redesigning a working tool (or implementing any other fix), then you don't do it.
Rock 'N' Roll's Native American Roots
> NPM for Node.js defaults to version tagged "latest". Again, if you go with the default version your project is liable to go boom at some future date.

I don't understand this criticism. The "default" in NPM is to use `npm install --save`, which adds the version of the package it installs to your `package.json` so future uses of `npm install` will automatically use a semver compatible version of that package.
Facebook is like Oracle of my generation. As their products fades out of mainstream, they just buy next big thing and keep the ball rolling.
Equivalent of Django would be something like Spring Boot, Play Framework etc.

It's quite common that some of these frameworks rely on community infrastructure that has several competing implementations, like JPA, but the point of a tool like Boot is that they picked all the implementations for you and documented it all centrally.
Digital nomad program with fewest Americans?
Which digital nomad program has the fewest Americans?
and that is exactly like Perl 5 versions are, nowadays... "5.22.1" is "perl 5 version 22, patch release 1"