skysight-inc/HackerNews huggingface dataset:
If you’re the one implementing the functions (or even if you’re not), there are tools such as pgtap that can help you with testing. I’ve used pgtap successful on a number of projects. There’s also no reason you can’t test the behavior of functions through a driver in some other language, though you’re now one step removed.

I’m not aware of any coverage tools, though it’s been a while since I’ve looked.

https://pgtap.org/
> To those who would say "that's obvious; of course you learn vim incrementally", I would simply say that having spoken to a number of vim users in the past, I never got that advice. Instead, I got a lot of advice about turning off my arrow keys, disallowing the use of the mouse, and learning the (MORE EFFICIENT!!!) vim ways to do everything, all at once

Ugh, this.

Arrow keys have been invented for a reason, they're good and intuitive and there's absolutely nothing wrong with using them. Same with the mouse.

The "pure" VIM ways are more efficient than ed. They're maybe more efficient some 10% of times you actually need some specific thing. But they're not better than a visual editor.
It could just be something more pedestrian like not yet being able to handle database changes well for deployments. Things like blue/green, canary, reverting, etc. It's a bit of work to get that functioning well.
What argument? The original commentator simply displays a deep misunderstanding of what feminism is about.

Feminism (in this case) is being able to pose naked as a woman, in the same way you would be as a man and not being treated any differently for it. Case in point: Most people wouldn't suggest it's anti-masculism if a male was posing naked. So then don't do it with females. There you go, feminism.
FaaS for the Rubyist
the faster the conveyer the longer the oven (most pizza chains have conveyer ovens)
Thanks. Read it now. This is a great article and I laughed out loud several times. RMS is a true eccentric.

Note the footnote:

>> Det skal iøvrigt nævnes, at RMS til daglig bor på sit kontor på Massaschusets Institute of Technology, hvor han engang har arbejdet, så det er måske ikke så mærkeligt, at hans sociale evner er begrænsede.
> Except good chunks did go off and die because they couldn't adapt

People were dying because of famines pretty regularly before the Industrial Revolution. I don't know which number of deaths was greater.
> Facebook is nothing compared to the depression I get from being constantly downvoted here simply by having an opinion that doesn't resonate with the norm.

Well, a particular orange website has a audience that appeals to opinions from liberal tech folks. I couldn't care less about if they agree / disagree with my opinions. They are free to do so, which I support.

What's worse is the censoring, shadow-banning, flagging of genuine posts or opinions on these social networks including the orange site that really ruins the discussion and distorts the situation.

As soon as you see that trying to please everyone + looking at everyone's updates is an eternal race to the bottom, then social media gradually becomes irrelevant to you.
Ah - they're are two types of generated columns

> There are two kinds of generated columns: stored and virtual. A stored generated column is computed when it is written (inserted or updated) and occupies storage as if it were a normal column. A virtual generated column occupies no storage and is computed when it is read. Thus, a virtual generated column is similar to a view and a stored generated column is similar to a materialized view (except that it is always updated automatically).

https://www.postgresql.org/docs/12/ddl-generated-columns.htm...
so this remains the threat of several decades ago (i.e. chatbots are not new) of losing customer services jobs to human pastiches?
Is this something new or just a continuation of self-service checkouts and automated payment options?

I still feel like there are many human-contact roles where an AI isn't going to cut it.
That is correct. However, I still prefer using union types so that I'm not locked in to TypeScript.

By using only union types as "enums" and never using enums or namespaces, I guarantee that all the TS-specific code I write can be erased and if I ever were to use just JavaScript in the future, I could.

Also, I use Babel to transpile TS to ES3.
you're already cheating when you compare ancient vs modern methods of production.

technologies are basically extensions of human capabilities in reified form. so if you choose a method of production that relies heavily on advanced technologies, of course it's going to seem very impressive in comparison.

you personally might feel like a genius because you figured out how to piece together stackoverflow answers, bits of libraries, and algorithms that someone else wrote, but it doesn't actually mean that you're a genius. it just means that you have access to tools that augment your memory, your reasoning, and other abilities.
To me the problem arise when you start debating an issue, for example: "should people using twitch/IG/FB for soft-core porn be allowed ?", and the only argument for it is "you can't tell me what to do because it's misogynistic".

Feminism degenerated in that weird shapeless notion that many people use to justify very arguable things as "it's just feminism mate, stop being oppressive". It's very hard to tell if someone is really supporting women rights or hiding behind it for personal interests, especially when money is at stake. At the end of the day you draw the line where you want, exposing yourself online for ad money doesn't rank very high on my scale, no matter the gender, and you'll be hard pressed to convince me it helps the women's cause.

> If women doing whatever they want ...

This is what 6 years old kids want, you're supposed to grow out of the "let me do whatever I want and never judge me" mentality. As soon as you willingly expose yourself online you give away your "don't judge me" card.
I'm curious how well he understands the trend with Facebook. Anecdotal, but all the young people I know via my kids either don't use FB at all, or only maintain an account to share things with their "old" relatives.

His other platforms don't seem to have the same level of deep data collection and manipulation capability FB does.
Wikipedia: A Waifu is an illustrated female character from an anime or any non-live action media in which an individual becomes sexually attracted to.

Yes, I am getting old.
> we don't really see religion as fundamental to personhood

In saying this, you are doing exactly the thing that I've been called a bigot for. You've excluded me from "we" because I do see religion as fundamental to my identity. In fact my identify is first and foremost defined by the my maker and redeemer. If the God who made the very material from which I am made and breathed breath into my body isn't allowed to be a core part of my identity, then what is? Just because you believe I'm wrong about those facts doesn't give you the right to force me to affirm your view of them.
Well, what about the rockstar junior devs who whipped fully functional applications who are later humbled with experiences and cringes at their previously ego-maniacally written code? I was one, and I wouldn't say I was aware of my mistakes, I definitely believed my code was superior (early 20s at the time)
I did and even though I'm forever in love with both Rebol and Red, Racket does languages in a more fun way and powerful way for my own personal taste. Don't know if you have checked this book out but https://beautifulracket.com/ is a wonderful introduction for building languages with Racket.
Make a function ?
Facebook did it wrong, they should have created a Facebook Giftcard redeemable for facebook balance like Amazon have done, achieving same goals and not ending up on radar of goverments.
> what do we expect them to do? Tell the office manager that her beautiful design had to be screwed with just because of some senior engineer doesn't fit there?

Yes. Literally that. Seriously. I ruined my hearing sitting in a server room for a year when I was younger. Don't fuck up your body for any company, you will regret it.

Also most countries have accessibility legislation of some sort. It's not just for "disabled" people, this sort of thing is normally explicitly part of it.
I have made a substantial rewrite to my post, including adding some context to explain why I used that poem.
I'm not a db-engine expert, but if I'd have to write this functionality myself, I'd perform the computation only when any of the involved columns change, not on every read.

EDIT: sorry, I read your comment on the opposite way. I see we are saying the exact same thing :)
Why It’s Hard for Startups to Create Wealth in Europe
Humanity's emissions '100-times greater' than volcanoes
Yang is advocating on their behalf, even if they don’t know what’s coming.
> False confidence may be the route to happiness or at least optimism.

For many indeed this leads to some kind of 'happiness'. Buffering our inabilities with lying to ourselves about it. Why did we never learn to be truly happy while being average or even below average. Why did we never learn to tame the ego? It's a curse for life.
i wonder what the actual treatment feels like and what else the tech can be applied to.
I think that Beamer is way older than 2012. I first used it around 2005 when I was learning LaTeX for the first time and wanted to use it for everything, incl. presentations.
Why It’s So Hard to Build Offshore Wind Power in the U.S.
Ask HN: Do you discuss work with coworkers?
I've been at my latest job for a little over 2 years. The biggest distinction about this one over others is that no one talks about work or the product in or out of work. Everyone is off in their own corner. Even the people that are on the same team as me barely ever discuss work or programming related topics.

This is bizarre to me because when I hang out with friends and former coworkers we can't help but touch on programming and work in some way.

Is this situation common? Is this a red flag of sorts?
Viral Audio Against Narendra Modi
Decades-old code is putting millions of critical devices at risk
The challenge is not to build a machine that makes pizzas but more:

- individual toppings

- small enough to fit in a pizza shop

- not too expensive

everything else seems solved by frozen pizza manufacturers (though there is a suprising ammount of hand-tossing ingridients involved, morzarella seems to be especially hard :) ) https://youtu.be/DTnevo7XPqA?t=90
You're correct now, but it wasnt officially supported until quite recentlish. I remember reading last year on the official website that the server executing the playbook should be using python 2

And some features such as redis cache were broken on python 3
Thanks, I hope I didn't ruin it just now with all the copy-editing ;-)
France Wants to Harvest Facebook Data to Catch Tax Fraudsters
My office mates audibly fart throughout the day and act like it's normal. Pretty sure it's not.
Location: Fairmont, WV, USA
Remote: Yes (preferred)

Willing to relocate: Unlikely

Technologies: PHP/Laravel - JavaScript - CSS/Bootstrap - SQL (MariaDB/MySQL) - HTML - I'll learn anything. I pick up things rather quickly and love expanding my technical knowledge.

Résumé/CV: https://www.linkedin.com/in/cheveedodd/

Email: cheveedodd@gmail.com

I've been doing full-stack stuff for about 4 years now. I was a SysAdmin before that on Windows domains. I got into software because I had customers that needed specific solutions they weren't finding elsewhere. Decided I could do it myself, so I did. It's been great. I work in higher ed and K-12 delivering management and reporting systems to universities and school districts.
Unfortunately, many promising studies and early trials don't pan out once large-scale trials get underway.
Impartial view here, not entirely sure where I fall on free speech:

You've concluded that the absolute morality expressed by public consciousness should be the arbiter of publicly expressible speech. Maybe the next thing that gets people killed is not allowing public discourse to challenge socially accepted, morally unacceptable beliefs.
Big enough for those companies to stay in business.
How to Set Your Google Data to Self-Destruct
Considering how murky the definitions are, it's ridiculous to say that ML has no future but data science is a predictable career path.
Just as a side note, but I wouldn't in any way idealize the manufacturing jobs that were lost. A lot of them were so horrible that the new hires quit in the first day (often just not coming back from a break). I'd probably prefer to be an Uber driver than to work in a car factory.
Init is executed before modules start being loaded.
The standard was quite ok, until the version 7 disagreement of what should be actually in.
Thanks, but I'd still rather buy AMD since they actually offer competition. I fear that if I buy Intel now, I'm basically saying to them that they can pull whatever shenanigans they like and they're still untouchable.
They basically have PEG-kind of parser built into the language allowing you to execute arbitrary code up to modifying the parsing rules themselves.

Here's small shell dialect I made while learning it: https://gitlab.com/maxvel/red-shell-dialect/blob/master/shel...

So you can do things like

shell/run [cat %/etc/passwd | grep {root} > myvar]

where both `cat` and `grep` can be either shell commands or Red functions and you can redirect input/output from/to variables as well as files. Also you can mixin Red data types, like in example here `%/etc/passwd` is a file instance, not a string.

Also the language itself heavily utilizes this (called Parse dialog) for example they don't have regular expressions at all, JSON is parsed using it as well, GUI system is a fully separate dialog and so on.
According to the Gita, there is a fundamental difference between “real” ego and what it defines as the “false” ego. Real ego is our very essence, the consciousness that makes us aware and awake to reality. The false ego is a false identity crafted to preserve the sense of being the most significant and the most important all the time. In short, it is a narcissistic search for being loved, validated and appreciated. This is what we generally refer to as the ego. The Gita further describes the subtleties of the ego and how it manifests moment to moment in our thoughts, words and deeds.

The concept seems to be stretched too far when we first read about it. But when we honestly study our own lives, we can clearly isolate various episodes of how this tendency manifests itself in our personality, either covertly or explicitly. The events can range from simple conversations on which football team is the best to intense debates in boardrooms on the next important decision for the organization. What’s worse is that the ego blinds us from seeing its own ploy, the ultimate of which is rationalized excuses for avoiding honest introspection and admittance.
Modern problems require modern solutions.

One way to gradually lessen your facebook usage is to use this addon (chrome version available on the chrome web store).

https://addons.mozilla.org/en-GB/firefox/addon/news-feed-era...

I think most people have been conditioned to keep themselves plugged in so to speak, gradually minimizing interactions rather than going cold turkey may prove more effective at re-framing your perspective.
I would agree. SQL is absolutely beautiful in its simplicity imo. I learned SQL along side my first imperative programming language, so I guess I’m significantly biased, but I think it’s the easiest language I’ve ever learned. The best part is, if you spend enough time writing SQL, you end up learning quite a bit about how databases, data structures, and the time complexity of query execution all works. Which is all incredibly valuable for just about any programmer.

I also love ORMs. But perhaps my knowledge of SQL has enhanced my ability to use them well. Without them you end up with numerous other problems which I’d consider worse than the occasional compromises ORMs require. Ideally you want all your business logic in one place, or at least in discrete units, so the fragmentation of stored procedures is a major downside. Embedding SQL directly into other business logic is like and uglier version of an FFI, and serializing SQL statements is even more of a security concern than marshalling FFIs (something that can already be a bit of a footgun).

I’d recommend any engineer to learn SQL, but for people who use ORMs a lot already, I’d suggest to start with understanding explain plans first.
Do you think I am unfit to moderate the specific site and community I was appointed (and later elected) to moderate? Does any of my history indicate that I did a bad job of that? Has any of my history on any other site on the network been offensive or been disrespectful even when I disagreed?

Or are you just happy to see less platform space given to belief systems that differ from your own?
siadstecher@gmail.com
Chippewa Falls Marks Seymour Cray's Birth
I think this is a poor example for the pro-regulation argument; it's a more or less classical market where competition drives innovation, but the cost of entry is very high.

The only applicable regulation I can think of might be "dual sourcing".
Here in Greece Souvlaki is the most common form of fast food. Its creation can be completely automated very easily.

Lots of Greek people work in the fast food industry in Greece; they are in for a big surprise in the near future.
Here's the research article: https://content.iospress.com/articles/journal-of-alzheimers-...
I think the thrust of the question is: why can't TypeScript automatically infer the assertion, rather than needing to write out a special annotation on the function?
Hong Kong: sit-in staged at school of teenager shot by 'trigger-happy' police
Agreed. As soon as I saw "Krazy Glue" (which just sounds American) I assumed all other product listings would be US-centric, and it appears they are.

Not too difficult to find alternatives available in the UK/EU (Amazon.co.uk sells some US glue brands, it seems) but it would be nice to have country-specific listings on this website to avoid the searching process.
Location: Warsaw, Poland

Remote: Yes, definitely yes

Willing to relocate: Not immediately

Technologies: Python, Java, databases (T-SQL/MS SQL Server; PL/SQL; NoSQL too)

Résumé/CV: Upon request

Email: rkop+cv[at]protonmail.com

I'm a junior developer with almost a year of professional experience in Java and database administration, and more than ten years of tinkering with various technologies on my own (including webdev, gamedev, Android development and minor freelance work). So, as a self-taught developer, I'm capable and more than willing to learn new things rapidly. Currently I'm interested in Python and NLP/AI, but I'm open to other options, so feel free to email me.
Thanks for the explanation. I was curious about some more specifics:

- How was the DNS logged?

- Was every query logged, or only unique queries?

- Was it combined with other data?

- How long was it searchable for?

- What were the DNS queries used for? Simply sold to 3rd parties? If so, who was buying?
This JSON plucking is also much easier now with the json path expressions coming up in v12!
The New Realities of Work and Retirement
I don't know. I think not everything a large company does necessarily immediately pays for itself. Also, Google overall benefits when people use the web more.
Do you mean an application layer function, or a dB one? And if a dB one, you also need to create an index to go with it. And then there are dragons that you don’t need in life. If an application one, then people need to know to call it, so, yeah.

I know there are things you can do, but having better tools available is always a win (especially when they remove later maintenance from the equation).
I'm using firefox on android, but the problem is here:

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Storing cookies requires internet users’ active consent [pdf]
I mean, reading his comments, it sounds like he has a pretty good handle on it? I'm not sure the article makes the point its headline is promising here.
The thing is, if you were a user of multiple different UNIX systems the previous century, it was much the same - vi was the only editor installed out of the box on all of Solaris, BSD, Tru64, AIX, HP-UX, Linux etc. So if you were frequently moving between them as some of us were, you wouldn't get very far if you didn't know at least the basics of vi.
Is the proposed compensation (100K - 200K + equity + coins) valid also for Berlin / Buenos Aires?
Is it better to be paid by Google?

p.s.: can you provide the source that says that Moglen was "being paid by Oracle"?
We know that in November 2017 you were already working at Google, AKA "being paid by Google".

p.p.s.: You said at the time

> He later released this position publicly with little co-ordination with the FSF, which was used by (Ubuntu creator) Canonical to justify their shipping ZFS (a filesystem developed originally by Sun Microsystems and now owned by Oracle) in a GPL-violating way

And I think you did it to backup your thesis of Moglen "being paid by Oracle".

Fact is you either were wrong or lying, Canonical ships OpenZFS [1], which is not owned by Oracle.

OpenZFS was born after ZFS was releases as CDDL in 2005 by Sun Microsystems as part of OpenSolaris, Oracle bought Sun Microsystems in 2010.

[1] https://ubuntu.com/blog/zfs-is-the-fs-for-containers-in-ubun...
I always thought that was the best feature of scheme. Nobody agrees on anything, except mainly R5RS, keeping it from going down the path of "one implementation for everything, always" that most languages suffer from once they become a little popular. Scheme is one of the very few languages that has resisted accruing a lot of bloat throughout its existence (R6RS never was very popular because of that)

People underestimate the upside of being able to paste any example snippet into your repl and have it work transparently in almost every scheme, without having to worry about libraries or eco-systems.

For anything more exotic, you grab the nearest SRFI and squeeze it around until it works in the scheme you're working with.

Scheme: it's so simple, any subgenius could use it!
> Without ego humanity may not have made it this far.

This far? You mean on the road to our complete extinction due to our incomparable stupidity? I sometimes feel truly ashamed to be a human. It's the ego that ruins it all, we could have been so much further. People should learn to be more humble and reject the desire for authority.