skysight-inc/HackerNews huggingface dataset:
I share this sentiment. I tend to categorize cruft code in two different categories, and in most cases I have encounter both stem mostly from programmer inability rather than time constraints.

The first kind is what I would presume is the most normal one. It undoubtedly shows up if you have unregulated feature growth in a codebase with low feeling of code ownership. Grunt programmers, or drive-by feature development teams shoehorn in new code to fulfill their requirement. This leads to to the normal degenerate codebase, modules are thousands of lines long, functions are hundred of lines of deep staircase like if-statement logic, spaghetti dependencies, promiscuous state-sharing etc. The classic ball of mud.

The second kind of cruft is the one where someone tried to be clever above their ability and created heavy abstractions that are ill fit for the problem at hand. Signs of this are over-usage of complicated language constructs like inheritance, meta-classes, runtime inspection etc. The style can lead to verbose, boilerplate heavy code that overshadow the business logic. I tend in my frustration to call this abstraction wankery.

In the ball of mud-pattern the programmers often lack the ability to properly form the abstractions needed to sort out the mess and they are aware of that, resigning themselves to do trying to fulfill their task at hand without breaking the existing fragile mess. The grunt might be well knowledable in the buisniess domain and has programming as a side skill. The drive-by coder does not have the motivation to understand the whole messy codebase and does the minimal change and tries not to break anything in the process.

The abstraction wankery is driven by other things. Usually a seconds systems effect. The Junior programmer has some code under his belt and is trying to level up his skills, a smooth talking architect with low insight in the business domain is cargo culting some new fad, etc. This kind of style is usually well perceived by management, they hear the buzzwords and it sounds good in their ears. It can take some time until the card house falls, usually a requirement comes that does not fit the abstraction and unexpectedly take exorbitant amount of time to implement, or maybe a deep rooted bug that requires fixes that ripples through the whole codebase.

When the cleaners are finally sent in the big ball of mud can usually be shaped up by incrementally applying the standard refactoring techniques until structure starts to show. The abstraction mess can be much more difficult too clean up. Incremental improvements can be more difficult and sometimes a rewrite of the code is required, leading to a much more noticeable lack of feature velocity than the ball of mud fix.
Exactly. Facebook has to ride the edge of showing people stuff that winds them up enough that they engage, but not so inflammatory that they quit the site or become abusive.
Unfortunately we have by now reached the time where options that aren't mostly done in ten years come too late to prevent catastrophic climate change.
It's sad and odd that Rust and (probably especially) Swift are missing from the article.
I've read that Elon hates mass transit, which is why he's such a car enthusiast. So I don't think he'll be looking to existing solutions for inspiration.
What about one of the companies here like Flexport that might value your industry experience about the processes + issues of freight, but with a different approach to that traditional business? Maybe there could be some combination of operations + support role. I would suggest looking at people who post on these HN boards about Flexport and messaging them directly to help you get an entry / get a chance to explain your background so that your bankruptcy isn't just an automatic blocker at the HR department. I wish you success in your search and hope things get better for you!
Interesting! I wonder why the Line strings blob differs... Maybe it doesn't represent bus stops at all, but points at which the route changes for the purpose of drawing?
> If you hate the direction of this industry, consider paying for shit that you consume

I work at a very large bank. We make money by through account fees and interest charges, but we still do all the sleazy tracking and analytics that you would expect from a company with a you-are-the-product business model. We work closely with ad networks so that we can get demographic data about who our users are. And in return, we share/leak our customers' (anonymized and bracketed) income.

This is now done through first-party tracking, so you won't see it if you look in the network tab in DevTools.

Why do we do this? Because it helps us target our marketing to an individual's demographics. Yes we make money through other ways, but this helps us make even more money. That's how businesses operate, and I don't think that companies like mine are uncommon.

Thinking that paying for shit will let you avoid tracking is like thinking that paying for cable TV will let you avoid ads. Companies will do whatever they can to make an extra buck on top of the money they're already taking from you.

Ad/tracker blockers are useless. Short of creating legislation to stop it, the only way to stop this tracking is to fuck with the data enough that it's no longer worth mining.
The problem is not with forcing strings to be utf-8, the problem is treating filenames as strings.

Filenames are opaque blobs that can be lossily converted to strings for display if you know or can guess at the encoding.
but then... why would my query have matched your query in the cases of 389 and 631?!
How to protect your mental health from social media’s dangers
You're thinking in train terms. There's nowhere near 26 second headway between vehicles in busy tunnels near me - cars enter and exit the road from multiple sides before entering and the headway in the tunnel is much shorter. 30-45 second headway makes sense when your station stops blocks the entrance to the tunnel, which is the norm for rail systems, but not for car tunnels.
No, the underlying flatgraph (which is used to generate the drawing commands) is cached and only updated on first call. Reset it by calling

scene.updateFlatGraph();

after adding new shapes, before updating the graph & rendering

(see https://github.com/metafizzy/zdog/blob/master/js/anchor.js#L...)

edit: made an issue https://github.com/metafizzy/zdog/issues/21
As someone who still uses CFML today (not Adobe ColdFusion but rather a fully open source workalike called Lucee, which runs in the JVM and is licensed as LGPL) I can say that there's a lot I have learned.

I learned that having a poor reputation among the influential opinionists is not a strong indicator of a language's inherent worth. As a language designed to achieve a specific purpose I think it is equal (or superior) to many options with a better reputation, e.g. PHP, Ruby, Python, Jython, Groovy.

I also learned that a language can be substantially improved with small, incremental improvements. Modern CFML has an JavaScript-inspired syntax, objects, closures, lambda, and countless benefits that come from running directly on the JVM.
Natural Homemade Masks
Right, I think the article was saying development is GDP stagnation but increasing quality nonetheless, does that about match your understanding of it?

I still can't really imagine the other scenario because when I see efficiency gains I think they will lead to growth and more energy usage. Examples like "increasing CPU power should have led to faster software, but instead it lead to slower languages and larger software". Same for memory and bandwidth. Our websites keep expanding to fill the next generation of network capacity.

So the gains from efficiency are quickly consumed by increasing growth and energy use. Maybe you could help me imagine some that are not like that? I'd like that.

It's easier for me to imagine the examples like in the article (more fancy dessert, same ingredients) that are there classed as development, distinct from growth. But growth as defined there, with static energy, I can't imagine right now.
One of the points that the author misses this post (but addresses in other places) actually the cost of dealing with waste and entropy.

Even if energy becomes incredibly cheap, there's a certain cost to dealing with waste that for now we haven't baked into economic models (because we could simply throw it away). If energy usage, no matter how cheap, keeps on growing, waste will also keep on growing.
Very cool, and polished. Just what I wanted as an alternative to Anki!
I do think that the "iPad" (tablet compute in general) is the very best case for "visual" interfaces to programming, yes. Although even then, you would have to find some way to keep spaghettification under check! It might also be that the best case there is more of something FORTH-like (albeit with types and other convenience features we do expect these days): minimize syntax, while making the most use of what's ultimately a rather limited input bandwidth.
You contrasted Darwin's view with a religious viewpoint in which no one race is inherently superior to another. I'm saying that in Darwin's viewpoint a race is not inherently superior to another, but it may have variations which render it more adapted to specific environments.
>Would it really be that hard to make a profile of the average European, make a selection of advertisements on that profile and the subject, and serve those statically

Hard, probably not. Profitable also probably not.
Assuming Takeout still works on these suspended accounts, it seems reasonable: just get a full account backup before the three months are up.
Google Maps increases risk of developing Alzheimer's
In all of those benchmarks ruby runs with —jit
Is Messenger getting banned?
Announcements from the SharePoint Virtual Summit 2019
In some instances it's probably cheaper to give money than build buildings, hire staff, etc that cost more money than the dole being given. If we could give 2-3k per month for less than the cost of other handout programs, then why not automate the process of check writing as much as possible and just make it happen?

Though, this must be combined with major healthcare reform (single payer or something akin to Europe/Japan/Canada). If people have food, housing,and medical without fear of losing any of those then they will have less stress. Less stress = less anxiety, anxiety leads to fear, fear leads to the darkside aka crime/suicide/mass-murder then suicide/becoming Donald Trump.
My "extremely patronising" comment was explicitly in response to one specific statement from Boeing. Personally, I would not call Boeing's response "lies"; rather, it seems to me, it is probably being careful to not make any objectively false statements that could come back at them in an inquiry or court of law, while also attempting to imply that its actions always put safety first, and that training cost avoidance was never an overriding concern. My main point here is that, in doing so, Boeing appears to contradict itself in a way that weakens their position on the latter issue.
A lot of temp or contracting jobs are like that. Even for software engineers sometimes. In general, temps or contractors are treated as a lower social class and exploited to a small degree or a large degree.

I really hope they get together a very large lawsuit.

Say they work an extra 8 hours a week, * 1.5 * 25 = 37.5, is $300, * 4 is $1200 wages owed per employee per month. Times 12 months is $14400 per employee per year. Plus 30 days wage waiting time penalty is $18400 per employee. Times 150 employees is $2,760,000. Times three years is $8,280,000.
Nice love letter to my favorite editor.

A couple of observations, though…

> It is installed on virtually every UNIX-like system in the world

It's a vi command that is available "on virtually every UNIX-like system in the world", and that command may be provided by Vim (most Linux distributions and MacOS), nvi (BSDs), a limited reimplementation (BusyBox-based distributions), or the real vi itself (Arch). Even if you actually have Vim by default, the Vim you have is rarely suitable for extensive use so you end up installing a beefier build anyway.

The subset of vi that's common to all those implementations is what's on every UNIX-like system.

> Its modes are insert, normal, visual, search and command mode.

"Normal mode" and "command mode" are synonyms, you meant "command-line mode", you make that mistake again, later. There's no "search mode". Those are the main ones, there are a bunch of others.
Behavioral Ad Targeting Not Paying Off for Publishers, Study Suggests
Can't use ff on linux unfortunately. It has this weird bug where it clicks on the first item automatically if I right click on anything. It's a super annoying bug.
The sort of ~100 page softcover reference book that we were permitted to use in highschool math, physics, and chemistry exams is called around here, literally translated, a book of tables. The term is probably a remnant from a time before pocket calculators when it contained actual trig and log tables. "Book of formulas" would probably be a more apt name nowadays. Not sure if there's a common word for such a thing in English.
Very good point, I'd never considered that!

OK, if you don't pay then money has to be found somewhere for the web to still work[1] which advertising seems to be the only source of. Payment provides that cash thus squelching the need for ads.

If they don't advertise then they don't need to track AFAICS.

If they do start advertising as well as accepting payments for non-advertising, they are going to get spanked by users withdrawing payments, and installing ad-blockers.

I'd prefer to pay, anonymously, but as people clearly won't cos they want free stuff at any cost, advertising will persist. It's a social problem not a technical one.

Anyway, I block all 3rd party ads, which is 99% of them and 100% of the bad crap, and block all JS, with a VM for the rare cases I need it on. Not totally safe but pretty close without actually unplugging.

People complain about ads presumably because they see them, but they are so damn easy to block why don't they? I just don't get the perennial complaints. Just do it, find a minimum 10X speedup... but no, it doesn't seem to happen, and they keep discovering that Free Stuff Costs.
Io-ts: runtime types for IO decoding/encoding in TypeScript
App Ideas You Could Build (Plus a Bonus)
Wow, I have to say I feel somewhat bad for the author who spent so much time (months?) compiling this semi-comprehensive reference work. There's so much information, but at the same time, so little useful information to any particular reader. It's so broad as to be a hindrance to using it in any sort of daily reference.

Who would use this? Wouldn't you probably resort to a reference more specific to your field?

Is this the product of someone's superficial fascination with mathematical equations combined with OCD to copy down everything ever read, gone awry? Or is this like a strange version of a Noah Webster?
> I don't know that a 3-month temporary offer is really necessary. In California at least, where employment is "at-will",

Yeah, in an at-will state you might as well consider the "trial" period to be in place no matter what. If things don't work out well they'll just toss your ass to the curb. Maybe if you're lucky like me your boss will have a soul and give you some amount of severance at least.
Accessing string content by arbitrary indices is probably an error. Accessing string content by indices you got from previous lookups is useful for a number of situations.
Water is cheap/free because it's a physiological requirement for living, and not because it's abundant or is not a bottleneck.

Price is not universal indicator of value, neither being cheap implies that you can't run out of it. Many Indian cities are quickly running out of fresh ground water. The worst thing a city could do is let market determine the price so rich could use it more. Rationing at a less price is the way municipalities are going, which is more ethical way of doing things.

The same could happen for energy or other resources, while they still being cheap.
The root of most of the points in the article is "when you use JWT for the wrong use case it is bad" which is self-evident. Other than that it is hyperbole imo.
What empirical data do you have to back up that claim?
Adding new blocking rules to uBlock (et al) is part and parcel of how to use these extensions, I don't see any difference here compared to adblock+. If you see something you wish to avoid you either right-click it and select 'block element' or you launch the element picker from the toolbar or through a key combination. Use ctrl-click in the picker to create more generic rules on specific class or ID names.
No, it isn't, it's what you get after integrating to all frequencies the Planck distribution for the radiation of a black body in thermodynamic equilibrium, which if you can get a sufficiently black one, you can check out it matches perfectly. I mean perfectly, that's what remote sensing satellites start with for determining surface temperature, after convenient linearization and modeling emissivity. That's what we see in the CMB, again perfectly. It's like this, I'm sorry.

(Look at the CMB spectrum —and refs therein—: https://commons.m.wikimedia.org/wiki/File:Cmbr.svg)
Companies can purchase assets off other companies (up to and including the company name and trademarks etc.) without taking on the legal obligations of those companies. It's crappy but true.

(I had a shower re-sealed by a company that gave a 5-year guarantee. Four years later it was leaking again, and I got in touch with them to have it redone under warranty. After stonewalling me for weeks, they finally came back with "we purchased this company off its original owner but didn't take on any of their obligations so you have to find the original owner and get them to repair your shower", and as far as I could tell that's actually a thing you can do.)
I don't get it, what is the purpose of these elements? Is this jewellery or what?
From an outside perspective, americans are more willing to try (and to dump) new things, period. It takes an arduous amount of energy to convince europeans to do the same, and you re likely to be rewarded with obnoxious remarks. And you cant grow a product if nobody is using it, thats why US wins. It is also a big homogeneous market, which means niches are sizeable. In europe , niches are divided /28
This kind of thing? https://en.wikipedia.org/wiki/Abramowitz_and_Stegun

I'm not sure there's really an English word for it. That's strange.
The point isn't whether we can do that or not, but should we do it or not.

In all these visions of techno-utopia, poor suffer the most while the rich exploit the resources, and then expand that exploitation to more areas in hopes of making a profit.

Why do you feel we will not do the same to Mars what has happened to the Earth? It's possible that once we go to Mars we will exploit _both_ Earth and Mars.
Why do we make excuses for people? If someone doesn’t share my opinion about the efficacy of supply side economics, they can still be good people.

Someone who shrugs about people dying and support policies that enable it are by definition not good people.
Why are there interesting technical differences in the way those languages do things compared to the other examples given?

The author obviously can't cover all languages and strategies in a short article can they?
Show HN: jTools – a collection of JavaScript web components with MIT license
Predicting Future Recessions
> When you say 'explode' what do you mean?

You will get runtime errors or data loss/corruption.

> then if someone decided to use cuneiform in their file names I'd guess many people would have problems rendering that. Surely as long as there's internal consistency???

That's not the issue. The issue is that neither UNIX nor Windows file names are guaranteed to be valid unicode (I think OSX's are):

* UNIX filenames are semi-arbitrary bags of bytes, there is no guarantee whatsoever those bags will be utf8-compatible in any way.

* Windows file names are semi-arbitrary bags of UTF16 code units, meaning they can contain unpaired surrogates, meaning they can't be decoded to unicode and thus can't be transcoded to UTF8.

Which means the conversion to unicode will either be partial (it will error out) or they will be lossy (the data will not round-trip).

Either way, it'll cause intractable issues for the developer who will either have filesystem APIs blowing up in their face with little to no way of handling it, or the data they return will not necessarily be usable down the line.
Economists have warned the recent slowdown experienced by the U.S. economy carries with it "the unmistakable whiff of a recession."

https://www.newsweek.com/economic-recession-2019-us-economy-...

"US recession risk rises as trade tensions with China remain unresolved"

https://www.foxbusiness.com/economy/us-recession-risk-rises-...

"Morgan Stanley says economy is on ‘recession watch’ as bond market flashes warning"

https://www.cnbc.com/2019/05/28/morgan-stanley-says-economy-...
In fact, it seems for 53 that none of the lineStrings match the stopPointSequence lat/lons
In my testing putting a mutex around a single write connection gives incredible performance, beats Postgres by a wide margin. SQLite for single db, single file per user is incredibly compelling for the one db per user privacy story alone.
Opaque, except for '\0', '/', and (to some extent) '.'.
I love the Guardian articles in general, but this time I'm a bit let down. Why didn't they bother to offer any explanation of why that term was used? Because in this case there actually is a very good reason (hint: several countries in Europe are dependent on gas from one not-so-democratic country that already used it as a trump card during a war conflict and hinted they would use it again).

So yes, in this case it's not as ridiculous as many other expressions with freedom and the US in them.
Laws would change if the culture changes. I think it s cultural, first
Unnecessarly and overly dramatic, essentially arguing that because JWT/JOSE is insecure because it can be used in an insecure manner.
Gig economy: California bill granting employee status passes assembly
Getting more daylight can improve your mental and physical health
To this day I miss vimperator. There are substitutes but they don't come near the glory of vimperator.
Chrome MSI and chrome EXE installers work a little differently. The MSI installer by default installs to the program files directory. I've seen the EXE installer often installed to the local user profile. to convert a regular install to Enterprise you would probably have to uninstall the local version and then install the MSI.

ADM templates are something Firefox is sorely lacking at the moment. I remember reading that it is on the road map but that does not help out much. Nevertheless, I installed both chrome and Firefox and my organization. I like Firefox and use it myself, but sadly it's just not as easy to administer as chrome.
And yet none of them returned to their ‘country’
It does seem to be "the route as you'd show on a map" - if I plot the two sets points on GPSVisualizer, it's fairly different.

https://imgur.com/a/BUSW3C2

I guess the 389/631 routes are reasonably simple and don't need more "drawing points" than you'd get from the bus stops anyway?

[edit: added the 389 bus stops and line points to the imgur gallery]
In fact, we're seeing that now with Facebook: every user outside the US/Canada was technically a user of Facebook Ireland, and when the GDPR came into effect, they all got GDPR rights (EU companies have to comply with the GDPR for all users, not just EU users).

Facebook's response was to move everyone except EU users off Facebook Ireland ASAP.
Of course, we've seen a similar type of fiction already in the history of economics.

"This piece of paper represents a chunk of gold!"

"No, it doesn't."